This topic was locked 6th Jul 08 at 6:12pm by Michael |
Nick Very Senior Member
    
![[Avatar]](http://uploads.vforums.co.uk/forums/support/f_5e7b1402b305d883af97446b2fedc6c2_1-eog.jpeg) Posts: 3,013 Status: Offline Gender: Male Location: vForums Age: 35 Joined:
pmwww | [F] Quick Reply [Wrighty] (9th Jun 08 at 2:01am UTC) | | I know there is a code some were for what I want as Wrighty made me it; I do have the code.
 Code: - <script>
- /*UBBC in QR on new line
- Wrighty
- No Repost, rip, or claiming!*/
-
- if(get('quick_reply','id')){
- var tab = get('quick_reply','id').getElementsByTagName('table')[0];
- var a = tab.insertRow(0).insertCell(0);
- tab.rows[1].cells[1].innerHTML = tab.rows[1].cells[1].innerHTML.replace(/<br\s?\/?>/g,'');
- a.appendChild(tab.rows[1].cells[1]);
- tab.rows[1].cells[0].width = '100%';
- document.quick_reply_form.message.style.width = '99%';
- }
- </script>
But it has not been added to the Database yet.
I need an additional part into this, I want it also to put the UBBC and Smilies in the QR of PM's above the QR box.
Thanks, Darkmage | |
|
Nick Very Senior Member
    
![[Avatar]](http://uploads.vforums.co.uk/forums/support/f_5e7b1402b305d883af97446b2fedc6c2_1-eog.jpeg) Posts: 3,013 Status: Offline Gender: Male Location: vForums Age: 35 Joined:
pmwww | Re: Quick Reply (11th Jun 08 at 3:01am UTC) | | Please Wrighty | |
|
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | Re: Quick Reply [Wrighty] (11th Jun 08 at 7:25am UTC) | | I'm in the middle of exams. Friday evening is probably the earliest that I can get to you... Though I'll take a quick (2 minutes) look tonight to see if it's just a simple name change!) | |
|
Nick Very Senior Member
    
![[Avatar]](http://uploads.vforums.co.uk/forums/support/f_5e7b1402b305d883af97446b2fedc6c2_1-eog.jpeg) Posts: 3,013 Status: Offline Gender: Male Location: vForums Age: 35 Joined:
pmwww | Re: Quick Reply [Wrighty] (11th Jun 08 at 8:55am UTC) | | ok thanks, I just need it to center the UBBC and Smilies on new line in the QR PM, as well. | |
|
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | Re: Quick Reply [Wrighty] (18th Jun 08 at 8:20pm UTC) | | <script> /*UBBC in QR on new line Including PM Send Wrighty No Repost, rip, or claiming!*/
if(get('pm_quick_reply','id') || get('quick_reply','id')){ if(location.href.match(/pm/)){ var tab = get('pm_quick_reply','id').getElementsByTagName('table')[0]; }else{ var tab = get('quick_reply','id').getElementsByTagName('table')[0]; } var a = tab.insertRow(0).insertCell(0); tab.rows[1].cells[1].innerHTML = tab.rows[1].cells[1].innerHTML.replace(/<br\s?\/?>/g,''); a.appendChild(tab.rows[1].cells[1]); tab.rows[1].cells[0].width = '100%'; document.getElementsByName('message')[0].style.width = '99%'; } </script>
Try that instead! | |
|