ogwinilo Posted February 18, 2010 Share Posted February 18, 2010 I need to remove, preferably, comment out the counter showing the number of requests since a particular time in the footer, ie showing the number of visitors into the site at particular point in time. How do I do that such that I can return it back when I need it Regards Felix Link to comment Share on other sites More sharing options...
Guest Posted February 18, 2010 Share Posted February 18, 2010 Felix, In catalog>includes>footer.php change this: <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> <td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td> </tr> </table> to this: <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> <!-- <td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td> --> </tr> </table> Chris Link to comment Share on other sites More sharing options...
ogwinilo Posted February 19, 2010 Author Share Posted February 19, 2010 Thanks a great deal Chris Felix, In catalog>includes>footer.php change this: <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> <td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td> </tr> </table> to this: <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> <!-- <td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td> --> </tr> </table> Chris Link to comment Share on other sites More sharing options...
ogwinilo Posted February 19, 2010 Author Share Posted February 19, 2010 Thanks a great deal Chris Just one more stupit question there Chris, how do I find out how many people have visited my site, both unique and otherwise? Thanks in advance Felix Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted February 19, 2010 Share Posted February 19, 2010 Just one more stupit question there Chris, how do I find out how many people have visited my site, both unique and otherwise? Thanks in advance Felix Use a solution designed just for that purpose. Not osC. Your hosting company probably provides such a tool in the cPanel like webalizer or something else. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
Guest Posted February 19, 2010 Share Posted February 19, 2010 Mark is correct, using a unique identifier counter is better than the counter in OSC as OSC counts every page refresh. Chris Link to comment Share on other sites More sharing options...
ogwinilo Posted February 20, 2010 Author Share Posted February 20, 2010 Mark is correct, using a unique identifier counter is better than the counter in OSC as OSC counts every page refresh. Chris Thanks guys Link to comment Share on other sites More sharing options...
seshalyn_pr Posted February 25, 2010 Share Posted February 25, 2010 Felix, In catalog>includes>footer.php change this: <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> <td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td> </tr> </table> to this: <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> <!-- <td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td> --> </tr> </table> Chris Used this, worked perrrrdfect!!! thanks Chris :) I Hate PHP, LoLssss Visit My Site, Any constructive comments and suggestions Welcome :) WARNING: IT'S STILL UNDER CONSTRUCTION, LOLS Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.