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
    I'm working on it.

  • USC
    commented on 's reply
    yes its when showing both the username and avatar at the same time, no issues i will wait for the update.

  • glennrocksvb
    replied
    Originally posted by USC View Post
    glennrocksvb new version is working however "Username HTML Markup" is not showing up
    Is this when showing both the avatar and username at the same time? Since showing the username is done only via pure CSS (post #109), the HTML markup can't be used. This has been the case even before the v1.8 and v1.9 updates. I would need to update the module to be able to physically add the username to the HTML source and use the Username HTML Markup assigned for a user.

    Leave a comment:


  • glennrocksvb
    replied
    lange, here you go...

    Add the following CSS in css_additional template:
    Code:
    #vb-page-body[data-usergroupid="1"] .vbmodsthatrocks-last-visitors-widget {
        position: relative;
    }
    #vb-page-body[data-usergroupid="1"] .vbmodsthatrocks-last-visitors-widget:before {
        content: 'Login to view this module.'; /* Change text as desired */
        position: absolute;
        left: 50%;
        top: 50%; /* This is vertically centered. If you want it on top, change 50% to 100px */
        transform: translate(-50%, -50%);
        color: red;
        font-size: 25px;
        font-weight: bold;
        background: rgba(255,255,255,0.9);
        padding: 3px 10px;
        z-index: 1;
        border-radius: 5px;
        box-shadow: 1px 1px 5px rgba(0,0,0,0.4);
        text-align: center;
    }
    #vb-page-body[data-usergroupid="1"] .vbmodsthatrocks-last-visitors-widget .widget-content {
        -webkit-filter: blur(25px); /* Adjust blur radius as desired */
        filter: blur(25px); /* Adjust blur radius as desired */
        -ms-user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
        pointer-events: none;
    }
    This blurs out the module to usergroup with ID=1 which is for unregistered users. Adjust the values accordingly.
    Last edited by glennrocksvb; 02-07-2022, 05:11 PM.

    Leave a comment:


  • USC
    replied
    glennrocksvb new version is working however "Username HTML Markup" is not showing up

    Leave a comment:


  • glennrocksvb
    commented on 's reply
    Thanks for your purchase! I can post it here so everyone can benefit from it in case they also want the same. I just need to re-code the CSS because I didn't save it. But that's fine. So hang on...

  • lange
    replied
    Bought.

    If you prefer ... you can send me the CSS by private message.

    Best Regards.

    Leave a comment:


  • glennrocksvb
    replied
    Sure I can provide you the CSS.

    It's up to you if you want to show both modules. I show the Who's Online module only for Administrator on this site. So only me can see it here.

    Leave a comment:


  • lange
    replied
    Nice, it's more than I expected.

    I am not a coder. If I buy your product, could you provide the CSS to display your screenshot?

    Last question: I don't see the Who's Online avatars on your website. Is it compatible with this product or will I have to choose one or the other?

    Leave a comment:


  • glennrocksvb
    replied
    Yes that can be done to any module not just the Last Visitors module using pure CSS based on the logged-in user's usergroup. You could cover the module content with an image or do the same CSS trick that the Blur Replies mod is doing, to any module. Please see sample screenshot below.

    Click image for larger version  Name:	last-visitors-module-blur-min.png Views:	0 Size:	129.4 KB ID:	23702

    Leave a comment:


  • lange
    replied
    Your product is interesting. I'm sure it works.

    What do you want to customize?
    I'm just exploring the possibilities for use in my custom styles.

    - The Builder will allow me to display or not your module according to the group of users. It's OK.

    - The template would allow me to display a placeholder (an image) instead of the module i.e. your module would be hidden. The placeholder would encourage guests to connect. In this case, the widget_onlineusers template is customized.

    Yes, it's responsive. I checked by using the built-in Responsive Design Mode in FireFox.

    Leave a comment:


  • glennrocksvb
    replied
    Originally posted by lange View Post
    By using Sitebuilder, is it possible as usual to restrict the display according to the usergroup?
    Yes, just like any other default vB5 modules where you can set module view permissions by usergroups.

    Originally posted by lange View Post
    By using Admincp, is there a template that we can customize?
    What do you want to customize? To customize visitor count message (if enabled), you can update its phrase in the Phrase Manager as described in Feature #9 in the first post. If you want style customizations, CSS code is provided in the first post. Further style changes could be provided here if requested. Mostly, the customizations can be done in the module configuration itself. I posted an updated screenshot of the latest available module configuration in the first post.

    Originally posted by lange View Post
    Is it responsive (mobile) ?
    Yes. This mod is installed here. You can check it on your phone or use the mobile emulator feature on Chrome DevTools.

    Leave a comment:


  • lange
    replied
    Packaged as a Module. So you just drag and drop it onto the page using Sitebuilder
    By using Sitebuilder, is it possible as usual to restrict the display according to the usergroup?

    By using Admincp, is there a template that we can customize?

    Leave a comment:


  • glennrocksvb
    replied
    Originally posted by glennrocksvb View Post
    Found a bug introduced in v1.8 where the visitor count is incorrect if a banned user is online but excluded in the Last Visitor list. The count is still including the online banned user. I will release v1.9 shortly to fix this issue.
    v1.9 released! Version history updated in the first post. Customers notified.

    Leave a comment:


  • glennrocksvb
    replied
    Originally posted by glennrocksvb View Post
    I have released v1.8 to add support for PHP 8.0 and 8.1 as well as add module option to show visitor count.
    Found a bug introduced in v1.8 where the visitor count is incorrect if a banned user is online but excluded in the Last Visitor list. The count is still including the online banned user. I will release v1.9 shortly to fix this issue.
    Last edited by glennrocksvb; 02-07-2022, 11:01 AM.

    Leave a comment:

Users Viewing This Page

Collapse

There is 1 user viewing this forum topic.

  • Guest Guest

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