vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Invisible Asterisk Change (https://vborg.vbsupport.ru/showthread.php?t=46452)

Boofo 12-07-2002 05:14 AM

Invisible Asterisk Change
 
Can someone please tell me where I need to go in php files to change the asterisk for invisible users to this?

[Ghost]username

I know the asterisk comes after the username, but can it be set up like my example without too much trouble?

JulianD 12-07-2002 05:24 AM

I did a quick search in the files, and you need to edit 3 files, I think:

forumdisplay.php
index.php
online.php

and search for a variable called '$invisibleuser'. Modifying this variable, will allow you to change the '*' character to something else.

And to change the position of this character, you must edit the 'forumdisplay_loggedinuser' template.

Boofo 12-07-2002 05:57 AM

Thank you very much. I found it in the forumdisplay and index php files like you said and changed them, but there was no where to change it in the online.php. Will the index pick it up for the online users?

JulianD 12-07-2002 06:08 AM

Yes, you're right... You don't need to modify online.php... I think I'm tired now... It's 3AM here, I better get some sleep :p

Boofo 12-07-2002 06:23 PM

In the online.php the variable name to change is $userinfo[hidden]. The other 2 files it was called $invisibleuser, like you said. I changed the "forumdisplay_loggedinuser", "forumhome_loggedinuser" and the "whosonlinebit" and all is well. :) Thank you very much for sending me in the right direction. :)

N9ne 12-07-2002 07:11 PM

I released a hack for this, look in my profile ;)

Boofo 12-07-2002 08:24 PM

Now someone tells me. :) I made it look like this, though, so I had to do a few template edits, too.

[Ghost]Boofo

N9ne 12-07-2002 09:13 PM

Hmm I don't think so...you could still use my hack by placing the custom text in front of the username I think.

Boofo 12-07-2002 09:18 PM

Basically I did the same thing as your hack (wish I'd seen it before I started though :)) but to put the [Ghost] before the name the templates have to be edited to move the variables before the name.


All times are GMT. The time now is 04:43 PM.

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.01065 seconds
  • Memory Usage 1,715KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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