Search Results for '+.+default+.+'
-
AuthorSearch Results
-
December 4, 2012 at 1:36 pm #121263
In reply to: How can I make bb press forum as homepage?
LabSecrets
Participant1) Create a new page
2) Add the bbPress ShortCode for forum index: https://codex.bbpress.org/shortcodes/ which is[bbp-forum-index]
3) Save the page
4) Go to Settings/Reading and choose this new page as the default home page (instead of your blog).This will get you a bbPress Forum index on your home page.
To make a “mix” of your bbPress and blog posts, you need to modify your home page template file. This differs per theme, but may be called home.php or index.php (it’s in your theme folder). You would add the bbPress shortcode above the WP loop that displays blog posts. Use the do_shortcode method shown here: https://codex.wordpress.org/Function_Reference/do_shortcode
so it would be (within php tags):
do_shortcode('[bbp-forum-index]')
If you do this, then you won’t need to create a page and modify your Settings/Reading as elaborated in steps 1 to 4 above.
Good luck!
December 3, 2012 at 5:05 pm #121211In reply to: Roles and Capabilities Restrictions
aaclayton
ParticipantI would like to weigh in here and agree with @xmasons sentiment. The “Members” plugin, for example, is a great example of role/capability management done right IMHO. I am unable, however, to modify the capabilities of the bundled bbp roles within the Members interface.
What I have been forced to do is create my own role for “forum moderator” with additional capabilities added on top of the bbp_moderator defaults. The resulting outcome is that I am deliberately not using the bundled bbPress role, which effectively defeats the purpose of having implemented it in the first place.
I’m not sure why the new bbp roles are incompatible with the Members plugin, I get the following error when attempting to modify their available caps.
Fatal error: Call to a member function has_cap() on a non-object in /home/tamrielfoundry/tamrielfoundry.com/wp-content/plugins/members/admin/role-edit.php on line 31
December 3, 2012 at 4:59 pm #121208In reply to: 'Private' and 'Hidden' Boards 404 After Update
aaclayton
ParticipantSame issue here, also a bit scared to remap user roles. I looked into it, turns out as part of the new bbPress update that restructured some of its own user roles, it actually removed certain capabilities from existing roles. For example, my site-wide administrator role didn’t have the capability to read_hidden_forums or read_private_forums, in addition to 20 or so other bbPress specific capabilities.
If you are using default (or custom) WordPress roles in a bbPress environment, you may need to go in and grant them some of the bbPress specific capabilities.
December 3, 2012 at 4:39 pm #121206Topic: bbPress 2.2 Forum Participant
in forum Troubleshootingblg002
ParticipantI just want to make sure it was the 2.2 update that did away with the ‘Forum Participant’ role. It seems to have set all non-admins ‘Site Role’ to ‘Participant’ (even though that’s not an option in the Role dropdown), and left the ‘Default User Role’ to Administrator which caused a few outsiders to accidentally be signed up as an Admin.
December 3, 2012 at 3:18 pm #121202In reply to: bbPress post and replies don't appear when posted
jspranza
ParticipantMy current theme is the default TwentyEleven theme. Are you saying I should check in the TwentyTen theme?
December 3, 2012 at 12:58 pm #121194Topic: Custom CSS not working
in forum ThemesMatthewRuddy
ParticipantHey. Not sure if I’m missing something, but I’ve been looking around the forums following advice on using a custom bbPress CSS file, but it isn’t working.
I’m creating a theme based on underscores.me 1000 headstart theme.
I’ve copied the CSS file from ‘plugins/bbpress/templates/default/css/bbpress.css’ to ‘themes/underscores/bbpress.css’. I’ve read previously that that bbPress will then detect the custom CSS file and use it. Doesn’t appear to be the case.
Have I missed something?
December 3, 2012 at 9:37 am #121185In reply to: 'Private' and 'Hidden' Boards 404 After Update
Olzen
ParticipantI have the same problem. Hidden and Private forums are not available for any users. (got 404) If I make them public(as a test) they are available.
This happen after update.
UPDATE: “Repair Forums” -> “Remap existing users to default forum roles” solved the problem.
December 3, 2012 at 8:55 am #121184In reply to: bbPress 2.2.2 released
dwbroad
ParticipantYes! Thanks @silviorelli! Tried everything to get Private forums to show, was about to revert to 2.1 but ran the repair on ‘Remap existing users to default forum roles’ and now it seems to work! Phew…
Full details are explained in the link (https://bbpress.org/forums/topic/roles-and-capabilities-in-bbpress-2-2/)
December 3, 2012 at 3:54 am #121177In reply to: I'm afraid update bbPress in every release!
Jared Atchison
MemberIt shouldn’t be, no.
Few things I recommend when upgrading is pre-upgrade temporarily switch to TwentyTen and the default bbPress theme (if you are using a custom one), then do the upgrade. If everything works, then switch back to your normal theme/bbPress theme. Then if it starts giving errors at least you know where to look.
Another thing that can be helpful is to temporarily turn on WP_DEBUG which can sometimes reveal problems with your theme or plugins you have installed that are preventing bbPress from running correctly.
I’ve been running bbPress on sites since 2.0 and haven’t had any problems upgrading, but I wrote the themes from scratch and am real particular on what plugins get installed.
December 3, 2012 at 3:43 am #121172In reply to: any POLLS that will work with current versions?
Jared Atchison
MemberJust be aware that activating shortcodes in bbPress can open up a whole can of worms, which is why its disabled by default.
If they are enabled there is nothing stopping someone from using bbPress shortcodes in a reply/topic, eg [bbp_login].
Polls in 2.x is definitely something that is needed. However it’s really plugin territory, and so far no one has written one!
December 1, 2012 at 9:37 am #121113remike
ParticipantOnce I enabled the TinyMCE visual editor, the text is stripped out of for standard users. Obviously, they are not available in the default editor either. However, what is the point of implementing the enhanced editor with all these fantastic buttons, if almost none of the html tags are enabled by default.
Also, even if I deleted the function for the editor, logged in as standard user and wrote “a”-enter-“b”-enter-“c”-enter”d”-enter-“e” – the result was “abcde”. This is just simply wrong…
ATM, the only way to sort it out is to give permission to all users to write unrestricted HTML. But apparently it is dangerous and someone could write a melicious javascript in the post.
And yeah, the smilies don’t work even for the admin…
December 1, 2012 at 1:54 am #121094Jared Atchison
MemberHmm, if the tags are being stripped, there is a chance a plugin is doing that.
bbPress by default uses the WordPress wpautop on all content which automagically handles the paragraph tags. There isn’t anything in core that should strip tags unless those tags aren’t allowed in normal posts. What tags are being stripped? It sounds like even the base paragraph tags are being stripped, which shouldn’t be the case unless you ahve wpautop disabled via a plugin.
November 30, 2012 at 11:34 am #121058In reply to: bbPress forum BLANK pages
LabSecrets
ParticipantZdravo!!
Ok, that helps.
First suggestion:
What happens if you use shortcodes to create a forum index? https://codex.bbpress.org/shortcodes/
Take the shortcode of: [bbp-forum-index] and add it to a blank page.
Does that create a visible forum index?
If so, then your problem imho is that your theme is hijacking the content area in a way that prevents the new bbPress code from working. As such, the solution would be found most likely in your theme’s page.php or similar, where the default archive pages are created. I don’t have access to the Gonzo theme since it is on ThemeForest ;-(
but you can see in my recent post, we fixed a similar solution for Canvas 5 from WooThemes. https://bbpress.org/forums/topic/non-functional-index-page-when-bbpress-2-1rc4-is-used-with-woothemes-canvas-5-05/
If not, then please share the link to the page where you posted the shortcode so I can see the underlying output.
Hvala!
Spence
November 29, 2012 at 9:59 pm #121013In reply to: how do I remove first two parts of breadcrumb?
Stephen Edgar
Keymasterfunction mycustom_breadcrumb_options() { // Home - default = true $args['include_home'] = false; // Forum root - default = true $args['include_root'] = false; // Current - default = true $args['include_current'] = true; return $args; } add_filter('bbp_before_get_breadcrumb_parse_args', 'mycustom_breadcrumb_options' );
I think the above will do what you are after… Just add it to your themes functions.php
November 29, 2012 at 7:17 pm #120999In reply to: First post not showing
mralexweber
ParticipantI also have a user experiencing this issue (where they can’t see the first post in a thread) on our BuddyPress + bbPress site. We are using the default bbP-theme within DynamiX WP/BP theme. I will attempt to change our theme and report back if that fixes it.
Any other ideas what might be causing this? Anyone else experiencing this issue?
November 29, 2012 at 4:24 am #120972Jared Atchison
MemberHmm, I haven’t tested this so I can’t say, but it definitely sounds like an issue. Maybe someone else can chime in and try to duplicate it.
This is probably happening because the default WordPress search isn’t looking at information bbPress stores when it makes things as private. WordPress just grabs results from all post types that are supported, makes sure they are published, and runs with it.
This doesn’t help your current situation, but I just wanted to say the search is something we are trying to address in 2.3.
Having bbPress search results come up in the regular WordPress search is weird, and leads to problem such as this, which is why bbPress topics/replies are not searchable by default. To skirt around this problem, we are likely going to make a bbPress specific search with its own search results page. This will give us more control over how the results are returned and make sure stuff that should be hidden doesn’t show up.
November 28, 2012 at 9:26 am #120925In reply to: Changing theme
fintara
ParticipantBut how can we make minor edits on the bbpress default theme? For example, my site’s theme has a place for breadcrumb and I want to put bbp_breadcrumb() there to show the correct breadcrumb. How is it possible? Thank you.
November 28, 2012 at 2:12 am #120899royho
ParticipantI am using bbPress 2.2.2 on WordPress 3.4.2. My permalinks are set to /%category%/%postname%/ and bbPress base is default. Another words, I didn’t change any permalink structure in bbPress.
And I am see the issue on http://domain.com/forums/
November 27, 2012 at 4:27 pm #120840In reply to: Templates and WP widget
rsanchez1
ParticipantYou are not using a unique page template yet?
What bbPress does is that it looks for certain template files in the theme’s directory. If it finds them, it uses them. If it doesn’t find them, then it uses default fallbacks. The template file for the forum front page is “forums.php”. You could add this file to your theme and have it not include a sidebar. When you install the bbPress plugin, it has twentyten-compatible template files that would be a good starting point to look at.
November 27, 2012 at 11:56 am #120833royho
ParticipantThanks for the reply however I don’t have such dropdown. The only dropdown I see is the default WordPress role dropdown and not one specific for bbPress.
November 26, 2012 at 7:22 pm #120795royho
ParticipantSo I just installed the latest bbPress 2.2.2 and see that all my users have no role set for the forum so I then proceed to use the remap tool to set them a default of participant. This all worked fine however, it also switched my admin account to participant also instead of keymaster. So my question is how do we apply the keymaster role back to the admin?
November 26, 2012 at 9:32 am #120777In reply to: bbPress 2.2.1 and 2.2.2 – list style missing
padekan
ParticipantOk , so it’s a bit of physician heal thyself but here’s how I fixed in case other people are having the problem.
I found this:
https://codex.bbpress.org/theme-compatibility/
which shows how to create a custom bbpress.css in 2.0 and later. Then I changed line 62 to be:
list-style-type: inherit /* was ‘none’ */;
(basically took out the none override for basic list elements).
Seems like overkill to have a complete copy of bbpress.css just to change one line but I could not find another place to override it. Tried playing around with trying a skeleton bbpress.css that @import’ed the default one but didn’t have much success with that.
Anyways, issue has been resolved, thanks!
regards, Paul
November 26, 2012 at 9:15 am #120775In reply to: use old theme with 2.2?
Shane Gowland
ParticipantbbPress is now a plugin for WordPress. That means that it doesn’t run without an install of WordPress.
As for the design; that’s entirely up to you. You can go with the default bbPress styles, use a WordPress theme that overrides them or apply your own CSS and make the forums totally original. I recommend having a good read of the bbPress 2.0+ documentation.
November 26, 2012 at 1:04 am #120766In reply to: How is the forum archive page generated?
Michael
ParticipantOkay, I’ve made some further progress with method #3 above (hooking into bbp_get_bbpress_template ). Here’s the general approach I’m taking:
add_filter( 'bbp_get_bbpress_template', 'my_add_page_template', $templates );
function my_add_page_template( array $templates ) {
$page_template = get_post_meta( $post_id, '_wp_page_template', true );
if ( $page_template != 'default' )
array_unshift( $templates, $page_template );
return $templates;
}
The only issue I have right now is that $post_id is difficult to extract if the archive pages (Archive Base and Topics Base) are being displayed. Right now I am hard wiring it to the post_id of the Archive Base page (getting it from the editor), and it works okay but not what I want.
Since these pages (archives) are custom post types, I haven’t found an easy way to find their post_id’s, and querying globals like $post->ID and calling functions like get_the_ID() and url_to_postid() don’t work for custom post IDs ($post->ID and get_the_ID() return 0).
QUESTION: For a bbPress page that is currently being built for display, is the post_id of the page being stored somewhere in a bbPress global?
Michael
November 25, 2012 at 9:21 am #120734In reply to: How is the forum archive page generated?
Michael
ParticipantOkay, I’ve been doing some digging and perhaps as expected, the theme Template page.php (the default WP Template) is being called to build the Archive Base page. I can edit the page.php in my child theme and customize from there (where it eventually calls the_content(), which apparently executes content-archive-forum.php to display the Forum “front page”), but that’s a brute-force method since page.php is the default Template for all pages. I want to create a Template explicitly for bbPress pages, which means I need a way to specify the Template to use on a per-page basis.
Normally this would be done by simply creating a Template (like page.php) and put it in your child theme directory, then select it for a specific page you want to apply it to using the wp-admin Edit Page -> Page Attributes -> Template pull down, save it and voila, your page uses your custom Template.
But with bbPress pages that are “partnered with a WordPress page” (per this topic discussion), this doesn’t work for the partnered page. The Template setting seems to be ignored, and only for bbPress pages partnered this way.
This may not be a show-stopper for me, but may be for others looking to customize the overall page Template for their bbPress pages. Is it a bbPress bug? I can’t tell, and hopefully I’m missing something painfully obvious, being new to installing/using bbPress.
Seems like there must be some kind of code frag in the plugin that does something like:
if (request to display (Archive Base | Topic Base) {
if ((Archive Base | Topic Base) is partnered with WP page) {
point the_content() at (content-archive-forum.php | content-archive-topic.php);
call default page Template;
}
}
JJJ or someone else in-the-know, can you comment on how the “partnering with a WordPress page” works? Where is this performed? Sorry if the question is naive, I’m just having trouble understanding how this partnering works at the Template execution level.
Many thanks.
Michael -
AuthorSearch Results