Hello Guys,
Do you know anything about how works the Count Listing Visits?
count per person, ip, view?
Thanks
Printable View
Hello Guys,
Do you know anything about how works the Count Listing Visits?
count per person, ip, view?
Thanks
Hello Marina,
Count Listing Visits works by IP. Count will be increased after one day if you come back on this listing.
Thanks.
Hello Marina,
Do you want to add the count each time when user will be updated or go on listing?
Thanks.
Hello,
How can I get the visits to count each time someone go to a listing, instead of limit the visits by IP?
Thanks!
interested
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.
PHP Code:
Only registered members can view the code.
[QUOTE=Rudi;23585]If you need to count listing visits each time the listing is opened
go to ftp > includes > classes > rlListings.inc.php > public function countVisit($id)
replace all the code inside with:
/QUOTE]PHP Code:
Only registered members can view the code.
hello Rudi
there are no such file rlListings.inc.php in the directory classes also i tried t add it to rlListings.class.php but it doesn't work
sorry, it was a typo, the file is rlListings.class.php
I've checked it again on my end and it works fine,
maybe you did something wrong
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.
[QUOTE=Rudi;37125]You need to remove this line:
/QUOTE]PHP Code:
Only registered members can view the code.
That did the trick, thanks Rudi