The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
I am trying to use unserialize to get the wol_spiders spiderstring out of the datastore. Nothing seems to be working. Does anybody have any suggestions (besides stop trying
)Using the special templates doesn't seem to work in CMPS modules. Amy |
|
#2
|
||||
|
||||
|
This SHOULD do it, shouldn't it? But I keep getting an empty sting:
Code:
$spiderdatastore = unserialize($datastore['wol_spiders']); $spiderstring = $spiderdatastore['spiderstring']; |
|
#3
|
||||
|
||||
|
Well, if wol_spiders wasn't in $specialtemplates before global.php was called, the associated data will not be in $datastore.
Either make sure that it is there, or use a query. |
|
#4
|
||||
|
||||
|
Bless you. I tracked it down and realized a couple of things.
1. The special templates for CMPS are added in global.php 2. I didn't have to use unserialize. Plus, I upgraded CMPS just to make sure. It's finally working right. ![]() Amy |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|