Search Results for '+.+default+.+'
-
AuthorSearch Results
-
February 18, 2016 at 12:45 pm #171921
In reply to: Specify New Registration Request Email Recipient
Pascal Casier
ModeratorHi,
That seems like a pure WordPress question, not really for bbPress.
But have a look at this: http://wordpress.stackexchange.com/questions/15304/how-to-change-the-default-registration-email-plugin-and-or-non-pluginPascal.
February 18, 2016 at 11:45 am #171916Topic: Specify New Registration Request Email Recipient
in forum Troubleshootingstewmills
ParticipantFacts:
– WordPress 4.2.2
– bbPress 2.5.8
– Theme – Karma 3.0.3How do I change who gets notified when there is a new user registration request? The default email address that is in my WP profile is not necessarily who I want to get the new user requests as the persons managing the forum are separate from those managing the general site, etc.
Thanks
February 18, 2016 at 11:13 am #171914In reply to: where to put bbpress.css in child-theme
awal16
ParticipantI added the custom capabilities to my functions.php in the child-theme. When I go to Users, in the back-end of WordPress, there are warning texts like, Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘add_new_roles’ not found or invalid function name in C:\xampp\htdocs\mnddb_nieuw\wp-includes\plugin.php on line 235.
What did I do wrong?
My code in the function.php looks like:
<?php // Exit if accessed directly if ( !defined( 'ABSPATH' ) ) exit; // BEGIN ENQUEUE PARENT ACTION // AUTO GENERATED - Do not modify or remove comment markers above or below: if ( !function_exists( 'chld_thm_cfg_parent_css' ) ): function chld_thm_cfg_parent_css() { wp_enqueue_style( 'chld_thm_cfg_parent', trailingslashit( get_template_directory_uri() ) . 'style.css' ); } endif; add_action( 'wp_enqueue_scripts', 'chld_thm_cfg_parent_css' ); // END ENQUEUE PARENT ACTION // Nieuwe forumrolnaam toevoegen function add_custum_role($bbp_roles){ $bbp_roles['bbp_global_moderator'] = array( 'name' => 'Globale moderator', 'capabilities' => custom_capabilities( 'bbp_global_moderator' ) ); return $bbp_roles; } // Nieuwe forumregels toevoegen add_filter('bbp_get_dynamic_roles', 'add_new_roles', 1); function add_role_caps_filter($caps, $role) { // Only filter for roles we are interested in! if ($role == 'bbp_global_moderator') $caps = custom_capabilities($role); return $caps; } add_filter('bbp_get_caps_for_role', 'add_role_caps_filter', 10, 2); function custom_capabilities($role) { switch($role) { // Capabilities for 'global_moderator' role case 'bbp_global_moderator'; return array( // Primary caps 'spectate' => true, 'participate' => true, 'moderator' => false, 'throttle' => false, 'view_trash' => true, // Forum caps 'publish_forums' => false, 'edit_forums' => false, 'edit_others_forums' => false, 'delete_forums' => false, 'delete_others_forums' => false, 'read_private_forums' => true, 'read_hidden_forums' => false, // Topic caps 'publish_topics' => true, 'edit_topics' => true, 'edit_others_topics' => false, 'delete_topics' => true, 'delete_others_topics' => false, 'read_private_topics' => true, // Reply caps 'publish_replies' => true, 'edit_replies' => true, 'edit_others_replies' => false, 'delete_replies' => true, 'delete_others_replies' => false, 'read_private_replies' => true, // Topic tag caps 'manage_topic_tags' => false, 'edit_topic_tags' => false, 'delete_topic_tags' => false, 'assign_topic_tags' => false, ); break; default : return $role; } }February 17, 2016 at 6:14 pm #171874In reply to: where to put bbpress.css in child-theme
awal16
ParticipantThanks a lot! I read it, but they only talk about the directory files in de bbpress/templates/default. I also made changes in bbpress/includes/core/capabilities. Do I put these files in the same folder in my child-theme (bbpress)?
February 17, 2016 at 5:10 pm #171868In reply to: where to put bbpress.css in child-theme
Robin W
ModeratorFrom the docs
The “css” directory contains style sheets that work with the default markup. Copy any you want to modify into a directory named “css” in your theme’s root. eg. /wp-content/themes/%your-theme%/css/
February 17, 2016 at 4:10 am #171834In reply to: Change type root forums page
Pascal Casier
ModeratorHi,
I suppose you mean that you want to change the default page that you get when going on /forums ?
If so, just create a page in WordPress and change the slug to ‘forums’, then put anything you want in that page.The standard page shown when going on /forums is content-archive-forum.php.
You can customize all templates if you want, just read some pages of the bbPress Codex: https://codex.bbpress.org/themes/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/
Pascal.
February 17, 2016 at 2:01 am #171825In reply to: add a "Featured Image" to a forum
pazzaglia
ParticipantHow can I vary this code to include a default image for topics? I post new forum topics to facebook and at the moment they’re showing a TERRIBLE giant picture – when there are no profile pics or attachments to display. I don’t even know where it’s being pulled from.
http://www.hippressurecooking.com/forum/
Thanks!
LFebruary 16, 2016 at 9:49 am #171792In reply to: Oh bother! feedback-no-replies
fca0secretary
ParticipantIt’s no good, I can’t find anything like what you’re talking about. The only thing I can find is this: bbpress/templates/default/bbpress/feedback-no-search.php (inactive) which is clearly the thing I want to edit but it’s marked as “inactive” so editing it doesn’t have any effect.
I’m going to have to find a different plug-in, I haven’t time for this. But thanks anyway and have a cup of coffee on me!February 16, 2016 at 9:24 am #171789In reply to: Cant see Forum Settings
Robin W
ModeratorbbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
February 16, 2016 at 9:02 am #171786In reply to: Oh bother! feedback-no-replies
fca0secretary
ParticipantWhat I want to change is “Oh bother! No search results were found here!” , not “Oh bother! No topics were found here!” which is what your plug-in changes. This is what I want to edit:
bbpress/templates/default/bbpress/feedback-no-search.php (inactive)
but it’s marked as “inactive” so what does that mean?February 16, 2016 at 7:50 am #171779Topic: Oh bother! feedback-no-replies
in forum Installationfca0secretary
ParticipantI am trying to edit the phrase “Oh bother! etc,” but when I get to the Plugin Editor it’s saying that the default template is inactive, like this –
bbpress/templates/default/bbpress/feedback-no-replies.php (inactive)
I am using WordPress 4.4.2 running Twenty Sixteen theme. and bbPress is Version 2.5.8
My site is http://www.fagleyforum.site
How can I find the right place to edit this phrase?February 15, 2016 at 12:18 pm #171739In reply to: Custom Query to display sticky posts only
_az_
ParticipantThere is a function: bbp_get_super_stickies() which is used inside the function bbp_has_topics(). This function basically returns a list of Post IDs from the wp_options table from a row with the key: “_bbp_super_sticky_topics” or “_bbp_sticky_topics”
So one approach could be: override default args
bbp_has_topics(array('show_stickies' => false);Extra loop for stickys (not tested, just a sketch)
$query = new WP_Query(array('inlucde' => bbp_get_super_stickies());Though i recommend looking into the function bbp_has_topics to be aware of all possible cases.
February 13, 2016 at 6:34 pm #171661In reply to: Click on Topic leads to a weird page format
Robin W
ModeratorbbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
February 13, 2016 at 6:32 pm #171660Robin W
ModeratorAll I want to do is have my website show other users’ basic info when I click their name in a forum post.
That’s what it is supposed to do – click my name here and you’ll go to my profile !
bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
February 13, 2016 at 6:28 pm #171658In reply to: User Forum Topics Started and other pages are blank
Robin W
ModeratorbbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
Robin W
ModeratorbbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
February 13, 2016 at 9:29 am #171646In reply to: Page can’t be displayed
Robin W
Moderatorbefore you do that, lets just eliminate theme and plugin.
bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
February 13, 2016 at 5:26 am #171628In reply to: Strings not translated with .mo and .po files
Pascal Casier
ModeratorHi,
So you have bbPress translated into CZ if I understand correctly ?
If so, would you mind helping with the translation for the whole CZ community ? https://translate.wordpress.org/locale/cs/default/wp-plugins/bbpressIf you are interested, I can guide you on becoming PTE for bbPress, let me know. Then you can import you .po file and everybody can have bbPress in CZ then !
Thanks,
Pascal.February 11, 2016 at 2:36 pm #171563luisthegeek
ParticipantJust went to log into my site which uses the bbp-login shortcode and it just shows me a blank page. logged in using the wp-login, checked the login page with the shortcode, the shortcode is still there.
Also, the forums page is all blank as well. no forums are showing. Go to forums > all forums, they are listed there.
Tried Chrome and IE. Same issue on both.
February 9, 2016 at 7:49 am #171414In reply to: Change Breadcrumb url link
Adri Oosterwijk
Participant@robin-w: thank you for your reply. I’m sure it could work. However using this solution forces me to create a function for every language I add.
@casiepa: Goeiemorgen, daar zijn we weer! Thanks for helping out. I have achieved a lot of what I want but the breadcrumbs remains. (for reference, see this topic on WPML: https://wpml.org/forums/topic/multiple-site-languages-but-just-a-bbpress-forum-in-english/).
As a result of this thread I have an English forum AND a Dutch page displaying the forum with a shortcode with only one set of topics. Exactly what I want.
For the breadcrumbs I tried to create a solution with an onclick event and then navigate back in the history but that is not reliable. When a user is entering a topic from, let’s say a google search result page and then clicking the breadcrumb link they are send back to the google page.
I imagine something like this:
The English page for the forum has the slug: supportforum (for example)
The Dutch page for the forum has the slug: helpforum (for example)On the forum index page no breadcrumbs are needed.
On the topics page I only want a link back to the forum index for the appropriate language.
So the ‘solution’ must not link back to the forum slug but to the page where the index lives.
I have absolutely no idea how to achieve this.The outputted link has to be something like this:
http://www.my-site.com/forumpage-slug/
For the other languages:
http://www.my-site.com/language-code/localized-forumpage-slugIn my case English is the default language and Dutch is the translation.
The urls should be:http://www.my-site.com/supportforum/ -> for the default English language.
and
http://www.my-site.com/nl/helpforum -> for the Dutch language forum page.
and
same way for every other language added.I hope this description make sense.
HTH
Regards,
Adri
February 7, 2016 at 4:02 pm #171373In reply to: Forums root is messed up
mgsolidus
ParticipantUpdate: creating a page with the [bbp-forum-index] shortcode works, no idea why it’s broken on the default forum root.
February 7, 2016 at 1:08 pm #171367In reply to: Freshness all wrong
Robin W
ModeratorIt could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.
Then come back
February 7, 2016 at 4:56 am #171353In reply to: I can’t post on my own forum?
Robin W
ModeratorIt could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.
February 6, 2016 at 6:52 pm #171346In reply to: Forum Page not created
Robin W
Moderatorsorry someone has edited that page and made it less helpful.
Try
Now we have some forums, we need to have somewhere to display them.
There are two ways to do this. Most themes support method 1, and this can (can not will) produce tighter theme integration on style [Note this was true for v 2.2 not sure if it still is !]. However Method 2 allows you to have some introductory words. Your choice…!
Method 1
This requires a couple of checks first
a. In Dashboard>settings>forums look for what is set in the forum root under the forum root slug heading. The default is ‘forums’ but you can set this to anything
b. In Dashboard>settings>permalinks check that the common settings check is set to ‘postname’ If it isn’t and you don’t want to change it, then use method 2.
Now just create a wordpress page that has the heading that was found in a. above eg if the root slug is ‘forums’ create a page with the title ‘forums’, and save.
Once the permalink has been created, you can rename the page to whatever you wish eg ‘mysite forums’ (as the permalink will stay the same, and it is this permalink that bbpress looks for)
Save this page, add it to a menu if you are using custom menus, or decide its order if you have automatic menus. Then publish it to your site.
Job done!
Method 2
If either your theme doesn’t work with method 1, you don’t want permalinks with postname, or you want to use some introductory text (eg “welcome to our forums…”, then method 2 is for you.
In dashboard>pages
go to add new page
Call this ‘Forums’ or whatever you want your menu item to be.
Then in the content section, you may want to have some introductory words “welcome to the forum” etc. then add the following bbpress shortcode
[bbp-forum-index]
Save this page, add it to a menu if you are using custom menus, or decide its order if you have automatic menus. Then publish it to your site.
You will now have a forum page, and a forum to display.February 6, 2016 at 6:30 pm #171344In reply to: Bbpress forum preview button not working ?
Robin W
ModeratorbbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.
-
AuthorSearch Results