vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   vBulletin Forum Sideblocks - Block - Users Online (https://vborg.vbsupport.ru/showthread.php?t=233965)

Lynne 01-22-2010 10:00 PM

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

tini_lam 01-23-2010 03:53 PM

detention

Robru 01-23-2010 05:48 PM

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

wayne.richards@ 01-23-2010 06:41 PM

Installed! I Like It!

Hornstar 01-23-2010 07:45 PM

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

Tagged for when I upgrade.

Lynne 01-23-2010 08:13 PM

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 01-23-2010 09:36 PM

Thank you

DjEddie 01-23-2010 10:47 PM

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 01-23-2010 11:31 PM

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>
under:
HTML Code:

<p>{vb:rawphrase there_are_x_online, {vb:raw totalonline}}
                <br /><span class="shade">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</span></p>
                <ol class="commalist" id="wgo_onlineusers_list">

I'm assuming I need to put something under:
HTML Code:

$totalonline = $numberregistered + $numberguest;
    $numberinvisible = $numberregistered - $numbervisible;

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

JAFRI 01-24-2010 04:21 AM

nice, working it >


All times are GMT. The time now is 09:14 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
  • Page Generation 0.01420 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete