Why is it showing these things (}{ psm </div>) and {if.online} {/if.online}
because it's broken. 2 mins. I'll go fix!
*wanders off*
Ok thanks Wrighty.
Try recopying!![]()
It still as the }{ psm: , the other thing are gone .
It still as the }{ psm: , the other thing are gone .
That isn't in the code anywhere!![]()
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].rowIn dex).insertCell(0);
new_row.className = "vf_post_split";
new_row.colSpan = "2";
if(m == '0') {
r --;
}
}
}
// -->
</script>
Perfect thank you Wrightyfor your help .
Perfect thank you Wrightyfor 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!![]()
Glad it's sorted! ^_^
Ok and yes i did remove everything you said to.
![]()
*filled*