vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   How to make the input field of the new forums NAMES accept row phrases ? (https://vborg.vbsupport.ru/showthread.php?t=276362)

egysc 01-03-2012 12:03 AM

How to make the input field of the new forums NAMES accept row phrases ?
 
when i'm trying to creat a new forum it accept no rowphrases So ,How to make the input field of the new forums NAMES accept row phrases ??
please ..

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

No one Knows ?

egysc 01-14-2012 01:35 PM

؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟

Lynne 01-14-2012 04:39 PM

I don't understand what you mean about accepting no rowphrases. What is that?

egysc 01-31-2012 11:12 PM

Thanks for your time ,
And i mean something like

{vb:rawphrase forum_id_1236587436}

and show the values i entered in the phrases manager , How can i do that ?
is it even possible?

Lynne 02-01-2012 01:57 AM

Well, you would have to define the field forum_id_1235487436 first in your code. Are you writing php code to define the variable?

egysc 02-03-2012 01:06 PM

yes , that's right

kh99 02-03-2012 02:29 PM

Are you talking about parameters? Like maybe your phrase is:

Code:

Hello {1} {2}

Then somewhere you'd need to register variables to your template for those parameters, like maybe:

PHP Code:

$templater vB_Template::create('mytemplate');
    
$templater->register('first_name'$fname);
    
$templater->register('last_name'$lname); 


(or maybe use preRegister() instead). Then in your template:

Code:

{vb:rawphrase phrasevarname, {vb:raw first_name}, {vb:raw last_name}}

egysc 02-04-2012 07:56 AM

please read the title again

kh99 02-04-2012 08:13 AM

Sorry, I guess I completely misunderstood.

egysc 02-05-2012 01:43 PM

Nearly , And thank you anyway for your time.


All times are GMT. The time now is 09:00 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.01851 seconds
  • Memory Usage 1,724KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete