Forum Replies Created
-
In reply to: disable email Email (required) config ?
this – it has some parts changed !!
add_filter ('bbp_filter_anonymous_post_data' , 'rew__filter_anonymous_post_data' 10, 2) ; function rew_filter_anonymous_post_data( $retval, $r ) { // Filter variables and add errors if necessary $r['bbp_anonymous_name'] = apply_filters( 'bbp_pre_anonymous_post_author_name', $r['bbp_anonymous_name'] ); if ( empty( $r['bbp_anonymous_name'] ) ) bbp_add_error( 'bbp_anonymous_name', __( '<strong>ERROR</strong>: Invalid author name submitted!', 'bbpress' ) ); // Website is optional $r['bbp_anonymous_website'] = apply_filters( 'bbp_pre_anonymous_post_author_website', $r['bbp_anonymous_website'] ); // Return false if we have any errors $retval = bbp_has_errors() ? false : $r; // Finally, return sanitized data or false return apply_filters( 'rew_filter_anonymous_post_data', $retval, $r ); }In reply to: disable email Email (required) config ?can you try the new version please
In reply to: disable email Email (required) config ?not sure what you mean, but corrected code here
add_filter ('bbp_filter_anonymous_post_data' , 'rew__filter_anonymous_post_data' 10, 2) ; function rew_filter_anonymous_post_data( $retval, $r ) { // Filter variables and add errors if necessary $r['bbp_anonymous_name'] = apply_filters( 'bbp_pre_anonymous_post_author_name', $r['bbp_anonymous_name'] ); if ( empty( $r['bbp_anonymous_name'] ) ) bbp_add_error( 'bbp_anonymous_name', __( '<strong>ERROR</strong>: Invalid author name submitted!', 'bbpress' ) ); // Website is optional $r['bbp_anonymous_website'] = apply_filters( 'bbp_pre_anonymous_post_author_website', $r['bbp_anonymous_website'] ); // Return false if we have any errors $retval = bbp_has_errors() ? false : $r; // Finally, return sanitized data or false return apply_filters( 'rew_filter_anonymous_post_data', $retval, $r ); }In reply to: error when updating to wp 4.7.2if you know ftp then rename the bbpress folder.
In reply to: non-numeric value in forum templatewhat version of bbpress are you using?
In reply to: disable email Email (required) config ?untested, but try adding this to your functions file
add_filter ('bbp_filter_anonymous_post_data' , 'rew__filter_anonymous_post_data' 10, 2) ; function rew_filter_anonymous_post_data( $retval, $r ) { // Filter variables and add errors if necessary $r['bbp_anonymous_name'] = apply_filters( 'bbp_pre_anonymous_post_author_name', $r['bbp_anonymous_name'] ); if ( empty( $r['bbp_anonymous_name'] ) ) bbp_add_error( 'bbp_anonymous_name', __( '<strong>ERROR</strong>: Invalid author name submitted!', 'bbpress' ) ); // Website is optional $r['bbp_anonymous_website'] = apply_filters( 'bbp_pre_anonymous_post_author_website', $r['bbp_anonymous_website'] ); // Return false if we have any errors $retval = bbp_has_errors() ? false : $r; // Finally, return sanitized data or false return apply_filters( 'bbp_filter_anonymous_post_data', $retval, $r ); }In reply to: Create New Topic@jackjjw sorry it didn’t help you
@fastk9dad includes/functions.php
In reply to: disable email Email (required) config ?This is in a file called form-anonymous.php :
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %your-theme-name% is the name of your theme
find
wp-content/plugins/bbpress/templates/default/bbpress/form-anonymous.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/form-anonymous.php
bbPress will now use this template instead of the original
and you can amend thisyou will see that lines 26-29 contain
<p> <label for="bbp_anonymous_email"><?php _e( 'Mail (will not be published) (required):', 'bbpress' ); ?></label><br /> <input type="text" id="bbp_anonymous_email" value="<?php bbp_author_email(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_anonymous_email" /> </p>Just delete this and save, and this field will not be shown
ok, so I’ve loaded twentyseventeen, and works fine on my test site.
so can you tell me how do you want the forums to display eg full width, left hand with sidebar on right, or right hand with sidebar on left? – you may have already said, but I would prefer not to re-read all the above
In reply to: Create New Topicmy style pack plugin has several options, including buttons
yes this plugin will show you – once activated you will see it on the right hand side of the dashboard top bar next to your username
In reply to: registered users access to forums only not websiteI hate anyone but admins seeing the dashboard – it is not needed and looks ugly
try
https://en-gb.wordpress.org/plugins/remove-dashboard-access-for-non-admins/
In reply to: My Forum page crashesIt could be a theme or plugin issue
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, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
In reply to: bbress Signature Link to another Domainjust tried setting my signature to
signature worked fine
set some content to include
worked fine
have you been through no. 8 in this link
great – glad you’re fixed !
In reply to: bbress Signature Link to another Domainto a normal post
do you mean a wordpress post?
In reply to: My Forum page crashestry
dashboard>settings>permalinks> and just click save
In reply to: Login doesn’t read as logged in.can you confirm that you are using bbp style pack and that it is login and register that are not showing?
In reply to: bbress Signature Link to another Domaincan’t remember that bbpress has a signature element – are you using an additional plugin to do this?
In reply to: Change the font size of the title of the forumIn reply to: Only pin post is showinggreat – glad you are fixed !!
In reply to: Only pin post is showinglink to your site needed
Otherwise check out the https://da.wordpress.org/plugins/bbp-style-pack/ plugin, it will most likely have the functionality.
it does!
In reply to: Storing documentsnot really sure that bbpress is the best tool for this.
several wordpress solutions round – I googled ‘document sharing wordpress’ and got this which looks like it is a better fit
https://en-gb.wordpress.org/plugins/sp-client-document-manager/
you can see what the free vs. premium does here