View Full Version : Phrases
loneranger
06-14-2005, 05:03 PM
$url = "image_host.php?do=images&$session[sessionurl]";
eval(print_standard_redirect('imghost_upload'));
hi i am using this code below and have the phrase defined in phrase groupid = 2000 but when i run the code it don't redirect or even show the message can some1 please help.
Andreas
06-14-2005, 05:10 PM
$session does not exist in vB 3.5
Use $vbulletin->session->vars['sessionurl']
If you want to see a message, regardless of the setting for removing redirect messages:
eval(print_standard_redirect('imghost_upload', true, true));
loneranger
06-15-2005, 01:12 PM
thanks this has help alot
zetetic
06-15-2005, 01:46 PM
$session does not exist in vB 3.5
Just to clarify: It doesn't exist in the code, but it's still used in the templates.
Do you know if they're planning on changing that in the future?
Andreas
06-15-2005, 01:56 PM
It's not "really" being used in the Templates ;)
See replace_template_variables() in functions_misc.php
zetetic
06-15-2005, 02:10 PM
Ohhhh... sneaky. :D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.