voting problem & comments problem

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 06-12-2007, 04:15 PM
Casual Pligger
Pligg Version: 9.5
Pligg Template: yget modified
 
Join Date: Apr 2007
Posts: 43
hi,

voting problem:
after i have voted a story the button don't change the text to voted and also dont't change the text color (only if i refresh the browser)

comment problem:
if i write a comment the comment icon don't change and no comments are count. so nobody can see if there are any discussions about a story

any ideas?

thanks in advance
DR

p.s. pligg 9.6 (upgrade)

Last edited by DailyResearch; 06-12-2007 at 04:19 PM.
Reply With Quote
  #2 (permalink)  
Old 06-12-2007, 04:50 PM
New Pligger
 
Join Date: Jun 2007
Posts: 1
I also have this problem while using the Upstart aqueos template that I modified, I have been searching for what's causing the problem with no luck.

The vote numbers don't change in real time, when vote is clicked only after refresh.
Reply With Quote
  #3 (permalink)  
Old 06-13-2007, 06:31 AM
New Pligger
 
Join Date: May 2007
Posts: 2
Same problem with comments.

Comments are regularly stored and saved but they count is not shown in the homepage as if nobody had commented yet...
Reply With Quote
  #4 (permalink)  
Old 06-13-2007, 01:01 PM
Casual Pligger
Pligg Version: 9.5
Pligg Template: yget modified
 
Join Date: Apr 2007
Posts: 43
voting problem fixed - i had "commented out" the bury tags in link_summary.tpl cause i don't want to use it. but it seems that voting don't work correctly without the bury link.
So this was my fault, sorry!
DR
Reply With Quote
  #5 (permalink)  
Old 06-14-2007, 05:34 PM
Casual Pligger
Pligg Version: 9.5
Pligg Template: yget modified
 
Join Date: Apr 2007
Posts: 43
any ideas about the "comments" problem?
Reply With Quote
  #6 (permalink)  
Old 06-15-2007, 03:52 PM
Casual Pligger
Pligg Version: 9.5
Pligg Template: yget modified
 
Join Date: Apr 2007
Posts: 43
@gary
i used a modified version of yget, but i use the original link_summary.tpl and the original comment_...-tpl's

but the demo.pligg.com already have the same problem.

http://demo.pligg.com/story.php?titl..._Phot ography

this posting have 2 comments, but no comment is counted.

DR
Reply With Quote
  #7 (permalink)  
Old 06-15-2007, 08:03 PM
Pligg Donor
 
Join Date: May 2007
Posts: 14
I'm running into this comment count problem, too, and having a tough time figuring it out.

Here's a story that still says "Discuss" instead of "1 comment", but it definitely has a comment below.

The big clue to me is that the record for this story in the links table still has a link_comments=0. For some reason it wasn't updated when that comment was added, but I'm having trouble reproducing it.

The code is straightforward:
1) in libs/comment.php, there's a call to $link->adjust_comment(1); then $link->store();

2) in libs/link.php, the store() function calls store_basic(), which should update the comment count in the link table.

I'm about to break down and add massive logging and step through it. I'll report back if I find anything.
Reply With Quote
  #8 (permalink)  
Old 06-16-2007, 08:17 PM
New Pligger
 
Join Date: Jun 2007
Posts: 10
I have the same problem with number of comments not showing up, it just says discuss. To clarify, when stories are on the upcoming page, they show how many comments, as they should... however, when they become published, it no longer shows how many comments on the comments link, it just says discuss... which is annoying...

FYI, I am using Pligg 9.6 with the default yget theme.
Reply With Quote
  #9 (permalink)  
Old 06-19-2007, 12:00 AM
Pligg Donor
 
Join Date: May 2007
Posts: 14
Quote:
Originally Posted by dystopia View Post
I'm about to break down and add massive logging and step through it. I'll report back if I find anything.
I have a theory about this problem, which I posted in another thread:

http://forums.pligg.com/showthread.p...2279#post32279

Hopefully, it's on the right track.
Reply With Quote
  #10 (permalink)  
Old 06-22-2007, 06:53 PM
New Pligger
 
Join Date: Jun 2007
Posts: 10
Anyone find a solution for the number of comments not showing? It seems when it is published the comment count gets reset to zero (on mine). Also, one other note, when I delete a comment, the comment count does not go down by 1.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
JavaScript Error: Voting and Repping Comments GrantMePeace Questions and Comments 0 03-11-2009 02:37 PM
[SOLVED] When I Change Theme I - Voting and Comments Stop Working jetsetterjay Questions and Comments 1 02-15-2009 05:29 PM
Rss Import With Star Voting Problem blaze Questions and Comments 2 01-13-2009 01:45 AM
Problem with comments in sidebar grimusm Questions and Comments 0 01-01-2008 09:11 AM
A problem about automatical voting tristonezhou Questions and Comments 0 08-01-2007 12:52 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development