vForums Support > Programming & Coding :: Code Requests & Support :: > [F] VBulletin Board Mod

[F] VBulletin Board Mod - Posted By dog199200 (dog199200) on 12th Feb 08 at 12:44am
Can someone please make me a code for a board mod to make it look like a vbulletin forum. PLEASE!! {Smile} and if there are different styles the id like it to look like this at least to the best as possible.

http://bleachpower.com/forums/

Re: VBulletin Board Mod - Posted By dog199200 (dog199200) on 13th Feb 08 at 4:26am
bump

Re: VBulletin Board Mod - Posted By Marc (cr0w) on 13th Feb 08 at 4:57am
Posted By dog199200 on 13th Feb 08 at 4:26am
 
bump


Your last post was hardly 4 hours ago; why the need for the bump? There wasn't even anything else posted in this board since. {Unsure}

Someone will get to your post when they have the time. Unfortunately I can't right now as it is midnight and I have school in a few hours.

Re: VBulletin Board Mod - Posted By dog199200 (dog199200) on 13th Feb 08 at 11:34pm
in it was really 1 day and a little under 4 hours under i posted, the first one was on the 11th the last one was yesterday.. well either way ok i'll wait..

Re: VBulletin Board Mod - Posted By Marc (cr0w) on 13th Feb 08 at 11:49pm
Posted By dog199200 on 13th Feb 08 at 11:34pm
 
in it was really 1 day and a little under 4 hours under i posted, the first one was on the 11th the last one was yesterday.. well either way ok i'll wait..


Ahh, you'll have to forgive me, I can be a bit blind sometimes. {Tongue Out}

I'll see if I can get this for you by tomorrow. {Smile}

Re: VBulletin Board Mod - Posted By dog199200 (dog199200) on 13th Feb 08 at 11:53pm
ah ok cool thank you every much, and as for the blind this np, we all can be blind at times.

Re: VBulletin Board Mod - Posted By Marc (cr0w) on 15th Feb 08 at 2:52am
Today came and went way too fast, and tomorrow I've got prior engagements to attend to. So, unless if Wrighty or someone else takes this on, I won't be able to get it for you until Saturday.

Sorry. {Unsure}

Re: VBulletin Board Mod - Posted By dog199200 (dog199200) on 15th Feb 08 at 2:54am
well thats ok, i'll be busy till then as well.

Re: VBulletin Board Mod - Posted By dog199200 (dog199200) on 16th Feb 08 at 2:56am
bump

Re: VBulletin Board Mod - Posted By dog199200 (dog199200) on 17th Feb 08 at 5:38am
{Smile} bump

Re: VBulletin Board Mod - Posted By dog199200 (dog199200) on 18th Feb 08 at 1:27pm
bump

Re: VBulletin Board Mod - Posted By Michael (wrighty) on 18th Feb 08 at 6:02pm
So you want:

On/Off IconName & Description & Mods & Sub-boardsLast PostThreadsPosts


Just like that? {Smile}

Re: VBulletin Board Mod - Posted By dog199200 (dog199200) on 18th Feb 08 at 6:26pm
yes and then i'd like the moderator of the board to remain under the description area like it is normally plz.

Re: VBulletin Board Mod - Posted By Michael (wrighty) on 18th Feb 08 at 7:59pm
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.         }
  26.         var b = get('td','tag')[i].parentNode.insertCell(3);
  27.         with(b){
  28.             className = 'window1';
  29.             width= '50px';
  30.             align= 'center';
  31.             innerHTML = (get('td','tag')[i+1].innerHTML.match(/(\d+)\sTopics\s/))? RegExp.$1 : '0';
  32.         }
  33.     }
  34.     if(get('td','tag')[i].innerHTML.match(/\/category\//) && get('td','tag')[i].colSpan == '3'){
  35.         get('td','tag')[i].colSpan = '5';
  36.     }
  37. }
  38. </script>
 

Re: VBulletin Board Mod - Posted By dog199200 (dog199200) on 18th Feb 08 at 9:36pm
hey thanks it looks great but, could you also add in the areas above it where it say what each area is?

Re: VBulletin Board Mod - Posted By Michael (wrighty) on 18th Feb 08 at 9:38pm
oh in the blue bar? O.o

Re: VBulletin Board Mod - Posted By dog199200 (dog199200) on 18th Feb 08 at 9:45pm
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.

Re: VBulletin Board Mod - Posted By Michael (wrighty) on 18th Feb 08 at 9:46pm
What do you mean 'your own imaes' where abouts?

Should I just add the text after the number? {Unsure}

Re: VBulletin Board Mod - Posted By dog199200 (dog199200) on 18th Feb 08 at 9:51pm
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

Re: VBulletin Board Mod - Posted By Michael (wrighty) on 18th Feb 08 at 9:55pm
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>
 

Re: VBulletin Board Mod - Posted By dog199200 (dog199200) on 18th Feb 08 at 10:00pm
ok that works, thank you {Smile}