Most extension should work with it without modification but if you need to use the new parameters (the one about the Position of the script should be useful for your jQuery extensions) your modified extensions won't work on an unmodified forum. You would have to check if the Packer is installed, doing something like:if (isset($Context->Configuration['PACKER_VERSION'])){
$Head->AddScript('extensions/jQuery/jqueky.css', 280, 1, 0);
} else {
$Head->AddScript('extensions/jQuery/jqueky.css');
}
ohh i see, extension developers can actually use it in there extension, once this packer becomes standard(or core) then extension developers will have alot to do.
Only if they want to use the new parameters or if you were using the old one (none of the public addon, I think).
If you need to add a libraries you may use the Position parameter to be sure the libraries are loaded first. External script will have to use the 3rd parameter.
It could have been added to Vanilla 1.1, mark looked at it, but it was too messy at the time. If it is added to the core, it will be in Vanilla 1.2, so there is no hurry.
by the way i am a licensed vbulletin user. i was very interested in vbulletin modifications etc before i saw vanilla now i really dont care my vb forum. i love vanilla and this community very much, thank guys
I'm trying out 0.4b4 and get a completely unstyled forum with the following errors:
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /home/.frac/exhibitq_com/exhibitq.com/talk/library/Framework/Framework.Class.PackManager.php on line 205
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /home/.frac/exhibitq_com/exhibitq.com/talk/library/Framework/Framework.Class.PackManager.php on line 206
Is this something to do with my PHP setup? I think (without checking) that I'm running some version of PHP5...
Comments
Most extension should work with it without modification but if you need to use the new parameters (the one about the Position of the script should be useful for your jQuery extensions) your modified extensions won't work on an unmodified forum. You would have to check if the Packer is installed, doing something like:
if (isset($Context->Configuration['PACKER_VERSION'])){ $Head->AddScript('extensions/jQuery/jqueky.css', 280, 1, 0); } else { $Head->AddScript('extensions/jQuery/jqueky.css'); }
http://www.edinet.co.uk ?
If you need to add a libraries you may use the Position parameter to be sure the libraries are loaded first.
External script will have to use the 3rd parameter.
And reported the few that has some issue with the packer.
http://www.fiddler2.com/fiddler2/ (never version of http://www.fiddlertool.com/fiddler/)
Screenshot
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /home/.frac/exhibitq_com/exhibitq.com/talk/library/Framework/Framework.Class.PackManager.php on line 205
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /home/.frac/exhibitq_com/exhibitq.com/talk/library/Framework/Framework.Class.PackManager.php on line 206
Is this something to do with my PHP setup? I think (without checking) that I'm running some version of PHP5...
Fixed