PDA

View Full Version : Globalize() errors in 3.6.x


robbrus
02-29-2008, 05:05 AM
We are in the process of upgrading an older forum from 3.0.1 to 3.6.8 and there are several old hacks from programmers long gone.

I know from reading that "globalize()" was eliminated in 3.5, but it is present in several hacks that I am trying to upgrade.

Here are two pieces of code that I need revisions on now (since we are trying to test this hack and get it out of the way.

globalize($_POST, array('gameaction'));

and

globalize($_POST, array('archivcategory' => INT, 'moderated' => INT, 'maxfolders' => INT, 'maxmods' => INT, 'usergroupid' => INT, 'membergroupids', 'moderator', 'forum', 'options'));

Can someone tell me the corrections for these two AND let me know where I can find some documentation as to what "globalize()" was and what we need to correct on other hacks where we come across it - please?

.

Marco van Herwaarden
02-29-2008, 05:55 AM
Some info:
List of changed var/array/function names (https://vborg.vbsupport.ru/showthread.php?t=82632&highlight=globalize)
[How-To] vBulletin API Basics: Variables, Functions, Objects (https://vborg.vbsupport.ru/showthread.php?t=98047&highlight=globalize)
http://www.vbulletin.com/docs/html/codestandards_gpc
vBulletin 3.5 Tutorial Index (https://vborg.vbsupport.ru/showthread.php?t=99570)
Using the vBulletin Input Cleaner (https://vborg.vbsupport.ru/showthread.php?t=119372)

etc..

robbrus
02-29-2008, 06:10 AM
Some info:
List of changed var/array/function names (https://vborg.vbsupport.ru/showthread.php?t=82632&highlight=globalize)
[How-To] vBulletin API Basics: Variables, Functions, Objects (https://vborg.vbsupport.ru/showthread.php?t=98047&highlight=globalize)
http://www.vbulletin.com/docs/html/codestandards_gpc
vBulletin 3.5 Tutorial Index (https://vborg.vbsupport.ru/showthread.php?t=99570)
Using the vBulletin Input Cleaner (https://vborg.vbsupport.ru/showthread.php?t=119372)

etc..

Thanks, I will look through those