Search Results for ' . default . '
-
Search Results
-
Topic: CSS bug?
Re: http://powershell.org/wp/forums/users/dlwyatt/replies/
You’ll notice that the container for the page content is getting a 0px width and massive height calculated. The CSS style #bbp-forums has an “overflow: hidden;” style. Removing that style element fixes the display – but I’d like some confirmation that this is indeed a bug? The content in this specific case has a lot of PRE/CODE styling, so I’m not sure if there’s some weird interaction going on that I just can’t figure out.
The container in question is a ul#topic-0-replies, classed with .forums and .bbp-replies. The overflow attribute I’m referring to is coming right from the top of bbpress.css.
Note that I’m using the default styling/theming for BBP.
Topic: Stylesheet Issues
After I updated bbpress to version 2.5 the stylesheet for the default theme is not being linked correctly.
<link rel=’stylesheet’ id=’bbp-default-css’ href=’http://localhost/wordpress/almostaveragegamers/wp-content/C:xampphtdocswordpresswp-contentpluginsbbpress/templates/default/css/bbpress.css?ver=2.5-5199′ type=’text/css’ media=’screen’ />
This is the way that the link is showing up when I look at the source code for the site which I am designing on a local host server. When I click on the link to see what is displayed this is what it is showing me below.
Hello,
I just installed bbpress on my site. I created a page which is called “Forums”. I chose the default template. Every thing is working except the display is not organized as the plan.
—-
Forum
Topics
Posts
FreshnessGroup Forums
group one (2, 0)
2
2
41 minutes ago
Avatar of admin adminnot group forum
cool
0
0
No Topics
———–how to organize the display as following or better? ( not display in vertically orders)
Forum Topics posts Freshness/minutesthank you
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):