Admin And Mod CP Forum Home link display in main frame.
This modification is in the archives.
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.
Unfortunately I do not know how to make this a plugin so you will have to manually do it yourself. This mod will not take you that long to install. 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: Code:
<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: Code:
<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: Code:
<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: Code:
<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 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. Remember to mark as installed if you use this!! Download No files for download. |