View previous topic :: View next topic |
Author |
Message |
Cyberian75
Joined: 26 Sep 2002 Posts: 983 Location: Washington
|
Posted: Sun Sep 28, 2003 12:36 am Post subject: |
|
|
The instruction has been slightly changed to make it more easily understandable, and a "tagging" how-to is added.  _________________ Michael P. |
|
Back to top |
|
 |
billy
Joined: 05 Jul 2003 Posts: 39
|
Posted: Sun Sep 28, 2003 1:10 am Post subject: |
|
|
Cyberian75 wrote: | billy wrote: | i dont see that code anywhere. |
From this line...
Code: |
$queryc = "SELECT * FROM $tablecomments WHERE comment_post_ID = $id AND comment_private = 0 ORDER BY comment_date";
|
Take out...
Code: |
AND comment_private = 0
|
|
when i take out
Code: |
AND comment_private = 0
|
the comment is viewable to anyone |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 983 Location: Washington
|
Posted: Sun Sep 28, 2003 1:18 am Post subject: |
|
|
Have you modified the get_commentdata function in b2functions.php file as instructed? _________________ Michael P. |
|
Back to top |
|
 |
billy
Joined: 05 Jul 2003 Posts: 39
|
Posted: Sun Sep 28, 2003 1:24 am Post subject: |
|
|
yep. don't worry, ill probably download a fresh b2 and reinstall the hack later...but its a great hack and i cant wait to get it working! |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 983 Location: Washington
|
Posted: Sun Sep 28, 2003 1:32 am Post subject: |
|
|
I have just changed my comments page for it to display the "this is a private comment" message, and it works just fine. Sorry it's not working for you. _________________ Michael P. |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 983 Location: Washington
|
Posted: Fri Oct 24, 2003 5:26 am Post subject: Updated |
|
|
I have modified this hack so that the number of comments will be 0 on the public template, but in your edit page, private comments will be counted and displayed. _________________ Michael P. |
|
Back to top |
|
 |
phreak
Joined: 13 Oct 2002 Posts: 7 Location: philippines
|
Posted: Tue Nov 04, 2003 11:47 am Post subject: |
|
|
is there a way I could create a new table without going to cpanel and phpmyadmin? I know there is, but HOW? _________________ pH 2 is still acidic.
What if God was one of us?
I am a superman. |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 983 Location: Washington
|
|
Back to top |
|
 |
phreak
Joined: 13 Oct 2002 Posts: 7 Location: philippines
|
Posted: Mon Nov 10, 2003 9:03 am Post subject: |
|
|
The topic was useless!!! _________________ pH 2 is still acidic.
What if God was one of us?
I am a superman. |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 983 Location: Washington
|
Posted: Mon Nov 10, 2003 5:21 pm Post subject: |
|
|
phreak,
Do a search yoursellf then... _________________ Michael P. |
|
Back to top |
|
 |
phreak
Joined: 13 Oct 2002 Posts: 7 Location: philippines
|
Posted: Tue Nov 11, 2003 9:33 am Post subject: |
|
|
waaaaaaaaaaaa!!!!!!! _________________ pH 2 is still acidic.
What if God was one of us?
I am a superman. |
|
Back to top |
|
 |
Tang-on
Joined: 14 Aug 2003 Posts: 22
|
Posted: Fri Nov 14, 2003 11:58 pm Post subject: |
|
|
Thanks Cyberian75! I've it installed on my blog. *smiles happily*  _________________ -Tang-on  |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 983 Location: Washington
|
Posted: Thu Dec 04, 2003 10:49 pm Post subject: NOTICE -- UPDATE |
|
|
If you also have my "notify me" hack installed, please refer to the following instruction for a security fix.
Quote: |
Locate the following line in b2comments.post.php file:
if ($wxcvbn_c > 0) {
Then change it to:
if ($wxcvbn_c > 0 && $comment_private == 0) {
|
_________________ Michael P. |
|
Back to top |
|
 |
Tang-on
Joined: 14 Aug 2003 Posts: 22
|
Posted: Fri Dec 05, 2003 1:41 am Post subject: |
|
|
Err... I couldn't find that line on my b2comments.post.php file. _________________ -Tang-on  |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 983 Location: Washington
|
Posted: Fri Dec 05, 2003 6:28 pm Post subject: |
|
|
Please refer back to the instruction for that hack and do the section for the b2comments.post.php file over again. _________________ Michael P. |
|
Back to top |
|
 |
|