Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
not displaying "comment is awaiting moderation" message
i didnt notice till now, but upon upgrading from 4.0.5 to 4.0.6, when a user submits a comment on my site, they don’t see the “comment is awaiting moderation” message anymore. the comment does end up in the moderation queue though. comments are automatically appended via txp backend.
if i turn off moderation and try commenting, the comment appears and they do get a “thank you for your comment” message. i haven’t changed my comment forms at all upon upgrading. was there something that changed in comment behaviour?
Offline
Re: not displaying "comment is awaiting moderation" message
Track the URL through the comment process – I think something was different, but I can’t check my dev install right now.
Offline
Re: not displaying "comment is awaiting moderation" message
as far as i can tell they’re the same..
the user clicks preview, and sees the preview at site.com/section/title#cpreview
if they miss a required field, then they do see “Please enter a comment” (if they neglected to enter one)
once all fields are filled, and upon submit they end up at site.com/section/title#txpCommentInputForm which just shows the empty comment form again with no indication at all that the comment they just submitted is awaiting moderation.
Last edited by iblastoff (2008-02-23 07:53:39)
Offline
#4 2008-02-23 08:49:51
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: not displaying "comment is awaiting moderation" message
The comment moderation message shows up if $_GET['commented']
is set to zero (lines 1475+1476 of taghandlers.php), and once the comment is added to the database that variable should be getting passed along (line 383 of comment.php).
Offline
Re: not displaying "comment is awaiting moderation" message
ahh thanks..the $_GET[‘commented’] gave me a clue which lead me to find the cause. it was zem_redirect_pro. upon disabling it, the moderation message comes back.
Last edited by iblastoff (2008-02-23 09:22:48)
Offline
Re: not displaying "comment is awaiting moderation" message
nicely caught steve. i know that this is not the thread for it but is there a way around this?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#7 2008-02-25 01:33:21
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: not displaying "comment is awaiting moderation" message
Is it due to the plugin alone, or could it be due to specific redirects you’re using? Looking quickly at the plugin, it looks like it does try and preserve $_GET.
Offline
Re: not displaying "comment is awaiting moderation" message
Mary wrote:
Is it due to the plugin alone, or could it be due to specific redirects you’re using? Looking quickly at the plugin, it looks like it does try and preserve $_GET.
i did have specific redirects in use. but even upon removing those, the comment moderation message still wouldn’t show up. so i’d say its due to the way the plugin works by itself. i’ll test again to make sure..
edit:yep on my default 4.0.6 install, with zem_redirect_pro enabled, no other plugins, default theme and comment moderation on, the ‘awaiting moderation’ message fails to appear.
once i turn the plugin off, the message works again.
Last edited by iblastoff (2008-02-25 01:39:59)
Offline
Re: not displaying "comment is awaiting moderation" message
I just use the plugin using its default install and I am experiencing the same issues as steve
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline