vBulletin Modifications

Getting $activeusers to display in header template...

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

Reply
 
LinkBack Thread Tools
Old 11-02-2006, 04:01 AM   #1
vB Newbie
Join Date: Nov 2006
daftie is on a distinguished road

Default Getting $activeusers to display in header template...

I'd like to get the $activeusers string to display when included in the header template, it just won't work...

That string's purpose is to show all the active (logged in) users in the "What's Going On?" box. It's not a phrase, it's a var originally found in the FORUMHOME template.

Can anyone point me on what var/method to use or would I have to hack?

[I'm using vB 3.6.2]

Last edited by daftie; 11-02-2006 at 04:01 AM. Reason: additional info




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 11-02-2006, 04:09 AM   #2
Coder
SirAdrian's Avatar
Join Date: Jun 2006
SirAdrian is on a distinguished road

Default

Look at forumdisplay.php, and find this
You must first be a registered member to view any code.
and this
You must first be a registered member to view any code.
Everything between is for generating the WOL listing.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-02-2006, 06:14 AM   #3
vB Newbie
Join Date: Nov 2006
daftie is on a distinguished road

Default

thanks!

I put the code in a new .php with the proper header codes to allow it to run, made a new plugin to include it this .php in the header, with output cleaned, set hook to global_start, it's active. it echoes out my debug text so i know it's including it for sure.

the part I can't seem to hack, since I'm new to the VB engine, is how to display the result of this stuff..

I can't echo $activeusers, and after searching the entire VB code (with my trusty editor), I can't even find where that var is being defined to contain the usernames. I know forum_loggedinusers is the template for the output but I can barely understand whats going on now.

Please rescue me!

My full code is what you refer to, in a .php, being included in the header, plus:

You must first be a registered member to view any code.

Last edited by daftie; 11-02-2006 at 06:16 AM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[How To] Display noavatar.gif on the memberlist BigJohnny vBulletin Modification Tutorials 7 09-05-2006 02:45 PM
Random Thumbs Display (3.5.*, 3.6.*) xyz vBulletin 3.5 / 3.6 Hack Releases 22 08-12-2006 11:59 PM
Parse template in footer Kriminal General vBulletin Support 0 07-28-2006 04:43 PM
Methodology for plugin template changes tgreer General vBulletin Support 25 04-07-2006 09:04 PM
Need some help in the header real-one General vBulletin Support 1 12-29-2004 08:27 AM


All times are GMT -3. The time now is 10:03 PM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)