Forum Replies Created
-
In reply to: PHP 5 and “500 Internal Server Error”
Do you know how to make a phpinfo file?
Make one in the same directory as bbPress and access it so we can see if there are errors or what the native settings are.
In reply to: PHP 5 and “500 Internal Server Error”Is your host dreamhost?
In reply to: Plugin Approvalmdawaffe will typically approve it in a few days but he’s been very busy with the WordPress 2.7 release so it might be a little longer than that right now.
In reply to: Change Post Author?I have a bit of code that does an ajax-ish drop down of all members and adding something up near the topic meta area is really easy but I still don’t understand why you’d want to change the author of a topic on a regular basis?
In reply to: “Advanced” search options — where and what are they?I am making good progress re-organizing my old code and debugging some quirks despite it’s complexity and should have something for everyone to play with over the weekend.
In reply to: counting forumsupdate: there is a better version a few posts down
I had worked this out this quick and dirty routine but then I realized you might mean not to show it within the forum list. If you mean something different let me know.
In front-page.php
Change
<?php while ( bb_forum() ) : ?>
to
<?php
forum_totals("init");
while ( bb_forum() ) :
forum_totals();
?>and then this after the end of the forum list routine
<?php endwhile; ?>
to this
<?php
endwhile;
forum_totals("finish");
?>This is the main function you can just drop at the bottom of front-page.php
<?php
function forum_totals($x="") {
static $last_parent,$total_posts,$total_topics,$all_topics,$all_posts,$total_counter,$all_counter;
if (function_exists('bb_get_forum_is_category')) {$category=bb_get_forum_is_category();} else {$category=false;}
if ($x=="init") {$last_parent=false; $total_topics=0; $total_posts=0; $all_topics=0; $all_posts=0; $total_counter=0; $all_counter=0; return;}
if ($x=="finish" || $last_parent!==$GLOBALS['forum']->forum_parent || $category) {
if ($last_parent!==false && $total_counter>1) {echo "<tr><td align='right'>$total_counter subforums:</td><td class='num'>$total_topics</td><td class='num'>$total_posts</td></tr>";}
$last_parent=$GLOBALS['forum']->forum_parent; $total_topics=$GLOBALS['forum']->topics; $total_posts=$GLOBALS['forum']->posts;
$total_counter=0;
} else {$total_topics+= (int) $GLOBALS['forum']->topics; $total_posts+=(int) $GLOBALS['forum']->posts;}
$all_topics+= (int) $GLOBALS['forum']->topics; $all_posts+=(int) $GLOBALS['forum']->posts;
if ($x=="finish") {echo "<tr><td align='right'>$all_counter total forums:</td><td class='num'>$all_topics</td><td class='num'>$all_posts</td></tr>";}
elseif ($category) {$last_parent=false;} else {$all_counter++; $total_counter++; }
}
?>In reply to: “Advanced” search options — where and what are they?Since the results would be part of your page, you can add ads just like any other template.
In reply to: “Advanced” search options — where and what are they?Chris, try dealing with a forum with hundreds of thousands of posts, with many poorly tagged topics – also, newbies won’t bother to look for previous topics with help on what they need unless it’s dead simple and familiar to find.
Google has no context awareness in it’s search, topic age, poster, etc. It also won’t have the newest posts from the past 24 hours or more.
In reply to: Will I be able to switch Vbulletin?There are bbpress sites running with hundred of thousands of posts, and at least one with over a million posts. You won’t need to switch to vbulletin unless you want to for some other reason.
In reply to: “Advanced” search options — where and what are they?Eh don’t defend bbPress – it’s the same problem with WordPress. They’ve never had a good search because writing a good search is hard and takes time from other needed things.
I haven’t released the search because after working on it for a week it became so overly complex that debugging parts of it was taking way too much time. When that happens I get mad and then usually re-write things from scratch.
I think my biggest mistake was I tried to make the layout template-able, so you could move stuff around. That added way too much code and logic problems. And then there was the wordpress awareness, more code.
I might just make a simpler version of it. I may just copy some of the vbulletion search layout since it’s very logical. Maybe I’ll have something by the end of the coming weekend if I have enough time.
In reply to: To bbPress or to WordPressThe approach Digg uses is very simple and would not need such an advanced plugin like “promote to front page”.
All you need to mimic Digg is allow voting on topics and then replace the part of your front page that shows the latest-discussions with the list of topics by highest rank.
In fact there is already a topic voting plugin that does that, you’d just have to edit your front-page layout. You could then go further like Digg does and restrict highest rated by date – 24 hours / 7 days / 30 days / all time
In reply to: bbOrg?I keep a mirror here:
In reply to: “Advanced” search options — where and what are they?bbPress’s search is horrible (also in WordPress).
There essentially is no advanced search at all.
I have a Super-Search plugin that I’ve never finished and may go back one day to look at it when I have some time.
In reply to: Email link to a topic ???This would be a straightforward plugin to write.
Lester Chan’s plugin is over 100k which is insane for such a simple task.
In reply to: Emoticons For bbPress?See this part of the plugin, you need to change the
bb_add_filter
andbb_add_action
to just
add_filterand
add_action`/******************************************************************************
* - Define for bbPress interface
*****************************************************************************/
$bbemoticons = & new bbEmoticons();
bb_add_filter('post_text', array(&$bbemoticons, 'convert_smilies'));
//bb_head is not called always.
//bb_add_action('bb_head', array(&$bbemoticons, 'bb_grins_head'));
bb_add_action('bb_feed_head', array(&$bbemoticons, 'bb_grins_head'));
bb_add_action('bb_grins', array(&$bbemoticons, 'bb_grins'));In reply to: Emoticons For bbPress?See this part of the plugin, you need to change the
bb_add_filter
andbb_add_action
to just
add_filterand
add_action`/******************************************************************************
* - Define for bbPress interface
*****************************************************************************/
$bbemoticons = & new bbEmoticons();
bb_add_filter('post_text', array(&$bbemoticons, 'convert_smilies'));
//bb_head is not called always.
//bb_add_action('bb_head', array(&$bbemoticons, 'bb_grins_head'));
bb_add_action('bb_feed_head', array(&$bbemoticons, 'bb_grins_head'));
bb_add_action('bb_grins', array(&$bbemoticons, 'bb_grins'));In reply to: bbpress smilies plugin questionsThere is no
bb_do_action
, onlydo_action
.bb_do_action
has been removed.Are you talking about the plugin created in this thread:
https://bbpress.org/forums/topic/emoticons-for-bbpress
Why not post your question there, where it will actually be relevant?
bbPress Plugin Index, N – Z
– N –
– O –
– P –
- Page links for bbPress
- Plugin browser for bbPress
- PollDaddy for bbPress
- Post Count
- Post Count Plus – Dynamic Titles, Colors & More!
- Post count titles for bbPress
- Post Edit Look Behind
- Private Forums
- Private Messaging
– Q –
– R –
- Read-Only Forums
- reCAPTCHA for bbPress
- Recent Posts
- Related Topics
- Report Post
- Reputation (Karma) for bbPress
- Restrict registration for bbPress
– S –
- Show Top Posters
- Simple Google Adsense
- SMTP mailer for bbPress
- Sphere related content for bbPress
- Spoiler Tags
- Support Forum
– T –
– U –
- Unread Posts
- Unread Topics
- Use Display Name
- User Languages
- User Photo
- User Timezones
- Usernames I18N Fix
– W –
– Y –
bbPress Plugin Index, A – M
– A –
- Accurate Post Time
- Add Titles to Replies
- Admin add user
- Admin Can Post Anything
- Admin Drop Menus
- Admin Instant Menus
- Ajaxed Quote
- All Settings
- Allow Images
- Approve User Registration
- Automated Forum Moderation
- Avatar
- Avatar Upload
– B –
- BB Anonymous Posting
- bb Gzip
- BB Moderation Hold
- BB Scrippets
- bb SVN Tracker
- bb Topic Views
- bb-avatars
- bb-emoticons
- bb-Lightbox2
- bb-myAvatars
- bb-NoSpamUser
- bb-Scripture-Links
- bb-twitter
- BBcode Buttons
- BBcode Lite for bbPress
- bbFlickr 0.1
- bbPages
- bbPress Attachments
- bbPress Benchmark
- Bbpress Latest Discussion
- bbPress Polls
- bbPress Signatures
- bbPress Sitemap Generator
- bbPress Smilies
- bbPress Theme Switcher
- bbPress Username Extended
- bbPress-Mobile
- BBPress:Live Comment
- BBPress:Syntax Hiliter
- bbRatings
- bbRusToLat
- bbSocialize
- bbSync
- bbVideo
– C –
– D –
– E –
– F –
- Fix Admin Access
- Fix bbPress
- Force Login
- Forum is category
- Forum Last Poster
- Forum Redirector
- Forum Restriction
- Forums Moderators
- Front Page Topics
– G –
– H –
– I –
– L –
– M –
In reply to: Sharing Comments Between bbPress & WordPressAsk this on the bbSync plugin page.
In reply to: Replies not showing here immediately upon refreshMichael is very busy on WordPress 2.7 now and Sam has been away so I am sure they will look at it when they can.
In reply to: Can anybody help me?You can make bbPress look like WordPress and simply be installed at /forums/ on your website. But bbPress will never be a plugin, it’s way too complex for that and has it’s own structure.
Because bbPress 1.0 uses BackPress (parts of WordPress), when WordPress starts to use the same common core, it will one day be far easier to integrate the two. But that day is at least a year away.
In reply to: Replies not showing here immediately upon refreshYes I’ve observed the same problem.
At first I though it was db sync, since Automattic uses three different datacenters with sync’ed mysql.
But now I think instead it’s bad no-caching headers of some kind. bbPress sends nocache headers to prevent the old page from reloading after a post. It’s possible that’s been broken somehow.
In reply to: To bbPress or to WordPressOne plugin that I’ve been meaning to create for quite some time is a “promote to front page” tool where admin can mark a topic for special promotion, with their own custom summary that superceeds the title and first post and replaces (or suppliments) the Latest Discussions on the front page with the list. The list could then be re-ordered even further, independent of topic time.
I think such a plugin would change how bbPress is used in a positive way. Just can’t decide how to best interface it with how topics work and how to give the admin full access to existing formatting tools and other plugins within the summaries. It would probably be mostly like Wiki Post.