Hi all, I see quite a few people are having the same problem (css and javascript bloat in templates that don't even use the comments system). I have tried the various hacks and updates in the forum here and am still unable to remove the bloat from the home page and others - its almost as though the include rules in the parameters are being ignore and it just includes it everywhere? I have a few sites that use chrono-comments (cause despite this minor oversight it is still the best damn comments system I've seen :-) ) but it would be nice to clean up those sites.
Any help greatly appreciated.
Hi shardnzl,
If I recall correctly Max posted a modified version of chronocomments.php that fixed this problem some months back.
Bob
Thanks for the swift reply :-)
I downloaded the one that was in a zip file all by itself, but it didn't make any difference :-(
I'll try again and do a forum search, just in case I grabbed the wrong one.
Cheers
Hi shardnzl,
Oh - OK, I didn't know that there was another problem. Please can you post a link to a page showing this?
Bob
Hi shardnzl,
I don't know much about ChronoComments or how it works but it looks to me as though it's loading the plugin on any page which contains an article. I guess that there is no easy way of knowing at that stage if the article has comments enabled or not??
Max may have a more useful reply.
Bob
Thanks for taking the time to have a look anyway GreyHead - and I look forward to Max's ideas :-)
Any progress on this? I've had a look myself and the parameters are being stored correctly in the database (for where you want them to appear) they just seem to be ignored when it comes to adding code. :-)
I see that others in the forum are having the same problem (and have been since 2007) lol - and the only solution they've offered unfortunately suppress the code everywhere (the $suri request) including on comments pages.
Is there an easy way to ask (outside of the function) whether the current id exists in the parameters and then include the headers/scripts only then?