Site in read-only mode

This site is now read-only following the release of MyBB 1.8 and the new mods site.

If you are looking for MyBB 1.8 mods please click here to visit the new mods site.

You can continue to download submissions for MyBB 1.6 and earlier here, however new submissions will only be accepted via the new mods site.

Write Review

Reviews

Force Verify - 1.0 by Steven

Hello
About force-verify
This plugin will cause no show thumbnail. Why?
Please try to solve this problem
Why after installing this pluginŲŒ Small images attached Not displayed?
The language file is the problem?
What's the solution?
Many plugins have this problem.Please help me
Thanks

Written By: nokte, 9th March 2012

Great plugin, only problem is that the redirect page shows the message twice. I've fixed it myself, here's the code:
function forceverify_check()
{
global $mybb, $db, $lang;

if ( ! $mybb->settings['forceverify_enabled'])
{
return false;
}

if (($mybb->user['uid'] != 0) AND ( ! in_array($mybb->user['uid'],explode(',',$mybb->settings['forceverify_exempt']))))
{
if ((THIS_SCRIPT == 'usercp.php') OR ($mybb->request_method == 'post') OR (THIS_SCRIPT == $lastredir))
{
return false;
}
if ((time() - $mybb->user['forceverify_lastdate']) > $mybb->settings['forceverify_interval'])
{
$lastredir=THIS_SCRIPT;
$lang->load('forceverify');
redirect('usercp.php?action=profile',$lang->forceverify_check);
}
}
}

Just replace the old function in the plugin file with this one and the message will work correctly.

Other than that awesome plugin!

Written By: Qub1, 29th August 2012

Write Review