MyBB Community Forums
[How To?] Force redirection pages - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: [How To?] Force redirection pages (/thread-78264.html)



Force redirection pages - alv4 - 2010-09-13

The redirection pages are disabled for some users on my forum (Don't know why).
Is possible to force to all users to activate it?


RE: Force redirection pages - pavemen - 2010-09-13

you can run a query in phpMyAdmin or similar to set the required field value, but that wont stop users from disabling it again.

btw, i personally hate it when admins force settings when they are a user option.


RE: Force redirection pages - Alan S. - 2010-09-13

I wouldn't advise it as those redirect pages really pee me off and I always turn them off, it seems a little harsh to force them on members when they're not really necessary. But yes, it's possible...

In ACP >> Configuration >> Server & Optimization Options make sure Friendly Redirection Pages are set to On.

In usercp_options, find and delete:
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="showredirect" id="showredirect" value="1" {$showredirectcheck} /></td>
<td><span class="smalltext"><label for="showredirect">{$lang->show_redirect}</label></span></td>
</tr>

That removes the option to turn them off from the User CP, then run this query in phpMyAdmin to change the settings for any members that currently have them turned off:

UPDATE `mybb_users` SET `showredirect` = '1'



RE: Force redirection pages - alv4 - 2010-09-13

Thanks...
And yes, I know that are annoying, but I have a problem with the plugin "Profile comments", if the redirection pages are disabled appear a blank page. So, while I fix it, I make this Big Grin

+REP ^^