You right as user, but for ext developer it functions will be very usefull. Ok, i`m create extensions for this.
727 2009-05-29 13:17
Topic: Functions for ext developers (2 replies, posted in PunBB 1.3 discussion)
Please add function for add config value in ext code. Now its ugle and may consist more errors like empty "" in PostgreSql DB.
if (!isset($forum_config['o_fancy_js_cache_minify'])) {
$query = array(
'INSERT' => 'conf_name, conf_value',
'INTO' => 'config',
'VALUES' => '\'o_fancy_js_cache_minify\', \'0\''
);
$forum_db->query_build($query) or error(__FILE__, __LINE__);
}
will be good have function forum_ext_add_config($name, $value);
728 2009-05-29 06:30
Re: [extension release] Fancy JavaScript/CSS cacher (27 replies, posted in PunBB 1.3 extensions)
Ext usefull if you have > 2 extensions with own JS/CSS files.
729 2009-05-28 12:34
Re: [extension release] Fancy JavaScript/CSS cacher (27 replies, posted in PunBB 1.3 extensions)
one thing! yslow suggests to put css in head section.
Yes, i know. In punbb CSS always in head, i just move JS in bottom of the page.
730 2009-05-28 12:09
Topic: [extension release] Fancy JavaScript/CSS cacher (27 replies, posted in PunBB 1.3 extensions)
It can merge CSS/JS files and minification, and move JS to the bottom of page.
Please, check that cache dir in extension directory have 0777 rights (for write).
You can change default options of ext in FORUM » Administration » Settings » Features in Fancy JS/CSS Cacher Options section.
PunBB 1.3
fancy_js_cache.tar.gz — версия 1.1
PunBB 1.4
fancy_js_cache.zip
731 2009-05-28 12:01
Re: [extension release]Merge all js and css (3 replies, posted in PunBB 1.3 extensions)
I`m sure your extensions will not work correctly, because in CSS files need rewrite url`s in like background: url('//') etc.
Last weeks i`m testing my analogy extensions and now it looks like pretty stable. It can merge CSS/JS files and minification it, and move JS to the bottom of page. You can find my ext http://punbb.informer.com/forums/topic/ … ss-cacher/