umm ok I'm setting up an anime chat site and at the bottom i am setting up 5 rp's and so it don't stretch the site i am making a board with the name of the role play and putting the places to rp at as a sub-board. but i also have sub-boards that contain information for that role play and because how i am setting it up the sub-boards for the role play are mixing up with the info sub-boards and it don't work out, so can i please get a code that will allow me to separate them from each other![]()
Edit: One more thing, instead of having the sub-boards say sub-boards, can it also be named something different like as if they are categories?
Could you explain that first blob of text a bit better, please? I don't quite understand what you're asking.![]()
ah sorry i was just explaining what i needed it for, umm i need a code that will allow me to seperate selected sub-boards in a board. I have a part in my site that is for a role play, and i don't want it to stretch my forum so i out all its boards into a sub-board, but there is two types of sub-boards in that board, boards that contain information about the role play and then the role play boards and i'd like a code that will allow me to seperate the sub-boards for the info from the sub-boards for the role play itself.
ah sorry i was just explaining what i needed it for, umm i need a code that will allow me to seperate selected sub-boards in a board. I have a part in my site that is for a role play, and i don't want it to stretch my forum so i out all its boards into a sub-board, but there is two types of sub-boards in that board, boards that contain information about the role play and then the role play boards and i'd like a code that will allow me to seperate the sub-boards for the info from the sub-boards for the role play itself.
Why not just create two sub-boards [one for each purpose], then put the proper boards in the proper places?![]()
its because how i'm going to have the forum setup. Here look down at the Role Play Category and then into the Phoenix Emerald board and you will see what i mean: http://deluxeanimeforum.vforums.co.uk/
Which boards belong in which category? Also, be sure to re-order the boards so that all the ones from one category are right after each other, as well as the other category.![]()
I'll have a look at this when I wake up [if Wrighty or Ross haven't filled it by then].![]()
I already have the boards in the order that I want them in, so here is the list of how i want them to be categorized.
Category 1: Information
Boards: Role Play Info, Character Profile
Category 2: Role Play Jobs
Boards: Jobs
Category 3: Role Play Board ~ World: Altheron
Boards: The Rest In The Phoenix Emerald Board
can you please make it editable whom ever does this so that i can use it for 4 more role play's that i'm going to be adding to the site in the same exact way![]()
Edit: One more thing, can you have them have my head and base images around each of the categories plz?
This takes me back to my original question;
Why not make "Information" a sub-board, then make "Role-Play Info" and "Character Profile" sub-sub-boards.
Then make "Role Play Jobs" a sub-board, then make "Jobs" a sub-sub board within that board. Then do the same for category 3.
It would work out easier, to be honest. I'll still make you the code if you really want it, but I think that it would be better to use the sub-sub-board feature to your advantage, here.![]()
i can do that but still the sub-boards are together as in Role Play Info and Jobs, and then the true role play boards..Umm i tired this before but it didn't work because of the differences in the systems. Could you possible edit the old proboards sub-boards sub-boards html code and make it work for this forum system and then from there i will hide the Role-Play Info board, which i did move the character profiles under, and the Jobs boards and use that code and then seperate them that way, it should be a lot easier. Sorry the point of the code was to seperate the sub-boards by type so it is not as cluttered and is easier to navigate the sub-boards.
Show me a printscreen of what you want you it to look like in the longrun ... either a preview of a current forum or a mock one made in paint/ps/
well like a normal board setup. I'm working on a pic to show you exactly what i'm talking about.
Edit: http://i25.photobucket.com/albums/c51/dog199200/demo.jpg
There it is, but Wrighty, the board design aint going to be right do to the code you just made mesorry..
bump, and for the design of the sub-board look here http://deluxeanimeforum.vforums.co.uk/
bump
please can i get some help![]()
please someone
You're first on my list of outstanding requests, so I'll have this done for you tomorrow for sure.
outstanding, what does that mean? and thank you
outstanding, what does that mean? and thank you
Ones that still need to be done.![]()
sorry i can be an air head![]()
sorry i can be an air head![]()
That's no problem; I just got in, so once I've got a big mug full of Cocoa in front of me I'll get right on this.![]()
awesome
Sorry, forgot to post back here.
Your code is coming along nicely, but I've decided to make it one step better. PM me for details.![]()
ok you got that i think of it in a PM![]()
bump
bump
Don't worry, I'm still working on it.![]()
Should be done shortly.![]()
ya i know, sorry its just a habit to bump
just wondering, how much longer?
Not too long; weekend at the latest.![]()
ah ok ty
bump
bump
Almost done, expect it tomorrow.![]()
ah darn the day i'm not going to be home, ok its alright i'll get it Sunday then.
bump
(I hope this isn't two early, i don't know how i could of posted at 12:45am and it being in the afternoon..)
bump
I'm bumping this because i'll like to use it as well .![]()
Ross is doing an update on Friday that will make this code much easier to do, so I'll have it done then for sure.![]()
Oh ok that will be cool , thanks Marc.
cool
<script type="text/javascript">
<!--
/*
Categorized Sub-Boards by Cr0w
Copyright 2008
Do not repost
*/
var sp = []; var brds = new Array(); var cts = new Array(); //Do Not Edit This Line
// Categories
cts[0] = "Category 1 Name";
cts[1] = "Category 2 Name";
// Board Organization
sp[0] = ["Board ID",category_id];
sp[1] = ["Board ID",category_id];
sp[2] = ["Board ID",category_id];
sp[3] = ["Board ID",category_id];
// No More Edits
if(!location.href.match(/topic/)){
var tr = get('tr','tag');
var td = get('td','tag');
var sb = get('subboards','id');
var n = 0;
var nt = "";
var ntree = get('nav_tree','id');
for(t=0;t<tr.length;t++){
if(tr[t].id.match(/^board_(.+?)$/i)){
for(i=0;i<sp.length;i++){
if(RegExp.$1==sp[i][0]){
brds[n] = tr[t].cloneNode(true);
n++;
}
}
tr[t].style.display = "none";
}
}
for(s=0;s<td.length;s++){
if(td[s].width=="70%" && td[s].innerHTML.match(/Sub\-Board Name/) && td[s+1].width=="22%"){
td[s].parentNode.parentNode.parentNode.parentNode.style.disp lay = "none";
}
}
ntree.style.display = "none";
nt = '<table align="center" width="' + vf_width + '"><tr><td id="nav_tree">' + ntree.innerHTML + '</td></tr></table>';
for(x=0;x<cts.length;x++){
nt += '<table align="center" class="border" cellpadding="2" cellspacing="1" width="' + vf_width + '">';
nt += '<tr><td align="center" class="title1" colspan="5">' + cts[x] + '</td></tr>';
for(q=0;q<brds.length;q++){
if(sp[q][1]==x){
nt += '<tr>' + brds[q].innerHTML + '</tr>';
}
}
nt += '</table>';
}
sb.innerHTML = nt;
}
//-->
</script>
The above goes in your board footer.
This goes in your board header:
Now, to edit:
cts[0] = "Category 1 Name"; - Self explanatory; the name for the first new category.
sp[0] = ["Board ID",category_id];
"Board ID" is the ID for the sub-board you're putting in a category. (Ex: This board's ID is "coderequest")
category_id is the ID number of the category your board is being put in. For example, if you have cts[0] = "Rawr", "Rawr" has an ID of 0.
Note: Make sure the "Board Organization" list is in the same order as your boards appear on the page, otherwise they will not get organized properly.
Thank you Marc.
One question how can i get the id for the cat abd sub-boards i have already ??
Thank you Marc.
One question how can i get the id for the cat abd sub-boards i have already ??
Simply click on one of the sub-boards, and look in the URL for board/board_id/ - board_id is the ID of the board.![]()
Ah i see ok cool , thank you Marc .![]()
No worries.![]()
thank you so much this is perfect
![]()
No problem.![]()
Sorry for the wait.![]()
no its no problem, but one more thing, is there a way to put a space between the categories?
<script type="text/javascript">
<!--
/*
Categorized Sub-Boards by Cr0w
Copyright 2008
Do not repost
*/
var sp = []; var brds = new Array(); var cts = new Array(); //Do Not Edit This Line
// Categories
cts[0] = "Category 1 Name";
cts[1] = "Category 2 Name";
// Board Organization
sp[0] = ["Board ID",category_id];
sp[1] = ["Board ID",category_id];
sp[2] = ["Board ID",category_id];
sp[3] = ["Board ID",category_id];
// No More Edits
if(!location.href.match(/topic/)){
var tr = get('tr','tag');
var td = get('td','tag');
var sb = get('subboards','id');
var n = 0;
var nt = "";
var ntree = get('nav_tree','id');
for(t=0;t<tr.length;t++){
if(tr[t].id.match(/^board_(.+?)$/i)){
for(i=0;i<sp.length;i++){
if(RegExp.$1==sp[i][0]){
brds[n] = tr[t].cloneNode(true);
n++;
}
}
tr[t].style.display = "none";
}
}
for(s=0;s<td.length;s++){
if(td[s].width=="70%" && td[s].innerHTML.match(/Sub\-Board Name/) && td[s+1].width=="22%"){
td[s].parentNode.parentNode.parentNode.parentNode.style.disp lay = "none";
}
}
ntree.style.display = "none";
nt = '<table align="center" width="' + vf_width + '"><tr><td id="nav_tree">' + ntree.innerHTML + '</td></tr></table>';
for(x=0;x<cts.length;x++){
nt += '<table align="center" class="border" cellpadding="2" cellspacing="1" width="' + vf_width + '">';
nt += '<tr><td align="center" class="title1" colspan="5">' + cts[x] + '</td></tr>';
for(q=0;q<brds.length;q++){
if(sp[q][1]==x){
nt += '<tr>' + brds[q].innerHTML + '</tr>';
}
}
nt += '</table><br><br>';
}
sb.innerHTML = nt;
}
//-->
</script>
The above goes in your board footer.
This goes in your board header:
Now, to edit:
cts[0] = "Category 1 Name"; - Self explanatory; the name for the first new category.
sp[0] = ["Board ID",category_id];
"Board ID" is the ID for the sub-board you're putting in a category. (Ex: This board's ID is "coderequest")
category_id is the ID number of the category your board is being put in. For example, if you have cts[0] = "Rawr", "Rawr" has an ID of 0.
Note: Make sure the "Board Organization" list is in the same order as your boards appear on the page, otherwise they will not get organized properly.
Try that!![]()
awesome, thats perfect, thx Wrighty for fixing it and thx Marc for coding it![]()
Welcome!![]()
*locks*