Addon: Reply To Comments
This addon lets you and your visitors reply to comments.
<REPLYABLE_COMMENTS> - List of Comments in threaded view. Use it instead of <IMAGE_COMMENTS>.
<THREAD_FIELD> - Hidden field with the threading ids and a notification if replying or not. Put it between <form> and </form> tags into the comment form.
<IMAGE_OTHERS_COMMENTS_NUMBER> - Use instead of <IMAGE_COMMENTS_NUMBER> if you don't want to include your own comments into the number of comments shown in image page. Use your Admin email in Comments form to be identified.
Open the file commentication.php and set the following variables:
$marked colour for highlighting the comment to answer
$count_my_comments 'yes' or 'no', set this to 'no' if you want to exclude your own comments from the number of comments
$reply_wording the phrase or image for the reply-link
$alt_reply_wording the phrase/image for the reply-link in your alternative language
$marked_wording the phrase for showing that this comment is a reply
$alt_marked_wording translation of the above to your alt language (if used)
$comment_wording the phrase for showing that this comment is no reply
$alt_comment_wording translation of the above to your alt language (if used)
A new field 'cthread_id' is added to the pixelpost_comments table. This is keeping the line of replied comments.
Unpack the zip and copy the whole _commentication folder into your Addon folder.
Edit the file commentication.php
Go to your Addons page in Admin panel and turn both Addon parts on (display and front side part). The new database field will be created.
Maybe you have to change the Effect to the one you are using, this scriopt is for the unchanged horizon template (Effect.toggle BLIND)
See it working here in my blog:
You like this addon?
Have fun with it and keep on commenting :-)
i think it has something to do with my template ..
i tried it on horizon it worked ..
but needed some CSS adjustments ..
im trying to make it work with my template ..
cant seem to figure out the problem ..
nice addon, but not have multilanguage support
cryfreeman, you can change the phrase "antworten" by editing the file commentication.php
iHamad, I checked your template file, the <REPLYABLE_COMMENTS> tag is in place but the <THREAD_FIELD> tag is missing.
This one is very important, it brings the whole reply-line into the database
And yes, of course the css has to be adjusted.
the comments disappear when i add the new tag <REPLYABLE_COMMENTS>
in the currernt supaclean template i am using ..
but in horizon template its working fine ..
i think there is something wrong with template i am using ..
please check the css for the comments.
If you look into the source code of your page, the comment is here, it is just invisible.
Did you set something to "invisible" or "hidden"?
iHamad, I found the issue.
I have put the <div id="comments"> into the tag <REPLYABLE_COMMENTS> and this is obviously wrong to make it work in the same manner as <IMAGE_COMMENTS>.
I uploaded a corrected package of the Reply-To-Comments Addon. Please download it and replace the commentication.php file, then it should work without changing your CSS
Working perfectly now :)
thanks a million .!!!
I just tried to leave a reply-comment but it got not published.
Do you have it in moderation?
|All times are GMT. The time now is 12:24 PM.|
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.