Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
vB3 Moderators and Onlineusers-Look in Forumdisplay v 1.1 Details »»
vB3 Moderators and Onlineusers-Look in Forumdisplay v 1.1
Version: 1.00, by Kars10 Kars10 is offline
Developer Last Online: Feb 2009 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-26-2003 Last Update: Never Installs: 32
 
No support by the author.

What this hack does?
With this hack you can have your Onlineusers and Moderators in Forumdisplay
displayed like on vB3.
Also you have a new Usercount displayed in Forumdisplay.

Files to edit: (1) forumdisplay.php
Templates to edit: (2) forumdisplay, forumdisplay_threadlist
Templates to add: (0)

Time to install: max. 5 min

Credits to: Boofo for the Usercount - Addon

Screenie in next Post!

[high]Note: Please backup your Files and Templates!![/high]

If you like this hack please lick install
Kars

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 04-18-2003, 07:09 PM
kdog316's Avatar
kdog316 kdog316 is offline
 
Join Date: Apr 2003
Location: AZ
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

perfect works great but is there a hack where it will show how many users or in a forum from the forum homepage sort of like what vbulletin.com has
like this

General Chat (4 users in this board)

something along those lines
Reply With Quote
  #23  
Old 04-18-2003, 07:28 PM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Kdog316!
Glad you like my hack.
You can ask Boofo for the hack with the onlineusers on Forumhome.
He has made this hack, and it works great on my board.

Kars
Reply With Quote
  #24  
Old 04-23-2003, 09:28 PM
Synicide Synicide is offline
 
Join Date: Dec 2002
Location: Providence, RI
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is an awesome hack man, my forum looks so much sleeker now.
Reply With Quote
  #25  
Old 04-23-2003, 09:45 PM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ Synicide, glad that you like my little Hack!!

Kars
Reply With Quote
  #26  
Old 04-26-2003, 08:19 AM
+Fares+ +Fares+ is offline
 
Join Date: Nov 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any way to have this in the top instead of the button ?
Reply With Quote
  #27  
Old 04-29-2003, 04:14 PM
subu1 subu1 is offline
 
Join Date: Sep 2002
Location: Germany
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

und install, danke Dir
Reply With Quote
  #28  
Old 04-29-2003, 04:58 PM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Kein Thema subu!

Gru?
Kars
Reply With Quote
  #29  
Old 05-25-2003, 02:17 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For anyone using the Usercount Addon, there is a bug with this. If you have a forum where a guest is viewing the thread listing and they are the only one in that forum, the line will look something like this:

0 User011a20289dccd608bbf00f7eba44917b 24 browsing this Forum:

To fix this, you will need to find:

PHP Code:
    if ($browsers) {
        if (!
$moderatedby) {
            
$onlineusers "";
        }
        
$i 'are';
    if (
intval($usercount) < 1) {
            
$usercount 0;
        }
        if (
intval($usercount) == 1) {
            
$i 'is';
        }
    
$s 's';
    if (
intval($usercount) < 1) {
            
$usercount 0;
        }
        if (
intval($usercount) == 1) {
            
$s '';
        }
        eval(
"\$onlineusers .= \"".gettemplate('forumdisplay_loggedinusers')."\";");
    }

and replace that with:

PHP Code:
            $s 's';
        
$i 'are';
    if (
intval($usercount) < 1) {
            
$usercount "No";
        }
    if (
intval($usercount) == 1) {
                
$s '';
        
$i 'is';
        }
    if (
$browsers) {
        if (!
$moderatedby) {
            
$onlineusers "";
        }
        eval(
"\$onlineusers .= \"".gettemplate('forumdisplay_loggedinusers')."\";");
    }

Reply With Quote
  #30  
Old 05-25-2003, 03:05 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice

Satan
Reply With Quote
  #31  
Old 05-27-2003, 01:28 PM
spaceb spaceb is offline
 
Join Date: Sep 2002
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can i put it in the top of the forum instead of the button??
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:44 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04965 seconds
  • Memory Usage 2,303KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete