vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Where/what is $errormessage ? (https://vborg.vbsupport.ru/showthread.php?t=117733)

tm21 06-05-2006 07:37 PM

Where/what is $errormessage ?
 
I want to edit my redirect page to change the standard phrase after you make a post to something different. I see the phrase name for this is $vbphrase[postthanks]. Since I have seen it recommended you create a custom phrase rather than edit an existing one, I was going to do that. When I look at the STANDARD_REDIRECT template all I see is the code $errormessage where I would expect the postthanks bit. The page renders the postthanks phrase, so I suspect $errormessage must contain the proper postthanks code within it. However, I have found no such thing as what $errormessage is anywhere within the vb software. Is this a phrase, a template, or something else?

I figured I would replace the postthanks with my custom phrase in the template, but I can’t do that if I don’t know where it is. I would replace the $errormessage part, but I don’t know what functionality I may screw up since I can’t see what $errormessage actually is.

peterska2 06-05-2006 07:46 PM

The easiest way to do this is to edit the postthanks phrase. You can do this by going to:
Language & phrases > Search in phrases > search in variable name only > postthanks
Hit the edit button on the phrase then add the text that you wish to display into the bottom box on this page.

tm21 06-05-2006 10:26 PM

As it turns out my windows search feature was not looking into the php documents, which is why I never found anything. Using my editor app for multifile searching found what I wanted. Shame on me and windows.

I have now evolved my requirements a bit. I actually want a seperate redirect page for one of my usergroups that displayes a different message, and for a longer period of time. Now I just need to figure out where to place the <if> statements.


All times are GMT. The time now is 03:39 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.02479 seconds
  • Memory Usage 1,705KB
  • 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
  • (3)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