Forum Replies Created
-
In reply to: Theme
put this is my plugin’s custom css tab
bbp-topic-content p { color: black !important; }
what version of bbpress are you using ?
In reply to: Forum Search Exclude Archiveduntested, but this should do it
add_filter ('bbp_after_has_search_results_parse_args', 'my_function') my_function ($args) { // bbp_get_closed_status_id() REMOVED, $post_statuses = array( bbp_get_public_status_id(), bbp_get_spam_status_id(), bbp_get_trash_status_id() ); // Add support for private status if ( current_user_can( 'read_private_topics' ) ) { $post_statuses[] = bbp_get_private_status_id(); } // Join post statuses together $args['post_status'] = implode( ',', $post_statuses ); return $args ; }
In reply to: Forum Search Exclude Archived‘closed’ in bbpress just means that the area cannot have new things added.
If you want to have an old forum that is not seen by users, then make it hidden.
In reply to: Making bbPress functions available for WordPress?I’m just a humble user who helps out here. I did write quite a bit of the documentation, but not functions. A list would be very large nowadays, and quite hard to describe.
suggest you post any q’s here, and I’ll try and find them for you
In reply to: How to change admin notification email address?sorry, untested and taken from my files – try
function rew_no_reply_per_forum ($reply_address) { $forum_id = bbp_get_forum_id() ; if ($forum_id == 6 ) $reply_address = 'xxx@yyy.com' ; if ($forum_id == 7) $reply_address = 'abd@hdhd.com' ; return $reply_address ; } add_filter ('bbp_get_do_not_reply_address', 'rew_no_reply_per_forum') ;
In reply to: Themethemes can stop my style pack plugin working.
please specify what in your example you would like changed and to what
In reply to: Newbie questionbbpress uses wordpress login, so they only need to login once.
a public forum is visible to logged in AND not logged in
A private forum is only visible to logged inIf you set anonymous posting then everyone can post topics and replies, otherwise just logged in users can post
In reply to: How to change admin notification email address?try this in your functions file
function rew_no_reply_per_forum ($reply_address) { $forum_id = bbp_get_forum_id() ; if $forum_id = 6 $reply_address = 'xxx@yyy.com' ; if $forum_id = 7 $reply_address = 'abd@hdhd.com' ; return $reply_address ; } add_filter ('bbp_get_do_not_reply_address', 'rew_no_reply_per_forum') ;
In reply to: Forum Search Exclude Archivednot quite sure what you mean by ‘archived’ content
bbpress has statuses of
public,
private
closed
spam
trashspam and trash depend on the user capability – so keymasters and moderators see these, but not participant level.
you are using buddypress which is the work of the devil
try disabling this and see if that fixes, if it does re-enable and ask this in the buddypress support forum.
In reply to: Deleting posts dedicated to anonymous accountis doable but would require a small amount of custom code beyond free help
contact me via
In reply to: TinyMCE for topics and replies@billysgtr – sorry I didn’t get to this one, only so many hours and weekend commitments, but thank you for posting the answer – many don’t bother, and this will help others !
In reply to: Show the title in the forum indexgreat – glad to have helped
In reply to: Making bbPress functions available for WordPress?there is no function bb_get_topic_tags()
but there is
bbp_get_topic_tag_names
is that what you want ?
can you show me all the settings for roots in dashboard>settings>forums
In reply to: Show the title in the forum indexonce activated go to
dashboard>settings>bbp style pack>freshness display and set it there
dashboard>settings>forums and set the root to what you want
In reply to: Unable to reply in forum.that seems to be the only time that message is shown
In reply to: Allow everyone to reply a topicsthis should do it – make sure anonymous is turned on to allow creation, then this stops topics being created – ie the topic form being shown
add_filter ( 'bbp_current_user_can_publish_topics', 'rew_prevent_anonymous' ); function rew_prevent_anonymous ($retval) { // prevent topic creation if user is not logged in if ( !is_user_logged_in()) { $retval = false; } return $retval; }
if you don’t know how to add to the functions file, use this plugin and put the code in there
In reply to: Allow everyone to reply a topicsdo you know how to add a function to a function file if I gave you the code ?
In reply to: Changing colors on background and textIn reply to: Unable to reply in forum.this message appears if users post topics ir replies with words that are in the wordpress blacklist
the list is in dashboard>settings>discussion
this list will catch fragments so ‘class’ will be blacklisted if you have ‘ass’ in the blacklist
In reply to: Spam Forum TopicsIf you do not have caching software that might be not accepting the change to the settings, then
It could be a theme or plugin issue issue, so you’ll need to test to find out which
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
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.
Then come back
In reply to: 404 error with hierarchy rolesok, I think you’ll need to raise this with your hosting company.