Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Deprecated Global Variable names
Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Oct 2, 2013 - 4:24 pm

Hiya, just looking for some clarification about these Deprecated Global Variable names in the codex regarding theme and template changes for 5.3.1.

  1. I could not find any reference to the variables below in any of our template files, nor in the latest default theme (v.1.2.3) for that matter. We're using a slightly hacked version of Default, but the codex entry is unclear about where to look for and edit these variables.
  2. If I were to find them, it looks like only the case is changing for some of these. Does the comma get added?

$SPALLOPTIONS to $spAllOptions,
$SPPATHS to $spPaths,
$ISADMIN to $spIsAdmin,
$ISFORUMADMIN to $spIsForumAdmin,
$SPSTATUS to $spStatus,
$APAGE to $spAPage,
$ISFORUM to $spIsForum,
$SPCACHE to $spBootCache,
$CONTENTLOADED to $spContentLoaded,
$SFMOBILE to $spMobile,
$SFDEVICE to $spDevice,
$sfglobals to $spGlobals,
$sfvars to $spVars;

Thanks!

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 2, 2013 - 4:28 pm

if you are going to paste code, please use the code button so formatting is not messed up... highlight code and select the code button...

You probably do not use any of them...  they are mostly used in core or in plugins... but its possible if you added some custom code to the theme (ie spFunctions.php) that you might have used them...

yes, mostly case and few other minor things to make them consistent with our coding standards... bit the bullet and changed them as it is not likely to affect anyone except those with custom code that might ahve used them...

the commas are just standard for grammatical presentation... its a from/to just for the name...

EDIT: lol, see you updated the post.. ;)

 

Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Oct 2, 2013 - 6:15 pm

Thanks for the clarification!

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 2, 2013 - 6:16 pm

np. glad to help.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625