Forum Replies Created
-
In reply to: Visual Editor causes weird bug
latest BBPress – do you mean 2.5.14?
In reply to: Trackbacksah – thanks – try this
// Force ping_status on bbPress post types add_filter( ‘pings_open’, ‘rew_force_ping_status’ ); function rew_force_ping_status( $open, $post_id = 0 ) { // Get the post type of the post ID $post_type = get_post_type( $post_id ); // Default return value is what is passed in $open $retval = $open; // Only force for bbPress post types switch ( $post_type ) { case bbp_get_forum_post_type() : case bbp_get_topic_post_type() : case bbp_get_reply_post_type() : $retval = false; break; // Allow override of the override return apply_filters( ‘rew_force_ping_status’, $retval, $open, $post_id, $post_type ); } }
In reply to: multiple forumscreate a page and put this shortcode in for each forum you want to display where xx is the foirum number
[bbp-single-forum id=xx]
eg
[bbp-single-forum id=56] [bbp-single-forum id=68] [bbp-single-forum id=27]
In reply to: Trackbackssorry, should have put ‘code’ round the sentence
so should have read
‘you seem to have
<strong>
and</strong>
in your code, that is not in the version I posted’but if that is not the issue, can you post the exact error you are getting
In reply to: Remove author column from topic displayok, that is quite ambitious, so well done for getting so far.
As I think you are doing, you should only change files in the templates and then only by copying them to a bbpress folder in your child theme. The originals can (and should) stay in the bbpress plugin file. bbpress will see your files in the child theme and use them instead.
to move the topic content – the word ‘test’ in your example
#bbpress-forums div.bbp-forum-content, #bbpress-forums div.bbp-reply-content, #bbpress-forums div.bbp-topic-content { margin-left: 0px !important; }
In reply to: Trackbacksyou seem to have and in your code, that is not in the version I posted
In reply to: List most recent post for each topic?not sure why that would be – bbp_get_forum_title just does a check and then executes get_the_title
the full function is
function bbp_get_forum_title( $forum_id = 0 ) { $forum_id = bbp_get_forum_id( $forum_id ); $title = get_the_title( $forum_id ); return apply_filters( 'bbp_get_forum_title', $title, $forum_id ); }
It seems to work fine on my test site.
Is there a particular circumstance or is it consistently wrong on your site?
probably a buddypress question – suggest you repost this there
In reply to: Forum URLI should say that I am not the plugin author, just an experienced user.
bbpress just uses wordpress custom posts, so in most cases having the forums within the main site would be no problem. Of course I don’t know your site, so cannot recommend, but most sites just have it within. If the main site is down, chances are that most will not access the forums directly, but rather via the main site, so the forums would ‘appear’ to be down as well.
It is an option to uncheck the box, it is not a recommendation (the box I quoted in settings recommends that you do display the prefix, but I think this is just for clarity in the url).
unticking the box would achieve https://forums.X.com/ and putting the forums in your main site would achieve https://X.com/forums/
In reply to: Empty DIV on profile pageI cannot replicate that on my test site, and from its positioning I suspect it is theme related rather than bbpress as it seems to be within after an <article> div that bbpress doesn’t use, and I cannot find ‘comments-area’ anywhere in the bbpress plugin.
If you want to prove that, switch to a default theme and check that it disappears.
In reply to: Forum URLthe first ‘forums’ is the sub domain where he has installed it (what you call ‘in its own folder) so that cannot be changed.
The ‘/forums/’ is what bbpress uses, you can omit that in the sub-domain wp installation
dashboard>settings>forums>fourm root slug, and untick the ‘Prefix all forum content with the Forum Root slug (Recommended)’
That might achieve your first objective, but probably what you really want is the forums within your site, unless your site is massively complicated or your forums are huge, there is no reason not to have bbpress within your main site
In reply to: User Subscription gets losthas been set to 2.6 defect by the bbpress authors
no idea what you are saying, so I’ll leave it there. Bbpress is what it is.
visual editor available on my plugin
In reply to: Add content to first reply onlygreat – glad you are fixed, and thanks for posting the solution
In reply to: Add content to first reply onlyok, get the topic ID, and then in your hook to
bbp_theme_before_reply_content
look up whether the topic has had any replies by using$count = get_post_meta ($topic_id, '_bbp_reply_count' , false)
If $count=0, then there have been no replies, so this is the first.
In reply to: Change User Role not workingI’m just a user of the software, so can’t tell you when
In reply to: Change User Role not workingthanks for posting this – it is a known error – in essence the bottom filter overrides the top – I think 2.6 will fix this when issued, but it is amazingly rare that someone uses this feature, but appreciate you reporting it
great – thanks for posting that – really appreciated !
would be great if you posted the answer to help others
In reply to: User Subscription gets lostyou can report bugs to
In reply to: Create a forum which works like “Ask the expert”In reply to: Create a forum which works like “Ask the expert”If you know of plugins that do this – then what is your question ?
In reply to: User Subscription gets lostok, I’d suggest you go to RC7 and see if that fixes