Search Results for 'code'
-
Search Results
-
I would like it so that visitors see the latest post from 2 of my forums on the default page. Is there some code to allow me to do this?
Just wanted to let everyone know that I’ve released my Search bbPress 2.0, a unified search plugin. It has the following features:
* Unified search extends WordPress native search to bbPress 2.0 content
* Corrected hyperlink search results to the actual forum/topic/reply so that users can participate in the forum right away.
* Fixes bbPress login widget typo for all languages (the Log in button)
I’ve had this on my site for a while for testing (it is working great!) but have just submitted it to the WordPress.org repository. Hopefully if will appear soon. I also submitted a bug report to bbPress trac about the typo and how I performed search a while back (but a little too late for 2.0 release), so hopefully these items will be corrected / become native in future releases! Rather then wait for the repository, feel free to download it from my new site (free):
http://serverpress.com/products/search-bbpress/
If you like it, please let others know and/or tweet about it! My site is brand new, so any traffic would be greatly appreciated. Donations would be to just take a moment to review my other wares.

Thanks!
Steveorevo
Topic: [bbp-topic-index] options?
On my bbp forum at pacificbeach dot me I’m trying to sort forums by order id as I assigned them when creating the forums. The primary forums sorted properly but, sub-forum ordering seems to be ignored. It’s not helpful for there to be any kind of auto-sorting i.e. based on sub-forum popularity.
On this same page it would be great if I could have the bbp-forum-description, currently listed under the sub-forums, to be shown under the bbp-forum-title.
How can I list the sub-forums in a single line order – as even though it eats up more room my users aren’t going to easily figure out how the current listing works.
Lastly, I’d really like to have the ‘Remember Me’ phrase be inline with the checkbox and cannot for the life of me figure out how to do that. I’ve been through every stylesheet so many times I think I can quote some of them :p
I’ve spent a good, solid eight hours on these issues so am at a loss
and would really appreciate the help.Thanks.
Hi, I recently install bbpress on my site. I created a login using the shortcodes but for one it prompts that you can’t register and also if you do sign in using my admin it will show already signed in and will not go to the forum. For the forum I cannot find a way to connect it to a page either. Perhaps if anyone could shed some light on this that would be great. Thank you very much
I am adding a number of new options to bbPress and want to add the user inputs to the bbPress options page. Instead of messing around with the default options page, I simply want to add a few tabs to the page where I can add my options.
I do know how to do this when writing my own page from scratch, but do not yet know how to add tabs and options to an existing bbPress options page.
example of what I am talking about:
http://digitalraindrops.net/2011/02/tabbed-options-page/
Can anyone point me to a plugin, or code snippet that would show me how to extend the bbPress options page with tabs and options?
thnx


Hello,
On my current homepage, I was displaying 3 comments at a time per blog post by using the following code :
<?php
$number=3; // number of recent comments desired
$post_id = get_the_ID();
$comments = $wpdb->get_results(“SELECT * FROM $wpdb->comments WHERE comment_post_ID=$post_id AND comment_approved = ‘1’ ORDER BY comment_date_gmt DESC LIMIT $number”);
?>
<?php if ($comments) :
foreach ( (array) $comments as $comment) :
echo ‘<div class=”ddcomment”>’;
echo ‘<p>‘, comment_author() . ‘ says:</p>’;
echo comment_text();
echo ‘</div>’;
endforeach;
endif; ?>
This code works perfectly in displaying my comments on the homepage. However, I’ve decided to add bbpress forums and sync my topics with my posts.
If you add a reply now to a post, it is not reflected on the homepage comments (since it is a reply from bbpress, not a wp comment). I am trying modify this code so I can pull the correct replies for that particular Post or Topic ID, since it is now synced together.
The site is currently located at http://www.propaintball.tv
Is there a specific database query I can use to replace my $comments variable with the topic replies? Thank You for your help!