Forum Replies Created
-
In reply to: Login fails for Chrome
hoped you’d spot this Rob ! your territory not mine !
In reply to: Checkbox for "Keep a log of this edit"Great – glad you’re fixed !
In reply to: Checkbox for "Keep a log of this edit"ok, undo that previous change by deleting that file, it was rubbish !
Then in your function file add
function default_reply_subscribed() { // Get _POST data IE is this a first post of a topic? if ( bbp_is_post_request() && isset( $_POST['bbp_topic_subscription'] ) ) { $topic_subscribed = (bool) $_POST['bbp_topic_subscription']; // Get edit data IE either the author or someone else is editing a topic or reply } elseif ( bbp_is_topic_edit() || bbp_is_reply_edit() ) { // Get current posts author $post_author = bbp_get_global_post_field( 'post_author', 'raw' ); // Post author is not the current user EG a moderator is altering this. In this case we'll leave the default to blank, //as much of the time mods are correcting or moderating, their not interested in the topic itself ! if ( bbp_get_current_user_id() !== $post_author ) { $topic_subscribed = bbp_is_user_subscribed_to_topic( $post_author ); // Post author is the current user IE you're editing your own post, so default should be to see any replies } else { $topic_subscribed = true ; //the next line is what it used to say instead of true //bbp_is_user_subscribed_to_topic( bbp_get_current_user_id() ); } // Get current status } elseif ( bbp_is_single_topic() ) { //the user is writing a new reply ? $topic_subscribed = true ; //the next line is what it used to say instead of true //bbp_is_user_subscribed_to_topic( bbp_get_current_user_id() ); // No data } else { $topic_subscribed = true; //used to say false ! } // Get checked output $checked = checked( $topic_subscribed, true, false ); return apply_filters( 'default_reply_subscribed', $checked, $topic_subscribed ); } add_filter ('bbp_get_form_topic_subscribed', 'default_reply_subscribed') ; function default_log_edit_false() { // Get _POST data if ( bbp_is_post_request() && isset( $_POST['bbp_log_reply_edit'] ) ) { $reply_revision = $_POST['bbp_log_reply_edit']; // No data } else { $reply_revision = 0; } return apply_filters( 'default_log_edit_false', checked( $reply_revision, true, false ) ); } add_filter ('bbp_get_form_reply_log_edit', 'default_log_edit_false' ) ;
that should do both topic edit and reply subscribed.
In reply to: Checkbox for "Keep a log of this edit"ok thanks I can see it now.
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-topic.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-topic.php
bbPress will now use this template instead of the originalthen edit this file to change line 183
<input name="bbp_log_topic_edit" id="bbp_log_topic_edit" type="checkbox" value="1"
etc.
to
<input name="bbp_log_topic_edit" id="bbp_log_topic_edit" type="checkbox" value="0"
etc.
It will then be unchecked by default
In reply to: Checkbox for "Keep a log of this edit"frontend or backend?
In reply to: Removed me as keymaster by a mistakejust add yourself back
dashboard>users>all users and edit hyourself and at the bottom change/add yourself as a keymaster
In reply to: Checkbox for "Keep a log of this edit"can you just say where you see this?
In reply to: Import/mapping of custom MySQL forum tableswriting an entire forum code for wordpress as a solo project seems to be a significant challenge, so using bbpress and amending that would seem to be a good strategy.
ok, since you seem to be very php savvy, suggest you go to
https://codex.bbpress.org/import-forums/
and simply amend one of the templates there for your forum.
In reply to: Login fails for Chromeok, it is not really showing very well on chrome, I only get the ‘L’ of Login on screen, which is a theme issue.
I can only suggest you try it on safari and firefox to see if it is juts that browser.
In reply to: BBpress create new topic background colorIn reply to: Login fails for Chromeif you’ve tried a default theme, them possibly a plugin conflict
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.
the come back
In reply to: Not the heading I wantin your functions file
In reply to: Subscribe Users to a forumsorry for late reply, we don’t always catch all !
This plugin should do it
#https://wordpress.org/plugins/bbp-private-groups/
In reply to: Open BP group sub-forums on group forum pagesorry, buddypress question really, go to their support site
In reply to: Newbie Here. Profile questions.ok, so do you just want to word changed, or do you want to go somewhere else?
In reply to: help wp 4.1.1 bbpress 2.5.6 buddypress 2.2.1ok.
1. I can’t see this
2. I can’t see this
3. I can’t see thisIf you have fixed these issues, it would have been nice to come back and save me spending tnme looking
If you have not fixed these issues, can you please post via photobucket (or similar) pictures of the issuesIn reply to: Default users' roleIn reply to: No Forum menu options in dashboard controlsI did end up creating a local test environment to find that solution
Having a test environment is something that every site should have !!
In reply to: Error: Unable to reply right nowNot one I’ve heard of.
I can’t find the word ‘unable’ in this context within bbpress at all – can you get your user to get the EXACT wording including capitals, spaces and punctuation, so that I can track whereabouts in the code it appears.
Also what plugins are you running that could have this in them?
In reply to: Checkbox follow replies on post thusn't workgreat – glad you’re fixed
In reply to: Not the heading I wantGreat – glad you’re fixed !
In reply to: add class to Create New Topic linkHey great – thanks for the feedback, glad you like the plugin !
Regards
Robin
no problem, – glad you’re fixed !
In reply to: No Forum menu options in dashboard controlsok, suggest you create a test site and try to fix there
In reply to: Profile Fieldsok, give us a chance to help you.
1.How is this related to bbpress?
2. What exactly are you doing to add them manually?