vForums Support :: Programming & Coding :: Code Requests & Support :: [F] VBulletin Board Mod - View Topic (Page 2 of 2)
 |  |
| 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: 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]](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: 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? | |
| 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]](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: VBulletin Board Mod (18th Feb 08 at 9:55pm UTC) | | try this....
 Code: - <style>
- .boardtotals{
- display: none;
- }
- </style>
-
- <script>
- /*Board Mod
- Created By Wrighty*/
-
-
- for(i=0; i<get('td','tag').length; i++){
- if(get('td','tag')[i].innerHTML.match(/New Posts/) && get('td','tag')[i].className== "window1"){
- get('td','tag')[i+1].width = '55%';
- 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:/)){
- get('td','tag')[i+1].getElementsByTagName('span')[3].innerHTML += ' | ' + get('td','tag')[i+1].getElementsByTagName('span')[4].innerHTML
- get('td','tag')[i+1].getElementsByTagName('span')[4].style.display='none';
- }
- var a = get('td','tag')[i].parentNode.insertCell(3);
- with(a){
- className = 'window1';
- width= '50px';
- align= 'center';
- innerHTML = (get('td','tag')[i+1].innerHTML.match(/\s(\d+)\sPosts/))? RegExp.$1 : '0';
- innerHTML += '<br />Posts'
- }
- var b = get('td','tag')[i].parentNode.insertCell(3);
- with(b){
- className = 'window1';
- width= '50px';
- align= 'center';
- innerHTML = (get('td','tag')[i+1].innerHTML.match(/(\d+)\sTopics\s/))? RegExp.$1 : '0';
- innerHTML += '<br />Topics'
- }
- }
- if(get('td','tag')[i].innerHTML.match(/\/category\//) && get('td','tag')[i].colSpan == '3'){
- get('td','tag')[i].colSpan = '5';
- }
- }
- </script>
| |
| dog199200 Guest | Re: VBulletin Board Mod (18th Feb 08 at 10:00pm UTC) | | ok that works, thank you | |
| |
 |  |
|