Search Results for 'bbpress'
-
AuthorSearch Results
-
May 17, 2014 at 10:54 pm #146493
In reply to: User profile pages not displaying correctly
Stephen Edgar
KeymasterAh…. I know why, apologies for saying not cool 😉
Make a copy of your
page.phpfile and save it asbbpress.phpin your themes folder (you can usepage-sidebar.phpif you prefer) and then bbPress will ‘wrap’ all of it’s pages in that template for you.May 17, 2014 at 10:09 pm #146489In reply to: User profile pages not displaying correctly
Stephen Edgar
KeymasterWow! Bumping your own topic 7 minutes after first posting, not cool.
That said you are correct it is a compatibility issue with your theme and also bbPress does NOT support signatures ‘out of the box’
May 17, 2014 at 9:58 pm #146488In reply to: CSS Plugin
Stephen Edgar
KeymasterWhy not just enter your custom bbPress CSS in your themes custom CSS Editor?
It should work just as it does for your themes CSS.
May 17, 2014 at 9:49 pm #146486In reply to: Display unread posts distinctively
Stephen Edgar
KeymasterHere is our ‘Official’ stance on the ‘Unread’ feature/functionality:
https://bbpress.trac.wordpress.org/ticket/1937
The primary issue is performance, we have not seen a plugin that will work well for larger sites, if we implement this as a feature it must work for everyone who uses bbPress.
I just updated the list of ‘Unread’ type plugins I know of here:
May 17, 2014 at 9:31 pm #146482In reply to: WYSIWYG editor with image upload for "Normal Users"
Stephen Edgar
Keymaster1) An easy WYSIWYG editor in bbpress for normal users(frontend).
You can enable the TinyMCE Visual Editor with instructions shown here:
2) With an image “upload” feature, but is not working like an attachment like “GD bbPress Attachments”.
I’m only aware of the “GD bbPress Attachments” plugin that offers this for bbPress, you should be asking in their support forums for any issues relating to why this plugin doesn’t work for you.
3) All the uploaded images will be separated by folder(user name or individual name for an user).
bbPress does NOT support attachments or media uploads ‘out of the box’
I would also suggest you also contact the “GD bbPress Attachments” support forum to request any enhancements you would like to see in the plugin.May 17, 2014 at 9:23 pm #146481In reply to: Error show in admin dashboard
Stephen Edgar
KeymasterSet WP_DEBUG to false
define('WP_DEBUG', false);in yourwp-config.phpfile, this is a known issue.More info on this:
https://bbpress.trac.wordpress.org/ticket/2309 https://core.trac.wordpress.org/ticket/24169
May 17, 2014 at 8:52 pm #146477In reply to: Documented import from snitz access database
Stephen Edgar
KeymasterbbPress doesn’t actually support the use of signatures ‘out of the box’.
What we can do though is still import that data and store it in the
wp_usermetatable, then if you do add a plugin that supports signatures in bbPress you can then copy that data (Using phpMyAdmin for example) from your imported database to however that plugin supports signatures.Simply add this field map:
// User Signature (Stored in usermeta) $this->field_map[] = array( 'from_tablename' => 'FORUM_MEMBERS', 'from_fieldname' => 'M_SIG', 'to_type' => 'user', 'to_fieldname' => '_bbp_snitz_user_sig' );Thus once you (if you do) add a plugin to support signatures to can then query against the
_bbp_snitz_user_sigfield directly with MySQL and update your user profile fields.I just added the above to the Gist also, you can see the changes via the ‘revisions’ link.
May 17, 2014 at 8:42 pm #146474In reply to: Freshness Date Format
Morgensonne
ParticipantRobin, hi again 🙂
I’m still working on my new bbPress and now I was looking for a solution to change the ‘freshness’ that bbPress displays to the date of topic. I’m excited because I found your posting here and read that there is a plugin now which does that. How great!!
I’ve installed it right now, but still I have a problem to activate it.
It is the message:Plugin can not be activated because fatal error.
Parse error: syntax error, unexpected T_FUNCTION in …..myTestWP/wp-content/plugins/bbp-last-post/includes/lp-widgets.php on line 224Do you have an idea, Robin, why it can not be activated at me?
Link unfortunately I have not currently, I’m still on my test server.
Would be glad to hear from you.
Thank you!Morgensonne
May 17, 2014 at 8:25 pm #146472Topic: Is there a plugin to add new forum roles to bbpress?
in forum TroubleshootingJBBoY
ParticipantHello again!
I read a lot about create new forum roles with capabilities. I’ve found a solution with some hardcoding functions.php file:
But, is there a plugin to do the same much clearer? I need to add some new roles and edit his capabilities.
I’m using “user role editor” but this plugin only changes WordPress roles, not bbpress.
Thank you so much for all your help. 🙂
May 17, 2014 at 7:54 pm #146471In reply to: Documented import from snitz access database
Stephen Edgar
KeymasterOne more thing, when making a custom importer always base it of the
Example.phpimporter, I keep that updated with examples and any other changes I make for bbPress.The latest (updated 3 days ago) is here:
https://bbpress.trac.wordpress.org/browser/trunk/src/includes/admin/converters/Example.phpAs Robin points out, you just delete/remove the sections or fields that are not applicable to your import e.g. ‘tags’ or if your database doesn’t include the ‘counts’ for topics in forums then remove that part in the forum section.
May 17, 2014 at 5:14 pm #146469In reply to: bbpress topic breadcrumbs (yoast) messed up??
Robkk
ModeratorNevermind ill just remove the breadcrumbs from bbpress pages and style the bbpress breadcrumbs to be like my yoast ones
May 17, 2014 at 4:56 pm #146468In reply to: Can't change forum's index meta title
Robin W
Moderatorok, the answer is somewhere in this function
function bbp_title( $title = '', $sep = '»', $seplocation = '' ) { // Title array $new_title = array(); /** Archives **************************************************************/ // Forum Archive if ( bbp_is_forum_archive() ) { $new_title['text'] = bbp_get_forum_archive_title(); // Topic Archive } elseif ( bbp_is_topic_archive() ) { $new_title['text'] = bbp_get_topic_archive_title(); /** Edit ******************************************************************/ // Forum edit page } elseif ( bbp_is_forum_edit() ) { $new_title['text'] = bbp_get_forum_title(); $new_title['format'] = esc_attr__( 'Forum Edit: %s', 'bbpress' ); // Topic edit page } elseif ( bbp_is_topic_edit() ) { $new_title['text'] = bbp_get_topic_title(); $new_title['format'] = esc_attr__( 'Topic Edit: %s', 'bbpress' ); // Reply edit page } elseif ( bbp_is_reply_edit() ) { $new_title['text'] = bbp_get_reply_title(); $new_title['format'] = esc_attr__( 'Reply Edit: %s', 'bbpress' ); // Topic tag edit page } elseif ( bbp_is_topic_tag_edit() ) { $new_title['text'] = bbp_get_topic_tag_name(); $new_title['format'] = esc_attr__( 'Topic Tag Edit: %s', 'bbpress' ); /** Singles ***************************************************************/ // Forum page } elseif ( bbp_is_single_forum() ) { $new_title['text'] = bbp_get_forum_title(); $new_title['format'] = esc_attr__( 'Forum: %s', 'bbpress' ); // Topic page } elseif ( bbp_is_single_topic() ) { $new_title['text'] = bbp_get_topic_title(); $new_title['format'] = esc_attr__( 'Topic: %s', 'bbpress' ); // Replies } elseif ( bbp_is_single_reply() ) { $new_title['text'] = bbp_get_reply_title(); // Topic tag page } elseif ( bbp_is_topic_tag() || get_query_var( 'bbp_topic_tag' ) ) { $new_title['text'] = bbp_get_topic_tag_name(); $new_title['format'] = esc_attr__( 'Topic Tag: %s', 'bbpress' ); /** Users *****************************************************************/ // Profile page } elseif ( bbp_is_single_user() ) { // User is viewing their own profile if ( bbp_is_user_home() ) { $new_title['text'] = esc_attr_x( 'Your', 'User viewing his/her own profile', 'bbpress' ); // User is viewing someone else's profile (so use their display name) } else { $new_title['text'] = sprintf( esc_attr_x( "%s's", 'User viewing another users profile', 'bbpress' ), get_userdata( bbp_get_user_id() )->display_name ); } // User topics created if ( bbp_is_single_user_topics() ) { $new_title['format'] = esc_attr__( "%s Topics", 'bbpress' ); // User rueplies created } elseif ( bbp_is_single_user_replies() ) { $new_title['format'] = esc_attr__( "%s Replies", 'bbpress' ); // User favorites } elseif ( bbp_is_favorites() ) { $new_title['format'] = esc_attr__( "%s Favorites", 'bbpress' ); // User subscriptions } elseif ( bbp_is_subscriptions() ) { $new_title['format'] = esc_attr__( "%s Subscriptions", 'bbpress' ); // User "home" } else { $new_title['format'] = esc_attr__( "%s Profile", 'bbpress' ); } // Profile edit page } elseif ( bbp_is_single_user_edit() ) { // Current user if ( bbp_is_user_home_edit() ) { $new_title['text'] = esc_attr__( 'Edit Your Profile', 'bbpress' ); // Other user } else { $new_title['text'] = get_userdata( bbp_get_user_id() )->display_name; $new_title['format'] = esc_attr__( "Edit %s's Profile", 'bbpress' ); } /** Views *****************************************************************/ // Views } elseif ( bbp_is_single_view() ) { $new_title['text'] = bbp_get_view_title(); $new_title['format'] = esc_attr__( 'View: %s', 'bbpress' ); /** Search ****************************************************************/ // Search } elseif ( bbp_is_search() ) { $new_title['text'] = bbp_get_search_title(); } // This filter is deprecated. Use 'bbp_before_title_parse_args' instead. $new_title = apply_filters( 'bbp_raw_title_array', $new_title ); // Set title array defaults $new_title = bbp_parse_args( $new_title, array( 'text' => $title, 'format' => '%s' ), 'title' ); // Get the formatted raw title $new_title = sprintf( $new_title['format'], $new_title['text'] ); // Filter the raw title $new_title = apply_filters( 'bbp_raw_title', $new_title, $sep, $seplocation ); // Compare new title with original title if ( $new_title === $title ) return $title; // Temporary separator, for accurate flipping, if necessary $t_sep = '%WP_TITILE_SEP%'; $prefix = ''; if ( !empty( $new_title ) ) $prefix = " $sep "; // sep on right, so reverse the order if ( 'right' === $seplocation ) { $new_title_array = array_reverse( explode( $t_sep, $new_title ) ); $new_title = implode( " $sep ", $new_title_array ) . $prefix; // sep on left, do not reverse } else { $new_title_array = explode( $t_sep, $new_title ); $new_title = $prefix . implode( " $sep ", $new_title_array ); } // Filter and return return apply_filters( 'bbp_title', $new_title, $sep, $seplocation ); }a filter such as
function amend_title () { if ( bbp_is_single_forum() ) { $new_title['text'] = 'YA book forum' ; $new_title['format'] = esc_attr__( 'YA book Forum', 'bbpress' ); } return $new_title; } add_filter('bbp_before_title_parse_args', 'amend_title' );should sort it but doesn’t, and I’m too tired to work out why 🙂
Over to you !
May 17, 2014 at 4:52 pm #146467In reply to: WYSIWYG editor with image upload for "Normal Users"
Bard
ParticipantHi Guys,
Or how you solve this? a wysiwyg editor with image upload which is not uploaded in a public media box for bbpress users?
May 17, 2014 at 2:06 pm #146461Topic: bbpress topic breadcrumbs (yoast) messed up??
in forum TroubleshootingRobkk
Moderatoron my site i have yoast breadcrumbs
and everything is looking fine setting it up
until i see that when im on any topic, it shows this
https://drive.google.com/file/d/0B_Ue9ryY5cmYRE8xQl9QUVhvUm8/edit?usp=sharing
Shouldnt it be
Home | topics | test topic 3
or
Home | test forum | topics | test topic 3
May 17, 2014 at 1:50 pm #146460In reply to: Error show in admin dashboard
Robin W
Moderatorhmm, I’d check for a conflict first
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.
Then I’d re-download the software in case this was an issue
come back if that doesn’t work
May 17, 2014 at 1:48 pm #146459In reply to: Can't change forum's index meta title
Robin W
ModeratorI think I understand
go into dashboard>settings>forums and change the slugs for forum root and single forum root. that will change the url
If you want to change the breadcrumb, then see
you can also set
‘home_text’ , ‘root_text’ and ‘current_text’
using this code
If that’s not what you are after – come back !
May 17, 2014 at 1:31 pm #146458In reply to: Documented import from snitz access database
Robin W
Moderator@gianjj – thanks for adding this – very helpful, and please continue to update us !
I forget that it was only 13 months ago that I started using bbPress – seems like years now !
May 17, 2014 at 1:19 pm #146451In reply to: Display unread posts distinctively
Robin W
ModeratorThanks for your comments, I have not been ignoring you, I have been running a training course all today.
It’s great that you plan to improve an existing plugin, this is exactly what community software is all about, and I really hope that you will share it when done to help others :-).
I would hasten to add I have nothing to do with bbPress, I just help out on the forum, and have written a few bbPress plugins, so views are my own!
There’s lots I’d like to see in a core bbPress or as well maintained plugins, but someone has to write the stuff, and as it’s free no-one gets paid to do so. Where there is perceived demand, then hopefully the core guys will add it.
Read/unread is a popular feature on many forums, I don’t use it on my own as it’s not relevant, but I do take advantage of other forum sites that do, and you could easily argue that it should be core, but then of course it would only be the way that the bbPress guys want it to work, which could be either of the plugins that you don’t like !
Of course ones person’s standard is another’s stifling of innovation, and that community software can grow organically is both an argument for it, and an annoyance with it 🙂
Anyway, I would love to see a read/unread plugin along the lines you propose, so if you’re the man to code it, and then share with us, you’ll be very welcome here ! necessity is the mother of invention.
@blankstage – hey thanks for your comments- they cheered me up after a long day !May 17, 2014 at 1:13 pm #146450Topic: WYSIWYG editor with image upload for "Normal Users"
in forum PluginsBard
ParticipantCan someone tell me is there a plugin doing this now?(This has been asked over 6 years)
I have tried lots of plugins but no one does exactly what I need,
1) An easy WYSIWYG editor in bbpress for normal users(frontend).
2) With an image “upload” feature, but is not working like an attachment like “GD bbPress Attachments”.
3) All the uploaded images will be separated by folder(user name or individual name for an user).
This is to avoid user use images from other users.
I am also happy to know the reason if this is impossible this meanwhile, like wordpress official has a consideration on it’s risks.May 17, 2014 at 7:55 am #146437JBBoY
ParticipantThanks a lot for your response 🙂
I have seen in “Step by step guide to setting up a bbPress forum – Part 1”
The way I want my forum looks like. Is this screenshot from previous versions and now there isn’t an easy way to do this ? I just want the topics (better last 4 topics of each forum) under the name of the forum wich they belong. The only solution is hardcoding? I don’t know where to start. Which file should I edit to change the forum structure? :S
Thanks a lot for all.
May 17, 2014 at 7:45 am #146436In reply to: Style problem with shortcodes.
JBBoY
ParticipantThank you for your response and support. I think it was a problem between my theme and bbpress css, a pair of “!important;” in the css and everything’s solved! 🙂
May 17, 2014 at 4:20 am #146431In reply to: Display unread posts distinctively
nirgalo
Participant@robin-w – thanks for pointing out bbPress Mark as read plugin. I have checked it but for the reason mentioned above (not using the same db keys), it is not compatible with bbPress Unread posts plugin. So what I’ll do it make a custom version of bbPress Unread posts plugin whose code is simple and easily fixable and get along with this. Again, the read/unread state of posts really needs to be standardised by bbPress to prevent these incompatibilites between plugins.
May 17, 2014 at 4:11 am #146430In reply to: Display unread posts distinctively
nirgalo
ParticipantI have been looking at the implementation of two plugins so far to track the read/unread state of posts. They are both using a specific key into the post meta, meaning the posts marked as read by one plugin are not marked as read by another plugin. This is to avoid this kind of mess I would suggest bbPress contributors to add at least a standard field to mark a post as read by a given user.
May 17, 2014 at 4:01 am #146429In reply to: Display unread posts distinctively
nirgalo
Participant@robin-w – right, but for every feature there is into bbPress, the same question probably arises : “is this a feature to put into bbPress or implement as a plugin?”. The status of unread posts is quite a common feature and the question is legitimate for this in my opinion.
May 17, 2014 at 3:58 am #146428In reply to: Display unread posts distinctively
Robin W
ModeratorThe bbPress philosophy is :
‘We’re keeping things as small and light as possible while still allowing for great add-on features through WordPress’s extensive plugin system. What does all that mean? bbPress is lean, mean, and ready to take on any job you throw at it.’
see
There are literally hundreds of bits that could be added, which some/many/all forums either need or don’t need !
Plugins are written by the community to add features to bbPress, and maintained where the author is both able and willing.
Remember all this software is free, and relies on volunteers to make it all work – it takes many hours to write and as long to maintain a good plugin.
You could try ‘mark as read’ as a possible solution.
-
AuthorSearch Results