Search Results for '+.+default+.+'
-
Search Results
-
Topic: Dead LInks in Forum List
I am trying to use bbPress with a custom theme. I have a child theme and I have a bbpress.php created. The forum page loads but none of the links work (Forum, author, search). It’s as though the whole section is behind a sheet of glass. I can’t even select text. They work in the default themes. They work if I use the custom theme and create a page using a shortcode. Disabling all plugins doesn’t help.
It’s making me crazy. Any thoughts as to what might be blocking the page?
Unfortunately the template builder isn’t very helpful. His default response is that they never said it would work with bbpress. While true, I wouldn’t think it should eat normal functionality.
Topic: Bug in subscribe button
Hi.
I’m trying to add content before the subscribe button. It would be a fake checkbox. But I’m not being actually able to use “before” option in bbp_topic_subscription_link function.Bug can be reproduced with something like this:
bbp_topic_subscription_link(
array(
'subscribe'=>'Subscribe to thread notifications',
'unsubscribe'=>'Unsubscribe from thread notifications',
'before' => 'x'
) );
That “x” will never appear. I can see it still in line 1055 of bbpress/includes/users/template.php, just before bbp_parse_args call. After that content dissapears:
var_dump($args);
// Parse arguments against default values
$r = bbp_parse_args( $args, array(
'subscribe' => __( 'Subscribe', 'bbpress' ),
'unsubscribe' => __( 'Unsubscribe', 'bbpress' ),
'user_id' => 0,
'topic_id' => 0,
'forum_id' => 0,
'before' => ' | ',
'after' => ''
), 'get_user_subscribe_link' );
var_dump($r);
Also, there’s another issue: ajax call will not keep my custom text. After you press the button text changes to defaults: subscribe \ unsubscribe. So, what’s the point of a custom text?Hope my request is clear.
Thanks for all your work.
I know there’s an Export option for Forums in WordPress’s default Export menu.
But when I viewed the Import options under Tools > Import Forums, there was only bbPress1.
Which brings me here to ask, how do you import a forum from a bbPress2 to another bbPress2 ?
I’ve switched between about 5 different themes, trying to install bbpress with each one. Each time, the result is the same. I get a message saying that bbpress was installed, but when I try to go back to the WordPress dashboard, I just get a completely white page. I can’t even navigate back to delete bbpress, so I have to do it manually through FTP.
Right now I am using the Genesis Framework theme, but the same problem has happened with the default themes (Twenty Twelve, Twenty Thirteen, etc.)
Any ideas what it might be?
My website is http://www.poorpilots.com/
I am using the latest version of WordPress.
Hello All,
I have a buddypress & bbpress integrated site. I am using buddypress groups inside which the bbpress forums exists. There are about 4 groups with 30 members in each group and I have used a “invert subscribe” code (in my functions file), which I came across on one of the threads here. It by default makes the members of the group to be subscribed to the forum and receive email alerts for every thread/topic created.
But now after I installed the Postman email plugin, I noticed that the email notification meant for the members of the group are being sent out to the members of all the group and all the 120+ users on the site. How can I avoid this and see to it that the emails are being sent out only to the particular group members.
Here is the invert subscribe code that I am using:
add_filter( 'bbp_get_user_subscribe_link', 'invert_get_user_subscribe_link', 10, 4 ); //invert forum subscription add_filter( 'bbp_is_user_subscribed_to_forum', 'invert_is_user_subscribed_to_forum', 10, 4 ); //invert forum subscription add_filter( 'bbp_get_forum_subscribers', 'invert_get_forum_subscribers' ); //invert forum subscription add_filter( 'bbp_is_user_subscribed', 'invert_is_user_subscribed', 10, 4 ); //invert forum subscription function invert_is_user_subscribed($retval, $user_id, $object_id, $subscribed_ids) { if (get_post_type( $object_id ) == bbp_get_forum_post_type()) return !$retval; else return $retval; } function strContains($needle, $haystack) { if (strpos($haystack, $needle) !== false) { return true; } else { return false; } } function invert_get_user_subscribe_link ($html, $r, $user_id, $topic_id) { if (strContains( "bbp_unsubscribe", $html )) { $html = str_replace("bbp_unsubscribe", "bbp_subscribe", $html); } else { $html = str_replace("bbp_subscribe", "bbp_unsubscribe", $html); } return $html; } function invert_get_forum_subscribers( $users ) { $args = array('fields' => 'id'); $all_users = get_users($args); $send_to_users = array_diff($all_users, $users); return $send_to_users; } function invert_is_user_subscribed_to_forum( $retval, $user_id, $forum_id, $subscribed_ids ) { return !$retval; } add_action('bbp_theme_after_topic_form_subscriptions', 'subscribed_by_default'); //default subscribe add_action('bbp_theme_after_reply_form_subscription', 'subscribed_by_default'); //default subscribe function subscribed_by_default() { echo '<script type="text/javascript">jQuery("#bbp_topic_subscription").prop("checked","checked");</script>'; } ?>Thanks!
Topic: style my forum like yours
How do I get my forum to look like yours:
default isn’t clear where writing box is, has extra stuff at top like navigation and ‘this forum contains’, has topic type, etc.Thanks,
SamTopic: Few questions about BBPress
I currently have a vbulletin, and used to have vBSEO for thread title to show up in the url. I’ve since lost this.. if I convert to BBpress, can I somehow get the thread titles in the url for seo purposes?
Also, if I install bbpress, will it look like the one on this site by default, with the different forum topics on the left? Thanks.
Currently the default setting is the title of the bbpress forums to be underlined. How can I remove the underline text decoration?