vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=233965

Block - Users Online
by Lynne
23 Jan 2010 17:43

2 Attachment(s)
This is a block for your forum sideblocks to show the Current Users Online.

http://www.vbulletin.org/forum/attac...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!!!

tini_lam 23 Jan 2010 17:53

detention

Robru 23 Jan 2010 19:48

Is this the same mod as the 4.0RC4 mod ? :)

wayne.richards@ 23 Jan 2010 20:41

Installed! I Like It!

Hornstar 23 Jan 2010 21:45

Thanks, I might finally change some things around with my skin with this.

Tagged for when I upgrade.

Lynne 23 Jan 2010 22:13

Quote:

Originally Posted by Robru (Post 1964601)
Is this the same mod as the 4.0RC4 mod ? :)

This is a block, not a widget. I wrote the other one also and just used most of my same code (different template though).

fourat 23 Jan 2010 23:36

Thank you

DjEddie 24 Jan 2010 00:47

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 :)

mandingo 24 Jan 2010 01:31

Quick one Lynne, I tried to add the "most ever users" into it and it didn't seem to work.
I put:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

under:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I'm assuming I need to put something under:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

But i don't know where to look.
$recordusers somehwhere?

JAFRI 24 Jan 2010 06:21

nice, working it >

Coroner 24 Jan 2010 08:52

Quote:

Originally Posted by DjEddie (Post 1964833)
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 :)

Template to Use - block_users_online

This works pretty good. Thx @Lynne

DjEddie 24 Jan 2010 14:14

Quote:

Originally Posted by Coroner (Post 1964996)
Template to Use - block_users_online

This works pretty good. Thx @Lynne

Thanks .. stupidly missed that lol cheers coroner :)

Lynne 24 Jan 2010 16:47

Quote:

Originally Posted by mandingo (Post 1964847)
Quick one Lynne, I tried to add the "most ever users" into it and it didn't seem to work.

Yes, you would need to add the code from the forum.php page to get that info. Problem is, it is from the datamanager and I know I couldn't grab the datamanager info when I had this code in the widget and I didn't even bother to try for this block. Someone asked me for the code to put the widget in the block and so that's exactly what I did.

marcomrc 25 Jan 2010 13:47

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

DjEddie 25 Jan 2010 15:25

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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

when the mod is disabled .. this error doesn't happen .. any suggestions?


All times are GMT. The time now is 04:34.

Powered by vBulletin® Version 3.8.13
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.