Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove visitor count


wim83

Recommended Posts

Posted

Osc'er,

 

How to properly remove the visitor count of a osCommerce website (v2.2 rc1)?

Different contrib's exists to replace the standard visitor count to a more advanced one.

However, my webshop doesn't need a visitor count :thumbsup: and info about removing it is hardly to find. :'(

 

Who helps me?

 

Regards,

 

Wim

Posted

edit the footer.php in /includes/ folder

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Posted

Web-project,

 

Thanx for your reply. :rolleyes:

However, your solution doesn't look structural since the database also needs to be changed, from my point of view.

 

Anyone...?

 

Wim

 

 

edit the footer.php in /includes/ folder
  • 1 month later...
Posted
Osc'er,

 

How to properly remove the visitor count of a osCommerce website (v2.2 rc1)?

Different contrib's exists to replace the standard visitor count to a more advanced one.

However, my webshop doesn't need a visitor count :thumbsup: and info about removing it is hardly to find. :'(

 

Who helps me?

 

Regards,

 

Wim

 

 

From my point of view, I dont see why there is a need to change the database, if you simply don't want to see the visitor count, just comment it out.

 

Edit the Includes/footer.php

 

Look for these :

 

<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>

<br>

 

 

I personally dont want to see that bar at all, so I just comment it out like 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>

<br>

-->

 

 

If you only want to take out the visitor count, just comment out the counter like 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>

<br>

 

 

Theres no need to touch the database in my opinion, just let it count, people are not going to see it anyway :thumbsup:

Archived

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

×
×
  • Create New...