Lookin for script

  • bluedragon
  • Proficient
  • Proficient
  • bluedragon
  • Posts: 452

Post 3+ Months Ago

I am lookin for a script that you can go to like http://www.yoursite.com/index.php?template="template-name"
to veiw the forum in that template that you specify.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

phpBB is open source and already contains the code to do just that.

If you haven't done it already, download the phpBB source code and study how the phpBB group did it.
  • bluedragon
  • Proficient
  • Proficient
  • bluedragon
  • Posts: 452

Post 3+ Months Ago

yeah well I just want the url for it if anyone has it.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

http://phpbb.com

It's rather complex and you probably won't grasp it all in a night. or a day. It will take some study to understand it and more to modify it for your own use.
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

PHP Code: [ Select ]
<?php if($id == ""){include "news.php";} else {include "content/$id.txt";} ?>

like that?

for the template

PHP Code: [ Select ]
<?php if($template == ""){include "news.php";} else {include "content/$template.txt";} ?>


?? not sure if thats what your looken for, but it might be that will give ya
http://www.yourdomain.com/index.php?template=name
  • bluedragon
  • Proficient
  • Proficient
  • bluedragon
  • Posts: 452

Post 3+ Months Ago

Ok yeah that is but where do I add the code?
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

in your index where ever u want the stuff to show up

Post Information

  • Total Posts in this topic: 7 posts
  • Users browsing this forum: No registered users and 118 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.