The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Weird code... An array never gets populated, yet it exists in the final HTML
showthread.php, code:
PHP Code:
If I var_dump($vBeditTemplate['clientscript']), it has this: var smilieoptions = new Array(); smilieoptions = { }; Yet in the final page: Code:
var smilieoptions = new Array(); smilieoptions = { 'Generic Smilies' : { '16' : new Array('http://www.site.com/interactive/images/smilies/smile.gif', '[smile]', 'Smile'), '13' : new Array('http://www.site.com/interactive/images/smilies/icon_cheesygrin.gif', '[grin]', 'Cheesy Grin'), '18' : new Array('http://www.site.com/interactive/images/smilies/icon_sad.gif', '[sad]', 'Sad'), '35' : new Array('http://www.site.com/interactive/images/smilies/icon_wink.gif', '[wink]', 'Wink'), '21' : new Array('http://www.site.com/interactive/images/smilies/icon_eek.gif', '[shock]', 'Shocked'), '28' : new Array('http://www.site.com/interactive/images/smilies/icon_razz.gif', '[razz]', 'Razz'), '22' : new Array('http://www.site.com/interactive/images/smilies/icon_confused.gif', '[confused]', 'Confused'), '30' : new Array('http://www.site.com/interactive/images/smilies/icon_redface.gif', '[oops]', 'Embarassed'), '27' : new Array('http://www.site.com/interactive/images/smilies/icon_mad.gif', '[mad]', 'Mad'), '49' : new Array('http://www.site.com/interactive/images/smilies/sick.gif', '[sick]', 'Sick'), 'more' : 'Show all Smilies' } }; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|