Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 05-21-2009, 04:28 AM
Cim Cim is offline
 
Join Date: May 2009
Location: Hawaii
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Various Questions

I've seen some things on forums that I visit that I'd like to use on my own. The only problem is that I'm not sure what to call them and don't know where to look to find out. One thing I like that I've seen is that instead of displaying 'members' and 'guests' a forum will display 'Players' and 'NPC'. How is this done? I've gone through and tried going through the templates of my various skins, but I've turned up nothing. The other I'm sure I can find if I search hard enough, so I'm not too worried about it.
Reply With Quote
  #2  
Old 05-21-2009, 11:06 AM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Post screenshots in this section or good descriptions of what you see/want in this section.

Quote:
One thing I like that I've seen is that instead of displaying 'members' and 'guests' a forum will display 'Players' and 'NPC'. How is this done?
AdminCP -> Languages & Phrases -> Search in Phrases
Search for Text: members
Product: vbulletin
Search in ... Phrase Variable Name Only
Exact Match Yes

Click Find

Click Edit next to phrase

English (US) Translation (Optional): Players

Click Save

Do same again but for phrase guests
Reply With Quote
  #3  
Old 05-21-2009, 07:05 PM
Cim Cim is offline
 
Join Date: May 2009
Location: Hawaii
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for not being descriptive enough.

On the forum home, where the tab for What's Going On?is displayed, rather than show how many members or guests are online, it displays how many Players or NPCs are online.

For Example:

What's Going On?
Currently Active Users: 7 (3 Players and 4 NPCs)

I did what you recommended, but they're still being displayed as members and guests.

Edit: They're still displayed as guests and members on the forum home, but guests are displayed as the variable I defined on the Who's Online page.
Reply With Quote
  #4  
Old 05-21-2009, 07:25 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you did as bananalive said (searched for "members" in phrases), you would get several hits. Perhaps you modified the wrong one. I think the one you want is this phrase:
x_members_and_y_guests
HTML Code:
{1} members and {2} guests
Reply With Quote
  #5  
Old 05-21-2009, 07:48 PM
Cim Cim is offline
 
Join Date: May 2009
Location: Hawaii
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, several hits came up and I've been slowly editting them as I understand what they are and where they are located. I scrolled down and found the one you were talking about, I appreciate your help. :c)
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 04:28 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.05590 seconds
  • Memory Usage 2,186KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete