Forum Replies Created
-
In reply to: Theme
unfortunately when themes don’t obbey the rules, I can’t code for them 🙂
In reply to: Themeno problem !
In reply to: Themeapologies put
.bbp-topic-content p { color: black !important; }In reply to: Show the title in the forum indexBut when I click on the forum index on “Mark all topics as read”, then “search results for:” all posts and pages but no forum posts are displayed.
sorry, can you explain a bit more
you go to the main index and click ‘mark all topics as read’ then what happens?
In reply to: Show the title in the forum indexOh, how can I get rid of the search function in the admin bar?
Don’t have the admin bar – it is horrible and breaks away from your theme, bbpress has profile edit which let the user access their profile.
There are plenty of plugins to hide the admin bar
https://en-gb.wordpress.org/plugins/search/admin+bar/ lists lots
In reply to: Themeput 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