View Single Post
  #1459  
Old 12-18-2004, 05:28 PM
Action-N's Avatar
Action-N Action-N is offline
 
Join Date: Jan 2002
Location: Pasco, WA
Posts: 225
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by therczone
To be honest, I can't read all 98 pages of this.. so if it was already discussed, my apologies.

I would like to change the name of it, instead of vBGarage. I don't want to change the credit link on the bottom, just the title that is shown everywhere. Like "Fishtank Garage" (just a random example).


How would I do this? Would editing the phrase do it? Also, I want to rename vbgarage.php to fishtankgarage.php (or w/e). If I were to open vbgarage.php and do a replace all on the word "vbgarage" and make it change to "fishtankgarage" would it still work?
Well to be honest yes it was, but like you I'm not about to search 98 pages looking for it so were even. There is a phrase for vbgarage in your phrases you can change, doing a search in phrases for "vbgarage" useing Phrase Variable Name Only will find it. But as some have found out that some vbgarage titles where hardcoded within the php file so you'll have to search through that an replace what you want.

To replace the name of the php file you are right in that you'll need to go through everything an change the name, but yes no reason why it can't be done. Just use an editor to find & replace. One that lets you match case values. Then don't forget to edit "define('THIS_SCRIPT', 'vbgarage');" to php files new name.

Fishtanks huh, well the only two variables that it recuires when making a garage is year and make. The rest it doesn't check for. If you don't need these I bet you can just change the text for these without changeing the variables. Your members won't know what you have the variables named as in the background. Goodluck an let us know how you make out, cuase I bet you're not the only one wanting to do this.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01287 seconds
  • Memory Usage 1,766KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete