As fynax support explained, includes/classes/rlListings.class.php Around 2462 line
I comment old function and added new.
Use notepad++ editor for editing file.
Thanks to flynax support.Code:Only registered members can view the code.
Printable View
As fynax support explained, includes/classes/rlListings.class.php Around 2462 line
I comment old function and added new.
Use notepad++ editor for editing file.
Thanks to flynax support.Code:Only registered members can view the code.
Hello,
What about Banner shows\views count, is it the same setting (per IP)?
If yes, how to change it to be per visit?
That would be very useful for banner boxes that displaying more than one Ad.
Thanks
Hello,
if you mean banners plugin it support clicks count
Hello Rudi,
No I mean the shows count in banner plugin not clicks count. it comes under shows column in banners list in Admin.
So my question is that shows count worked based on IP or on visit?
if based on IP how can we change it to be per visit same as listing count visits?
Regards,
Munji
the plugin doesn't support it by default
and I think it doesn't make sense if not by IP,
because to visit banner page you need to click it to follow the link and it counts these clicks
Hi Rudi, This code is no longer work on 4.9.1. Can we have an update code for it?
I made the same change that you instructed here that worked in 4.8.1. But for 4.9.1 it does not count visit
Hello Wei,
What code do you mean?
[QUOTE=Rudi;23585]If you need to count listing visits each time the listing is opened
go to ftp > includes > classes > rlListings.class.php > public function countVisit($id)
replace this code:
with:PHP Code:
Only registered members can view the code.
/QUOTE]PHP Code:
Only registered members can view the code.
Hi Rudi, I meant this code does not work anymore. I want the visit count to add up when user refresh the listing. I used this code in 4.8.1 and it worked. Everytime user refresh the listing, the visit count go up. But I tried this code again in 4.9.1, the visit count stop working.
You need to remove this line:
PHP Code:
Only registered members can view the code.