vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Browser on Who's Online (https://vborg.vbsupport.ru/showthread.php?t=103996)

derekivey 03-31-2006 11:16 PM

No Problem :).

Snort_2005 04-29-2006 03:22 AM

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

Tyegurl 04-29-2006 03:37 AM

Quote:

Originally Posted by Snort_2005
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.)

you can get it to show on vbadvance index page?i can't lol i would like to see the fix for that myself ;)

derekivey 04-29-2006 12:55 PM

Quote:

Originally Posted by Snort_2005
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.)

Thats happens because I guess vB's sessions start before the hack itself so it doesn't get added the first time when they view the page, but after the session is created it gets added. I might have to take away the plugin and make it a file mod to get it in the right place. I'll try and have it fixed for the next version.

Derek

saba 04-29-2006 01:54 PM

i cant find the codes in the index.php file

derekivey 04-29-2006 03:13 PM

Try finding session.userid. You might have installed a few hacks that changed the line.

saba 04-29-2006 06:58 PM

Quote:

Originally Posted by derekivey
Try finding session.userid. You might have installed a few hacks that changed the line.

trye that aswell i dont see session.userid anywhere and i havant installed anything that use editin index.pho

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


derekivey 04-29-2006 07:20 PM

You didn't paste the whole file, the code is near the end I think.

Derek

saba 04-29-2006 07:40 PM

here it is :confused:

derekivey 04-30-2006 11:43 AM

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


All times are GMT. The time now is 03:53 AM.

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.01355 seconds
  • Memory Usage 1,750KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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