ogwinilo Posted December 27, 2010 Share Posted December 27, 2010 After installing an add on (infobox in admin) I have lost banner manager and 'who's online' under Tools in admin. How do I recover these. Unfortunately, this add on doesn't seem to be supported here Regards Felix Quote Link to comment Share on other sites More sharing options...
Guest Posted December 27, 2010 Share Posted December 27, 2010 Felix, What version of OSC are you using ? Have you edited the tools.php file while trying to install that contribution ? If so, check the code edits. Chris Quote Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted December 27, 2010 Share Posted December 27, 2010 You would appear to have not installed the chages in boxes/tool.php Post what you have now and we'll see............... G Quote Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
ogwinilo Posted December 27, 2010 Author Share Posted December 27, 2010 (edited) I'm using 2.2 Release Candidate 2a I don't seem to have boxes>tools.php. In catalog, it needed column left and right changes, filenames.php, database_tables.php, The tools.php in admin is like this; <?php /* $Id: tools.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ ?> <!-- tools //--> <tr> <td> <?php $heading = array(); $contents = array(); $heading[] = array('text' => BOX_HEADING_TOOLS, 'link' => tep_href_link(FILENAME_BACKUP, 'selected_box=tools')); if ($selected_box == 'tools') { $contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_BACKUP) . '" class="menuBoxContentLink">' . BOX_TOOLS_BACKUP . '</a><br>' . '<a href="' . tep_href_link(FILENAME_BANNER_MANAGER) . '" class="menuBoxContentLink">' . BOX_TOOLS_BANNER_MANAGER . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CACHE) . '" class="menuBoxContentLink">' . BOX_TOOLS_CACHE . '</a><br>' . '<a href="' . tep_href_link(FILENAME_MAIL) . '" class="menuBoxContentLink">' . BOX_TOOLS_MAIL . '</a><br>' . '<a href="' . tep_href_link(FILENAME_NEWSLETTERS) . '" class="menuBoxContentLink">' . BOX_TOOLS_NEWSLETTER_MANAGER . '</a><br>' . '<a href="' . tep_href_link(FILENAME_SERVER_INFO) . '" class="menuBoxContentLink">' . BOX_TOOLS_SERVER_INFO . '</a><br>' . '<a href="' . tep_href_link(FILENAME_WHOS_ONLINE) . '" class="menuBoxContentLink">' . BOX_TOOLS_WHOS_ONLINE . '</a>'). '<br><a href="' . tep_href_link(FILENAME_MAILBEEZ, '', 'NONSSL') . '">MailBeez</a><br>'; } $box = new box; echo $box->menuBox($heading, $contents); ?> </td> </tr> <!-- tools_eof //--> Thanks in advance Felix, What version of OSC are you using ? Have you edited the tools.php file while trying to install that contribution ? If so, check the code edits. Chris Edited December 27, 2010 by ogwinilo Quote Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted December 27, 2010 Share Posted December 27, 2010 (edited) '<a href="' . tep_href_link(FILENAME_WHOS_ONLINE) . '" class="menuBoxContentLink">' . BOX_TOOLS_WHOS_ONLINE . '</a>'). '<br><a href="' . tep_href_link(FILENAME_MAILBEEZ, '', 'NONSSL') . '">MailBeez</a><br>'; Is there any reason why you did not follow the installation instructions? :-) '<a href="' . tep_href_link(FILENAME_WHOS_ONLINE) . '" class="menuBoxContentLink">' . BOX_TOOLS_WHOS_ONLINE . '</a><br>" . "<a href="' . tep_href_link(FILENAME_MAILBEEZ, '', 'NONSSL') . '">MailBeez</a><br>'); Might be better. HTH G Edited December 27, 2010 by geoffreywalton Quote Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
ogwinilo Posted December 28, 2010 Author Share Posted December 28, 2010 I knew I messed up somehow, thanks for pointing that out, it's working now Thanks again G and all the best Felix '<a href="' . tep_href_link(FILENAME_WHOS_ONLINE) . '" class="menuBoxContentLink">' . BOX_TOOLS_WHOS_ONLINE . '</a>'). '<br><a href="' . tep_href_link(FILENAME_MAILBEEZ, '', 'NONSSL') . '">MailBeez</a><br>'; Is there any reason why you did not follow the installation instructions? :-) '<a href="' . tep_href_link(FILENAME_WHOS_ONLINE) . '" class="menuBoxContentLink">' . BOX_TOOLS_WHOS_ONLINE . '</a><br>" . "<a href="' . tep_href_link(FILENAME_MAILBEEZ, '', 'NONSSL') . '">MailBeez</a><br>'); Might be better. HTH G Quote Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted December 28, 2010 Share Posted December 28, 2010 I have often been caught out, my favourite is to miss off the semi-colon at the end of lines of php. If it doesn't work, re-read the installation instructions 5 times, HTH G Quote Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.