MobileHacks
New Member
This modification will make it so when you click the "Forum Home Page" in the Admin Control Panel or Mod Control Panel, it will display your forum in the main content frame in the Control Panel.
You will need FTP access to do this.
Step 1:
Navigate your FTP client to:admincp/
Step 2:
Open index.php in your favorite text editor.
Step 3:
Find:
If your text editor displays what line the code is on, its on line 170
Step 4:
Replace with:
Step 5:
Save index.php then navigate your FTP client to:modcp/
Step 6:
Open index.php in your favorite text editor.
Step 7:
Find:
If your text editor displays what line the code is on, its on line 141
Step 8:
Replace with:
Step 9:
Save index.php and your done!
Now if you click "Admin" or "Mod" at the bottom it wont display it in the main frame. Other links that have "taget="_blank"" will make the page use the full window and not the frame.
You will need FTP access to do this.
Step 1:
Navigate your FTP client to:admincp/
Step 2:
Open index.php in your favorite text editor.
Step 3:
Find:
PHP:
<a href="../<?php echo $vbulletin->options['forumhome']; ?>.php<?php echo $vbulletin->session->vars['sessionurl_q']; ?>" target="_blank"><?php echo $vbphrase['forum_home_page']; ?></a>
Step 4:
Replace with:
PHP:
<a href="../<?php echo $vbulletin->options['forumhome']; ?>.php<?php echo $vbulletin->session->vars['sessionurl_q']; ?>" target="main"><?php echo $vbphrase['forum_home_page']; ?></a>
Save index.php then navigate your FTP client to:modcp/
Step 6:
Open index.php in your favorite text editor.
Step 7:
Find:
PHP:
<a href="../<?php echo $vbulletin->options['forumhome']; ?>.php<?php echo $vbulletin->session->vars['sessionurl_q']; ?>" target="_blank"><?php echo $vbphrase['forum_home_page']; ?></a>
Step 8:
Replace with:
PHP:
<a href="../<?php echo $vbulletin->options['forumhome']; ?>.php<?php echo $vbulletin->session->vars['sessionurl_q']; ?>" target="main"><?php echo $vbphrase['forum_home_page']; ?></a>
Step 9:
Save index.php and your done!
Now if you click "Admin" or "Mod" at the bottom it wont display it in the main frame. Other links that have "taget="_blank"" will make the page use the full window and not the frame.