Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-13-2012, 09:25 PM
Evo-L Evo-L is offline
 
Join Date: Jan 2009
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Renaming "Friends" to something else?

Hello,

I would like to manipulate the "friends" aspect of vBulletin and change the name of the system in order for it to serve another purpose.

So for example, how would I go about renaming "Friends" to "Buddies" for example? I would like to change that name from Friends to Buddies in each aspect of the "friends" system.

So instead of it saying "add as friend" I would like to rename it to "add as buddy", and when you get the notification asking you to confirm this, I would like every instance of "friend" renamed to "buddy"

Anyone know how to do this?

Thanks!
Reply With Quote
  #2  
Old 02-13-2012, 09:29 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should be able to use "Search in Phrases" under Languages & Phrases to find every phrase containing 'friend' and translate it to something else (copy the phrase to the "translation" text box at the bottom, then make your changes). There may also be some text in the templates, so use "Search in Templates" to check for that end edit any templates found.
Reply With Quote
  #3  
Old 02-13-2012, 09:34 PM
Evo-L Evo-L is offline
 
Join Date: Jan 2009
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
You should be able to use "Search in Phrases" under Languages & Phrases to find every phrase containing 'friend' and translate it to something else (copy the phrase to the "translation" text box at the bottom, then make your changes). There may also be some text in the templates, so use "Search in Templates" to check for that end edit any templates found.
Thanks! I was hoping it would be easy like that.

Any idea what templates the "Friends" stuff is inside? I don't want to change it for each language, just for the entire board.
Reply With Quote
  #4  
Old 02-13-2012, 09:38 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Evo-L View Post
Thanks! I was hoping it would be easy like that.

Any idea what templates the "Friends" stuff is inside? I don't want to change it for each language, just for the entire board.
I'm not sure what you mean, but 'translate' in this case doesn't necessarily mean to a different language, it's just what the Phrase Manager calls it when you want to change a phrase.
Reply With Quote
  #5  
Old 02-13-2012, 09:44 PM
Evo-L Evo-L is offline
 
Join Date: Jan 2009
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks like I can edit the "Phrases"inside the AdminCP. Is this right?

--------------- Added [DATE]1329173107[/DATE] at [TIME]1329173107[/TIME] ---------------

Quote:
Originally Posted by kh99 View Post
I'm not sure what you mean, but 'translate' in this case doesn't necessarily mean to a different language, it's just what the Phrase Manager calls it when you want to change a phrase.
I didn't realize what you were saying until I found the phrase manager. I was confused :-)

So I should be able to change the text inside the phrases and it will work?
Reply With Quote
  #6  
Old 02-13-2012, 09:59 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think if you have your site in debug mode you *can* change the 'master language', but you can also just provide a translation. I guess the difference is that if you edit the 'master language' phrases you can't go back to the original (unless you reload the language xml), whereas if you provide a translation you can just delete it later to go back.
Reply With Quote
  #7  
Old 02-13-2012, 10:15 PM
Evo-L Evo-L is offline
 
Join Date: Jan 2009
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
I think if you have your site in debug mode you *can* change the 'master language', but you can also just provide a translation. I guess the difference is that if you edit the 'master language' phrases you can't go back to the original (unless you reload the language xml), whereas if you provide a translation you can just delete it later to go back.
Ok thanks, that is what I will do.

So in VB4 it looks like you can have "contacts" and "friends". Is it possible to delete one of those options, so they only have "friends"? I need a way for someone to invite someone to be their "buddy", but it sends that user an email and requires them to "accept" Which of the 'friends' or 'contacts' would that be?

Thanks for all of your help so far!
Reply With Quote
  #8  
Old 02-13-2012, 10:21 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe the way it works is that you can add anyone you want to your contact list, but they have to accept your request before they become a friend.
Reply With Quote
  #9  
Old 02-14-2012, 02:14 AM
Evo-L Evo-L is offline
 
Join Date: Jan 2009
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
I believe the way it works is that you can add anyone you want to your contact list, but they have to accept your request before they become a friend.
Thanks for your help, I figured it out! Changing phrases made it super easy. Im still looking around though for the random straggler phrases I missed.
Reply With Quote
Reply


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 01:39 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.03977 seconds
  • Memory Usage 2,232KB
  • Queries Executed 11 (?)
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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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_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