View Full Version : Comments not working
stevo
08-27-2007, 01:31 AM
First, I'd like to say thanks to all who've worked on this software, it's awesome. Unfortunately my first post here is regarding a problem I'm having. I've searched the forums for a bit, and this appears to be a common enough issue, but I'm still stuck. Whenever I or someone else tries to leave a comment on my site, it acts as though everything went well, but then nothing is posted and nothing shows up in the admin page. I've tried the solution of re-uploading all files but pixelpost.php, but nothing changes. I'm running v. 1.6.0. Thanks ahead of time,
Stevo
Dkozikowski
08-27-2007, 03:29 AM
Are your comments set to publish instantly or send to moderation queue?
If you look in the admin panel under the comments pane, are any comments listed?
stevo
08-27-2007, 05:12 AM
The comments are set to publish instantly, and when I go to the comments pane there are no comments no matter how many times I try to leave them.
Stevo
Dkozikowski
08-27-2007, 06:49 AM
OK. Lets start with opening up index.php in a text editor and telling me what the line under the following says.
// SVN file version:
stevo
08-27-2007, 05:39 PM
This is what I see:
// $Id: index.php 241 2007-04-11 07:02:35Z david.kozikowski $
Dkozikowski
08-28-2007, 12:59 AM
OK. Well thats fine.
If you have database access, check for the comments table and check if there are comments inside.
Also if you can private message me some temporary admin login details so i can check all your settings it would be much appreciated.
stevo
08-28-2007, 01:45 AM
Okay, for starters I'll check with my server administrator,
thanks
JordanHusney
08-28-2007, 10:13 PM
Problem solved...
I am, unfortunately, Stevo's administrator.
It turns out that the 'email' column of the comments table did not exist. I am not sure if Stevo upgraded the pixelpost software at some point and a database migration that was supposed to happen did not happen or what but I added the column and now everything is just peachy.
Regards,
Jordan
Dkozikowski
08-28-2007, 10:21 PM
Thanks for informing us.
stevo
08-29-2007, 12:26 AM
Thanks both of you for the help.
Jordan, looks like I owe you another bottle of grappa!
Stevo
Marek
09-01-2007, 08:40 AM
I've got some problems with comments, too.
No comments will be saved. After you type a comment and sent it a blank page appeared.
Some old comments are saved. But it is not possible to give up new.
For me it seems that it not depend on the template (I change it for a short time a try to give up a comment, but with the same conclusion: it doesn't work ).
All comments have to be published shortly.
Can somebody help?
1) Your CSS definition is comming into the page.
2) Where we can see your comment form??
Marek
09-01-2007, 10:04 AM
You can find the comment form behind Infos/Details.
Marek
Marek
09-01-2007, 01:22 PM
And what do you mean with Your CSS definition is comming into the page.
?
Comments don't work with other template, too.
Marek
Now there is no CSS (probably you switched between two different templates and one of them was a lil bit buggy).
Interesting situation. As there is no error, no output - nothing at all then it would be nice to get FTP access to your blog to debug it by adding some debugging code into the PHP files. If you are interested in such way of support then let me know by PM.
Marek
09-02-2007, 09:03 AM
GeoS solved the problem, it was an old aksimet addon.
Since I switched to pixepost 1.6 I didn't get any comment maybe this is because I forgot to update my akismet addon.
I would thank GeoS and once again to the Team Pixelpost. Every time when I ran into problems the crew helped me. This at the fact that I use pixelpost nearly daily let me think that it was a good decision to donate (http://www.pixelpost.org/forum/showthread.php?t=6224).
marek
Cool that it was the onliest problem and that now all is fine.
Thanks for your donation. Ill help to keep Pixelpost better and better.
orbital
02-05-2008, 06:04 PM
I'm having a similar problem. The comments shows in the admin panel and they are in the database table. Everything looks ok, but for some reason they don't show on my site under comments :( I'm running version 1.7.1. The comments are set to publish instantly. Anyone who can help me solve this?
Thanks
orbital
Dennis
02-05-2008, 06:18 PM
Ok, first of:
1) did you do a clean install or an upgrade?
2) do you use either akismet or defensio?
3) what color are the comments in the adminpanel?
Dkozikowski
02-05-2008, 07:50 PM
Also, do any of your template files contain the <IMAGE_COMMENTS> (http://www.pixelpost.org/docs/TemplateTags/IMAGE_COMMENTS) tag?
This tag is necessary to display comments within your pages.
orbital
02-09-2008, 05:14 AM
Ok, first of:
1) did you do a clean install or an upgrade?
2) do you use either akismet or defensio?
3) what color are the comments in the adminpanel?
Hi, thanks for your reply.
1. i did a clean install
2. i don't know (first time i'm using this)
3. color...um, take a look here: http://img230.imageshack.us/img230/435/adminpanelbl0.jpg (http://imageshack.us)
Adding some of the comments code:
<div id="image-titlenotes"><span class="right"><a href="#" onclick="Effect.toggle('commentsbox','blind'); return false">Vis / skjul <IMAGE_COMMENT_TEXT></a></span>
<span class="title"><IMAGE_TITLE></span> - <IMAGE_DATE>
<br />
<IMAGE_NOTES>
</div>
<!-- Comments Here -->
<div style="display: none" id="commentsbox">
<div id="commentsbg">
<!--<span class="scriptlink" onclick="Effect.Puff('commentsbox', {duration:1});">PUFF</span><br />-->
<div id="commentsarea">
<div class='comments'><IMAGE_CUSTOM_COMMENTS></div>
</div>
<div id="addcomment">
<form method='post' action='index.php?x=save_comment' name='commentform' accept-charset='UTF-8'>
<textarea name='message' rows='2' cols='40'>Skriv din kommentar her.</textarea>
<label for="name">Navn</label><br />
<input type='text' name='name' class='input' value='<VINFO_NAME>' id="name"/><br />
<label for="url">Hjemmeside, hvis du har</label><br />
<input type='text' name='url' class='input' value='<VINFO_URL>' id="url"/><br />
<label for="email">Mail (ikke synlig for andre)</label><br />
<input class='input' type='text' name='email' value='<VINFO_EMAIL>' id="email"/><br />
<input name='vcookie' type='checkbox' id="saveinfo" value='set' checked="checked" />
<label for="saveinfo">Lagre informasjon</label><br />
<input type='image' src='templates/grungypop/images/add_comment.gif' value='Add' class='comment-button' />
<input type='hidden' name='parent_id' value='<IMAGE_ID>' />
<input type='hidden' name='parent_name' value='<IMAGE_NAME>' />
<TOKEN>
</form>
</div>
</div>
</div>
</div>
<!-- End Comments -->
hope this makes any sence for you guys
Dkozikowski
02-09-2008, 01:31 PM
It looks like you need an addon to display your comments.
<IMAGE_CUSTOM_COMMENTS> is not a standard Pixelpost template tag. You can either find out what addon is needed or edit that tag to say <IMAGE_COMMENTS> instead of <IMAGE_CUSTOM_COMMENTS>
orbital
02-09-2008, 05:52 PM
It looks like you need an addon to display your comments.
<IMAGE_CUSTOM_COMMENTS> is not a standard Pixelpost template tag. You can either find out what addon is needed or edit that tag to say <IMAGE_COMMENTS> instead of <IMAGE_CUSTOM_COMMENTS>
I've got a file called: custom_comment_template.html i guess it's got something to do with that one. I can send you the files if you have time/want to look at it.
Dkozikowski
02-09-2008, 05:53 PM
What template are you using?
orbital
02-10-2008, 07:40 AM
It's called: grungypop
Dkozikowski
02-10-2008, 01:27 PM
I've never heard of it.
All I know is your comment problem is not a Pixelpost issue. The template you're using either does not support commenting or is using the incorrect tags to display comments. The later seems to be the case.
You can do a few things, show us a link to this "Grungypop" template or a link to your photoblog.
Dennis
02-11-2008, 05:32 AM
Check your addons (admin panel, addons) and check if the custom comments addon is on (or if it is even installed).
orbital
02-13-2008, 05:46 PM
Check your addons (admin panel, addons) and check if the custom comments addon is on (or if it is even installed).
Ahhhhh...n1. It works now. I didnt have custom comments addon installed. Sry guys :)
Thanks for all your help
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.