|
Switch a certain page (.php) to display a custom theme
|
|
06-28-2008, 01:40 AM
Post: #1
|
|||
|
|||
|
Switch a certain page (.php) to display a custom theme
In particular, I want register.php to always display Black Rose instead of the theme the user has anyways. I tried changing
PHP Code: $stylelist = build_theme_select("style"); PHP Code: $stylelist = build_theme_select("Black Rose"); ![]() iHelpYa Forums - Join Today |
|||
|
06-28-2008, 07:06 AM
Post: #2
|
|||
|
|||
|
RE: Switch a certain page (.php) to display a custom theme
Revert your previous modification, it won't work.
In global.php, find: PHP Code: // Fetch the theme to load from the database PHP Code: if(strtolower(basename($_SERVER['PHP_SELF'])) == 'member.php' && ($mybb->input['action'] == 'register' || $mybb->input['action'] == 'do_register'))Dennis Tsang :: MyBB Developer Follow me on Twitter: @dennistt |
|||
|
06-28-2008, 02:21 PM
Post: #3
|
|||
|
|||
RE: Switch a certain page (.php) to display a custom theme
(06-28-2008 07:06 AM)DennisTT Wrote: Revert your previous modification, it won't work. Thx, I'll do that ![]() iHelpYa Forums - Join Today |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Search
Member List
Calendar
Help

![[Image: sig.gif]](http://bodo.funpic.org/xtra/images/sig.gif)

