Jump to the post that solved this thread.
Solved: 9 Years, 6 Months, 4 Weeks ago Remove admin link from welcome page (MyBB 1.8.4)
#1
Solved: 9 Years, 6 Months, 4 Weeks ago
I (indirectly) asked this a few times, but didn't get an answer yet...

So this time: my serious effort on how to remove the Admin CP link for added security.

I found this: http://crypto.country/forum/admin/index....&expand=27

I thought I could change this for default templates:
<li><a href="{$mybb->settings['bburl']}/{$admin_dir}/index.php" class="admincp">{$lang->welcome_admin}</a></li>
to
// <li><a href="{$mybb->settings['bburl']}/{$admin_dir}/index.php" class="admincp">{$lang->welcome_admin}</a></li>

(I also tried commenting it out with #).

So... I think I'm close but do I really have to remove all code there? I'd rather comment it out... Or am I looking at the wrong place, again? ;p

Peace!

Devvie
twitter.com/devnullius
Reply
#2
Solved: 9 Years, 6 Months, 4 Weeks ago
~/inc/config.php file has related setting (php files should be edited with a editor like notepad++)
$config['hide_admin_links'] = 0;

its value can be changed to 1 to hide the admin panel link
$config['hide_admin_links'] = 1;
Reply
#3
Solved: 9 Years, 6 Months, 4 Weeks ago
LOL - that was easy! I'm surprised I did not find anything with Google ;p

Peace!

Devvie
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)