- Posts: 5
COMMUNITY FORUM
How to enable visitors review K2 items
- Alex Smirnov
-
Topic Author
- Offline
- New Member
Less
More
13 years 10 months ago #97906
by Alex Smirnov
How to enable visitors review K2 items was created by Alex Smirnov
He there,
Thank you for this fabulous component.
What I really need is something enabling my registered users to leave a single review on a K2 item. Is this possible?
I do realize that K2 easily integrates with commenting systems but this would not work for me as I would like my user to leave only a single review and that would be it.
Kind regards,
Alex Smirnov
Thank you for this fabulous component.
What I really need is something enabling my registered users to leave a single review on a K2 item. Is this possible?
I do realize that K2 easily integrates with commenting systems but this would not work for me as I would like my user to leave only a single review and that would be it.
Kind regards,
Alex Smirnov
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
13 years 10 months ago #97907
by william white
Replied by william white on topic How to enable visitors review K2 items
There is probably some code that could be added to an override in the item.php in the comments section that would do something like the following psudocode that would work
get the user
search thru the comments and see if that user had a comment in the table
and hide the comment form if he is there already
else
show the form to him
get the user
search thru the comments and see if that user had a comment in the table
and hide the comment form if he is there already
else
show the form to him
Please Log in or Create an account to join the conversation.
- Alex Smirnov
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
13 years 10 months ago #97908
by Alex Smirnov
Replied by Alex Smirnov on topic How to enable visitors review K2 items
Thanks, William.
Basically, constructing a simple form with an email address text box, a user avatar, a text editor and a captcha to add to item parameters will be ideal.
As far as using an integrated commenting system, would be nice to be able to somehow limit a user to only one single comment. Will try to investigate this. Please let me know if you have anything in this respect.
Ta,
Alex
Basically, constructing a simple form with an email address text box, a user avatar, a text editor and a captcha to add to item parameters will be ideal.
As far as using an integrated commenting system, would be nice to be able to somehow limit a user to only one single comment. Will try to investigate this. Please let me know if you have anything in this respect.
Ta,
Alex
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
13 years 10 months ago #97909
by william white
Replied by william white on topic How to enable visitors review K2 items
If i understand what you want you can use default k2 form for comment input and customize it a bit. The rest is a matter of who and when they can see the form. First only registared users can see the form, second if they have already commented they cannot see the form to add comments.
Please Log in or Create an account to join the conversation.
- Alex Smirnov
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
13 years 10 months ago #97910
by Alex Smirnov
Replied by Alex Smirnov on topic How to enable visitors review K2 items
Yep. Than sounds about right.
Ideally, I'd like to display a "Submit review" knob to public. Upon clicking to this knob a visitor will be prompted to either register or login. Once he has logged in and submitted his review, it is being reviewed by the site admin and then published, possibly with the admin response threaded to it. Then this comment turned review gets publicly displayed (would be nice to keep it still editable for its author but its secondary, really).
Cheers,
Alex
Ideally, I'd like to display a "Submit review" knob to public. Upon clicking to this knob a visitor will be prompted to either register or login. Once he has logged in and submitted his review, it is being reviewed by the site admin and then published, possibly with the admin response threaded to it. Then this comment turned review gets publicly displayed (would be nice to keep it still editable for its author but its secondary, really).
Cheers,
Alex
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
13 years 10 months ago #97911
by william white
Replied by william white on topic How to enable visitors review K2 items
see friend request
Please Log in or Create an account to join the conversation.
- Alex Smirnov
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
13 years 10 months ago #97912
by Alex Smirnov
Replied by Alex Smirnov on topic How to enable visitors review K2 items
I am actually interested in learning how to construct forms using K2 CCK, something similar to what one can do with jSeblod.
Cheers,
Alex
Cheers,
Alex
Please Log in or Create an account to join the conversation.