Log in

View Full Version : Very quick question regarding vB3 'print_standard_redirect'


Velocd
07-04-2003, 08:49 PM
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:
$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? ;)