vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Code Requests & Support :: [F] Sub Board Splitter Code Please - View Topic (Page 1 of 2)Page: 1 2
Topic Rating: *****
Printable View
This topic was locked 24th Jun 08 at 7:56pm by Michael
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
[F] Sub Board Splitter Code Please (17th Jun 08 at 5:05pm UTC)
A code to split the sub-boards (Put a space between each of the sub-board) so they are separated from each other. Thanks {Smile} .

Image
click here We have 15 Different Skins/Templates for your vForum
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Sub Board Splitter Code Please (18th Jun 08 at 1:54am UTC)
Would you like each board to have head/base images? {Smile}

rroll.to— Shorten a link, rickroll your friends.
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: Sub Board Splitter Code Please (18th Jun 08 at 2:27am UTC)
I would like to , would it make a differents that i have about 7 template/skins on the forum ?
If it does then don't worry about head/base image bro.

Or which way is better for you is fine with me. {Grin}

Thanks Marc.

Image
click here We have 15 Different Skins/Templates for your vForum
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Sub Board Splitter Code Please (18th Jun 08 at 2:29am UTC)
You seem to be forgetting that vForums comes built-in with separate headers/footers for separate skins. {Wink}

I'll get this to you tomorrow. {Smile}

rroll.to— Shorten a link, rickroll your friends.
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: Sub Board Splitter Code Please (18th Jun 08 at 2:38am UTC)
I didn't really, i just didn't know how you would do it {Grin} .

Thank you Marc .

Image
click here We have 15 Different Skins/Templates for your vForum
Michael
Moderator
*****

[Avatar]
Recoding the future

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

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Sub Board Splitter Code Please (18th Jun 08 at 8:36pm UTC)
try this! {Smile}

<script>
/*Split Sub-boards
Wrighty
No Repost, rip, or claiming!*/

if(location.href.match(/board/)){
    var a = get('tr','tag')
    var h = document.createElement('div');
    var s = document.createElement('div');
    s.style.height = '20px';
    var x;
    for(z = 0; z < a.length; z++){
        if(a[z].id.match(/board_/)){
            x = a[z].parentNode.parentNode;
            var t = document.createElement('table');
            with(t){
                cellSpacing = '1';
                cellPadding = '3';
                className = 'border';
                width = vf_width;
                align = 'center';
            }
            t.appendChild(a[z].cloneNode(true));
            h.appendChild(get('table','tag')[0].cloneNode(true));
            h.appendChild(t);
            h.appendChild(get('table','tag')[3].cloneNode(true));
            h.appendChild(s.cloneNode(true));
        }
    }
    x.parentNode.previousSibling.style.display = 'none';
    x.parentNode.nextSibling.style.display = 'none';
    x.parentNode.replaceChild(h, x);
}

</script>


Global Footers.

Probably will be bugs as I haven't got any head/base to test with! {Tongue Out}
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: Sub Board Splitter Code Please (18th Jun 08 at 10:51pm UTC)
Yeah there is one bug that i can see , the code is in the near top of the global footer. If you need to see what the sub-boards look like (i'm sorry but you'll have to login wrighty). But here are two screen shots, if it will help.

Image

Image

Image
click here We have 15 Different Skins/Templates for your vForum
Michael
Moderator
*****

[Avatar]
Recoding the future

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

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Sub Board Splitter Code Please (19th Jun 08 at 8:19am UTC)
Yes I know hwy, I'll get to a fix soon! {Smile}
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: Sub Board Splitter Code Please (19th Jun 08 at 9:40pm UTC)
Ok thanks Wrighty {Grin} .

Image
click here We have 15 Different Skins/Templates for your vForum
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: Sub Board Splitter Code Please (21st Jun 08 at 1:35am UTC)
 
Yes I know hwy, I'll get to a fix soon! {Smile}
Any word on this Wrighty {Confused} .

Image
click here We have 15 Different Skins/Templates for your vForum
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: Sub Board Splitter Code Please (23rd Jun 08 at 3:13am UTC)
I'm only doing this in case you forgot Wrighty {Grin} .

Image
click here We have 15 Different Skins/Templates for your vForum
Michael
Moderator
*****

[Avatar]
Recoding the future

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

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Sub Board Splitter Code Please (23rd Jun 08 at 8:41am UTC)
I did.... but I was very busy over the weekend.


Should be doing it tonight! {Smile}
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: Sub Board Splitter Code Please (23rd Jun 08 at 9:59am UTC)
Cool thanks bro {Smile} .

Image
click here We have 15 Different Skins/Templates for your vForum
Michael
Moderator
*****

[Avatar]
Recoding the future

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

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Sub Board Splitter Code Please (24th Jun 08 at 6:29pm UTC)
Recopy the code! {Smile}
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: Sub Board Splitter Code Please (24th Jun 08 at 7:53pm UTC)
Thank you Wrighty it works fine {Grin} , peace {Cool} .

Image
click here We have 15 Different Skins/Templates for your vForum
 Printable View
Page: 1 2

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