View previous topic :: View next topic |
Author |
Message |
dodo
Joined: 25 Jan 2002 Posts: 35
|
Posted: Tue May 20, 2003 7:48 am Post subject: b2commenter.plugger.php :) |
|
|
This hack is for those posters who like to plug their commenters. you can now plug with much ease. this script lists all the distinct commenters of certain entry or numerous entries as you request.
see a screenshot
http://pure-essence.net/images/b2commenter_screenshot.gif
it's very easy to install. just upload my hack and add a link to your b2menutop.php
download http://pure-essence.net/b2/hacks/b2commenter.zip
installation directions:
Quote: |
Open:
b2commenter.plugger.php
Edit:
/* names of commenters you wish to exclude, i.e. yourself */
$exclude_author[] = "dodo"; // change it to something else
$exclude_author[] = ""; // change it to something else
$exclude_author[] = ""; // add more if necessary
Put in there:
Any authors you wish to exclude from plugging. Add as many as you wish.
Then:
Upload b2commenter.plugger.php into the directory where your b2config.php is.
Open:
b2-include/b2menutop.php
Find:
<a href="b2edit.php" class="menutop" style="font-weight: bold;">Post / Edit</a><?php echo $sep ?>
Add after that:
<a href="b2commenter.plugger.php" class="menutop">Commenter Plugger</a><?php echo $sep ?>
|
_________________ http://pure-essence.net
b2 rocks
Last edited by dodo on Tue May 20, 2003 6:44 pm; edited 1 time in total |
|
Back to top |
|
 |
epolady
Joined: 30 Jul 2002 Posts: 800 Location: Texas
|
Posted: Tue May 20, 2003 9:18 am Post subject: |
|
|
404 on the zip download....
looks great though! |
|
Back to top |
|
 |
dodo
Joined: 25 Jan 2002 Posts: 35
|
Posted: Tue May 20, 2003 6:45 pm Post subject: |
|
|
oops, fixed now! btw, i think i still need to add a couple of features to it. _________________ http://pure-essence.net
b2 rocks |
|
Back to top |
|
 |
dodo
Joined: 25 Jan 2002 Posts: 35
|
Posted: Tue May 20, 2003 7:28 pm Post subject: |
|
|
UPDATED I made it a popup window, allowed alphabetizing and also added the select all and copy javascript for convenience. _________________ http://pure-essence.net
b2 rocks |
|
Back to top |
|
 |
gaile
Joined: 14 May 2003 Posts: 2
|
Posted: Wed May 21, 2003 7:17 pm Post subject: |
|
|
WOW! It worked like charm!! Thanks dodo ^__^! |
|
Back to top |
|
 |
Karrie
Joined: 22 May 2003 Posts: 1
|
Posted: Thu May 22, 2003 7:03 pm Post subject: |
|
|
That's a great hack! It worked perfectly
This was only my second hack install attempt and I thought it was pretty easy and painless. |
|
Back to top |
|
 |
epolady
Joined: 30 Jul 2002 Posts: 800 Location: Texas
|
Posted: Thu May 22, 2003 11:21 pm Post subject: |
|
|
Thank you so much for this! I haven't officially used it yet (will tonight), but installation was a breeze and no errors whatsoever. Thank you again!  |
|
Back to top |
|
 |
mandee
Joined: 24 May 2003 Posts: 1
|
Posted: Sat May 24, 2003 5:16 am Post subject: |
|
|
I found this link off Gyrl.net, and I just want to say Dodo, this hack is amazing  |
|
Back to top |
|
 |
xytx
Joined: 24 May 2003 Posts: 48
|
Posted: Sat May 24, 2003 9:29 pm Post subject: |
|
|
this didnt work for me... any suggestions? |
|
Back to top |
|
 |
epolady
Joined: 30 Jul 2002 Posts: 800 Location: Texas
|
Posted: Sat May 24, 2003 10:22 pm Post subject: |
|
|
xytx wrote: | this didnt work for me... any suggestions? |
What errors are you getting? |
|
Back to top |
|
 |
xytx
Joined: 24 May 2003 Posts: 48
|
Posted: Sat May 24, 2003 10:24 pm Post subject: |
|
|
i get like mess up on b2header.php line 4 or someting i deleted it so i dont actually remember what i had. |
|
Back to top |
|
 |
epolady
Joined: 30 Jul 2002 Posts: 800 Location: Texas
|
Posted: Sat May 24, 2003 10:33 pm Post subject: |
|
|
Try uploading a fresh b2header.php and do Step 2 in the plugger hack instructions again. |
|
Back to top |
|
 |
Mellissa
Joined: 17 Nov 2002 Posts: 29 Location: Malaysia
|
Posted: Sun May 25, 2003 6:01 am Post subject: |
|
|
Great hack Dodo! Thanks! |
|
Back to top |
|
 |
kalinda
Joined: 11 Apr 2003 Posts: 8
|
Posted: Sun May 25, 2003 1:23 pm Post subject: |
|
|
This hack is so awesome Dodo. Thanks a LOT. |
|
Back to top |
|
 |
Mo
Joined: 20 Apr 2003 Posts: 4 Location: California
|
Posted: Mon May 26, 2003 6:16 am Post subject: |
|
|
Very cool hack, Dodo. Very simple to install. Thanks a lot!  |
|
Back to top |
|
 |
|