Forum Replies Created
-
In reply to: How can I limit some users from direct posting
If you change this to get it to do certain users, do post back the solution
In reply to: How can I create new user groups in bbpress?In reply to: BBpress 2.6.1 translations issuePut this in your child theme’s function file – or use
add_filter( 'gettext', 'rew_bbpress_translate', 20 , 3 ); add_filter( 'ngettext', 'rew_bbpress_translate' , 20 , 3 ); function rew_bbpress_translate( $translated, $text, $domain ) { if ($domain == 'bbpress') { $words = array( '%s day' => '%s jour', '%s days' => '%s jours', 'Last Post' => 'Dernier message', ); $translated = str_replace( array_keys($words), $words, $translated ); } return $translated; }
In reply to: bbPress Required Profile Fields – What’s the code?it’s doable, but beyond free help I suspect
In reply to: few questionsok, so bbpress does not have the feature of preventing posting until email confirmation, although this might be by default if your site doesn’t add users until you have confirmed.
In essence if your user is set up with bbpress access, then that is what they get.
one of the plugins above might add that functionality, although I suspect not.
can you list bbpress related plugins please
In reply to: bbPress Required Profile Fields – What’s the code?ok so bbpress does not ask for profile fields, so it might be your theme doing this
what theme are you using, and what ‘fields’ have you set up, and using which part of your site ?
In reply to: bbPress Required Profile Fields – What’s the code?are these profile fields from buddypress ?
In reply to: Topics not showing in FrontEndgreat – glad you are fixed
In reply to: Topics not showing in FrontEndtry
dashboard>tools>forums>repair forums
In reply to: Topics not showing in FrontEndIn reply to: writing to contentscode that works is never bad !!
thanks for posting the final solution, and great that it works !
In reply to: writing to contentsthe $post array does not exist in this function
try
if (get_post_type ($post_id) == bbp_get_reply_post_type() ) {
In reply to: How can I limit some users from direct postingthis possibly
In reply to: writing to contentstry this
function waa_content( $content, $post_id ) { $extra_text = 'hello' ; //append extra text to the end of reply content $content.= $extra_text ; return content ; } add_filter( 'content_edit_pre', 'waa_content', 10, 2 );
In reply to: Forum statistics styling🙂
In reply to: writing to contentsso how do you ‘publish’ them
eg dashboard>something>something else
and what is the status of the reply before and after?
In reply to: writing to contentsdo you have a plugin sending them to moderation ?
In reply to: Topics not showing in FrontEndlink to forums page on your site please ?
In reply to: Forum statistics stylingadd this to the custom css of your theme
#bbp_stats_widget-2 dt { float : left ; } li#bbp_stats_widget-2.widget-container.widget_display_stats dl dd strong { padding-left : 10px ; } li#bbp_stats_widget-2.widget-container.widget_display_stats dl dd { margin-bottom : 5px ; }
you can adjust the number in margin-bottom : 5px ; to get the separation between lines that you want
In reply to: Converted, now can I delete this table?yes see no reason not to delete it, bbpress just uses standard WordPress tables (post, postmeta and options) BUT, I would use phpmyadmin and export it first, so you have a backup just in case!
In reply to: writing to contentssomething like this should do it
add_filter( 'bbp_new_reply_pre_content', 'my_function' ); function my_function ($reply_content) { $extra_text = 'hello' ; //append extra text to the end of reply content $reply_content.= $extra_text ; return $reply_content ; }
In reply to: Freshness not updatingit tries to provide a temporary fix for the issue in 2.6.
Works in most cases
In reply to: Threaded Replies – Still not workinggreat – suspect it was a caching issue and your browser just needed refreshing