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?
.
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?
.