Search Results for '+.+default+.+'
-
Search Results
-
Topic: Keymaster Role not available
Hi there
I upgraded to 2.5 this morning and, after noticing that some of my users were not assigned the participant role, ran the tool to remap users to default roles.
This had the unfortunate side-effect of setting both of my administrator accounts to Participant, and removed all Dashboard related links to bbpress.
In users, when I choose “Change Forum Role to” at the top of the user list, the highest level is moderator. Keymaster is no longer there.
Am I missing something?
I tried, in PHPMyAdmin, to change the wp_capabilities table from
a:3:{s:13:"administrator";b:1;s:14:"backwpup_admin";b:1;s:15:"bbp_participant";b:1;}toa:3:{s:13:"administrator";b:1;s:14:"backwpup_admin";b:1;s:15:"bbp_keymaster";b:1;}after looking at a few posts on here. But that actually stopped access to the site until I changed it back.Can anyone help?
Thanks
After the upgrade to 2.5 there are CSS errors because the include is broken! The cause is that the programmers didn’t thought about people hosting WordPresss (and bbpress) on Windows platforms. (Windows uses a different slash and different directory root/paths).
I’m hoping for a 2.5.1 fix 😉
ERRORS:
=======Failed to load resource: the server responded with a status of 404 (Not Found) http://www.XXXXXXX.com/wordpress/wp-content/E:inetpubwwwrootXXXXXXX…esswp-contentpluginsbbpress/templates/default/css/bbpress.css?ver=2.5-5199
AND
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.XXXXXXX.com/wordpress/wp-content/E:inetpubwwwrootXXXXXXX…dpresswp-contentpluginsbbpress/templates/default/js/editor.js?ver=2.5-5199
Note that the slashes are missing from the ‘plugin_dir’ part.
I think the problem is within the “private function setup_globals” of the bbpress.php file or the “public function __construct” of the bbpress-functions.php file.
(masked my directory and sitename with XXXXXXX)
I have created two categories with forums beneath the categories. However the forum root does not display any of this. I am only able to go to each category by the direct link. Forum link is
https://birdseyeminecraft.us/wordpress/wordpressThis is still in development so excuse the sloppiness of it. Are categories in a different root the then the default one? if so where can i find it?
Hello,
I would like to know the correct method to add a filter in a child theme for a template function.
For this example lets use ‘bbp_get_user_subscribe_link()’
I would like to insert
<icon class="icon-user"></i>
into the following before the %s
<span id="subscribe-%d" %s>%s
$html = sprintf( '%s<span id="subscribe-%d" %s>%s</span>%s', $r['before'], $topic_id, $sub, $url, $topic_id, $text, $r['after'] );
of this function bbp_get_user_subscribe_link()
function bbp_get_user_subscribe_link( $args = '', $user_id = 0, $wrap = true ) { if ( !bbp_is_subscriptions_active() ) return; // Parse arguments against default values $r = bbp_parse_args( $args, array( 'subscribe' => __( 'Subscribe', 'bbpress' ), 'unsubscribe' => __( 'Unsubscribe', 'bbpress' ), 'user_id' => 0, 'topic_id' => 0, 'before' => ' | ', 'after' => '' ), 'get_user_subscribe_link' ); // Validate user and topic ID's $user_id = bbp_get_user_id( $r['user_id'], true, true ); $topic_id = bbp_get_topic_id( $r['topic_id'] ); if ( empty( $user_id ) || empty( $topic_id ) ) { return false; } // No link if you can't edit yourself if ( !current_user_can( 'edit_user', (int) $user_id ) ) { return false; } // Decide which link to show $is_subscribed = bbp_is_user_subscribed( $user_id, $topic_id ); if ( !empty( $is_subscribed ) ) { $text = $r['unsubscribe']; $query_args = array( 'action' => 'bbp_unsubscribe', 'topic_id' => $topic_id ); } else { $text = $r['subscribe']; $query_args = array( 'action' => 'bbp_subscribe', 'topic_id' => $topic_id ); } // Create the link based where the user is and if the user is // subscribed already if ( bbp_is_subscriptions() ) { $permalink = bbp_get_subscriptions_permalink( $user_id ); } elseif ( bbp_is_single_topic() || bbp_is_single_reply() ) { $permalink = bbp_get_topic_permalink( $topic_id ); } else { $permalink = get_permalink(); } $url = esc_url( wp_nonce_url( add_query_arg( $query_args, $permalink ), 'toggle-subscription_' . $topic_id ) ); $sub = $is_subscribed ? ' class="is-subscribed"' : ''; $html = sprintf( '%s<span id="subscribe-%d" %s>%s</span>%s', $r['before'], $topic_id, $sub, $url, $topic_id, $text, $r['after'] ); // Initial output is wrapped in a span, ajax output is hooked to this if ( !empty( $wrap ) ) { $html = '<span id="subscription-toggle">' . $html . '</span>'; } // Return the link return apply_filters( 'bbp_get_user_subscribe_link', $html, $r, $user_id, $topic_id ); }So how would I construct my_custom_bbp_get_user_subscribe_link() function to add_filter( ‘bbp_get_user_subscribe_link’, ‘my_custom_bbp_get_user_subscribe_link’ ); ?
I hope the answer will serve as a general example to correctly add filters to many other template functions.
Thanks for your assistance.
Topic: french translation
Hello,
As part of a project for a forum in French which will be online soon, I completed the translation in French of bbPress and I improved (at least I hope) many strings already translated so that they are more true to the original english meaning and context.
I’m entering the translations one by one on translate.wordpress.org/projects/bbpress/2.4.x/fr/default and I would like to discuss with the french translation team about a number of aspects of the project, eg nomenclature, accents, etc.
Thank you and good day.
Topic: Forum Index Customization
When looking at the settings, I see that I can “customize” the forum index with shortcodes. I did that, and when its just its own page, then it works. When I try and change the settings to display that page as the forum index, it overwrites it with a weird looking search result instead of the index.
All I want it to do is to display the forums that I have, and to be the forum link that is displayed when you go into a topic.
Here is the page with the shortcode (and not yet assigned to the forum root):


Topic: phpBB Import speed
Hi all. I’m having some problems importing my phpBB forum into bbPress. My forum is quite big, those are my stats:
Posts: 576133 | Topics: 32722 | Users: 12306I first tried a default import with 1000row/1sec setting. It ran for an entire day, however after around 60000 posts it just started giving me dashes (‘-‘ char) and I really didn’t know what to do or if it was normal. So i just stopped it.
After this I wanted to try more rows, assuming it was going to be faster. So I started (2 tries) a 5000 and a 10000 row imports. However I had it on starting conversion for an hours or more, and never actually started converting. I don’t have memory problems or errors, it’s just very slow I guess.
So my question is: Is there a way to import all together, maybe directly with some bash script, from shell without using a webserver. Or something else to speed it up instead of waiting days in my browser?
Thanks.
Currently the Forum Root is titled Forum Archive by default and there is no way to change it from the back-end. This is still impossible even when the Forum Root is partnered with a wordpress page optimized with a SEO pluggin like All In One SEO or WordPress SEO By Yoast.
So I think I going to modify the code to get this done, but I need your instruction, please help.
And how can I request this possibility as a default feature in the next BBPress realease? I think many people will thank it.
Thanks in advance,
Hung.Hi all,
I can’t find where the title output is coming from. I want to wrap it in a <h1>. In the default templates it starts with
<div id="bbpress-forums">and the title’s output is before that. But where is it coming from? I can’t find it.



