The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Browser on Who's Online Details »» | |||||||||||||||||||||||||
Browser on Who's Online
Developers: derekivey Version: 1.0.2 vBulletin Version: 3.5.5 (3.6.0 version available here) File Edits: 2 Template Edits: 1 New Phrases: 8 Uses Plugins: Yes Difficulty: Easy Description: This hack will show each user's browser in the Who's Online Box beside their name. It supports IE, Firefox, Opera, Camino, Safari, Konqueror, and Netscape. If the user is using a browser that is unsupported with this hack, it will show a Question mark icon, which means its an Unknown browser. *** I Strongly Recommend That You Backup Before Installing/Upgrading This Hack! *** Planned features for a later release:
Note: If you are using vBadvanced CMPS, please follow 350Chevy's post to get this hack working on it, if you want to show their browser on the CMPS' Who's Online. I have added screen shots of this hack in action below. Please click If you installed this hack. Thanks! Supporters / CoAuthors Show Your Support
|
Comments |
#152
|
|||
|
|||
No Problem .
|
#153
|
|||
|
|||
Hmm.. I've had this installed for a few weeks and my members like it.. However, there seems to be a problem when the user first enters a vBulletin powered page such as vBadvanced CMPS or the vBulletin Admin/Mod Control Panels.. It doesn't seem to detect the browser right away like it did with an Invision Board hack that did this very thing.
What I am wondering, is how to get the browser icon to show on the first page view. (Sometimes I have to refresh a few times to get it to recognise my browser.) |
#154
|
||||
|
||||
Quote:
|
#155
|
|||
|
|||
Quote:
Derek |
#156
|
|||
|
|||
i cant find the codes in the index.php file
|
#157
|
|||
|
|||
Try finding session.userid. You might have installed a few hacks that changed the line.
|
#158
|
|||
|
|||
Quote:
Code:
<?php /*======================================================================*\ || #################################################################### || || # vBulletin 3.5.3 - Licence Number ********* || # ---------------------------------------------------------------- # || || # Copyright ?2000-2006 Jelsoft Enterprises Ltd. All Rights Reserved. || || # This file may not be redistributed in whole or significant part. # || || # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # || || # http://www.vbulletin.com | http://www.vbulletin.com/license.html # || || #################################################################### || \*======================================================================*/ // ####################### SET PHP ENVIRONMENT ########################### error_reporting(E_ALL & ~E_NOTICE); // #################### DEFINE IMPORTANT CONSTANTS ####################### define('THIS_SCRIPT', 'index'); // ################### PRE-CACHE TEMPLATES AND DATA ###################### // get special phrase groups $phrasegroups = array('holiday'); // get special data templates from the datastore $specialtemplates = array( 'userstats', 'birthdaycache', 'maxloggedin', 'iconcache', 'eventcache', 'mailqueue' ); // pre-cache templates used by all actions $globaltemplates = array( 'FORUMHOME', 'forumhome_event', 'forumhome_forumbit_level1_nopost', 'forumhome_forumbit_level1_post', 'forumhome_forumbit_level2_nopost', 'forumhome_forumbit_level2_post', 'forumhome_lastpostby', 'forumhome_loggedinuser', 'forumhome_moderator', 'forumhome_pmloggedin', 'forumhome_subforumbit_nopost', 'forumhome_subforumbit_post', 'forumhome_subforumseparator_nopost', 'forumhome_subforumseparator_post' ); // pre-cache templates used by specific actions $actiontemplates = array(); // ######################### REQUIRE BACK-END ############################ require_once('./global.php'); require_once(DIR . '/includes/functions_bigthree.php'); require_once(DIR . '/includes/functions_forumlist.php'); // ####################################################################### // ######################## START MAIN SCRIPT ############################ // ####################################################################### ($hook = vBulletinHook::fetch_hook('forumhome_start')) ? eval($hook) : false; // get permissions to view forumhome if (!($permissions['forumpermissions'] & $vbulletin->bf_ugp_forumpermissions['canview'])) { print_no_permission(); } if (empty($foruminfo['forumid'])) { // show all forums $forumid = -1; } else |
#159
|
|||
|
|||
You didn't paste the whole file, the code is near the end I think.
Derek |
#160
|
|||
|
|||
here it is
|
#161
|
|||
|
|||
I found it in there. Find $forumusers = $db->query_read(", its like 3-4 lines down from that: session.userid, session.inforum, session.lastactivity
Derek |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|