vForums Support Banner


Visit Base Classics - Gaming Chairs

 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Code Requests & Support :: [F] VBulletin Board Mod - View Topic (Page 2 of 2)Page: 1 2
Topic Rating: *****
Printable View
Michael
Moderator
*****

[Avatar]
Recoding the future

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

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: VBulletin Board Mod (18th Feb 08 at 9:38pm UTC)
oh in the blue bar? O.o
dog199200
Guest
Re: VBulletin Board Mod (18th Feb 08 at 9:45pm UTC)
kind of, even if youi have to create a bar under it and have it dispaly the text that would be cool, and if you can can you have it so i can add my own images that say Description, Posts, Thread, Topics, i think i didn't miss any.
Michael
Moderator
*****

[Avatar]
Recoding the future

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

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: VBulletin Board Mod (18th Feb 08 at 9:46pm UTC)
What do you mean 'your own imaes' where abouts?

Should I just add the text after the number? {Unsure}
dog199200
Guest
Re: VBulletin Board Mod (18th Feb 08 at 9:51pm UTC)
lol oops i meant images. and ya that would be fine. if i wanted i could just go through and change the text to images myself
Michael
Moderator
*****

[Avatar]
Recoding the future

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

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: VBulletin Board Mod (18th Feb 08 at 9:55pm UTC)
try this.... {Unsure}

Code:
 
  1. <style>
  2. .boardtotals{
  3.     display: none;
  4. }
  5. </style>
  6.  
  7. <script>
  8. /*Board Mod
  9. Created By Wrighty*/
  10.  
  11.  
  12. for(i=0; i<get('td','tag').length; i++){
  13.     if(get('td','tag')[i].innerHTML.match(/New Posts/) && get('td','tag')[i].className== "window1"){
  14.         get('td','tag')[i+1].width = '55%';
  15.         if(get('td','tag')[i+1].getElementsByTagName('span')[3] && get('td','tag')[i+1].getElementsByTagName('span')[4] && get('td','tag')[i+1].getElementsByTagName('span')[4].innerHTML.match(/Led By:/) && get('td','tag')[i+1].getElementsByTagName('span')[3].innerHTML.match(/Sub-Boards:/)){
  16.             get('td','tag')[i+1].getElementsByTagName('span')[3].innerHTML += ' | ' + get('td','tag')[i+1].getElementsByTagName('span')[4].innerHTML
  17.             get('td','tag')[i+1].getElementsByTagName('span')[4].style.display='none';
  18.         }
  19.         var a = get('td','tag')[i].parentNode.insertCell(3);
  20.         with(a){
  21.             className = 'window1';
  22.             width= '50px';
  23.             align= 'center';
  24.             innerHTML = (get('td','tag')[i+1].innerHTML.match(/\s(\d+)\sPosts/))? RegExp.$1 : '0';
  25.             innerHTML += '<br />Posts'
  26.         }
  27.         var b = get('td','tag')[i].parentNode.insertCell(3);
  28.         with(b){
  29.             className = 'window1';
  30.             width= '50px';
  31.             align= 'center';
  32.             innerHTML = (get('td','tag')[i+1].innerHTML.match(/(\d+)\sTopics\s/))? RegExp.$1 : '0';
  33.             innerHTML += '<br />Topics'
  34.         }
  35.     }
  36.     if(get('td','tag')[i].innerHTML.match(/\/category\//) && get('td','tag')[i].colSpan == '3'){
  37.         get('td','tag')[i].colSpan = '5';
  38.     }
  39. }
  40. </script>
 
dog199200
Guest
Re: VBulletin Board Mod (18th Feb 08 at 10:00pm UTC)
ok that works, thank you {Smile}
 Printable View
Page: 1 2

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