Buy Now
Sign in

[MOD] Don't load ChronoComments at frontpage

SoulEvil , November 20 2008
S
SoulEvil 2
November 20 2008 #17681
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 26.5
November 20 2008 #17684
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 6
March 18 2009 #26959
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 26.5
March 25 2009 #27741
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 15
April 02 2009 #28561
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 26.5
April 03 2009 #28691
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 15
April 04 2009 #28769
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 26.5
April 15 2009 #29824
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 26.5
April 15 2009 #29829
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 15
April 17 2009 #30048
Thank Max,
i will waiting for the new ChronoComments release.
S
soamz 51
September 03 2009 #39804
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 34
September 07 2009 #39942
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