Forum Replies Created
-
In reply to: Edit topic reply, changes post order
Why hello there… I can now reproduce the issue π
I have the cause of the issue identified and a patch 100% complete that prevents this from occurring in the future. π
The cause is one of our repair tools “Count replies in each forum” π
Immediate Workaround: Run the “Count replies in each topic” repair tool and DO NOT run the “Count replies in each forum” repair tool, it deletes data needed to calculate new replies displayed order.
NOTE: This will only prevent the issue from re-occurring, it will NOT fix existing replies affected.We still need to create a repair tool to update existing replies that are affected by this issue. I have a rough outline of the tool though it isn’t quite right yet as it is not picking up all the possible permutations and combinations of how replies can be ordered with or without ‘threaded replies’ enabled.
It’s 1:15am here my local time and I’m beat thus I’m pulling the pin for the evening. π
Thanks for your all of your patience along the way, sorry it wasn’t sooner but until we could reproduce the issue coming up with a fix is really hard π
If you want further technical details you can look at ticket #2586 in trac.
Once I’ve had some Zzzzz’s I’ll update this post.
In reply to: bbPress – Twenty Fourteen – iPhone viewHmmm…. Any cache running? It also looks like you are using a child theme, switch to the native Twenty Fourteen theme and see how that works, if it does take a look at where you might be overriding that in the child theme.
In reply to: bbPress – Twenty Fourteen – iPhone viewIt is working for me, this is a browser window resized to ~300px wide https://cloudup.com/c7D89tXeKmH
In reply to: Search functionThis forum is not visible to non-logged in users, but when they search for keyword on the hidden forum, it still display the topic in the hidden forum.
I cannot reproduce this, any topics in hidden or private forums are not shown in the search results.
Oops it seems the βsearchβ feature can find anything by anyone (logged-in or out visitors), it even finds topics/replies on PRIVATE/HIDDEN forum!
Same, I cannot reproduce this, any topics in hidden or private forums are not shown in the search results.
Also, the tags widget on private and hidden forum also direct to the private/hidden topics/replies too π
What ‘tags widget’ are you using? bbPress does not include a tags widget.
In reply to: Set bbpress roles on New user formIf you take a look at a single users profile and the ‘edit’ section:
If you look in
content-single-user.php
you’ll see:<?php if ( bbp_is_single_user_edit() ) bbp_get_template_part( 'form', 'user-edit' ); ?>
Open the
form-user-edit.php
template:<?php do_action( 'bbp_user_edit_before_role' ); ?> <?php bbp_get_template_part( 'form', 'user-roles' ); ?> <?php do_action( 'bbp_user_edit_after_role' ); ?>
(I removed some of the multisite network user role code for readability above)
Open up the
form-user-roles.php
template:<?php bbp_edit_user_forums_role(); ?>
The role that will be the default when you add this to your ‘New User Form’ will be the default ‘participant’ if that is what you have set the default role as in bbPress settings.
In reply to: Moderator Unable To Post To Forum: iPhone iPadWP just updated to 3.8.3 (without my inputβ¦) so would that have some version of tinyMCE in it?
No, it is the same TinyMCE version that shipped with WordPress 3.8, the new TinyMCE v4 is included in WordPress 3.9 and should be available within the next 24 hours.
This topic can indeed stay open and if you could post an update after you have updated to WordPress 3.9 that would be helpful.
In reply to: Duplicate Titles for RepliesI’m updating all the importers with the enhancement I outlined above as we speak as we don’t really want titles to replies at all in the database.
I’ll try and figure out a plugin/tool/script that you can run so you can update your old replies.
In reply to: Duplicate Titles for RepliesThere was a change to handle reply slug titles in bbPress 2.5
http://elitegamingcomputers.com/reply/12078/
http://elitegamingcomputers.com/reply/12095/
The above is what the updated slugs should be though as those replies were created before the 2.5 update they a) don’t work though that is what format your new slugs would use.
Looking at a recent topic http://elitegamingcomputers.com/topic/hello-everyone-3/ your reply to that topic is and works fine: http://elitegamingcomputers.com/reply/17556/
Thus this will only affect your pre bbPress 2.5 replies and there are probably a couple of options available if you wanted to retrospectively apply this to your pre 2.5 replies either with a custom PHP repair tool or directly in phpMyAdmin to grab each reply and copy it’s post
ID
to thepost_name
field in thewp_posts
table.EDIT: If you want to see the code and ticket background on this change see this and this
Ha! This is kind of cool I reckon π http://theguiltymommy.com/mommy-forums/
Your themes CSS loads after bbPress’ so adding the equiv from bbPress CSS to your thtmes CSS should do the trick:
#bbpress-forums div.even, #bbpress-forums ul.even { background-color: #fff; } #bbpress-forums div.odd, #bbpress-forums ul.odd { background-color: #fbfbfb; }
In reply to: Importing from VanillaCool, glad your up and running, it also looks like you haven’t run the repair tools to update the counts. Go to the WordPress Dashboard -> Tools -> Forums and run each of those to update the counts.
In reply to: hidden forumThis is not currently available to do in bbPress ‘out of the box’ there are various plugins that will allow you to do this though. S2Member, Members, Restrict Content Pro.
We do plan on including this ”out of the box’ in a future version though. π
In reply to: User PermissionKeymaster -> Forum Capabilities
publish_forums edit_forums edit_others_forums delete_forums delete_others_forums
Moderator -> Forum Capabilities
publish_forums edit_forums read_private_forums read_hidden_forums
What this allows for is the ‘keymaster’ has control of all the forums.
A ‘moderator’ can create forums and edit their own forums created but not edit any other forums created by other moderators or keymasters.
Probably the main issue you are seeing is ‘how to’ actually do this in the front end and we can (and will) implement this a little better in a future version of bbPress.
To edit a forum from the front end simply add
/edit
to the end of the URL for example if you have a forum namedtest-forum
this will take you to the edit forum form/forum/test-forum/edit/
To add a new forum add the
[bbp-forum-form]
shortcode to a page that moderator can access or add a function like this one to hook the forum form onto a moderators user profile page.In reply to: CHAT FOR MY FORUMI think this is what you are after https://wordpress.org/plugins/bbpress-private-replies/
In reply to: User Permissioncreate/modify/delete forums/topics and replies
The standard moderator role can do this and this can all be done on the front end with no need to perform any of those tasks via the back end.
In reply to: Resize Avatar with Simple Local AvatarThis is not a bbPress issue, bbPress only uses the standard WordPress avatars.
Check out the FAQ and/or support forum for the plugin you are using that let’s users upload their own avatar.
In reply to: Videos (youku)The WordPress language pack for
zh_CH
includes the following code:
https://i18n.trac.wordpress.org/browser/zh_CN/tags/3.8.1/dist/wp-content/languages/zh_CN.php#L8483 /** 84 * Youku wp_embed handler 85 * 86 * Embed code last updated: 87 * Wed, 06 Jun 2012 00:36:11 -0400 88 * 89 * Feel free to submit or correct URL formats here: 90 * https://cn.wordpress.org/contact/ 91 * 92 * @since 3.4.0 93 */ 94 function wp_embed_handler_youku( $matches, $attr, $url, $rawattr ) { 95 $embed = sprintf( 96 '<embed src="http://player.youku.com/player.php/sid/%1$s/v.swf" allowFullScreen="true" quality="high" width="480" height="400" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash"></embed>', 97 esc_attr( $matches['video_id'] ) ); 98 99 return apply_filters( 'embed_youku', $embed, $matches, $attr, $url, $rawattr ); 100 } 101 wp_embed_register_handler( 'youku', 102 '#https?://v\.youku\.com/v_show/id_(?<video_id>[a-z0-9_=\-]+)#i', 103 'wp_embed_handler_youku' );
So as you should be able to have this in WordPress posts and pages etc that ‘should’ flow on down to bbPress to allow you to use youku π
In reply to: Videos (youku)Hi π
bbPress follows WordPress list here https://codex.wordpress.org/Embeds
Oh…. Look… You should be able to π
Are you running WordPress with
define('WPLANG', 'zh_CH');
in yourwp-config.php
?In reply to: Forum vs Blog permalinksWordPress can only have one page titled
page_name
and use the slugpage_name
thus this then extends to bbPress.I thought we had a bbPress ticket for this on Trac but I can’t find it right now https://bbpress.trac.wordpress.org
Probably you should use http://chamabox.co.ke/forums/feed and http://chamabox.co.ke/topics/feed, any bbPress page, section, forum topic, just add
/feed
to the end of the URL and you should be good to go.That said, I see the feeds are broken, it looks like either the ‘wdsi-slide_in’ or ‘mailchimp’ plugins are injecting content into bbPress’ RSS feeds. What happens with these plugins disabled?
In reply to: remove default photo?A link to an example of the issue on your site would help us better understand what your trying to do. π
In reply to: add custom profile field or group as signature?There are a few bbPress signature plugins, maybe one of these will do what you are looking for
https://wordpress.org/plugins/search.php?q=signature+bbpressIt shouldn’t have done that π
I’d suggest going to ‘Tools’ -> ‘Forums’ and resetting your forums which will delete all forums, topics and replies and optionally imported users and have another go at it.
You would probably be best setting up a test install of WordPress and bbPress to make sure the import finishes successfully.
If you find it keeps doing this please create a support ticket in Trac and I’ll take a look at why it isn’t working. https://bbpress.trac.wordpress.org/
In reply to: Displaying a custom field in profile pageHere is another way to do custom profile fields:
https://codex.wordpress.org/Plugin_API/Filter_Reference/user_contactmethods
bbPress will display any of of these fields you add or remove for a users profile page, as many of few as you like.
In reply to: Display latest post excerpt under FreshnessIf when you decide to come back to this you’ll want to use
the_excerpt
https://codex.wordpress.org/Function_Reference/the_excerpt
There are varios examples scattered throught this site also
This could be an issue with your rewrite rules. To fix this try resetting your permalinks. In your WordPress Administration Screens navigate to Settings > Permalinks, select a different permalink structure and save. Then select your preferred permalink structure and save again.