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

Reply
 
Thread Tools Display Modes
  #1  
Old 01-21-2004, 02:28 AM
PET's Avatar
PET PET is offline
 
Join Date: Jan 2002
Location: Timisoara/Romania
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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 ?
Reply With Quote
  #2  
Old 01-21-2004, 02:34 AM
PET's Avatar
PET PET is offline
 
Join Date: Jan 2002
Location: Timisoara/Romania
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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" !
Reply With Quote
  #3  
Old 01-21-2004, 04:32 AM
Freddie Bingham's Avatar
Freddie Bingham Freddie Bingham is offline
 
Join Date: Oct 2001
Posts: 506
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #4  
Old 01-21-2004, 05:53 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 01-21-2004, 07:49 AM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should've known by now that you can put html in phrases without a problem...
Reply With Quote
  #6  
Old 01-21-2004, 03:35 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KuraFire
You should've known by now that you can put html in phrases without a problem...
you also only really need to use phrases when making a hack, if your going to hard code anything feel free
Reply With Quote
  #7  
Old 01-21-2004, 10:54 PM
PET's Avatar
PET PET is offline
 
Join Date: Jan 2002
Location: Timisoara/Romania
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Stupid question. How do i edit ? I clcik on edit and it show me :
Attached Images
File Type: jpg Clipboard.jpg (12.2 KB, 0 views)
Reply With Quote
  #8  
Old 01-21-2004, 11:45 PM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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:27 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.04258 seconds
  • Memory Usage 2,256KB
  • Queries Executed 12 (?)
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
  • (2)bbcode_html
  • (1)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (1)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)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
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete