vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   rawphrases (https://vborg.vbsupport.ru/showthread.php?t=312942)

A Dead Puppie 07-14-2014 04:15 AM

rawphrases
 
i'm editing my legacy postibt and a normal phrase like
Code:

$vbphrase[send_private_message_to_x]
does not display anything and the only way to display something is via
Code:

{vb:raw post.usertitle}
like that....is there a list or something of those or a fix?

Dave 07-14-2014 07:56 AM

{vb:raw post.usertitle} basically means $post['usertitle'];
I believe the right way to display phrases is using {vb:rawphrase send_private_message_to_x}

ozzy47 07-14-2014 09:23 AM

Dave is correct. You are trying to use vB3 syntax for phrases, not vB4

A Dead Puppie 07-14-2014 04:48 PM

So how is it that I'm running v4.2 and it seems like only the vB3 synatax works, using the new one just gives the text back?

tbworld 07-14-2014 05:11 PM

Quote:

Originally Posted by A Dead Puppie (Post 2506750)
So how is it that I'm running v4.2 and it seems like only the vB3 synatax works, using the new one just gives the text back?

This is the full format:
Code:

    {vb:rawphrase send_private_message_to_x, {vb:raw userinfo.username}}
--------------- Added [DATE]1405361939[/DATE] at [TIME]1405361939[/TIME] ---------------

What default vBulletin template did you find that phrase in? Are you sure that was not added via a modification?

I'm trying to help :)


All times are GMT. The time now is 01:24 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.01025 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
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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