Search Results for 'bbpress'
-
Search Results
-
Topic: Auto-post plugin
Hi. I’m looking for a plugin to perform a very simple action: everytime a new forum and/or topic is posted on my site, it is auto-posted to Facebook and Twitter.
Anyone? Thanks!
I’m using:
WP 3.8.1
bbPress 2.5.3-5249Hello,
I added the follwoing code to functions.php
add_action( ‘init’, ‘blockusers_init’ );
function blockusers_init() {
if ( is_admin() && ! current_user_can( ‘administrator’ ) &&
! ( defined( ‘DOING_AJAX’ ) && DOING_AJAX ) ) {
wp_redirect( bbp_user_profile_link( bbp_get_current_user_id() ) );
exit;
}
}This redirects users to http://www.mydomainame.org/wp-admin/profile.php
and displays a link to their BBPress Profile.
Question is, how do I redirect users directly to to their BBPress profile?This is probably something very simple, but I am not a developer unfortunately.
Thanks for your help.
Topic: Url Creation
Hello
I have successfully migrated my forum from PHPBB to bbpress, but i have encountered a problem that i do not know how to result thisExample
If you visit this topic http://www.bushcraft-pt.org/?topic=leather-work-by-jpgrilo and try to click on button of the page 16 it will return an error “This is somewhat embarrassing, isn’t it?
It seems we can’t find what you’re looking for. Perhaps searching can help.”
I have found that the software is malforming the url. Instead of this http://www.bushcraft-pt.org/?topic=leather-work-by-jpgrilo&paged=16 he is generating this
http://www.bushcraft-pt.org/?topic=leather-work-by-jpgrilo6.
The strange thing is, if i click in the button referring the page 2 everything works fine.
How can i result this problem, any ideas?WordPress 3.8.1 running Twenty Twelve theme.
bbpress Version 2.5.3Thank you in advance
JoaoHi,
Here’s my situation. I have a site with several forums. Let’s call them Forum A, B and C. All users to the site can view Forum A. Through other actions that happen on the site users collect points. At a certain point total Forum B becomes available. At another point total Forum C becomes available. There is an external webservice I can call to see if the user has the appropriate number of points for the relevant Forum.
As far as I can tell, bbPress doesn’t have the built in capability to handle that particular permissions scenario so I’m building a plugin. My plugin is hooking on the “user_has_cap” filter to determine whether a user can see a particular forum. I don’t want to make an external webservice call on every single current_user_can() call that gets made during a page load, so in my hook function I want to immediately check to see if the current request is a Forum page.
For example, if the requested page was “http://localhost/wordpress/forums/forum/forum-b/” then being able to get the pagename “forums” it would allow me to jump out of my hook function immediately if the request wasn’t for a forum page or topic. Below is a copy of code/pseudocode for what I’m doing in the plugin.
function forum_lock_check($allcaps, $cap) { if (pagename != "forums") return $allcaps; if (webservice says I can) { $allcaps["can-view-forum"] = true; } return $allcaps; } add_filter("user_has_cap", "forum_lock_check", 10, 3);Is there a wordpress or bbpress function that gives me the pagename the forum is attached to? Of course, if there is an easier way to do what I want, I’m all ears for that as well. Thanks for any help you can give me.
Topic: Edit Menus Problem
Topic: bbPress Login Widget
Hi there,
I get a weird error msg when hitting the submit button when opening a new topic. I get a white screen that says: “http://forum.dvud.de/members/tanya-quintieri/
Warning: Cannot modify header information – headers already sent by (output started at /var/www/web86/html/forum/wp-content/plugins/bbpress/includes/topics/template.php:1541) in /var/www/web86/html/forum/wp-includes/pluggable.php on line 896”When I hit refresh in my browser, the forum shows up.
All my versions are the newest. I just installed everything today.
Thanks,
TanyaHi, We are looking to create a website that will be somewhat forum based. It would allow both consumer and vendor to post/interact with each other. There would be a fee charged on both ends. Is it possible to charge a fee for registration on forums?
Do you think it is possible using any plugin on BBPress?