vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Show variable name instead of value... ?? (https://vborg.vbsupport.ru/showthread.php?t=272923)

DataData 10-27-2011 01:48 PM

Show variable name instead of value... ??
 
Hi guys!

I recently upgraded my vBulletin version from 4.1.6 to 4.1.7

Everything went fine, but since then, I can see that in some message blocks, vBulletin shows the variable name instead of the value, example (i don't have at the present moment a real screenshot, i'm sorry):

"Message of $username has been deleted"

Instead of:

"Message of Thomas has been deleted"

Any idea why?

;)

Thx.

kh99 10-27-2011 04:18 PM

I think some of the phrases have been changed. If you have added translations you'll need to update them.

DataData 10-27-2011 04:41 PM

Quote:

Originally Posted by kh99 (Post 2262084)
I think some of the phrases have been changed. If you have added translations you'll need to update them.

I got it... look:

http://www.datadata.es/images/error_..._variables.png

Do you mean, the phrase variable name? for example, instead of $bloginfo[username] other thing?

kh99 10-27-2011 04:45 PM

I'm not 100% sure. But I meant that if you can figure out which phrase that is, then compare your translation to the original, you'll probably find that you have to make changes to your translation (probably you'll find that the original no longer contains a variable name).

Edit: For example, that phrase now says:

Quote:

Thank you for your comment. Please note your comment will not be visible to other members until {1} or a blog moderator has approved it for display. You will now be taken to your comment.

and you can see that it now has {1} instead of the variable name, so you will need to make that change in your translation.

DataData 10-27-2011 08:33 PM

Right!!!!

Now I have to find each one of the translated phrases that contains variable names instead of {x}.... heheheeh

Thank you sooooooo much!!!

;)


All times are GMT. The time now is 12:50 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.01441 seconds
  • Memory Usage 1,717KB
  • 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_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