Log in

View Full Version : I Hate Phrases !


PET
01-21-2004, 02:28 AM
I have :

You last visited: 01-20-04 at 1:55 pm

i want :

You last visited: 01-20-04 at 1:55 pm

but i cant. The PHRASE $vbphrase[last_visited_x_at_y] contains both the date...and the time...also "You Last Visited:"

How can you don't hate this ? Shudn't this be separated. The date, the time and a special Phrase for You last visited ?

PET
01-21-2004, 02:34 AM
Another COOL one !

I want :
Most users ever online was 5, 01-18-2004 at 10:47 PM.

but i can't coz $vbphrase[most_users_ever_online_was_x_y_at_z] also contains both the date, the time, the users and ofcourse..."Most users ever online was" !

Freddie Bingham
01-21-2004, 04:32 AM
I have :



i want :



but i cant. The PHRASE $vbphrase[last_visited_x_at_y] contains both the date...and the time...also "You Last Visited:"

How can you don't hate this ? Shudn't this be separated. The date, the time and a special Phrase for You last visited ?
Ummm learn to edit the phrase .

You last visited: {1} at <span class="time">{2}</span>
You last visited: <b>{1}</b> at <span class="time"><b>{2}</b></span>

g-force2k2
01-21-2004, 05:53 AM
PET in the admincp use the phrase manager to edit the phrases that you want to customize. If you're looking for a certain phrase use the search tool. If you don't understand the {1} and {2} the look at the templates for

<phrase 1="$var">$vbphrase[here]</phrase>

which the $var will be the variable passed as {1} or sometimes the phrase is built in the php.

Hope that helps somewhat.

Cheers,
g-force2k2

KuraFire
01-21-2004, 07:49 AM
You should've known by now that you can put html in phrases without a problem... :p

Zachery
01-21-2004, 03:35 PM
You should've known by now that you can put html in phrases without a problem... :p
you also only really need to use phrases when making a hack, if your going to hard code anything feel free

PET
01-21-2004, 10:54 PM
Stupid question. How do i edit ? I clcik on edit and it show me :

KuraFire
01-21-2004, 11:45 PM
Stupid question. How do i edit ? I clcik on edit and it show me :
there's a big field at the bottom half there where you can enter your altered phrase. If you want to edit the original (which you would lose during each upgrade, so it's not recommended) you can go into debug mode and edit it in the master language, but you should just go enter the 'translation' if you want to alter it a little.