+ Reply to Thread
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: Count Listing Visits

  1. #11
    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.

    Code:
    Only registered members can view the code.
    Thanks to flynax support.

  2. #12
    thanks Kenan works perfect
    thanks Rudi too

    Quote Originally Posted by Kenan Mahmutovic View Post
    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.

    Code:
    Only registered members can view the code.
    Thanks to flynax support.

  3. #13
    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

  4. #14
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Hello,

    if you mean banners plugin it support clicks count

  5. #15
    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

  6. #16
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    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

  7. #17
    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

  8. #18
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Hello Wei,

    What code do you mean?

  9. #19
    [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:
    PHP Code:
    Only registered members can view the code
    with:
    PHP Code:
    Only registered members can view the code
    /QUOTE]

    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.

  10. #20
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    You need to remove this line:

    PHP Code:
    Only registered members can view the code

+ Reply to Thread