Announcement
Collapse
No announcement yet.
Visitors in the Last X Hours Module
Collapse
This is a sticky topic.
X
X
-
USC, the CSS code here to show the visitor count is no longer needed starting from v1.8 of this mod. I have added it as a module option to show or hide the visitor count.
- Top
- Translate
- Bottom
-
lange 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.Originally posted by lange View PostRight now, my forum is running on 5.6.6 /PHP 8.0.15 with a lot of custom templates, custom hooks, three or four mods. I haven't noticed any problems so far.
I'll wait a bit for this mod then.
Thank you.
- Top
- Translate
- Bottom
-
Did that start after adding the latest CSS to add the count? If you remove it, does the module work?
- Top
- Translate
- Bottom
-
Right now, my forum is running on 5.6.6 /PHP 8.0.15 with a lot of custom templates, custom hooks, three or four mods. I haven't noticed any problems so far.
I'll wait a bit for this mod then.
Thank you.
- Top
- Translate
- Bottom
Leave a comment:
-
5.6.6 yes but haven't checked with PHP 8. Is 5.6.6 fully compatible with PHP 8? I will set it up on my local and test.
- Top
- Translate
- Bottom
-
Does this mod work under vB 5.6.6 / PHP 8?
Regards
- Top
- Translate
- Bottom
Leave a comment:
-
css_additional template can be updated in either AdminCP Style Manager or Sitebuilder CSS Editor.
- Top
- Translate
- Bottom
- Likes 1
-
Superb Job Glenn , very much appreciated
a question though, where do i put this code ? css_additional or site builder CSS ?
- Top
- Translate
- Bottom
Leave a comment:
-
Through the power of CSS, I was able to figure out and add the number of visitors. I didn't know that CSS has counters that could count the number of elements, in this case the <li> tags containing the avatars. It just needs more CSS trickery to display the count above the list because the total count can only be displayed after all the elements to be counted. Without this additional trick, the visitor count would have been displayed below the list of avatars.Originally posted by USC View Postno mention of number of visitors ?
"XXX Members have visited the forum"
would be great if you could add that thanks
I have updated the Last Visitors module on homepage here with this code. Check it out!Code:/* Last Visitors Module with Visitor Count - START */ .vbmodsthatrocks-last-visitors-widget { counter-reset: last-visitor-count; } .vbmodsthatrocks-last-visitors-widget .widget-content { display: grid; } .vbmodsthatrocks-last-visitors-widget .last-visitor-list { order: 2; } .vbmodsthatrocks-last-visitors-widget li { counter-increment: last-visitor-count; } .vbmodsthatrocks-last-visitors-widget .widget-content:after { content: counter(last-visitor-count) ' members have visited this forum.'; /* Adjust wording as desired */ order: 1; margin-bottom: 20px; font-weight: bold; } /* Last Visitors Module with Visitor Count - END */
Enjoy!
Last edited by glennrocksvb; 02-05-2022, 09:56 PM.
- Top
- Translate
- Bottom
- Likes 1
Leave a comment:
-
USC, thanks for your purchases and your request. I will consider adding that.
- Top
- Translate
- Bottom
- Likes 1
Leave a comment:
-
purchased it and installed , no mention of number of visitors ?
"XXX Members have visited the forum"
would be great if you could add that thanks
- Top
- Translate
- Bottom
Leave a comment:
-
The code here has been obsolete. Please refer to the latest CSS code in the first post.
- Top
- Translate
- Bottom
-
If you are using the Profile Preview Tooltip mod, then you need to add extra CSS code. Please refer to the updated first post.
- Top
- Translate
- Bottom
Latest Posts
Collapse
-
by ausfishJust trying to see this post
https://vbmods.rocks/forum/questions...indexing-missi...Yesterday, 10:57 PM -
Reply to TikTok BBCodeby flohseThis may be the case. I was just surprised because that hadn't been the case before, and the video had played normally. So there is nothing we can do....Yesterday, 08:57 PM
-
Reply to TikTok BBCodeby glennrocksvbFor that specific TikTok video, the BBCode doesn't seem to be the issue. I also tried using the official embed HTML code provided by TikTok in a forum...Yesterday, 03:57 PM

Leave a comment: