Search

bbPress Showcase » Plugins by _ck_

  1. circulartrend
    User has not uploaded an avatar

    junior member
    Joined: Aug '09
    Posts: 8

    offline

    Hi there!

    I have previously posted this on the bbpress forums but they tend to get lost in a sea of posts.

    Anyway. I was trying to figure out how to get forum last poster to work on the main forum categories. I installed the plugin, but it was locking me out of the forums and the admin page.

    I upgraded to 9.0.6 from 0.4. I thought that helped the plugin, but after a few mintues it locked me out again. The forums nor the admin would load with that plugin installed. I had to remove it so it would load again.

    I only have CK plugins installed accept for "page links" but I installed that after I tried getting the forum last poster to work and couldn't get it to work (so I removed it). I mean it worked, but for some odd reason after a few minutes, the message board nor the admin seems to load at all. Bbpress is also joined with word press version 2.5.1.

    Not sure what else to do! I would really appreciate some help with this weird issue.

    I am slightly confused on where to add (in the code) the columns to put the icons in their own column. I know the pages based on the readme, but not sure where to put the columns in the code.

    Also is there any way to make the main forum categories have their own icon and the actual topics within those sections to have a different icon?

    Thanks for any help!

    Posted 2 years ago #
  2. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 908

    offline

    Do you happen to have a great deal of posts on your forum?
    Are you running in a strange environment like windows?
    Are you on a shared host that may be locking out your mysql?

    I've never seen your problem before so it's impossible to diagnose.

    Posted 2 years ago #
  3. circulartrend
    User has not uploaded an avatar

    junior member
    Joined: Aug '09
    Posts: 8

    offline

    Uhm, lets see...

    Our site is listed in the top 100. Ghostdroppings.com/bbpress, it says we have 71,246 posts.

    I am not sure if its running on windows or not? I have the mysql info which is 5.0.67, protocol version 10. Mysql client version 5.0.16. Mysql charset UTF-8 unicode ci.

    In phpmyadmin, I cannot create any new databases, but I can edit. Could that be of any issue? GD is also using dreamhost, if that helps at all. On dreamhost website it claims to use Debian Linux.

    Also if its not too much trouble. Could you explain in better detail how to add a column for the forum icons? I know you alter it in font-page.php, but I need a better idea as to what to add and where. I normally am pretty good at editing this stuff, adding code etc but the readme was slightly hard to follow.

    Btw, I greatly appreciate all the plugins you have created. They have made bbpress like 100 and 10 percent better. I hope they implement all of your ideas into bbpress and lots more. Need a plugin to display birthdays too, as in "Birthdays today: name, name" or "Happy Birthday: name, name." Again thanks for all that you have done, you have made a message board of people very happy.

    Posted 2 years ago #
  4. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 908

    offline

    Ah Dreamhost. They are always a problem, one way or another.
    Let's see if we can debug this, but it's going to be a guessing game and might take awhile.

    I found a way to make the query I use in forum-last-poster much faster - I am not certain if that will help you as it may be a different problem, but if you can give this version a try

    http://plugins-dev.bbpress.org/export//forum-last-poster/trunk/forum-last-poster.php

    Posted 2 years ago #
  5. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 908

    offline

    Your dreamhost is remarkably fast compared to what I've personally experienced on their shared hosting, are you on a VPS perhaps?

    Adding a column for forum icons should be very easy.
    You just need to add a column in the table on the front-page.php and forum.php templates

    old

    <table id="forumlist">
    
    <tr>
    	<th><?php _e('Main Theme'); ?></th>
    	<th><?php _e('Topics'); ?></th>
    	<th><?php _e('Posts'); ?></th>
    </tr>

    new

    <table id="forumlist">
    
    <tr>
    	<th width="1">&nbsp;</th>
    	<th><?php _e('Main Theme'); ?></th>
    	<th><?php _e('Topics'); ?></th>
    	<th><?php _e('Posts'); ?></th>
    </tr>

    old

    <tr<?php bb_forum_class(); ?>>
    	<td><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><small><?php forum_description(); ?></small><?php bb_forum_pad( '</div>' ); ?></td>
    	<td class="num"><?php forum_topics(); ?></td>
    	<td class="num"><?php forum_posts(); ?></td>
    </tr>

    new

    <tr<?php bb_forum_class(); ?>>
    	<td><?php forum_icon(); ?></td>
    	<td><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><small><?php forum_description(); ?></small><?php bb_forum_pad( '</div>' ); ?></td>
    	<td class="num"><?php forum_topics(); ?></td>
    	<td class="num"><?php forum_posts(); ?></td>
    </tr>
    Posted 2 years ago #
  6. circulartrend
    User has not uploaded an avatar

    junior member
    Joined: Aug '09
    Posts: 8

    offline

    Thanks so much for the topic icons help, that makes alot more sense now! I appreciate that. It works perfectly. The only issue I am wondering about is the column where the icons are, the grey on top doesn't extend all the way over. I know its not necessary, but it looks off without the grey above it like the others. http://www.ghostdroppings.com/bbpress/

    Also I changed the same thing in forum.php, however it didn't create a column for some odd reason. Trying to get each section to have its own column as well as the stickys to have a column.

    Also, is it possible to change the category icons to be different versus the icons for each topic in each category?

    I will report back about the forum last poster too.

    Posted 2 years ago #
  7. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 908

    offline

    The top isn't grey because you used TD instead of TH

    wrong <td width="1">&nbsp;</td>

    right <th width="1">&nbsp;</th>

    You can change the icon for each forum if you follow the install notes and look in the faq for how to get the forumlist.

    Posted 2 years ago #
  8. circulartrend
    User has not uploaded an avatar

    junior member
    Joined: Aug '09
    Posts: 8

    offline

    DOH! I knew it was something stupid!! Hahahaa, thanks. Its always something like that.

    As far as forum.php I added:

    <table id="forumlist">

    <tr>
    <th width="1"> </th>
    <th><?php _e('Main Theme'); ?></th>
    <th><?php _e('Topics'); ?></th>
    <th><?php _e('Posts'); ?></th>
    </tr>

    and the:

    <tr<?php bb_forum_class(); ?>>
    <td><?php forum_icon(); ?></td>

    But it won't display the column like on the main categories page. I also want the stickies to have the same column as well.

    Also randomly on a side note, do you happen to know if there is a way to space out each section? On the site http://www.ghostdroppings.com/bbpress/
    What I want to do is have general halloween to Link Mausoleum to be its own section and have a space under it. So that way off topic is its own section, than a space under that for forum/website. I dunno, the parent/subforums look odd when you make them a subforum of a parent.

    I think I have seen someone do the whole "main theme" is its own thing, than there is another "main theme" below it with those categories. I tried it before, and it messed it up royally...perhaps I did it wrong. Do you have any insight on how to do it properly?

    Forum Last Poster --
    So far so good on that! I will let you know if any issue comes up in the next 10 to 30 minutes. It took a bit last time and had some issues..I will confirm in a bit. I GREATLY appreciate your help. I don't think these forums would be as good if we didn't have your plugins. Not trying to kiss butt, im serious...the forums would be so boring without them!

    Posted 2 years ago #
  9. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 908

    offline

    Your query count for your front page is a little too high at 17, should be closer to 12, try putting this into your bb-config.php

    $bb->load_options = true;

    Posted 2 years ago #
  10. circulartrend
    User has not uploaded an avatar

    junior member
    Joined: Aug '09
    Posts: 8

    offline

    Do I put it any place in particular within the file?

    Oh btw in your online plugin, under the avatar and postcount plus, it puts a BR under the post count plus for the "online" and "offline" is there anyway I can take the space out so its right under the post count?

    Posted 2 years ago #

RSS feed for this topic

Post a reply to “Forum Last Poster & Forum Icons” »

You must log in to post.

keep _ck_ coding >> donate $5 <<     Theme Switcher:
39 users online from in the past 30 minutes. 18 bots 21 guests
3,600 views today 8,638 yesterday 16,043 peak. Most at once 47 today 60 yesterday 131 peak. Visited today: qamilon, pandoracam, lvgalliera
2,288 posts in 394 topics over 66 months by 430 of 2,165 members. Latest: qwe12345100, Janvelden, watchessaleus