Search Results for '+.+default+.+'
-
Search Results
-
Hello Guys,
I think I have found a bug. But at first some Info from the System:
WP version 4.8.2
PHP version 7.0.22-0ubuntu0.16.04.1
bbPress version 2.5.14-6684I want the hide the Tag-Input for all “normal” Users. So only the Keymaster and the mods can assign tags. I found, that I can hook into the capatiblities with
bbp_get_caps_for_roleand set the settings tofalse:`
add_filter(‘bbp_get_caps_for_role’, function ($caps, $role) {
// only the admin can delete and manage topic tags
if (!in_array($role, [‘bbp_keymaster’])) {
$caps[‘manage_topic_tags’] = false;
$caps[‘delete_topic_tags’] = false;
}// only mods and admin can edit or assign tags
if (!in_array($role, [‘bbp_keymaster’, ‘bbp_moderator’])) {
$caps[‘edit_topic_tags’] = false;
$caps[‘assign_topic_tags’] = false;
}return $caps;
}, 10, 2);
But the problem is, that in
template\defaults\bbpress\form-reply.phpwe check with:<?php if ( bbp_allow_topic_tags() && current_user_can( 'assign_topic_tags' ) ) : ?>current_user_cancallsWP_User->has_capand there is$capabilities['assign_topic_tags'] = true.—–
Workaround:
`
add_filter(‘user_has_cap’, function($caps, $metaCaps, $args) {
$forumCaps = bbp_get_caps_for_role($args[0]);return array_merge($caps, $forumCaps);
}, 10, 4);
`I created a custom page for the forum “home page”. bbPress has clickable breadcrumbs and “Forum” will load the default bbPress forum home, as such I added the following to my .htaccess to redirect the user to my custom page:
RewriteEngine On RewriteRule /forums$ /the-forumThis redirects the user:
from: http://ok.thissiteworks.com/forums/ (bbPress forum home)
to: http://ok.thissiteworks.com/the-forum/ (custom forum home)That works – but only for logged in users. When a user is not logged in the redirect does not work.
- Can someone advise why this would not work for not logged in users?
- Is there perhaps a better way to redirect the users to the custom page?
Topic: Translation of bbpress
Hello,
Can somebody please tell me how translation of bbpress works?
What I did:
I installed WordPress and set my default language
I installed bbpress plugin
I installed Loco translate
I create the map languages/bbpress on ftp
I downloaded the .po and .mo and put in the mapBut nothing is working! Can somebody help me please?
Hello Team bbpress
I am using the plugin bbpress. I want to customise that view of forum similar to http://www.veggieboards.com/forum/index.php this link.
I have created the child theme and add the css folder and archive-forums.php file in the child theme. I am not able to customise plugin using css only because I want to change the structure. If I change plugin core file then future update overwrite my code and when I am place the complete plugin in child then its stop working and page become blank.
Please give me the solution I am waiting your solutions.
My bbpress plugin Version: 2.5.14
Wordpress Version: 4.8.2
Thanks
We have encountered a bug whereby when multiple forums are placed on a page, using the [bbp-single-forum id=##] shortcode, the HTML buttons do not appear for all but the 1st forum. The class=”quicktags-toolbar” div still appears in the source code, but it is empty (the HTML input buttons do not appear within the source HTML).
This issue has been confirmed on multiple installs, with all plugins disabled and using the default WP theme.
Here is a screenshot example: https://imgur.com/rqPiXa6
Hi,
I want to remove “e-mail” field from the replay form of anonymous users.
wp-content/plugins/bbpress/templates/default/bbpress/form-anonymous.phpI removed the website field and it works, I’m trying now to remove the e-mail field too but because it’s require filed it doesn’t work!
If i press “submit” nothing happen at all.Okay from what I know i should remove this code
<p> <label for="bbp_anonymous_email"><?php esc_html_e( 'Mail (will not be published) (required):', 'bbpress' ); ?></label><br /> <input type="text" id="bbp_anonymous_email" value="<?php bbp_author_email(); ?>" size="40" name="bbp_anonymous_email" /> </p>after that what should I do?! 🙂
Trying to diagnose a site why the pagination for the shortcode [bbp-topic-index] works only to page 2. Once you get to page 3+ (of 1200+ pages) it 404s. It only goes to page 2 regardless of what the per page setting is for topics. This is running PHP7.0.x, WP 4.8.1 and I’ve confirmed the issue on 2.5.12 and 2.6 RC3. Going back to 2.5.11 gives me the ksort expects param 1 to be an array error as do all other 2.5.x series. I have tested with all plugins deactivated except bbPress and tried all the usual default themes. Any thoughts?