The parameters for the print_forum_chooser() function in /includes/adminfunctions.php have changed.
Old (vB 3.0.7): PHP Code:
PHP Code:
|
It took me a while to figure out:
PHP Code:
PHP Code:
|
$id is empty because you must use $vbulletin->GPC['id'] :)
Btw: For just one variable, it doesn't make too much sense to use clean_array_gpc(). |
I edited my above post to add another example so that someone who's as stupid as me understands it :)
vBulletin provides this functions so I'll use them ;) |
Easier approach & less overhead:
PHP Code:
|
Thank you :)
One should edit the first post of this thread and add all usefull information :) |
What happened to $_FILES ?
What would this code look like: PHP Code:
|
You would be using clean_gpc with a 'f' as the first parameter.
|
Quote:
|
These new globalize things are driving me nuts here.
I used to have something that looked like this in 3.0.x... PHP Code:
So in trying to convert it over to 3.5 RC1, I tried this... PHP Code:
Thanks, -RD |
All times are GMT. The time now is 04: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 | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|