Forum Replies Created
-
In reply to: Make bbpress GDPR compliant
Like most laws, it adds work to the law abiding, whilst not actually achieving much.
All it seems to have acheived is masses of ‘accept settings’ pop ups that no one ever reads.
In reply to: Make bbpress GDPR compliantI’m just a bbpress user who helps out here, so cannot comment on whether it should be core.
There was and is much debate about whether you can claim anything you put yourself into public view (eg in a topic or reply, or wordpress comment ) as personal data – and then demand it be removed.
for instance https://law.stackexchange.com/questions/28276/are-internet-forum-posts-considered-personal-data-under-gdpr
In reply to: Make bbpress GDPR compliantif you wish to include topics and replies in the personal data export, use this plugin
In reply to: Which cookies is bbpress using/placing?bbpress doesn’t use any, as wordpress handles the login
In reply to: Make bbpress GDPR compliantGDPR is about personal data – if you choose to publish information in a forum then this is not personal data, and there is no requirement to delete such data.
if you leave facebook, everything you have published still remains
In reply to: Styling bbPress forumit is theme specific as it is your theme that is setting the page width
In reply to: Feature to Move Topic to different, related Forumno it wouldn’t allow you to move a topic between sites
@antipole thanks for posting the solution and link to the code 🙂
In reply to: Styling bbPress forumadd this to your theme’s custom css area or the custom css area tab of my style pack plugin
.has-sidebar:not(.error404) #primary { width: 100% !important; }
In reply to: API keythis is a paid product
https://usestrict.net/product/bbpress-notify-no-spam-private-groups-bridge/
suggest you contact their support
In reply to: Best template for bbPress?try
In reply to: Blank page after regular user loginIt 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 doesn’t work, also deactivate all plugins apart from 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: Forum freshness not displaying after 7 daysthat’s computers for you 🙂
In reply to: Can’t register a useryou will need to clear your browser cache and wordpress cookies.
How to do that varies from browser to browser, but if you google it, you should be able to find out how to do that
In reply to: Plugin: Admin add Userthis was a plugin for the old version 1 bbpress.
version 2 just uses wordpress users so no longer required
In reply to: How to insert ads?I suggest you refer to the ads plugin author
In reply to: Remove noreply email from notification emailsgreat – glad you are fixed
in your original code, try
$reply_id = bbp_get_topic_id( $post->ID ); $topic_id = $_POST['parent_id'] ; $forum_id = bbp_get_topic_forum_id( $topic_id ); $reply_author_id = bbp_get_reply_author_id($reply_id);
I think that $_POST[‘parent_id’] should be available at the point the transition_post_status runs
you might also find that $post->parent_id is there as well
no idea why wordpress requires the number of arguments, just the way it works 🙂
you need to specify the number of arguments in the call so..
function test_reply_call($reply_id, $topic_id, $forum_id, $reply_to){ error_log("Trace rest reply: $reply_id: ". strval($reply_id) . "; $topic_id: " . strval($topic_id) . "; $forum_id: " . strval($forum_id) . "; $reply_to: " . strval($reply_to)); } add_action('bbp_reply_attributes_metabox_save', 'test_reply_call', 10 , 4);
the ’10’ is the priority – 10 is the standard, the higher the number the higher the priority so the order in which any other links to this hook are run, and the ‘4’ the numbers of arguments you are calling through
In reply to: Feature to Move Topic to different, related Forumthis can already be done in
dashboard>topics>edit topic>topic attributes>forum
In reply to: Can’t register a userare you still stuck ?
In reply to: Get count of the all topics with no repliesI think this does it
$count = rew_count_no_replies () ; function rew_count_no_replies () { global $wpdb; $type = bbp_get_topic_post_type() ; $count = (int) $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->posts, $wpdb->postmeta WHERE $wpdb->posts.post_type = '$type' AND ( $wpdb->posts.post_status = 'publish' OR $wpdb->posts.post_status = 'private' ) AND $wpdb->posts.ID = $wpdb->postmeta.post_id AND $wpdb->postmeta.meta_key = '_bbp_reply_count' AND $wpdb->postmeta.meta_value = 0 "); return $count ; }
there is also
do_action( 'bbp_topic_attributes_metabox_save', $topic_id, $forum_id );
for topics