MyBB Community Forums

Full Version: Redirect
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I remove the redirect when a user changes a theme? I believe it is somewhere in member.php but I wasnt able to find it. Also, is there a plugin for theme urls? So I could go to say http://community.mybb.com/index.php?styleid=4 or something similar?
In AdminCP > Settings > Server and Optimization Options > disable "Friendly Redirection Pages". Although this will disable all redirection pages.

Is that a plugin you are using to switch styles? Which one?
(2011-04-25, 09:11 PM)Aries-Belgium Wrote: [ -> ]In AdminCP > Settings > Server and Optimization Options > disable "Friendly Redirection Pages". Although this will disable all redirection pages.

Is that a plugin you are using to switch styles? Which one?

I guess that could work. Where am I doing that? I was asking if there was one.
You can do the second thing with quicktheme Smile
(2011-04-25, 09:22 PM)euantor Wrote: [ -> ]You can do the second thing with quicktheme Smile

No, that still shows the redirect page.
You are using this one, right? http://mods.mybb.com/view/quick-theme-designed-for-14
With a small modification to the plugin code, you can bypass the redirection screen.


In inc/plugins/quicktheme.php, replace:
			redirect($_SERVER['HTTP_REFERER'], $lang->redirect_optionsupdated);
with
			header("Location: ".$_SERVER['HTTP_REFERER']);