PDA

View Full Version : Whats in a name?


The Geek
08-24-2005, 07:00 PM
So, you dig GeekMart but you think your users will think you're a nerd by them shopping at a 'GeekMart'?

Though the term GeekMart and GeekCart can easily be changed throughout your phrases to whatever you feel like calling it... there is a special phrase that can be changed to allow you to rename the file itself.

Lets say we felt like changing the file from geekmart.php to marketplace.php

All you have to do is physically rename the file from geekmart.php to marketplace.php and then edit the phrase 'gmart_script' from geekmart to marketplace.

Cool huh?

This tutorial was brought to you by the letters O and Yea.

KTBleeding
08-24-2005, 07:17 PM
This tutorial was brought to you by the letters O and Yea.:D

This is a vBulletin thing I'm sure, but I've ran into this problem before:

How do you edit a phrase like this? I honestly can't see anywhere to edit this. (without phpmyadmin)

The Geek
08-24-2005, 07:28 PM
Think you add it to the English translation which will override it. :confused:

KTBleeding
08-24-2005, 07:40 PM
Hmm. I guess that worked! haha.. strange.

yoyo
08-31-2005, 12:11 PM
very helpful tutorial. It would be nice to have a setting in the geekmart settings in the ACP where you can choose the name of your store, and define the name of the .php file you want to use. I know it can be done using th method you described, but it may be more user-friendly to have it as a setting in the GeekMart, especially since it will be a commercial product.

The Geek
09-03-2005, 09:03 AM
I cant recall off hand why I had to make it a phrase instead of a setting. If I can make it a setting - I will in a heartbeat.... I just cant remember why I did it as a phrase.

sketch42
09-16-2005, 05:07 AM
lets not forget to edit the phrases

gmart_geekmart
and
gmart_geekcart

sketch42
09-16-2005, 05:15 AM
i just realized my last post isnt so simple to do.. you need to search through all the geekmart phrases in the text area for both geekcart and geekmark to change the links and error messages properly..

GEEK if in the next vers you can make the wherever it uses thse terms refer to the phrases instead like

gmart_cart_empty
Your GeekCart from GeekMart is looking pretty bare (its empty!)

let it be this instead

gmart_cart_empty
Your $vbphrase[gmart_geekcart] from $vbphrase[gmart_geekmart] is looking pretty bare (its empty!)

along with anything else that uses those terms :D

The Geek
09-16-2005, 08:25 AM
Yea, ill put my head down to see if I can come up with an easier overall way.