Search Results for 'code'
-
Search Results
-
I tried to upgrade my bbPress forum from version 1.0.2 to 1.2, following the method described on this topic: http://bbpress.org/forums/topic/upgrade-bbpress-1-0-2-to-2-1-2/page/2/#post-127780. But when I get in my control panel and try to upgrade my database clicking on the indicated button i get a 500 Internal Sever Error Message, given by the following error on my error log:
[Mon Aug 12 21:23:48 2013] [warn] [client 127.0.0.1] mod_fcgid: read data timeout in 71 seconds, referer: http://XXXXXX/forum/bb-admin/upgrade.php
[Mon Aug 12 21:23:48 2013] [error] [client 127.0.0.1] Premature end of script headers: upgrade.php, referer: http://XXXXXX/forum/bb-admin/upgrade.phpI really need a little help.
I have a phpBB (3.0.11) forum since many years. After a good clean up, I am down at these stats
1 200 members
18 000 subjects
52 000 answersMy urls looks like this
http://www.mysite.com/forum/viewtopic.php?f=8&t=27944In Google i get 280 000 results if I type this
“mysite.com/forum/viewtopic.php”I am feeling this forum software (thanks for all these nice years!) gets behind the actual social life these years so I am looking to change for another forum (hopefully with Facebook login!)
What will happen if I decide to switch to installing bbPress into my actual WordPress ? I have read the codex, but doest my urls and so my results in google would all be lost (as I can’t see how a rewrite redirect url could work here anyway) ?
Probably best directed at @johnjamesjacoby, any suggestions welcome!
Already read your post here (love the concept, makes sense) and have a question : http://bbpress.org/forums/topic/roles-and-capabilities-in-bbpress-2-2/
I’m the developer of Events Manager and in this plugin you can assign custom capabilities to existing roles. Unfortunately your recent update regarding caps is preventing our plugin from adding custom caps to your roles.
I’ve figured out a way around this, but this requires at least 1 extra database query each instance since I can’t load wp_user_roles via get_option due to your hooks.
function em_bbp_get_caps_for_role( $caps, $role ){
global $em_capabilities_array, $wpdb;
//get the non-dynamic role from the wp_options table
$roles = maybe_unserialize($wpdb->get_var("SELECT option_value FROM {$wpdb->options} WHERE option_name='wp_user_roles'"));
//loop through the original role if it exists and add our em caps to the bp role
if( !empty($roles[$role]) ){
foreach($roles[$role]['capabilities'] as $cap_name => $has_cap ){
if( array_key_exists($cap_name, $em_capabilities_array) ){
$caps[$cap_name] = $has_cap;
}
}
}
return $caps;
}
add_filter('bbp_get_caps_for_role', 'em_bbp_get_caps_for_role', 10, 2);
What it does is load our caps into your caps by referencing the original wp_user_roles array
So, my questions are:
- Is there a better way to do this, preferably avoiding extra DB queries?
- Since you seem to be assigning a second role to the user, would an alternative solution be to prevent EM from assigning caps to bbpress user roles and let the primary/secondary role inherit the relevant caps?
thanks for reading!
Hi,
I would like to make the forum name part of the topic dynamic.
I like to have
forum/name-of-forum/topic-titlewhere the “name-of-forum” should relflect the name of the forum the topic is in
but I get:
forum/topic/topic-titlewhere the “topic” part is fixed.
Is there a plugin? Do I have to code?
Any help is appreciated ๐
Hi,
I’m currently trying to adjust the styles of my bbpress install and am running into a bit of difficulty. I’m running bbPress 2.3.2 and WP 3.6, using my own theme which is based on “Twenty Twelve.”
I noticed some big spaces in the header on each page and went to reduce the space. It turns out there are a bunch of different paragraph tags in the header for each “topic” on my site, but these tags do not appear on example sites listed on bbpress.org.
This first snippet is the code I’d like to have so I can style it (taken from http://www.dalluva.com/member-area/forums/topics/resources-where-to-get-your-sommelier-certification/):
<li class=”bbp-header”>
<div class=”bbp-reply-author”>Author</div><!– .bbp-reply-author –>
<div class=”bbp-reply-content”>Posts</div><!– .bbp-reply-content –>
<!– .bbp-header –>This is what my site is generating:
<li class=”bbp-header”>
<div class=”bbp-reply-author”>Author</div><p><!– .bbp-reply-author –></p>
<div class=”bbp-reply-content”><p>Posts</p></div><p><!– .bbp-reply-content –></p>Why is my site putting paragraph tags around the comments, as well as the word “Posts”? Any help is greatly appreciated.
Benjamin
Topic: AEF Import to bbPress
Introduce Forum Importer template for use with importing from AEF (Advanced Electron Forum) v1.0.x (Tested on v1.0.9)
http://codex.bbpress.org/import-forums/ & โโhttp://codex.bbpress.org/import-forums/aef
Working: Forums, Topics, Replies & Users
Not Working Yet: User Passwords & Custom BBCode for Topic & Reply ContentAttached to bbPress Trac Ticket #2384 is the 1st pass patch for AEF importing into bbPress.
To test the importer download the latest patch from the link above and copy/ftp the file into the /includes/admin/converters/ folder of your bbPress plugin.
I hope to get the remaining outstanding items done ASAP.
(User passwords will be a little trickier and will take a bit more time)Any feedback and/or testing that you can provide will help me out tremendously.
Cheers,
Stephen ๐
Topic: FluxBB Import to bbPress
Introduce Forum Importer template for use with importing from Phorum v5.2.x (Tested on v5.2.19)
http://codex.bbpress.org/import-forums/ & โโhttp://codex.bbpress.org/import-forums/fluxbb
Working: Forums, Topics, Replies & Users
Not Working Yet: User Passwords & Custom BBCode for Topic & Reply ContentAttached to bbPress Trac Ticket #2383 is the 1st pass patch for FluxBB importing into bbPress.
To test the importer download the latest patch from the link above and copy/ftp the file into the /includes/admin/converters/ folder of your bbPress plugin.
I hope to get the remaining outstanding items done ASAP.
(User passwords will be a little trickier and will take a bit more time)Any feedback and/or testing that you can provide will help me out tremendously.
Cheers,
Stephen ๐
Topic: Phorum Import to bbPress
Introduce Forum Importer template for use with importing from Phorum v5.2.x (Tested on v5.2.19)
http://codex.bbpress.org/import-forums/ & โโhttp://codex.bbpress.org/import-forums/phorum
Working: Categories, Forums, Topics, Replies & Users
Not Working Yet: User Passwords & Custom BBCode for Topic & Reply ContentAttached to bbPress Trac Ticket #2382 is the 1st pass patch for Phorum importing into bbPress.
To test the importer download the latest patch from the link above and copy/ftp the file into the /includes/admin/converters/ folder of your bbPress plugin.
I hope to get the remaining outstanding items done ASAP.
(User passwords will be a little trickier and will take a bit more time)Any feedback and/or testing that you can provide will help me out tremendously.
Cheers,
Stephen ๐
Hi,
I was hoping that someone could tell me if there is there a way to display a list of child forums for specific parent using a shortcode?
For example, I have a number of private member forums that visitors need to login to view. I want to have a page that they visit to logon with the list of private forums below.
http://www.blueclouditsolutions.com/asap/
Wordpress version: 3.6
bbpress version: 2.3.2Thanks for your help.
Steve.
