Welcome, Guest. Please Login or Register.
May 01, 2025, 06:24:51 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Different templates for different boards « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Different templates for different boards  (Read 703 times)
Dude
Guest
Different templates for different boards
« on: March 01, 2002, 09:32:17 AM »
Reply with quote

I'm going to write one as soon as 1.3 comes out since Godai is swamped. I started it but used a flatfile txt db. The final will use mysql.

the idea:
Each board can have it's own template which can be set in the admin area.

the execution:
add a field in the db.
in subs.php use a fori loop to match template and board
in admin.php when a board is created insert template.php (the default) into the db template field. also in admin.php link to the form that allows the admin to change templates.

Possible enhancments:
Add a field to the create board function that displays the default template and allows the user to change it when creating/modifing a board.
Add the option to use one template per catagory.
Logged
Daniel Hofverberg
YaBB God
*****
Posts: 582


WWW
Re:Different templates for different boards
« Reply #1 on: March 01, 2002, 10:00:34 AM »
Reply with quote

As I already posted before everything disappeared, I think this is a very good idea - I will definitely use it, as I have been looking for something like this myself.
Logged
Dude
Guest
Re:Different templates for different boards
« Reply #2 on: March 14, 2002, 10:56:24 AM »
Reply with quote

uhhhh, never mind.   :(
« Last Edit: March 15, 2002, 06:50:03 PM by Dude » Logged
Daniel Hofverberg
YaBB God
*****
Posts: 582


WWW
Re:Different templates for different boards
« Reply #3 on: April 06, 2002, 07:10:09 PM »
Reply with quote

Any progress on this? After all, 1.3.0 is out now, and I would love to see this ability...
Logged
Tha Master
Full Member
***
Posts: 201


G€€N G€KL!€R, !K B€N H!€R

vermeulen_yves@hotmail.com WWW
Re:Different templates for different boards
« Reply #4 on: April 09, 2002, 03:06:39 PM »
Reply with quote

Yeh, me to.........
pleaseeeeeee???
Logged

« Last Edit: Next Week at 23:59:59 pm by Tha Master »
_________________________________________________________________________________________________________
tha master was here ;)
http://www.forumekes.tk
Dude
Guest
Re:Different templates for different boards
« Reply #5 on: April 09, 2002, 06:22:27 PM »
Reply with quote

Just about done. Ran into a couple of probs with 1.3, nothing major, just detail stuff.

Anyway, should have it done sometime this weekend. Got a couple of things left to do.  :(
Logged
John
Noobie
*
Posts: 5


Hoi

jdhaen@hotmail.com
Re:Different templates for different boards
« Reply #6 on: April 13, 2002, 10:30:38 AM »
Reply with quote

Quote from: Dude on April 09, 2002, 06:22:27 PMAnyway, should have it done sometime this weekend. Got a couple of things left to do.  :(

It's weekend now ;)  ;D
Logged
Dude
Guest
Re:Different templates for different boards
« Reply #7 on: April 14, 2002, 04:04:47 AM »
Reply with quote

And I'm working on it now  ;D Just came here to check a few things.  ;)
Logged
Dude
Guest
Re:Different templates for different boards
« Reply #8 on: April 14, 2002, 06:51:37 AM »
Reply with quote

Well allrighty then, check out this post  ;D
http://www.yabb.info/community/index.php?board=158;action=display;threadid=6810
Logged
Rpg Cyco
Full Member
***
Posts: 197


bradgordon51@hotmail.com WWW
Re:Different templates for different boards
« Reply #9 on: April 14, 2002, 09:38:07 AM »
Reply with quote

Are you going to expand this and let members choose a template through their profile or something like that?

l8ter

Rpg Cyco
Logged

Dude
Guest
Re:Different templates for different boards
« Reply #10 on: April 15, 2002, 04:34:38 AM »
Reply with quote

Quote from: Rpg Cyco on April 14, 2002, 09:38:07 AMAre you going to expand this and let members choose a template through their profile or something like that?

l8ter

Rpg Cyco

Doubt it. I'm way too anal to let other folks mess with my templates.  ;D

It probably wouldn't be that hard. Add a field to the member table and a line to the profile page. course you'd have to add some stuff to subs.php. hmmmm.

Let me make sure this one works ok first. Then I'll look into it.
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Different templates for different boards « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.061 seconds with 20 queries.