vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   How can i put a phrase in a forum title (https://vborg.vbsupport.ru/showthread.php?t=221192)

Pt1994 08-18-2009 03:17 PM

How can i put a phrase in a forum title
 
Ok i have made a forum for guests and ive made my phrase and basically i want to put hte phrase in the forum title ive tried

"Guest Area $vbphrase[x_register_for_more]" but it dosent post the phrase

Lynne 08-18-2009 03:37 PM

Is your phrase a global phrase? What is the content of the phrase? Can we see exactly what is in the template, and tell us what template you are modifying?

Pt1994 08-18-2009 04:41 PM

im nto modifying a template i am just putting it in the forum title beucse it works with HTML and the phrase is GLOBAL

Lynne 08-18-2009 04:51 PM

You mean in the Forum Manager? You are trying to put a phrase in there? It won't take phrases. You will probably have to do some template edits or write a plugin to change the title only for Unregistered users (do a str_replace if the user is unregistered).

DannyITR 01-25-2010 12:24 AM

Hi Lynne.

I have a multilingual forum and would like to have different forum titles depedning on the language the user has chosen. A phrase would solve this problem for me but if there is a method to do this with a plugin that would work too. Any ideas?

Lynne 01-25-2010 01:56 AM

Hmmm, I'm really not sure of the best way to go about this. You can't put phrases in where the forum title goes. The only thing I can think of is a plugin that first looks to see if English is the language (if so, then do nothing), else, depending on the language and the forumid, set the forum title. Not really very elegant though.

DannyITR 01-25-2010 02:02 AM

That would be enough for me! I guess I'll ask in the requests forum now. Thanks

--------------- Added [DATE]1264454790[/DATE] at [TIME]1264454790[/TIME] ---------------

https://vborg.vbsupport.ru/showthread.php?t=158387

Found this hack but its expired ;(


All times are GMT. The time now is 09:25 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.01050 seconds
  • Memory Usage 1,719KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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