Removing the voting button...

DJLN 12 Feb, 2009
Greetings there !

First of all, congratulations for that extension, which is the best
comment extension I've seen for now. I'll consider to buy the pro
version. But there is just a few hack I would like to perform on it
though, in order to make it perfect and I hope you will be able to
tell me how to do that (i'm not afraid to edit files but I don't know
coding) :wink:

1) How can I remove all that is related to the "karma/voting"
thing, the buttons in particular ?
It is of no use for me, and
I would prefer to have a comment system as simple and clean
as possible.

2) And by the way, would it be possible to move the date where
the buttons were, in the top right on the same line as the name ?

And is it possible to make the date unclickable (no link) ?


If I can make those two things, I'll have the perfect comment system,
and all I would have left to do is to buy the professionnal licencse,
so I'm counting on your help guys ! :mrgreen:

All the best,
Dushan

P.S : I come from Switzerland, so please forgive my horrible english ! 😶
Max_admin 12 Feb, 2009
Hi Dushan,

Thank you!🙂

you can do #1,2 easily and the same way, you need to play with the template file under components/com_chronocomments/templates/

this file has all the data, remove the voting text and change the position of the date text, let me know if you fall into troubles!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
DJLN 13 Feb, 2009
Hi Max, thanks a lot for the fast answer !

But can you be more specific ? I'm afraid I know nothing about php... 😶

There are four files in components/com_chronocomments/templates/, which one(s) should I edit ? And what code lines should I change in order to remove everything related to the karma/voting thing, and to display the date in spite ?

Hope you can help me there ! :wink:

Dushan

P.S : Another short question about the pro licence : is it one 25$ license for a single extension, or for all the ChronoEngine material ?
Max_admin 13 Feb, 2009
Hi Dushan,

this file :comment-item.html.php

the voting code is here:
<div class="rating">
            <div class="score" id="score{comment_id}">{comment_rating}</div> <div id="plus_{comment_id}" class="rating-plus" onmouseover="showPlus(this.id);" onClick="addPlus({comment_id});" onmouseout="hidePlus(this.id);"> </div> <div id="minus_{comment_id}" class="rating-minus" onmouseover="showMinus(this.id);" onClick="addMinus({comment_id});" onmouseout="hideMinus(this.id);"> </div> 
            </div> 


and this is the placeholder which should get replaced with the data and time:
{comment_datetime}


you can put it where you need!

Regarding the licenses, there is a licenses page with all details here: http://www.chronoengine.com/licenses.html

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
DJLN 14 Feb, 2009
Thanks a lot, Max !

It took me time and hard work, but I eventually manage to tweak that php code the way I want ! Thanks a lot for your help !

I'll buy you a license as soon as the website will be on production !

All the best,
Dushan
Max_admin 16 Feb, 2009
Thanks Dushan!

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
DJLN 16 Feb, 2009

Thanks Dushan!

Max



Thanks to you, for the extension and for your help !

Here it is, I've bought the licence just now ! :wink:
This topic is locked and no more replies can be posted.