|
Post by Dragon on Apr 10, 2011 16:32:04 GMT -8
On PBS theres a code called create a new page: support.proboards.com/index.cgi?board=codedatabase&action=display&n=1&thread=70605It currently doesnt work for some reason creates a module error? Anyway I was wondering if something to the same effect could be created? Right now it creates a page on the menu below the banner logo. However I would like to create a new page. And then link it into one of my boards such as byond games. What Id like to be able to do is have a page for each game for in this case the byond games, and have HTML content within each page. I could do this by creating a new board however if I did that Id have 1 new board per game in this case. Were I to have 200 byond games and thus 1 board per.... itd be bad. So thats why I want to just be able to create my own page per game and link to that on the byond games board. Per page. Do you think theres a way to do that? I suppose as an alternative we could use the html in posts, however it looks ugly to do so because of errors and Tab codes dont work with posts.
|
|
|
Post by Wormopolis on Apr 10, 2011 18:40:22 GMT -8
how are the games written to the page? is there an embed? do you still want some sort of button in the menu for it, or perhaps something more like a drop down button that lists all the games?
|
|
|
Post by Dragon on Apr 10, 2011 19:47:55 GMT -8
As I said I want to take the IDEA from the other code. But instead use my idea to make this a single page for HTML content like tabs. That way you can flip between which thing to see easily.
|
|
|
Post by Wormopolis on Apr 10, 2011 21:07:16 GMT -8
I understand that, but I need to know how the games are going to get there. making a blank page is easy enough (though it will still have ads and stuff you cannot erase), but lets say you have 20 games. you dont want the page to actually try to load 20 games all at once and them let the users switch between them. you would want to load each game one at a time as they switched tabs. knowing how the games are to be written (like with iframes or embeds) will make a difference.
you could essentially then create one board for the games. have a code get rid of everything on the page except the menu to select which game, then when a game is selected it loads the game into a div on the page.
|
|
|
Post by Dragon on Apr 11, 2011 5:36:13 GMT -8
well if its possible to make 1 page per game then thats what I plan to do. I will have the byond games board with a link to each game page. And in each game page which is the page were creating, there will be a tabulated code. All I really want at this time is a set of tabs per game so that you can easily switch through the parts of the game thats going to be added.
|
|
|
Post by Wormopolis on Apr 11, 2011 11:59:06 GMT -8
1 true page per game is going to require 1 new board per game. so I take it they wont actually be playing these games on your forum, but rather they will get taken to another site?
|
|
|
Post by Dragon on Apr 12, 2011 19:20:06 GMT -8
Correct. I thought this page code could fix the problem of 1 board per.
|
|
|
Post by Wormopolis on Apr 12, 2011 20:41:38 GMT -8
well you confused me a little with something you said above about the games being on the page. ok, so now that you said they wont be playing the games on the forum itself, making a single page that brings up some sort of game list would be easier to do.
to start, put this at the top of main footer:
<div style="align:center; display:none" id="games"> <center><img src="http://i197.photobucket.com/albums/aa250/WORMOPOLIS/worm-3.jpg"><br>Hope you enjoyed that</center> </div>
<script type="text/javascript"> <!-- // new module project v1.0 // by Wormopolis - www.wormocodes.com // by request of momosamuri // do not repost - keep header intact
moduleName="games"; //what you want after "action=" in the URL to bring up your content moduleTitle="Super New Games";
locCheck=new RegExp('action='+moduleName+'(&|$)',''); if (location.href.match(locCheck) && document.title.match(/error\shas\soccurred/i)) { document.title=moduleTitle; for (tbls=document.getElementsByTagName('table'), tt=0; tt<tbls.length; tt++){ if (tbls[tt].className=='bordercolor' && tbls[tt].innerHTML.match(/invalid addmodule/i)) { tbls[tt].style.display="none"; nwContent=document.getElementById(moduleName); tbls[tt].parentNode.insertBefore(nwContent, tbls[tt]); nwContent.style.display=''; nwContent.previousSibling.previousSibling.nodeValue=" :: "+moduleTitle; break; } } }
// --> </script>
|
|
|
Post by Dragon on Apr 27, 2011 22:50:14 GMT -8
Ok I put it in... Im confused though since I dont see anything from it.....
|
|
|
Post by Wormopolis on Apr 28, 2011 15:32:05 GMT -8
|
|
|
Post by Dragon on May 2, 2011 14:27:28 GMT -8
So wait.... I put in what needs to be put in for the page in the code, and use the url you jsut gave me to get there ?
Im confused man.
|
|
|
Post by Wormopolis on May 2, 2011 18:32:11 GMT -8
what happened when you put in that URL?
|
|