 |
boardom b2 message board
|
View previous topic :: View next topic |
Author |
Message |
WashableMarker
Joined: 22 Dec 2003 Posts: 7
|
Posted: Tue Feb 03, 2004 2:03 am Post subject: |
|
|
I installed this hack, but whenever I check the "private comment" box, it doesn't come out private, the general public can still view it. Any ideas as to why this might be happening? |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 1007 Location: Washington
|
Posted: Tue Feb 03, 2004 2:49 am Post subject: |
|
|
Did you edit the SQL statement at the top of your comments page as instructed?
Quote: |
For those with the e-mail notification turned on...
In b2comments.php and b2commentspopup.php files, locate the following SQL select syntax:
$queryc = "SELECT * FROM $tablecomments WHERE comment_post_ID = $id ORDER BY comment_date";
This SQL syntax may not be exactly like above depending which hack you installed.
Then replace it with or modify it to:
$queryc = "SELECT * FROM $tablecomments WHERE comment_post_ID = $id AND comment_private = 0 ORDER BY comment_date";
|
_________________ Michael P. |
|
Back to top |
|
 |
WashableMarker
Joined: 22 Dec 2003 Posts: 7
|
Posted: Tue Feb 03, 2004 3:16 am Post subject: |
|
|
Awesome, it's working now. Thanks so much, this is a really helpful hack! |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB 2 © 2001, 2002 phpBB Group
|