Forum Replies Created
-
In reply to: bbPress Moderation
you can always use this in your functions file or the snippets plugin
//This function changes the text wherever it is quoted function change_translate_text( $translated_text ) { if ( $translated_text == 'old text' ) { $translated_text = 'new text'; } if ( $translated_text == 'more old text' ) { $translated_text = 'more new text'; } return $translated_text; } add_filter( 'gettext', 'change_translate_text', 20 );
and just keep repeating the if statement
In reply to: bbPress Moderation1. I’m not sure that it is appropriate to describe someone who has taken considerable time to write a plugin that is entirely free to you as ‘extremely lazy’.
2. then complaining about this plugin on another plugins support site is also not appropriate.
I did have another word in place of ‘appropriate’ above, but changed this for politeness.
Please realise that you benefit from others free work, and that you should be ‘extremely’ grateful for this.
In reply to: Admin unable to view forum after wp 5.03 updatebbpress is compatible with 5.0.3 and works fine on my test site.
It may be a conflict with your theme or plugins
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also 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.
Then come back
In reply to: Can I donate for Bbpress?There is no donation place that I know of.
But it is great that you want to 🙂
In reply to: vbulletin import…fails@budget101 thanks for posting this – I hope it will help others and it’s great that you have detailed your experience
In reply to: vbulletin 3.x import@budget101 thanks for posting this – I hope it will help others and it’s great that you have detailed your experience
In reply to: Import Hung?@budget101 thanks for posting this – I hope it will help others and it’s great that you have detailed your experience
In reply to: Display order of forumsuntested, but add this to your functions file or snippets
add_filter ('bbp_before_insert_forum_parse_args' , 'rew_order' ) ; function rew_order ($args) { $args['menu_order'] = 10 ; return $args ; }
function bbp_get_reply_topic_title ($reply_id)
In reply to: Redirect non-Logged in Usersok, bit of code that does redirect but this is via wordpress login- this will be added to my style pack plugin shortly, with some further features, such as bbpress login
//add private forum check add_action( 'bbp_template_redirect', 'rew_access_if_logged_out', 3 ); function rew_access_if_logged_out(){ $topic_slug = get_option( '_bbp_topic_slug') ; //quick check if we need to do this function if (strpos($_SERVER['REQUEST_URI'], $topic_slug) == FALSE) return ; $login_check=0 ; $forum_slug = bbp_get_root_slug() ; //if check is set (ie we prefix forums with the forum slug) then part 1 will be forum slug and part 2 will be topic slug, if not part 1 will be topic slug $check = bbp_include_root_slug() ; $link = explode('/',$_SERVER['REQUEST_URI']); //next we need to topic id (post id) of the topic so we need to check if it is a topic and if so, find the topic id if (!is_user_logged_in() && $check && $link[1] == $forum_slug && $link[2] == $topic_slug ) { $post = rew_get_page_by_slug( $link[3], OBJECT, 'topic' ); $topic_id = $post->ID; $login_check=1 ; } elseif (!is_user_logged_in() && empty($check) && $link[1] === $topic_slug) { $post = rew_get_page_by_slug( $link[2], OBJECT, 'topic' ); $topic_id = $post->ID; $login_check=1 ; } //now we need to check if the topic belongs to a private forum, so can't be seen if (!empty ($login_check)) { $forum_id = bbp_get_topic_forum_id($topic_id); //if forum is private... if (bbp_get_forum_visibility( $forum_id ) == 'private' ) { $redirect = home_url() . '/wp-login.php?redirect_to=' . urlencode( $_SERVER['REQUEST_URI'] ); ; wp_redirect( $redirect ); exit; } } } function rew_get_page_by_slug($page_slug, $output = OBJECT, $post_type = 'page', $status = 'publish' ) { global $wpdb; $page = $wpdb->get_var( $wpdb->prepare( "SELECT ID FROM $wpdb->posts WHERE post_name = %s AND post_type= %s", $page_slug, $post_type) ); if ( $page ) return get_post($page, $output); return null; }
In reply to: Question about login error redirect problemI’m looking at login and redirects at the moment, so I’ll add this to my list to see how to fix
In reply to: insert a shoutbox above the forumthere is a hook you can use
add_action( 'bbp_template_before_forums_index', 'rew_add_text' ); function rew_add_text () { echo 'hello' ; }
In reply to: Remove noreply email from notification emailsbbpress sends the notification as a single email, with the noreply address as the to/from an the recipients are then bcc’d in.
So you can’t simply remove it.
you can amend how bbpress sends using this plugin
In reply to: Removing Forums From Admin Barwithout a link to an example then there’s little we can do
In reply to: Update forum role through php/programminggreat – glad you are fixed, and thanks for posting your solution
In reply to: Cannot create new topic on frontgreat – glad to have helped
In reply to: Missing texts in dashboard statisticsit might be white writing on white page.
is the site available to look at ?
In reply to: Cannot create new topic on frontIt could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that deosnlt work, also 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.
Then come back
In reply to: Redirect non-Logged in UsersI’m looking at this
In reply to: Redirect user after registrationmy only suggestion would be to lift the functions form the plugin 🙂
In reply to: Why no notification new user to admin?bbpress just uses wordpress registration, so the issue is with that.
Firstly check that you have membership ticked in dashboard>settings>general so that anyone can register.
If you are not receiving emails, then what is set in
dashboard>settings>general>email address
and does it match your site?
1. You should be aware that many spam filters strip messages that do not come from the correct address. So if your site is mysite.com and your email address in wordpress settings>general is fred@gmail.comthen it is likely that messages will be dumped in transit. You need to set up email to come from your site eg fred@mysite.com, your hosting provider can help if needed.
2. Just bbpress?
Then you need to see if this is wordpress wide or just bbpress.
Try https://wordpress.org/plugins/check-email/no problem!
put this in your custom css
li.bbp-forum-topic-count, li.bbp-topic-voice-count, li.bbp-forum-reply-count, li.bbp-topic-reply-count { word-wrap: break-word !important; }
looks fine on my mobile
link to your site please