Search Results for '+.+default+.+'
-
AuthorSearch Results
-
May 5, 2014 at 4:49 pm #145856
Will Brownsberger
ParticipantI posted in this thread 15 months ago that W3 did not work with bbpress.
Have to love the speed though and I thought I’d try again with latest versions:
WP 3.9
W3 0.9.4
bbPress 2.5.3My first round of testing, prior to trying it on live site, willbrownsberger.com, was successful — I focused most heavily on whether bbpress replies would trigger refreshes. They do seem to. Occasionally, a very little bit of a lag, enough to make a fast-fingered tester wonder, but it seems to OK.
So we are using it live now and will report back if we have any real problems.
For the record, my settings are as follows:
bbpress — anonymous topics and replies allowed (and that is what I carefully tested)
w3 total cache as follows:GENERAL
Page Cache Enabled
Minify, not enabled
Database Cache enabled
Object Cache not enabled
Browser Cache not enabled (have settings in .htaccess)
CDN not enabled
Reverse Proxy not enabled
Monitoring not enabled
File locking not enabled
Verify Rewrite Rules enabled.PAGE CACHE SETTINGS (all not checked except the following)
Cache front page
Don’t cache pages for logged in users
Automatically prime the page cache (default interval 900 seconds, 10 pages)
Preload the post cache upon publish
Purge Policy — defaults (front page, post page, blog feed, rss2)
Default advanced optionsDATABASE CACHE SETTINGS
Don’t cache pages for logged in users
Default advanced optionsMay 5, 2014 at 4:30 pm #145854In reply to: Topics not showing up
Robin W
ModeratorPlugins
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, switch to a default theme such as twentytwelve, and see if this fixes.
May 5, 2014 at 2:09 pm #145850In reply to: ı cant add topic to forum
Robin W
ModeratorNew bbpress installation?
Old installation with new problem?Have you other plugins?
Try
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, switch to a default theme such as twentytwelve, and see if this fixes.
May 5, 2014 at 12:56 pm #145845In reply to: User Roles not showing
Chad
ParticipantBueller? Bueller? Anyone?
So here is what I have done since. I created a fresh install of WP 3.9. Deactivated any default apps. Installed BuddyPress. Installed bbPress. Checked to see what roles were created. None. Still had the standard WP Roles.
Can someone please correct me if I am wrong? Isn’t bbPress supposed to create the following roles:
Keymaster
Moderator
Participant
Spectator
BlockedThere is a good chance that I am totally missing something here and this is an easy fix. Does anyone have any thoughts? Suggestions?
If I’m just being totally ignorant and new roles don’t get created. Please tell me that too. Thanks!
May 3, 2014 at 7:38 am #145790In reply to: Error message after install
Stephen Edgar
KeymasterSwitch to one of WordPress default themes, Twenty Thirteen or Twenty Fourteen.
If bbPress works try your theme again, if bbPress doesn’t deactivate the plugin, delete it and reinstall.
And or try deactivating all your plugins except bbPress then reactivate one by one until the error occurs to find a conflicting plugin.
May 2, 2014 at 3:20 am #145742In reply to: I think I found a bug in bbp_topic_subscription_link
Mike
ParticipantThanks, but I finished and moved on. I tried and failed with several different approaches like this, but copying and altering 2 functions took less than 2 minutes as the //comments were clear about how to disable the AJAX.
I took me almost 2 weeks part-time to customise the bbpress forum. I spent a lot of time messing with IDs and classes to target CSS changes and trying to figure out the proper code to modify defaults.
For example finding the code to return just an “edit” for replies was a matter of great googling and some luck.
May 2, 2014 at 2:47 am #145738In reply to: Help with forum display
Robin W
Moderatoradd the following to your functions file, and the sub forum descriptions will display
//This function adds descriptions to the sub forums function custom_list_forums( $args = '' ) { // Define used variables $output = $sub_forums = $topic_count = $reply_count = $counts = ''; $i = 0; $count = array(); // Parse arguments against default values $r = bbp_parse_args( $args, array( 'before' => '<ul class="bbp-forums-list">', 'after' => '</ul>', 'link_before' => '<li class="bbp-forum">', 'link_after' => '</li>', 'count_before' => ' (', 'count_after' => ')', 'count_sep' => ', ', 'separator' => ', ', 'forum_id' => '', 'show_topic_count' => true, 'show_reply_count' => true, ), 'list_forums' ); // Loop through forums and create a list $sub_forums = bbp_forum_get_subforums( $r['forum_id'] ); if ( !empty( $sub_forums ) ) { // Total count (for separator) $total_subs = count( $sub_forums ); foreach ( $sub_forums as $sub_forum ) { $i++; // Separator count // Get forum details $count = array(); $show_sep = $total_subs > $i ? $r['separator'] : ''; $permalink = bbp_get_forum_permalink( $sub_forum->ID ); $title = bbp_get_forum_title( $sub_forum->ID ); $content = bbp_get_forum_content($sub_forum->ID) ; // Show topic count if ( !empty( $r['show_topic_count'] ) && !bbp_is_forum_category( $sub_forum->ID ) ) { $count['topic'] = bbp_get_forum_topic_count( $sub_forum->ID ); } // Show reply count if ( !empty( $r['show_reply_count'] ) && !bbp_is_forum_category( $sub_forum->ID ) ) { $count['reply'] = bbp_get_forum_reply_count( $sub_forum->ID ); } // Counts to show if ( !empty( $count ) ) { $counts = $r['count_before'] . implode( $r['count_sep'], $count ) . $r['count_after']; } // Build this sub forums link $output .= $r['before'].$r['link_before'] . '<a href="' . esc_url( $permalink ) . '" class="bbp-forum-link">' . $title . $counts . '</a>' . $show_sep . $r['link_after'].'<div class="bbp-forum-content">'.$content.'</div>'.$r['after']; } // Output the list return $output ; } } add_filter('bbp_list_forums', 'custom_list_forums' );May 1, 2014 at 2:15 pm #145727In reply to: Help with forum display
Robin W
Moderatorah..
I would expect it to look like the second by default. If you take out the starter theme does it revert to that?
May 1, 2014 at 7:38 am #145710In reply to: Forum sort order different when logged out
Robin W
Moderatormaybe theme or plugin related.
Try
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, switch to a default theme such as twentytwelve, and see if this fixes.
May 1, 2014 at 1:25 am #145703In reply to: Forums index vs custom page shorturl
dustinarmstrong
ParticipantI just ran through and did a brand new install of WordPress with Twenty Fourteen as the theme, only plugins are bbPress and BuddyPress. It appears to have worked. I wiped the plugins, and tried again with no luck. Here’s a rundown of my process:
Permalinks set to postname.
bbPress installed first, forum root url set to ‘sound-off-forums’, saved. All other settings left default.
Page created with slug ‘sound-off-forums’, page works, shows forums as expected.
BuddyPress installed, default configuration left alone. ‘http://example.com/sound-off-forums’ fails to load, showing a 404 page.
I have no idea. It sounds like I’ll likely need to scrub the DB any trace of bbpress and buddypress from my environment and start over. Thanks for the help with everything. It must have just been an installation error.
April 30, 2014 at 7:59 am #145676In reply to: text buttons
Robin W
Moderatorcan you post a link?
I’d try switching themes to test if it is a theme issue
Themes
If plugins don’t pinpoint the problem, switch to a default theme such as twentytwelve, and see if this fixes.
April 29, 2014 at 4:34 pm #145662Topic: Forums index vs custom page shorturl
in forum Troubleshootingdustinarmstrong
ParticipantBeen looking into this for a few days, and I can’t find a solution.
By default, bbpress offers two solutions for the index of a forum page:
- Using the default settings, and a customizable ‘forum root’ available in the settings panel
- Using a page with a shortcode to implement the section that you want
However, when you use the shortcode solution, there are two ‘forum root’ urls. The one that is associated with the page you want to use, and the one generated with the ‘forum root’ url.
For example, let’s say that I created the forum using the shortcode on site.com/discuss, and I need to use custom fields to customize the appearance of that page with a header, a hero graphic, and some descriptive text. I can style it, and it looks perfect. However, the site.com/forums url is still present in the forum topic urls (site.com/forums/post, not site.com/disucss/post), and as it’s own page without the custom styling.
While I could customize the page template for bbpress on site.com/forums, there are no methods for displaying fields defined by the client/user in the dashboard on that template, completely eliminating the purpose of using the custom page & shortcode option.
Are there any solutions for this or am I stuck? I’ve yet to find any solutions on this.
April 29, 2014 at 2:09 am #145619In reply to: import database from e107 Forum cms system
Stephen Edgar
KeymasterMake sure you have the settings correct, check the
e107_config.phpfile for the correct seetings:eg.
$mySQLserver = 'localhost'; $mySQLuser = 'my_database_user_name'; $mySQLpassword = 'my_database_password'; $mySQLdefaultdb = 'my_database_name'; $mySQLprefix = 'e107v1_';Stephen Edgar
KeymasterAdd this code to your `themes functions.php file:
add_filter( 'bbp_after_get_the_content_parse_args', 'ntwb_bbp_enable_visual_editor' ); function ntwb_bbp_enable_visual_editor( $args = array() ) { $args['quicktags'] = array( 'buttons' => 'strong,em,block,del,ins,ul,ol,li,code,close' ); return $args; }I have removed the default
linkandimgitems from the list so they do not show.April 27, 2014 at 2:53 am #145551In reply to: How can Participants create topics
Stephen Edgar
KeymasterParticipants can create topics by default:
See the default capabilities here https://codex.bbpress.org/bbpress-user-roles-and-capabilities/
April 25, 2014 at 8:44 pm #145500In reply to: Moderator Unable To Post To Forum: iPhone iPad
tharsheblows
ParticipantAh ha – and hmm, would it still pick up the rest of the defaults, eg img and blockquote and those? The correct answer to this question is “You have a test install, play with it and figure it out yourself.” so I will. Later.
I know what you mean about the amount that can be learned in 12 months. 12 months I was trying and trying to convince a client that they didn’t want a forum! Of course, that was for reasons other than development but it has turned out very well – cheap and easy (ok maybe not cheap and maybe not super simple when you count in moderation and user issues and all that) but an excellent way to get constantly updated content.
April 25, 2014 at 10:36 am #145471In reply to: Problems marking topic as private?
Robin W
Moderatorcould be plugin or theme related
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, switch to a default theme such as twentytwelve, and see if this fixes.
April 25, 2014 at 10:35 am #145470In reply to: Theme Recommendation
Robin W
Moderatorbbpress largely picks up on your wordpress theme, use any of thevdefault ones and you’ll get a great look.
I use twentyten very successfully.
and look at the set up guides
April 25, 2014 at 10:33 am #145469In reply to: Link button not working
Robin W
ModeratorPlugins
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, switch to a default theme such as twentytwelve, and see if this fixes.
April 25, 2014 at 10:25 am #145467In reply to: Forums no longer appear after upgrade, topics do
Robin W
ModeratorMay well be a plugin or theme 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, switch to a default theme such as twentytwelve, and see if this fixes.
April 25, 2014 at 4:47 am #145456Topic: bbcode
in forum Installationww_hoax
ParticipantIs there any simple solution to delete default bbcodes. In which file the default bbcodes defined. Many thnaks for any hint.
April 24, 2014 at 1:51 pm #145443In reply to: change forum sidebar
Robin W
ModeratorJust spotted you post on the wordpress forum :
‘My theme (MH Magazine) has no bbPress template by default, so I copied my full-page-width template and renamed it plugin-bbpress.php. I’ve got the forums page set to this template’
If this is how you have it currently, then it is a sidebar template from your theme that you need, not a full width page one. With a siderbar theme, then wp-tweaks will pick this up and add the forum one to the page.
April 24, 2014 at 11:59 am #145437In reply to: Please help with space after paragraph.
WARTORIOUS
ParticipantTheme: modified portfolio press:
/*
Theme Name: Portfolio Press
Description: Portfolio Press is a responsive theme for showcasing your photography, art, web sites, or other projects. It also works nicely as a regular blog site. An options panel is included for uploading logos and and changing the layout. There’s also support for the image, gallery and quote post formats. Visit the demo site or watch the video screencast for set up instructions.
Author: Devin Price
Author URI: http://wptheming.com/
Theme URI: http://wptheming.com/portfolio-theme/
Version: 1.7
License: GNU General Public License
License URI: license.txt
Tags: white, black, gray, two-columns, left-sidebar, right-sidebar, flexible-width, custom-menu, full-width-template, microformats, post-formats, rtl-language-support, theme-options, translation-readyCredits:
Portfolio was built on the solid foundation of Toolbox:
https://wordpress.org/extend/themes/toolboxReset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/MODERATOR EDIT: I removed the ~1200 lines of code here, use pastebin or a gist on GitHub for big code dumps.
April 23, 2014 at 7:40 pm #145410In reply to: Moderator Unable To Post To Forum: iPhone iPad
Stephen Edgar
Keymasterwould I *only* be allowed to add a tags with a class (no, I don’t know why either but just pretend…) and not able to add the default img, blockquote, etc tags?
Correct, with the example you posted you would only be able to add an
aanchor HTML element with aclassCSS class eg.<a class="my-css-class">description</a>note as you removedhreffrom the allowed tags you wouldn’t be able to use<a href="http://example.com">description</a>I had a similar question last year but never really figured it out – gave up when I decided it didn’t matter: https://bbpress.org/forums/topic/using-wp_filter_kses-filter-for-bbpress-posts/
I fully appreciate this highlights how little I know these things! And thank you. 🙂 This has been a really interesting discussion.
This highlights how little I knew 12 months ago, if I don’t know I don’t answer a question unless I can provide something that IS helpful, we are all constantly learning 🙂
April 23, 2014 at 10:21 am #145393In reply to: bbpress custom user role ?
Robin W
Moderatorok,
so create a file called bbpress-functons.php as above and in to this put
<?php //code to add tutor role function add_tutor_role( $bbp_roles ) { /* Add a role called tutor */ $bbp_roles['bbp_tutor'] = array( 'name' => 'Tutor', 'capabilities' => custom_capabilities( 'bbp_tutor' ) ); return $bbp_roles; } add_filter( 'bbp_get_dynamic_roles', 'add_tutor_role', 1 ); function tutor_role_caps_filter( $caps, $role ) { /* Only filter for roles we are interested in! */ if( $role == 'bbp_tutor' ) $caps = custom_capabilities( $role ); return $caps; } add_filter( 'bbp_get_caps_for_role', 'tutor_role_caps_filter', 10, 2 ); function custom_capabilities( $role ) { switch ( $role ) { /* Capabilities for 'tutor' role */ case 'bbp_tutor': return array( // Primary caps 'spectate' => true, 'participate' => true, 'moderate' => false, 'throttle' => false, 'view_trash' => false, // 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' => false, 'delete_others_topics' => false, 'read_private_topics' => true, // Reply caps 'publish_replies' => true, 'edit_replies' => true, 'edit_others_replies' => false, 'delete_replies' => false, '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' => true, ); break; default : return $role; } }This sets up a role called ‘tutor’ – just change this name everywhere to the one you want, and then edit the capabilities.
the default capabilities for each role are :
https://codex.bbpress.org/bbpress-user-roles-and-capabilities/
you’ll probably want to make delete topics and delete replies true
-
AuthorSearch Results