Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Footer visitors counter removal


ogwinilo

Recommended Posts

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

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

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...