MyBB Hacks

Full Version: No Special Characters in Usernames
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
After (Line 3)

PHP Code:
if(!defined('IN_MYBB'))
	die('This file cannot be accessed directly.');

You could add

PHP Code:
$tableprefix = ($mybb->version_code>=1400?'':TABLE_PREFIX);

instead of using it (Line 28)

PHP Code:
	$tableprefix = ($mybb->version_code>=1400?'':TABLE_PREFIX);

and (Line 45)

PHP Code:
	$db->delete_query(($mybb->version_code>=1400?'':TABLE_PREFIX).'settings', 'name="stduname_allowedchars"');

PS great plugin thanks!

^ The advantage of that being...?
No idea Wink
Riiiight...
Great plugin!  It now prevent any hackers to enter any malicious code.
(11-23-2012 02:10 AM)jeffdaryl Wrote: [ -> ]Great plugin!  It now prevent any hackers to enter any malicious code.
Not really...
Haha, I'm always wrong. But maybe it reduce the risk. right?
(11-23-2012 09:05 AM)jeffdaryl Wrote: [ -> ]But maybe it reduce the risk. right?
No.
v1.3: MyBB 1.8 compatibility fix
Yumi, is there any chances to make it works for guests too (when a guest create a newthread or full newreply)?
Pages: 1 2 3 4 5
Reference URL's