vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   I Hate Phrases ! (https://vborg.vbsupport.ru/showthread.php?t=60534)

PET 01-21-2004 02:28 AM

I Hate Phrases !
 
I have :

Quote:

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

Quote:

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 :
Quote:

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

Quote:

Originally Posted by PET
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 .

HTML Code:

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

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

PHP Code:

<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

Quote:

Originally Posted by KuraFire
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

1 Attachment(s)
Stupid question. How do i edit ? I clcik on edit and it show me :

KuraFire 01-21-2004 11:45 PM

Quote:

Originally Posted by PET
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.


All times are GMT. The time now is 09:01 PM.

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.02109 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete