MyBB Community Forums

Full Version: Edit template 'header_welcomeblock_member_admin'
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I can't edit the 'header_welcomeblock_member_admin' template, due to the $config['admin_dir'] (also, $mybb->config['admin_dir']) variable. Trying to make the forum more secure by keeping this info out of improper templates is fine and all, but given that this is the whole reason this particular template exists, I kind of expected an exception to this filter. Perhaps there's another means of getting this info that I'm missing, though, and if so I would appreciate the knowledge.

All I'm trying to do is wrap the link in <li> tags and add an image.
revert the template to original then try changing it as required ..

OR check the code for header_welcomeblock_member_admin
<a href="{$mybb->settings['bburl']}/{$admin_dir}/index.php">{$lang->welcome_admin}</a>
Thanks, it's odd that by default mine used {$config['admin_dir']} but now I know how to deal with it if I need to.