By spinfx on Thursday, 18 May 2017
Replies 10
Likes 1
Views 4.5K
Votes 0
Hi Guys

I saw the following on an old forum reply by Geraint and wondered if it was ever done as I can't see an option in your JComments plugin.

There is a club plugin to enable JComments to work. We could add a config option to this plugin so that it doesn't get activated until the event has taken place.


I'm wanting to allow all attendees to be able to post reviews of events.

I have installed JComments and your plugin.

Warm Regards, David
Hi Tony
I wasn't using it in articles - my main interest was in feedback from the gigs.
However, I tried it out in the news articles and the same happens so it's probably an issue with JComments itself I guess.
As I said earlier, I have contacted JComments for their reaction and will let you know what transpires.
Cheers David
·
7 years ago
·
1 Likes
·
0 Votes
·
0 Comments
·
Hi David,

Can you provide some super user login details? I'll have a look at this for you.

Many thanks
Tony
·
7 years ago
·
1 Likes
·
0 Votes
·
0 Comments
·
Hi Tony

Login is in Site Details.

Regards, David
·
7 years ago
·
1 Likes
·
0 Votes
·
0 Comments
·
Hello,

I have coded up a new tag and added it to your website:

{{PAST_OR_FUTURE}}

this outputs past for events which have passed and future for events that are in the future.

So you can now use this for classing, so you want to hide it to future you can use:


.jev_jcomments.future {display:none;}



This CSS used with this Custom Layout string:


<div class="jev_jcomments {{Past or Future:PAST_OR_FUTURE}}">
{{JComments:JEV_JCOMMENTS_ENABLE}}
</div>


Will hide it to future events.

Many thanks
Tony
·
7 years ago
·
1 Likes
·
0 Votes
·
0 Comments
·
Hi Tony

Thanks for that.

I'm having some difficulties determining where exactly to place the code snippets.
I have managed to get the "Add Comment" button to show, but it shows on future as well as past events.
I can add a comment OK but when I publish it I get an error code
jos-Error: Unknown column 'c.deleted' in 'field list'


I'm wondering if it's possible to have tabs on the event details page so I can show the main event details in the first, comments in the second, and a photo gallery in the third.

Just looking for a neat and simple way for people to reminisce by adding comments and sending in images.

Would appreciate clarification.

Regards, David
·
7 years ago
·
1 Likes
·
0 Votes
·
0 Comments
·
tonyp has a slight error in his code which I have now fixed so the comments don't appear until after the event has taken place
·
7 years ago
·
1 Likes
·
0 Votes
·
0 Comments
·
Thanks Geraint - that's working OK now, except that I'm having trouble getting the comments to display.

When the comment is published I still get the error message:
jos-Error: Unknown column 'c.deleted' in 'field list'



Also, what are your thoughts on my other question:
I'm wondering if it's possible to have tabs on the event details page so I can show the main event details in the first, comments in the second, and a photo gallery in the third.


Just looking for a neat and simple way for people to reminisce by adding comments and sending in images.

Would appreciate clarification.

Regards, David
·
7 years ago
·
1 Likes
·
0 Votes
·
0 Comments
·
Hello,

That looks like a JComments error. Can you please check Joomla! DB is ok Joomla! -> Extensions -> Database -> Fix

And then reinstall JComments.

Many thanks
Tony
·
7 years ago
·
1 Likes
·
0 Votes
·
0 Comments
·
Hi Tony - I did as you suggested but the problem is still there - I have contacted JComments and will let you know what they say.

Regards, David
·
7 years ago
·
1 Likes
·
0 Votes
·
0 Comments
·
Does the error occur in the artciles too?

Many thanks
Tony
·
7 years ago
·
1 Likes
·
0 Votes
·
0 Comments
·
View Full Post