On this heavy extension testing page I get the following changes with packer. Very impressive, and most certainly worth it!
http://exhibitq.com/talk/discussion/3/
Data size 214kb -> 124kb
Load time 11.5s -> 5.5s
Requests 65 -> 47
Smile seems to work just fine.
Strangely, Preview Post seems to work without having to do anything with the PNG (could be because I'm using Jazzman's style?).
Dinoboff, minor little thing... default.php line 14, if you could capitalise the 2nd "Options" - change it from:$Context->SetDefinition('ExtensionOptions', 'Extension options');to:$Context->SetDefinition('ExtensionOptions', 'Extension Options'); then it would appear in the same place as the Jazzman's various Extension Options
To install it you need to copy /extensions/CommentLinks/CommentLinksTheme/search_results_comments.php into your themes folder (/themes/vanilla/styles/europeaftertherain/; since you don't use the default theme, you might need to edit it).
You also need to edit /extensions/CommentLinks/CopyMenu.js line 6 :var BaseUrl = '/talk/';
It 's all I did and it is working, on my local server.
Thanks for both of those comments Dinoboff. I've reverted to the default Vanilla theme/style and disabled all extensions barring the packer, pimped and comment links - still, I cannot convince comment links to copy the link to my clipboard. I've tried this in both IE6 and FX2.0.0.3
With the style correction, is that a general problem with the style independent of the Packer?
I've turned the packer extension off entirely and still no dice, so I guess I should take this to the CommentLinks discussion - thanks for the advice though Dino
replace it by:$Head->AddScript('http://maps.google.com/maps?file=api&v=1&key='.$Context->Configuration['GOOGLEMAP_KEY'], ''); or better $Head->AddScript('http://maps.google.com/maps?file=api&v=1&key='.$Context->Configuration['GOOGLEMAP_KEY'], '', 450);
The first one is the correct use of AddScript with or without the patch. For exemple, on this forum $Head->AddScript('http://maps.google.com/maps?file=api&v=1&key='.$Context->Configuration['GOOGLEMAP_KEY'], ''); will create <script src="/community/http://maps.google.com/maps?file=api&v=1&key=xxxxxxxxx"... The second works on my testing server (php 5.1.6) without the patch but since without patch AddScript has only 2 arguments maybe some other version of php would trow a warning message.
replace line 23 of /TinyMCE/default.php:$Head->AddScript('js/tinymce/jscripts/tiny_mce/tiny_mce.js'); by:$Head->AddScript('js/tinymce/jscripts/tiny_mce/tiny_mce.js', '~', 450, 0);
I will try to see why it can't be packed later this month.
Comments
I shall start mucking around with things now
Comments Links 1.4 doesn't copy the links when you click on the format you want. Turning packer off allows it to work.I lied - Comment Links 1.4 doesn't allow me to copy anything at all, no matter packer being on or off
Dinoboff, minor little thing... default.php line 14, if you could capitalise the 2nd "Options" - change it from:
$Context->SetDefinition('ExtensionOptions', 'Extension options');
to:$Context->SetDefinition('ExtensionOptions', 'Extension Options');
then it would appear in the same place as the Jazzman's various Extension Options
I will look at Comment Links 1.4
http://exhibitq.com/talk/themes/vanilla/styles/europeaftertherain/images/file_attach.gif
You have to copy images/file_attach.gif to /themes/vanilla/styles/europeaftertherain/
To install it you need to copy /extensions/CommentLinks/CommentLinksTheme/search_results_comments.php into your themes folder (/themes/vanilla/styles/europeaftertherain/; since you don't use the default theme, you might need to edit it).
You also need to edit /extensions/CommentLinks/CopyMenu.js line 6 :
var BaseUrl = '/talk/';
It 's all I did and it is working, on my local server.
With the style correction, is that a general problem with the style independent of the Packer?
Try by disabling the packer, but I don't think it is a problem with the packer.
$Head->AddScript('http://maps.google.com/maps?file=api&v=1&key='.$Context->Configuration['GOOGLEMAP_KEY']);
I changed it to:
$Head->AddScript('http://maps.google.com/maps?file=api&v=1&key='.$Context->Configuration['GOOGLEMAP_KEY'],'~',350,0);
$Head->AddScript('http://maps.google.com/maps?file=api&v=1&key='.$Context->Configuration['GOOGLEMAP_KEY'], '');
or better$Head->AddScript('http://maps.google.com/maps?file=api&v=1&key='.$Context->Configuration['GOOGLEMAP_KEY'], '', 450);
The first one is the correct use of AddScript with or without the patch. For exemple, on this forum
$Head->AddScript('http://maps.google.com/maps?file=api&v=1&key='.$Context->Configuration['GOOGLEMAP_KEY'], '');
will create<script src="/community/http://maps.google.com/maps?file=api&v=1&key=xxxxxxxxx"...
The second works on my testing server (php 5.1.6) without the patch but since without patch AddScript has only 2 arguments maybe some other version of php would trow a warning message.
$Head->AddScript('js/tinymce/jscripts/tiny_mce/tiny_mce.js');
by:
$Head->AddScript('js/tinymce/jscripts/tiny_mce/tiny_mce.js', '~', 450, 0);
I will try to see why it can't be packed later this month.