force a style for certain pages

Discussion forum for MOD Writers regarding MOD Development.
Locked
sharky86
Registered User
Posts: 93
Joined: Sun Aug 19, 2007 10:25 am

force a style for certain pages

Post by sharky86 »

hello everybody!

i have a page that is linked to the forums trough the session integration. on this page i have included parts of teh forums, such as teh ajax chat. so far everything is fine.

on the forums everybody is free to use the template tehy want. what i would like to do is to force a certain template inside the page i described above. is there a way to set a variable to a certain value in order to have all users using the same template on THAT single page?

thanks

Igor
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53400
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: force a style for certain pages

Post by Brf »

When you do your user_setup, you can put in a style:

Code: Select all

$user->setup(FALSE, 5);
Where "5" is your style number
User avatar
Raimon
Former Team Member
Posts: 12088
Joined: Tue May 30, 2006 5:31 pm
Location: Netherlands
Name: Raimon Meuldijk
Contact:

Re: force a style for certain pages

Post by Raimon »

Moved to MOD writers discussion.
Need phpBB installation, extenstions, Styles or integrate phpBB with you website?
Contact me @ www.raimon.nl for fair prices and good service!
Locked

Return to “[3.0.x] MOD Writers Discussion”