Search Results for 'code'
-
Search Results
-
I would like to test code before posting since my forum has only one hour edits
I would like to be able to check for errors before posting
Joe
this link is only provided to explain what I mean
I am in no way associated with them
Well, if someone what show most recent signed up users on footer of your bbpress forum, you can use my function below:
function show_recent_users($howmany=10, $show_avatar=false){
global $bbdb;
$recent_users = $bbdb->get_results( "SELECT * FROM $bbdb->users ORDER BY ID DESC LIMIT $howmany" );
if($show_avatar){
$users = array();
foreach($recent_users as $user){
$users[0].= '<td>' . bb_get_avatar( $user->ID, 48 ) . '</td>';
$users[1].= '<td><anc href="' . get_user_profile_link($user->ID) . '">'. $user->display_name . '</td>';
}
echo "<table id='tb-users'> ";
echo "<tr>" . $users[0] . "</tr>";
echo "<tr>" . $users[1] . "</tr>";
echo "<table>";
}else{
echo "s| ";
foreach($recent_users as $user){
echo '<anc href="' . get_user_profile_link($user->ID) . '">'. $user->display_name . ' | ';
}
}
}
Replaces anc to a, of course, I used and to bbpress don’t treat it as a markup code.
To show just name uses:
show_recent_users(10);
To show gravatar and name, uses:
show_recent_users(10,true);
And now, just put the code above in top of the file footer.php that can be found on your theme
Hi guys,
First of all thanks for your continued efforts to build bbPress. I’ve followed the HowTo video and that got me up and running with the templates reasonably quickly. I created my own child theme of 2010 and re-skinned it. All seems to have worked well.
My only remaining issue so far as I can see is that there is no way for the user to know that they have registered. The email gets sent out but there really needs to be something like “Thanks for registering, you’ve been sent an email.”
On my system when you register the registration form doesn’t change so it looks like nothing happened.
Inspecting the POST submission with fiddler I can see that there’s a “redirect-to” field. I suppose that’s what I need to change to redirect and give the message, but what message should I display?… considering that the mail server could be down or something, I wonder if there’s a status code or whatever? What do you normally do?
thanks,
AndyH
PS: After trawling the forums for tips I found these plugins helpful and complimentary to a bbPress install…
Members (for fine grain permissions)
SB Welcome Email Editor (to edit the registration emails, works well)
WP-reCAPTCHA (captcha at registration)
Private Messages for WordPress (for a basic pm system)
Hello to all

I have multiple WP blogs on different domains. I would like to unite all of them in one WP MU installation. I know it’s possible and I think I can manage to pull that of.
After that, I would like to install bbPress on another X.com domain. Is it possible to connect all of the WP MU domains users with the users at bbPress? So if someone registers at bbPress can log in at any WP MU domain, and vice versa.
Actually I’m pretty sure that can be done, but I need to know how and if there would be any drawbacks to that solution? Will it remain stable and so on?
Thanks
Hi,
I’m trying to get new-topics-archive to show on my forum front page and to show all my forum pages in a simple left-aligned-sidebar structure, a structure that’s the opposite of the rest of the WP site(right-aligned sidebar).
I created a bbpress.php file with this structure, but it’s not being recognized. Instead, it’s defaulting to my template page.php file. I tried bbpress.php and forum.php, but neither works.
And once I get all that working, a shortcode on the forum front page should make it show the new-topics-archive, right? But that isn’t working either.
Any thoughts?
Topic: 2.0 widget options
Hello bbPress forum owners,
Need some help from you – we at Tapatalk (the forum app) has finally able to worked on the bbPress support and will be releasing a plugin for bbPress 1.1 soon. We are looking for testers to give it a spin on their forum, if you are a forum owners and has either iPhone/iPad or Android devices, you are welcome to join us!
Just want to gauge the interest – if you are interested, please response to this post and we will figure out the best way to move forward.
For those you don’t know what Tapatalk is, check out our website at http://tapatalk.com – Looking forward hearing from you!!