boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

b2commenter.plugger.php :)
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    boardom Forum Index -> Hacks
View previous topic :: View next topic  
Author Message
billy



Joined: 05 Jul 2003
Posts: 39

PostPosted: Sun Aug 17, 2003 2:00 pm    Post subject: Reply with quote

dodo rocks. shes amazing at php. thanks for the hack Smile
Back to top
View user's profile Send private message
megs



Joined: 20 Aug 2003
Posts: 2

PostPosted: Wed Aug 20, 2003 10:36 pm    Post subject: Reply with quote

I'm ok until I get to the step where I have to open up ' b2-include/b2menutop.php'. It says the file cannot be found, or something like. Anybody have any suggestions for me?
_________________
<3 Megan
http://www.she-flirts.org
Back to top
View user's profile Send private message Visit poster's website
epolady



Joined: 30 Jul 2002
Posts: 800
Location: Texas

PostPosted: Wed Aug 20, 2003 10:40 pm    Post subject: Reply with quote

What says "file cannot be found" ?

Open b2menutop.php in a text editor (not a browser window or anything like that).
Back to top
View user's profile Send private message
megs



Joined: 20 Aug 2003
Posts: 2

PostPosted: Wed Aug 20, 2003 11:37 pm    Post subject: Reply with quote

oh ok. I was trying to open it in the templates section at the bottom. lol, I guess its been a long day :/
_________________
<3 Megan
http://www.she-flirts.org
Back to top
View user's profile Send private message Visit poster's website
monkey me



Joined: 08 Aug 2003
Posts: 33

PostPosted: Tue Aug 26, 2003 6:57 am    Post subject: Reply with quote

That is very weird. I installed this hack, and when I tried to use it under b2edit, it told me it was forbidden. Everything was done right and uploaded correctly, so for shits and giggles I decided to try changing the name to b2commenterplugger.php, taking out the . in the middle. I changed what needed to be changed accordingly, and now it works. Is my server picky or what?
Back to top
View user's profile Send private message
epolady



Joined: 30 Jul 2002
Posts: 800
Location: Texas

PostPosted: Tue Aug 26, 2003 7:41 am    Post subject: Reply with quote

Hi Monkey, what I noticed about the other problem you had is that you're host is using PHP version 4.2.2 (or 4.2.3 I can't remember), while the newest version is 4.3.3; so that could be the reason why you're were having the troubles that you had.
Back to top
View user's profile Send private message
monkey me



Joined: 08 Aug 2003
Posts: 33

PostPosted: Tue Aug 26, 2003 7:53 am    Post subject: Reply with quote

Oh... well everything's fixed now. With much frustration and fiddling with crap... everything except that smilies hack problem thing. But that's no big deal. Doesn't effect the way my page loads or any of that so I'm not going to even bother with it.
Back to top
View user's profile Send private message
Midori



Joined: 06 Oct 2003
Posts: 3
Location: H-town

PostPosted: Mon Oct 27, 2003 3:24 am    Post subject: Reply with quote

I installed it all, and it all went well, but when I opened up the pop-up, it wouldn't work. I typed in "13" for the entry (which did exist), put a comma in the seperator field, and checked the "alphabetize authors" blank. But what came out was this:

Code:
<br />
<b>Warning</b>:  ksort() expects parameter 1 to be array, null given in <b>/home/dnet/public_html/midori/b2/b2commenter.plugger.php</b> on line <b>79</b><br />
<br />
<b>Warning</b>:  array_keys(): The first argument should be an array in <b>/home/dnet/public_html/midori/b2/b2commenter.plugger.php</b> on line <b>80</b><br />


When I don't check the alphabetize box, nothing happens at all (even when there were commentors)

Please help... I'm so knew with b2. .__."

I might have installed something incorrectly before. This may have something to do with my MySql database. At the top of the page, it always says:
Code:
 SELECT * FROM midorib2posts WHERE 1=1 ORDER BY post_date DESC LIMIT 0,10
When you view my blog, you can't see most of it because I div positioned the image. But here's the url of the blog: http://midori.doiz.net. The url to the b2commentor.plugger.php is http://midori.doiz.net/b2/b2commenter.plugger.php

Thanks a lot
_________________
Whee.
Back to top
View user's profile Send private message Visit poster's website
Kristy



Joined: 15 Nov 2003
Posts: 4

PostPosted: Mon Nov 17, 2003 12:46 am    Post subject: Reply with quote

I don't get it....I'm stupid I guess. I did the stuff, but it didn't plug people. Is there some code I'm supposed to put after the blog to make it plug?
Back to top
View user's profile Send private message
Jacqueline



Joined: 16 Nov 2003
Posts: 4
Location: Canadar

PostPosted: Mon Nov 17, 2003 10:31 pm    Post subject: Reply with quote

Kristy: When you log into your b2, do you see where it says "Commenter Plugger"? It's beside "Post/Edit" on the blue bar. Just click on the Commenter Plugger and a pop up will come up where you can modify the plugs and stuff, and then you can just copy and paste the links into your blog entry Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
Kristy



Joined: 15 Nov 2003
Posts: 4

PostPosted: Tue Nov 18, 2003 11:38 pm    Post subject: Reply with quote

Jacqueline wrote:
Kristy: When you log into your b2, do you see where it says "Commenter Plugger"? It's beside "Post/Edit" on the blue bar. Just click on the Commenter Plugger and a pop up will come up where you can modify the plugs and stuff, and then you can just copy and paste the links into your blog entry Smile

See it Smile I just found it before coming here-and I came here to ask, I don't get what to enter in like the big box and all the mini boxes. I am an idiot. Help the idiot?

edit the idiot figured itout all by herself Smile thats cool, must suck if you get like 400 comments tho![/b]
Back to top
View user's profile Send private message
sarah_kabam



Joined: 28 Sep 2003
Posts: 6

PostPosted: Thu Dec 04, 2003 10:18 am    Post subject: Reply with quote

eek! i get this when i tried logging in!! what'd i do wrong???

Code:

Parse error: parse error in /home/sarah127/public_html/yum/b2header.php on line 83
Since you're a newcomer, you'll have to wait for an admin to raise your level to 1, in order to be authorized to post.
You can also e-mail the admin to ask for a promotion.
When you're promoted, just reload this page and you'll be able to blog. :)


Warning: main(/b2edit.showposts.php): failed to open stream: No such file or directory in /home/sarah127/public_html/yum/b2edit.php on line 336

Warning: main(): Failed opening '/b2edit.showposts.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sarah127/public_html/yum/b2edit.php on line 336

Warning: main(/b2footer.php): failed to open stream: No such file or directory in /home/sarah127/public_html/yum/b2edit.php on line 342

Warning: main(): Failed opening '/b2footer.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sarah127/public_html/yum/b2edit.php on line 342


help help help!!!!!
Back to top
View user's profile Send private message
broken hearts



Joined: 07 Dec 2003
Posts: 1

PostPosted: Sun Dec 07, 2003 9:29 pm    Post subject: Reply with quote

is it possible to use this with wordpress? I got through all the editing until it said
Quote:
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="javascript:commenter()" class="menutop">Commenter Plugger</a><?php echo $sep ?>


I have the b2menutop.php file, but i can't find where to add in that code. The file is
Code:
<h1 id="wphead"><a href="http://wordpress.org"

rel="external"><span>WordPress</span></a></h1>
<ul id="adminmenu">
<?php
$menu =

file("./b2menutop.txt");
$continue = true;
foreach ($menu as $item) {
   $class = '';
   

$item = trim($item);
   if ('***' == $item) $continue = false;
   if ($continue) {
      

$item = explode("\t", $item);
      // 0 = user level, 1 = file, 2 = name
      

if (substr($PHP_SELF, -6) == substr($item[1], -6)) $class = ' id="current"';
      

if ($user_level >= $item[0]) echo "\n\t<li><a href='{$item[1]}'$class>{$item[2]}

</a></li>";
   }
}

?>

   <li><a href="javascript:profile(<?php echo $user_ID ?>)">My

Profile</a></li>
   <li><a href="<?php echo "$siteurl/$blogfilename"; ?>">View

site</a></li>
   <li id="last"><a href="<?php echo $siteurl ?>/b2login.php?

action=logout">Logout (<?php echo stripslashes($user_nickname) ?>)</a></li>
</ul>
<br

clear="all" />

<h2 id="top"><?php echo $title; ?></h2>
Back to top
View user's profile Send private message
sarah_kabam



Joined: 28 Sep 2003
Posts: 6

PostPosted: Mon Dec 08, 2003 9:57 am    Post subject: Reply with quote

please somebody help me!!!! i can't log in!!!
Back to top
View user's profile Send private message
sasha.



Joined: 02 Jan 2004
Posts: 1
Location: Hong Kong

PostPosted: Fri Jan 02, 2004 6:44 pm    Post subject: Reply with quote

Dodo, you ROCK at scripts! Thanks a billion! Very Happy
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Hacks All times are GMT + 1 Hour
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
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