vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Very quick question regarding vB3 'print_standard_redirect' (https://vborg.vbsupport.ru/showthread.php?t=55013)

Velocd 07-04-2003 08:49 PM

Very quick question regarding vB3 'print_standard_redirect'
 
I've created a new PHP file for a script I'm working on, those scripts being modeled in the vB3 style format that vB3 PHP files are (with the globals, etc.)

This script after being processed will redirect the user to another page. My problem is, although I'm using the correct syntax, the redirect message is being skipped, and the page is simply redirecting (to the right location) without any notice at all.

Here is the format I'm using:
PHP Code:

$url "index.php?$session[sessionurl]";

        eval(
print_standard_redirect('vbe_aftersubmit')); 

The phrase and variable 'vbe_aftersubmit' is located in the database after I have added it via the admin cp, and I have placed it under its correct group "Front End Redirect Messages."

Yet, it completely skips the message.

Error-messages work fine after I add the phrases, just the redirect-messages don't show up.

Am I missing the area where you're suppose to add custom redirect messages? I've got a hint it's not in the phrases, because I can't find any of the default vB3 redirect-messages in the phrase manager....

Velocd 07-04-2003 09:06 PM

Alright, I found that the redirect phrases do exist, and that "redirect_" is not a prefix to the redirect phrases, and that "redirect_" is only added when passed in the function.

Still, though, it fails to work. >_<

Tigga 07-04-2003 09:52 PM

Do you have "Remove Redirection Message Pages" set to yes in your Admin CP? ;)


All times are GMT. The time now is 10:35 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.01071 seconds
  • Memory Usage 1,710KB
  • 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)bbcode_php_printable
  • (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