vForums Support Banner


Visit Base Classics - Gaming Chairs

 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Code Requests & Support :: [F] Quick Reply [Wrighty] - View Topic
Topic Rating: *****
Printable View
This topic was locked 6th Jul 08 at 6:12pm by Michael
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,013
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


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:
 
  1. <script>
  2. /*UBBC in QR on new line
  3. Wrighty
  4. No Repost, rip, or claiming!*/
  5.  
  6. if(get('quick_reply','id')){
  7.     var tab = get('quick_reply','id').getElementsByTagName('table')[0];
  8.     var a = tab.insertRow(0).insertCell(0);
  9.     tab.rows[1].cells[1].innerHTML = tab.rows[1].cells[1].innerHTML.replace(/<br\s?\/?>/g,'');
  10.     a.appendChild(tab.rows[1].cells[1]);
  11.     tab.rows[1].cells[0].width = '100%';
  12.     document.quick_reply_form.message.style.width = '99%';
  13. }
  14. </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]

Posts: 3,013
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


pmwww
Re: Quick Reply (11th Jun 08 at 3:01am UTC)
Please Wrighty
Michael
Moderator
*****

[Avatar]
Recoding the future

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

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
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]

Posts: 3,013
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


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]
Recoding the future

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

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
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! {Smile}
 Printable View

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