Announcement

Collapse
No announcement yet.

Visitors in the Last X Hours Module

Collapse
This is a sticky topic.
X
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • glennrocksvb
    commented on 's reply
    Thanks for confirming the suggested PHP changes work. I will add them as options in the next update.

  • Ltvscout
    commented on 's reply
    Those two code changes did what I needed. Thank you, Glenn! Would be cool if it was user configurable in the settings at some point.

  • glennrocksvb
    replied
    Change:
    PHP Code:
    'direction' => $options['direction'], 
    
    to:
    PHP Code:
    'direction' => 'ASC', 
    

    Leave a comment:


  • Ltvscout
    replied
    Ok, with the code you gave me it does sort by username, but backwards. It goes from Z to A. How can I make it sort A to Z?

    Leave a comment:


  • Ltvscout
    commented on 's reply
    Thank you, Glenn!

  • glennrocksvb
    replied
    Ltvscout, if you want to change it now, you could update the PHP file /includes/vb5/frontend/controller/lastvisitorsthatrock.php.

    Change this line:
    PHP Code:
    'orderby' => $options['orderby'], 
    
    to:
    PHP Code:
    'orderby' => 'username', 
    

    Leave a comment:


  • glennrocksvb
    replied
    Currently, there is no such option. I can add it to the next update.

    Leave a comment:


  • Ltvscout
    replied
    Originally posted by glennrocksvb View Post
    Ltvscout, thanks for your puchase.

    The list is ordered by the latest visitor.
    Is there currently a way to sort by username? If not, could that be added in a future update?

    Leave a comment:


  • glennrocksvb
    replied
    Ltvscout, thanks for your puchase.

    The list is ordered by the latest visitor.

    Leave a comment:


  • Ltvscout
    replied
    Hi Glenn,

    Thank you for this great, easy to install mod. I had a similar mod on my old VB 3.0.7 and missed having it once I upgraded to 6.x.

    What determines the order of the user listing shown by default? Can it be adjusted to sort by name, latest visitor, etc?

    Leave a comment:


  • glennrocksvb
    commented on 's reply
    Sorry, I haven't figured that out yet.

  • Ltvscout
    replied
    Any news on being able to exclude invisible users yet?

    Leave a comment:


  • glennrocksvb
    replied
    I have fixed the issue reported by flohse and released v1.15. The latest version also added support for module title translation which was introduced in vB 6.1.2.

    All customers who purchased this mod will receive an email confirmation containing the download link.

    Leave a comment:


  • flohse
    replied
    Originally posted by glennrocksvb View Post
    Or are you only adding the secondary Administrators usergroup to Bot users and not to all Registered Users? If so, then you're good.
    I have added the secondary administrators user group only to the two bot user ids of course.

    You have PM.

    Frank

    Leave a comment:


  • glennrocksvb
    replied
    flohse, let's debug in your forum. To prevent spamming other users here, please send me a PM and I will send you the code to temporarily add to the widget_vbmods_last_visitors template that will output debug messages on the page.

    Leave a comment:

Latest Posts

Collapse

Working...
X
Searching...Please wait.
An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

Please push the back button and reload the previous window.'
An unexpected error was returned: 'Your submission could not be processed because the token has expired.

Please push the back button and reload the previous window.'
An internal error has occurred and the module cannot be displayed.
There are no results that meet this criteria.
Search Result for "|||"