Buy Now
Sign in

[MOD] Don't load ChronoComments at frontpage

SoulEvil , November 20 2008
S
SoulEvil
Hi,
I dunt know have anyone posted. But by myself i have just modded it to save queries on my frontpage (that page you dont need to load ChronoComments plugin)

$uri = & JFactory::getURI();

$suri = $uri->getQuery();

if ($suri == "") {

}

else{

$mainframe->registerEvent( 'onPrepareContent', 'plgContentChronocomments' );

}
admin
Max
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
E
elvar
Sorry i do not get it.. Where exactly (which file) i need to change this code?

I will also exclude somoe categories to load ChronoComments at all (i know there is disable option in admin for it but it still loads css and js)

Thanks...
admin
Hi, the file is plugins/content/chronocomments.php

Cheers
Max
Max
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
M
Maxvn
Hi Max,

I'm also looking for the solution for this problem, and could you give me a full support for this one. I need to know exactly what i have to do ?

Thank for your help,
Regard,
Maxvn
admin
Hi Maxvn,

try this patch : http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&p=15028#p15028

keep a backup before doing any changes!

Cheers
Max
Max
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
M
Maxvn
Thank Max,
It's really helpful, but i want to know how to remove all of chrono code in fontpage ?
Could you show me how to do this, i want to "diet" for my homepage so that it can easy to crawl by search engine ^^

Thank for your help

Regard,
Maxvn
admin
Hi Maxvn,

I suggest you wait for the new ChronoComments release, I will fix all these issues!

Regards
Max
Max
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
admin
Max
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
M
Maxvn
Thank Max,
i will waiting for the new ChronoComments release.
S
soamz
Dude, this worked..
triumph, do boi, winny, thoi trang be gai, xe day tre em, do dung cao cap cho be, thoi trang cong so, vay lien cong so, ban buon quan ao, do lot[/url]
"SoulEvil":
Hi,
I dunt know have anyone posted. But by myself i have just modded it to save queries on my frontpage (that page you dont need to load ChronoComments plugin)

$uri = & JFactory::getURI();

$suri = $uri->getQuery();

if ($suri == "") {

}

else{

$mainframe->registerEvent( 'onPrepareContent', 'plgContentChronocomments' );

}
W
warriorgov79
Thanks SoulEvil & soamz. It works, but it also took out the plugin from the rest of my site. Previous comments and the form disappeared from all articles. I had to remove the mod.

Aloha,
warriorgov79