vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   [HDI] Change currently active users... (https://vborg.vbsupport.ru/showthread.php?t=134480)

Distance 12-20-2006 11:03 PM

[HDI] Change currently active users...
 
Hello on the currently active user list it shows a + next to all your buddies, how do i remove this?

Also on /online.php it does the same but i removed this block of coding

PHP Code:

// get buddylist
$buddy = array();
if (
trim($vbulletin->userinfo['buddylist']))
{
    
$buddylist preg_split('/( )+/'trim($vbulletin->userinfo['buddylist']), -1PREG_SPLIT_NO_EMPTY);
    foreach (
$buddylist AS $buddyuserid)
    {
        
$buddy["$buddyuserid"] = 1;
    }


Am i right with this.. but how do i do it on the forumhome and 'users currently viewing this thread

Thanks

Distance

peterska2 12-21-2006 01:21 AM

Right, well thats the hard way.

Lets do things the easy way (makes upgrades a lot better)

1. Open template whosonlinebit

FIND

Code:

<if condition="$show['buddy']">+</if>
DELETE IT

Save the template.

2. Open template forumhome_loggedinuser

FIND

Code:

$loggedin[buddymark]
DELETE IT

Save the template

3. Open template forumdisplay_loggedinuser

FIND

Code:

$loggedin[buddymark]
DELETE IT

Save the template

That should do the trick. If you find anywhere else just say, but I can't think of any other places off the top of my head.

Distance 12-21-2006 02:10 PM

Yeah thanks all i could think of was forumhome and then online.php.. but then i noticed i had + next to all the people viewing the threads

Thanks alot

:)

peterska2 12-21-2006 02:23 PM

not a problem :)

It's always best to avoid file modifications as much as possible otherwise you are guarenteed to forget something when you upgrade.

BOLT 12-21-2006 03:49 PM

Hold on, Peter. If I follow the instructions you just listed, the 'currently active users' thing will go away?

If so, thanks! I've been trying to figure that out forever!

Distance 01-20-2007 07:36 AM

No it just removes the + it shows when buddies are online


All times are GMT. The time now is 01:07 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.01009 seconds
  • Memory Usage 1,721KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete