FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Setting custom theme as default theme locks everyone out of the forum
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Setting custom theme as default theme locks everyone out of the forum [message #159930] Fri, 10 July 2009 10:15 Go to previous message
ANiko is currently offline  ANiko   United States
Messages: 30
Registered: May 2009
Karma:
Member
Fresh install of FUDforum 2.8.1 on Linux, Apache 2.2.11, MySQL 5.0.81 and PHP 5.2.9.

I can lock everyone out of my forum -- including myself -- unintentionally, ie, without using the global settings. I just set the default theme to a custom theme instead of the (named) default theme and we're all stuck.

Steps to reproduce:

1. Log in as admin and navigate to your forum's Admin Control Panel-> Theme Manager.
2. Create a new template set based on Path_info. Name it custom.
3. Create a new theme using the custom template set. Language and location English. Mark the default and enabled check boxes.
Name this new theme and click "Create."
4. Rebuild all themes.
5. Return to the forum and navigate around. Check that everything is working as it should. It appears to be, even after the cache is cleared.
6. Let's check what all other users except the Admin user see. Open a different browser and go to the forum index.php page. The user can't log in, can't visit the forums or members list, can't register or do anything else because a click on any link refreshes the current index.php page instead of showing the user what he expects.

The other user is locked out of the forum.

If the other user had been logged in as a member, he'd be locked out too, because clicks on any link only refreshes the index.php page instead of navigating to the intended page.

(DON'T DO THIS! but if the admin user logs out, he's locked out of the forum too. Every click on a link only refreshes the index.php page. And because some of you will lock yourselves out in testing this even after I told you not to, to save your forum use the browser's back button to return to the admin control panel. You'll be prompted for the admin user and password, but you'll get back in.)

So this is verified as broken.

To fix this:

7. In the logged in admin window, navigate to your forum's Admin Control Panel-> Theme Manager.
8. Edit the default theme by setting it as default with the check box and click on the update button.
9. Rebuild all themes.
10. All users can now navigate around the forum as normal.

[Updated on: Fri, 10 July 2009 10:15]

Report message to a moderator

[Message index]
 
Read Message
Read Message icon6.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Topic Merge will reset view count to zero
Next Topic: Plugins becoming disabled when changing any general settings
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 16:07:57 GMT 2024

Total time taken to generate the page: 0.05158 seconds