MyBB Community Forums

Full Version: Administrating MyBB - good practices
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
I learned that if you rename the admin directory it can not contain characters such as !,@,#,$,^,& etc....

If you try to rename it and it has any of those characters, you'll just get a 404 error page when trying to access the admin directory.Confused
(06-29-2006 08:50 PM)Galen Wrote: [ -> ]Ah, yes, that would definately be the case. The image map that places a link at a certain point on the image is unique to the individual image. If you'd like, PM the image you want to use and I'll send you the correct code to make it work.

Or, I could just write a tutorial on how to do this. It could possibly come in handy for people who want to change their copyright to an image but don't know how.

Hey, did you ever write a tutorial for this? If you did where is it?

Do you have to do this? Can you just remove Powered By MyBB and leave Copyright © 2002-2008 MyBB Group.

SQL query:

RENAME TABLE mybb_adminlog TO 1985_adminlog, mybb_adminoptions TO 1985_adminoptions, mybb_adminsessions TO 1985_adminsessions, mybb_ads TO 1985_ads mybb_announcements TO 1985_announcements, mybb_attachments TO 1985_attachments, mybb_attachtypes TO 1985_attachtypes, mybb_awaitingactivation TO 1985_awaitingactivation, mybb_badwords TO 1985_badwords, mybb_banned TO 1985_banned, mybb_captcha TO 1985_captcha mybb_datacache TO 1985_datacache, mybb_events TO 1985_events, mybb_favorites TO 1985_favorites, mybb_forumpermissions TO 1985_forumpermissions, mybb_forums TO 12345_forums, mybb_forumsubscriptions TO 1985_forumsubscriptions, mybb_groupleaders TO 1985_groupleaders, mybb_helpdocs TO 1985_helpdocs, mybb_helpsections TO 1985_helpsections, mybb_icons TO 1985_icons, mybb_joinrequests TO 1985_joinrequests, mybb_mailqueue TO 1985_mailqueue mybb_moderatorlog TO 1985_moderatorlog, mybb_moderators TO 1985_moderators, mybb_modtools To 1985_modtools, mybb_mycode TO 1985_my[...]

MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mybb_announcements TO 1985_announcements,
mybb_attachments TO 1985_attachments,' at line 5


Why am I getting this error?
Thank you for this great advice. I have just renamed my admin folder and my database prefixes. It all went smoothly. Big Grin
I changed the admin dir, and make regular backups, but I never heard of removing the version number from the ACP. Maybe those Anonymous freaks won't come to my board. Smile

They hacked a community I'm part of. Dodgy

But thanks for this, the remove version number sounds really good.
I have one.

Make a .htaccess file that blocks search engines from the admin directory.
Will changing the admin directory name affect any plugins that are meant for the Admin CP?
I don't think so.
If they rely on the '/admin' url instead of getting the url from MyBB so they will be affected.
(08-28-2006 09:58 AM)Peter Wrote: [ -> ]
knol Wrote:Sad Came to see if there was something I could do to improve the security, found the first post and wanted to try this one. Downloaded my config.php, opened it and big suprise, this option to change the admin dir is taken out of the config. What a shame, it was in my opinion a very good idear to avoid those scriptkiddies. At least, a little bit. Will this function come back in the future?
If this line of code is not in the inc/config.php file, add it yourself:
PHP Code:
$config['admindir'] = "n37sgb3"
Of course, replace the random characters with characters of your choice. Then, rename the actual "admin" directory on your web server to the same name. Your admin control panel link from MyBB will have updated to the new directory, from which you can then access the admin control panel.
On my server was: rename the original admin folder to what I wanted. then I created a new admin folder with just 1 file in it. I also password protected it so that now the only way to find the true folder is to be an admin then you have to know some login info and then you have to log into the acp.
How do i update to 1.4.1?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Reference URL's