![]() |
Block - Users Online
1 Attachment(s)
This is a block for your forum sideblocks to show the Current Users Online.
https://vborg.vbsupport.ru/attachmen...1&d=1276355488 You will need to Create a new Template (block_users_online), Cache the template, Create a new Block (Users Online), and then, optionally, remove the Currently Active Users list from the bottom of the page. 1.1 2010-06-12: Added in Most users ever online. Updated for 4.0.3. 1.2 2010-06-23: Updated to work for 4.0.4. 1.3 2011-11-17: Fixed template and block code for use in 4.1.8. 1.4 2012-06-05: Fixed template for use in 4.2.0. Installation instructions for 4.2.0, 4.1.8 and pre-4.1.8 are included in the 1.4 download. Please make sure you use the correct Installation Instructions as both the block code and the template code are different depending on the version you are running. Read them carefully!!! |
detention
|
Is this the same mod as the 4.0RC4 mod ? :)
|
Installed! I Like It!
|
Thanks, I might finally change some things around with my skin with this.
Tagged for when I upgrade. |
Quote:
|
Thank you
|
Hi, Lynne
Ive installed this as per your instructions and double checked and i get the Users Online block .. but no text inside .. any suggestions ? Thanks :) |
Quick one Lynne, I tried to add the "most ever users" into it and it didn't seem to work.
I put: HTML Code:
<p>{vb:rawphrase most_users_ever_online_was_x_y_at_z, {vb:raw recordusers}, {vb:raw recorddate}, {vb:raw recordtime}}</p> HTML Code:
<p>{vb:rawphrase there_are_x_online, {vb:raw totalonline}} HTML Code:
$totalonline = $numberregistered + $numberguest; $recordusers somehwhere? |
nice, working it >
|
Quote:
This works pretty good. Thx @Lynne |
Quote:
|
Quote:
|
gives me this error:
Fatal error: Class 'vB' not found in /web/htdocs/www.xxxxxxx.it/home/forum/includes/block/html.php(89) : eval()'d code on line 2 |
Hi, noticed an error that I get from this mod (found it was this by disabling and enabling the different mods i have).
When I log out (with this mod enabled) this is the error I get: Fatal error: Call to undefined function fetch_online_status() in /home/*****/public_html/radio1/includes/block/html.php(89) : eval()'d code on line 93 line 93 of the includes/block/html.php code is: Code:
$content = nl2br(htmlspecialchars_uni($this->config['html_content'])); |
Quote:
Quote:
|
Quote:
I'm running 4.0.1 and i'm using firefox 3.57 and also Internet explorer 7.06 and have tried uninstalling and reinstalling and still have same error .. not sure why |
Quote:
|
ahh, yes sorry its the "EveryWhere Sidebar" mod that gives it the error when both mods are on ...
im not sure what functions would be needed to be added .. could u explain or should i be asking the developer of that mod? thanks :) |
Quote:
PHP Code:
|
Works perfectly now Lynne.
Thanks for your help :) |
Thx Lynne :) It works perfectly
|
Hi,
it works perfect ... and nothing to translate. Great ! Heiko |
Most excellent. Thank you Lynne!
|
Works great, thank you Lynne :)
|
Installed correctly but notice it shows only me online when the bottom one shows members as well who are online. I'm pretty sure its a caching issue will further investigate.
|
Quote:
|
Works great for me. I too would like to have the "most ever" feature available, but that won't keep me up at night ;)
|
I just upgraded to 4.0.3 and this block stopped working. Completely disappeared :( But all the plugin/template data for it is still present....
|
Quote:
Use this for the code in the block: PHP Code:
|
Much appreciated Paul & Lynne. Thank you.
|
Thank you, works again now :)
|
Indeed works again, but doesn't work the pm's system :confused:
|
Quote:
Also, just a note about this.... in 4.0.3, they changed the online users list to not show users in usergroups 3 or 4. I didn't update this query to include that. However, if you want it to be the same, you may just open the forum.php file, find the query and you'll see the line to add under the WHERE part of the query. Just add it to the query in the block configuration, like this: PHP Code:
|
works great for 4.0.3...thanks..my only problem is, when I have the block active, the memberlist link (www.site.com/members/list/) gives me an error:
Code:
Fatal error: Call to undefined function fetch_online_status() in /home/bytesin/public_html/includes/block/html.php(95) : eval()'d code on line 94 |
spot on Lynne...works brilliantly ,thank you ..installed!!!
|
what code in 4.0.3 do i remove to take the users online out of the wgo box???? my FORUMHOME template doesnt have
<vb:if condition="$show['loggedinusers']"> <!-- logged-in users --> {{{code in FORUMHOME template for active users}}} <!-- end logged-in users --> </vb:if> any ideas???? |
Well, it doesn't says exactly:
{{{code in FORUMHOME template for active users}}} I put that in instead of all the code. But it does have the two lines above and below that. If you don't have those lines, you will have to ask the designer of your style where that section is. |
Quote:
|
Sadly, I had to remove the block. Once the block is activated none of the community links on the navbar are working anymore.
They give the same error as describen in post #36. Any fix for this? Thanks in advance! |
All times are GMT. The time now is 04:17 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|