PDA

View Full Version : rawphrases


A Dead Puppie
07-14-2014, 04:15 AM
i'm editing my legacy postibt and a normal phrase like $vbphrase[send_private_message_to_x]
does not display anything and the only way to display something is via {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
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:

{vb:rawphrase send_private_message_to_x, {vb:raw userinfo.username}}


--------------- Added 1405361939 at 1405361939 ---------------

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