vForums Support Banner


Visit Base Classics - Gaming Chairs

 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Code Requests & Support :: [F] Support On wR Mini Profile - View Topic
Topic Rating: *****
Printable View
This topic was locked 31st Mar 08 at 6:00pm by Michael
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
[F] Support On wR Mini Profile (31st Mar 08 at 5:22pm UTC)
Resolved
Why is it showing these things (}{ psm </div>) and {if.online} {/if.online}

Image

Image
click here We have 15 Different Skins/Templates for your vForum
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Support On wR Mini Profile (31st Mar 08 at 5:23pm UTC)
because it's broken. 2 mins. I'll go fix!

*wanders off* Smiley
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: Support On wR Mini Profile (31st Mar 08 at 5:24pm UTC)
Ok thanks Wrighty {Grin} .

Image
click here We have 15 Different Skins/Templates for your vForum
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Support On wR Mini Profile (31st Mar 08 at 5:26pm UTC)
Try recopying! {Smile}
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: Support On wR Mini Profile (31st Mar 08 at 5:32pm UTC)
It still as the }{ psm: , the other thing are gone .

Image
click here We have 15 Different Skins/Templates for your vForum
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Support On wR Mini Profile (31st Mar 08 at 5:39pm UTC)
 
It still as the }{ psm: , the other thing are gone .


That isn't in the code anywhere! {Unsure}

You have that in your hidden field. Put this in your main footer, then go to modify your profile, Save your profile THEN REMOVE THE CODE

<script>
if(get('hidden','name')){
    get('hidden','name')[0].value = '';
}
</script>


Also you can remove the following 2 codes as they aren't needed:
Remove thse BEFORE modifying your profile


<script>
/*Personal Message
Created By Wrighty
support.virtualforums.co.uk*/

function load(){
f.psm.value=(f.hidden.value.match(/{psm:(.+?)}/))?RegExp.$1:'';
f.hidden.value = f.hidden.value.replace(/{psm:(.+?)}/g,'');
}
function save(){
f.hidden.value = "{psm:"+f.psm.value+"}" + f.hidden.value;
}

if(document.profile_form && document.profile_form.signature){
var f=document.profile_form;
var insert_after=f.location.parentNode.parentNode.parentNode;
var insert=insert_after.cloneNode(true);
insert.childNodes[0].firstChild.innerHTML='Personal Message:';
insert.childNodes[1].innerHTML='<input type="text" name="psm" size="25" maxlength="1000" value="" />';
insert.childNodes[2].firstChild.innerHTML='This is your own personal message that will appear in your Mini Profile.';
insert_after.parentNode.insertBefore(insert, insert_after.nextSibling);
load();
if(document.addEventListener){
f.addEventListener('submit', save,false);
}else{
f.attachEvent('onsubmit', save);
}
}

if(location.href.match(/\/view/i)){
psm = (document.getElementById('hidden_vars').innerHTML.match(/{psm:(.+?)}/))?RegExp.$1:'';
var d = document.getElementsByTagName('td');
for(i=0; i<d.length;i++){
if(d[i].className.match(/window(1|2)/) && d[i].innerHTML.match(/posts/i) && !d[i].innerHTML.match(/Date Registered/) && psm!=''){
d[i].getElementsByTagName('font')[0].innerHTML+= '<br><center>'+psm+'</center>';
}
}
}
</script>


<script type="text/javascript">
<!--
// Post Split By Bar - DregondRahl
var post_tab = document.getElementById('topic_table');
var m = (vf_profile == 2)? '0' : '1';
if(post_tab){
for(var r = post_tab.rows.length - (3 - m); r > (2 - m); r --){

var new_row = post_tab.rows[r].parentNode.insertRow(post_tab.rows[r].rowIndex).insertCell(0);

new_row.className = "vf_post_split";
new_row.colSpan = "2";

if(m == '0') {
r --;
}
}
}
// -->
</script>
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: Support On wR Mini Profile (31st Mar 08 at 5:48pm UTC)
Perfect thank you Wrighty {Grin} for your help .

Image
click here We have 15 Different Skins/Templates for your vForum
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Support On wR Mini Profile (31st Mar 08 at 5:51pm UTC)
 
Perfect thank you Wrighty {Grin} for your help .


No problem. Just remember to remove the codes that I have said, and that one that I wrote for you at the top of my last post.

If that one is left in, most 'extra-profile' codes wont work! {Tongue Out}

Glad it's sorted! ^_^
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: Support On wR Mini Profile (31st Mar 08 at 5:53pm UTC)
Ok and yes i did remove everything you said to {Smile} .

Image
click here We have 15 Different Skins/Templates for your vForum
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Support On wR Mini Profile (31st Mar 08 at 5:57pm UTC)
{Grin}

*filled*
 Printable View

All times are GMT+0 :: The current time is 6:19am
Page generated in 0.2646 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums