MyBB Community Forums

Full Version: ACP question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do I make my link/admin go straight to configuration tab?
In template: "header_welcomeblock_member_admin"

Change:
<a href="{$mybb->settings['bburl']}/{$config['admin_dir']}/index.php">

to:
<a href="{$mybb->settings['bburl']}/{$config['admin_dir']}/index.php?module=config">
Edit: It doesn't work. It goes to that tab when I click ACP but not when I type http://mylink.domain/admin.
.htaccess in the /admin directory should do this.

I forget what exactly the index directive is (something tells me it's DirectoryIndex), but try something similar to this:

DirectoryIndex index.php?module=config index.php index.html
(2012-11-19, 03:11 PM)StingReay Wrote: [ -> ].htaccess in the /admin directory should do this.

I forget what exactly the index directive is (something tells me it's DirectoryIndex), but try something similar to this:

DirectoryIndex index.php?module=config index.php index.html

There's an odd thing with my current host, there is no .htaccess, atleast not in my files except the empty one. What should I do now?
Make one. The code already posted should work for you. If you need more step to step guide here it is.
  1. Make a file called htaccess.txt
  2. Add the following code to it
    DirectoryIndex index.php?module=config index.php
  3. Open filezilla or other ftp client
  4. Go to MYBB_ROOT/admin
  5. Upload the file called htaccess.txt
  6. Rename it to .htaccess (notice the dot)
Your job is done