Search Results for '+.+default+.+'
-
Search Results
-
Can I just say, whilst bbPress is a great SSO solution for those wanting to hook up their WordPress with a forum, it is very difficult to get it going how you like it. There is virtually no decent documentation going over anything except the basics.
I am trying to achieve something relatively simple, however have had to resort to editing the actual plugin itself in an attempt to get it working how I’d like it to be.
What I am trying to do, is edit the freshness part of bbPress. What do I mean by that? Well, I am trying to edit the following:

So what I wanted it to do, was display the actual Topic Title. It makes sense, because as default – what has updated? What thread was last updated without having to drill into the forum?
I also found it bizarre that the title was added within the title tag of the freshness, really? Can we just have some sort of option to allow us to change how things are layed out, or at least create some documentation on how to actually change this without editing the bbPress plugin files (which is what I have had to resort to…)
My question is, how can I change what is displayed there? Surely there’s a better way around it that doesn’t involve hacking my way through the plugin files.
Which bbPress file actually changes this? Like I say, absolutely no documentation on what each file does – it is just guesswork………………
If I am missing something I apologise, but after looking for countless hours I just decided to edit the plugin source to achieve half of what I wanted – still doesn’t help as I would like to change the location of the author picture and time edited and I am not editing the plugin for those.
Am I being stupid?
If anyone would like the most recent topic name within the forum to display on the index, you can edit the Plugin source code directly like so:
if ( !empty( $time_since ) && !empty( $link_url ) ) $anchor = '<a href="' . esc_url( $link_url ) . '" title="' . esc_attr( $title ) . '">' . esc_html( $time_since ) . '</a>'; else $anchor = esc_html__( 'No Topics', 'bbpress' ); return apply_filters( 'bbp_get_forum_freshness_link', $anchor, $forum_id, $time_since, $link_url, $title, $active_id );Find that chunk of code within bbpress/includes/forums/template.php and change to the following:
if ( !empty( $time_since ) && !empty( $link_url ) ) $anchor = '<a href="' . esc_url( $link_url ) . '" title="' . esc_attr( $title ) . '">' . esc_html( $title ) . '</a>'; else $anchor = esc_html__( 'No Topics', 'bbpress' ); return apply_filters( 'bbp_get_forum_freshness_link', $anchor, $forum_id, $time_since, $link_url, $title, $active_id );All we have done here is changed the $time_since to $title. Now you need to re-add the $time_since variable in there somewhere, which is a pain because you may not want it right after the thread title (like myself…)
Hey again,
Running into some trouble customizing my bbpress forums via the bbpress.css file in the my child theme. I’m unsure if the pathway is incorrect, or maybe the intro to the file itself is incorrectly formatted. I do, however, know I was able to enqueue the custom loop-forums.php correctly with the functions.php properly pathwayed.
So, the pathway to the bbpress.css file is default>css>bbpress.css
In my childtheme, I have the bbpress.css file located avada-childtheme>css>bbpress.cssHowever, whenever I add code into the bbpress.css file after the
`/*
Theme Name: Avada-childtheme
Theme URI: Your website if you don’t intend to publish a separate site just for your theme
Description: A brief description of your child theme
Author: Jonah Hollis
Author URI: http://www.animusesports.com/
Template: Avada
Version: 1.0.0
Tags: whatever tags you might want to use for your child theme
*//* =Theme customization starts here
————————————————————– */
it corrupts the bbpress forums and breaks them. When I delete the file, the bbpress forums resume normal functionality. For the purposes of example, I’ll leave them broken.Any help is appreciated. Thanks!
http://www.animusesports.com/forums/
WordPress 4.0.1
bbPress 2.5.4-5380Hi, I would like to know how to change the “forum” link in the breadcrumbs to link to another page I built the forums using the shortcodes and the “forum” link in the breadcrumbs takes me to the default forum page.
I would like it to go to the page I created.
Topic: Need help with custom roles
Hi
This is my third time trying to post here hopefully it sticks this time.
I am trying to add some custom roles to the bbpress forums and I have followed the Custom Capabilities codex page.
It doesn’t appear to be working as intended though as I cannot give myself the owner role
I would like these roles in bbpress to sync with some custom wp roles made with the members plugin.
sorry for the wall of text below but its an effort to get this topic posted (i had links in the previous topics)
here is what i have in my child themes functions.php
// add bbPress Roles******************************************** function add_new_roles( $bbp_roles ) { /* Add a role called BlockFusion Owner */ $bbp_roles['bbp_owner'] = array( 'name' => 'BlockFusion Owner', 'capabilities' => custom_capabilities( 'bbp_owner' ) ); /* Add a role called Co-Owner */ $bbp_roles['bbp_co_owner'] = array( 'name' => 'Co-Owner', 'capabilities' => custom_capabilities( 'bbp_co_owner' ) ); /* Add a role called Admin */ $bbp_roles['bbp_admin'] = array( 'name' => 'Admin', 'capabilities' => custom_capabilities( 'bbp_admin' ) ); /* Add a role called Moderator */ $bbp_roles['bbp_moderator'] = array( 'name' => 'Moderator', 'capabilities' => custom_capabilities( 'bbp_moderator' ) ); /* Add a role called Member */ $bbp_roles['bbp_member'] = array( 'name' => 'Member', 'capabilities' => custom_capabilities( 'bbp_member' ) ); /* Add a role called Guest */ $bbp_roles['bbp_guest'] = array( 'name' => 'Guest', 'capabilities' => custom_capabilities( 'bbp_guest' ) ); return $bbp_roles; } 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_owner' ) $caps = custom_capabilities( $role ); if( $role == 'bbp_co_owner' ) $caps = custom_capabilities( $role ); if( $role == 'bbp_admin' ) $caps = custom_capabilities( $role ); if( $role == 'bbp_moderator' ) $caps = custom_capabilities( $role ); if( $role == 'bbp_member' ) $caps = custom_capabilities( $role ); if( $role == 'bbp_guest' ) $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 'BlockFusion Owner' role */ case 'bbp_owner': return array( // Keymasters only 'keep_gate' => true, // Primary caps 'spectate' => true, 'participate' => true, 'moderate' => true, 'throttle' => true, 'view_trash' => true, // Forum caps 'publish_forums' => true, 'edit_forums' => true, 'edit_others_forums' => true, 'delete_forums' => true, 'delete_others_forums' => true, 'read_private_forums' => true, 'read_hidden_forums' => true, // Topic caps 'publish_topics' => true, 'edit_topics' => true, 'edit_others_topics' => true, 'delete_topics' => true, 'delete_others_topics' => true, 'read_private_topics' => true, // Reply caps 'publish_replies' => true, 'edit_replies' => true, 'edit_others_replies' => true, 'delete_replies' => true, 'delete_others_replies' => true, 'read_private_replies' => true, // Topic tag caps 'manage_topic_tags' => true, 'edit_topic_tags' => true, 'delete_topic_tags' => true, 'assign_topic_tags' => true, ); /* Capabilities for 'Co-Owner' role */ case 'bbp_co_owner': return array( // Primary caps 'spectate' => true, 'participate' => true, 'moderate' => true, 'throttle' => true, 'view_trash' => true, // Forum caps 'publish_forums' => true, 'edit_forums' => true, 'edit_others_forums' => true, 'delete_forums' => true, 'delete_others_forums' => true, 'read_private_forums' => true, 'read_hidden_forums' => true, // Topic caps 'publish_topics' => true, 'edit_topics' => true, 'edit_others_topics' => true, 'delete_topics' => true, 'delete_others_topics' => true, 'read_private_topics' => true, // Reply caps 'publish_replies' => true, 'edit_replies' => true, 'edit_others_replies' => true, 'delete_replies' => true, 'delete_others_replies' => true, 'read_private_replies' => true, // Topic tag caps 'manage_topic_tags' => true, 'edit_topic_tags' => true, 'delete_topic_tags' => true, 'assign_topic_tags' => true, ); /* Capabilities for 'Admin' role */ case 'bbp_admin': return array( // Primary caps 'spectate' => true, 'participate' => true, 'moderate' => true, 'throttle' => true, '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' => true, // Topic caps 'publish_topics' => true, 'edit_topics' => true, 'edit_others_topics' => true, 'delete_topics' => true, 'delete_others_topics' => true, 'read_private_topics' => true, // Reply caps 'publish_replies' => true, 'edit_replies' => true, 'edit_others_replies' => true, 'delete_replies' => true, 'delete_others_replies' => true, 'read_private_replies' => true, // Topic tag caps 'manage_topic_tags' => true, 'edit_topic_tags' => true, 'delete_topic_tags' => true, 'assign_topic_tags' => true, ); /* Capabilities for 'Moderator' role */ case 'bbp_moderator': return array( // Primary caps 'spectate' => true, 'participate' => true, 'moderate' => true, 'throttle' => true, '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' => true, // Topic caps 'publish_topics' => true, 'edit_topics' => true, 'edit_others_topics' => true, 'delete_topics' => true, 'delete_others_topics' => true, 'read_private_topics' => true, // Reply caps 'publish_replies' => true, 'edit_replies' => true, 'edit_others_replies' => true, 'delete_replies' => true, 'delete_others_replies' => true, 'read_private_replies' => true, // Topic tag caps 'manage_topic_tags' => true, 'edit_topic_tags' => true, 'delete_topic_tags' => true, 'assign_topic_tags' => true, ); /* Capabilities for 'Member' role */ case 'bbp_member': return array( // Primary caps 'spectate' => true, 'participate' => true, 'moderate' => false, 'throttle' => true, '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' => 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' => true, 'edit_topic_tags' => true, 'delete_topic_tags' => true, 'assign_topic_tags' => true, ); /* Capabilities for 'Guest' role */ case 'bbp_guest': return array( // Primary caps 'spectate' => true, 'participate' => true, 'moderate' => false, 'throttle' => true, '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' => 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' => true, 'edit_topic_tags' => true, 'delete_topic_tags' => true, 'assign_topic_tags' => true, ); break; default : return $role; } }Using WordPress 4.0
BBPress 2.5.4I am new to BBPress to start with. We moved our site from one host to a new host. We mapped all the users with the posts/forums/replies. Then all of a sudden all Forums/Topics/Replies are all showing as the Default Keymaster (we have 2 one as support and one for our client).
So Forum public show as Admin but the Creator of the forum in the back end shows the correct person. I have tried repairing the various areas of the forum.
Is there away to change the Author in bulk say to the default Keymaster to another Keymaster.
HELP!
Topic: Custom files
Ok I have been playing with this for a while. When you read the bbpress information when it comes to customizing templates php ect it says to create a bbpress folder within your child theme. Well bbpress isnt looking for custom folder with in my theme so it ignores anything i place in that folder. How ever if anyone is having this problem just place your custom files in your child themes directory. bbpress finds them with no problem then. for example I just redid the content-statistics.php I did not want the the list to take up so much page so I changed the formatting of the file so it would display not with a default <dl> block style but in a <table> format. you can see this here. Only the file wouldn’t read in the bbpress folder.
Topic: Import Hung?
I was importing from my Vbulletin 4 and it went through converting topics, then it started converting tags and hung about 12,900. Is this a known bug? What’s the best way to do this over without losing the imported content and without taking risks of missing content not being imported initially on the hang up? Any ideas why it would hang up like that? It took a pretty long time just to do the topics. It didn’t start the users yet either. You’d think it would import users first?
Side note, I don’t see any area to set up bbcodes? Is bbcode not a default feature?