Forum Replies Created
-
In reply to: Is there a way to display users with highest topics
you need to learn how to look at classes in ‘developer’ in your browser, and then you can do all this yourself.
an example of the relevant image code is
<div class="tc-avatar" style="float:left;border-radius: 25px;"><a class="tc-profile-link" href="http://gos.rewweb.co.uk/users/admin/"><img alt="" src="https://secure.gravatar.com/avatar/dd803ad797ee5ca256d4be78c98fb305?s=96&d=mm&r=g" srcset="https://secure.gravatar.com/avatar/dd803ad797ee5ca256d4be78c98fb305?s=192&d=mm&r=g 2x" class="avatar avatar-96 photo" width="96" height="96"></a></div>
and the text
<div class="tc-content" style="padding-left:50px ; top: 50%;transform: translateY(-50%);position: relative;"><a class="tc-profile-link" href="http://xxx.com/users/admin/">admin</a>303</div>
In reply to: Is there a way to display users with highest topicsupdated this – latest version does not error
In reply to: wrong author on main forum pagegreat – glad you are fixed
In reply to: wrong author on main forum pagetry
dashboard>tools>forums>repair forums and run one at a time
In reply to: Is there a way to display users with highest topicsIn reply to: Testing user privileges🙂
In reply to: Testing user privilegesbbpress uses
edit_topics
andedit_replies
so doesn’t use the capabilities abovebut suspect your code needs an if statement, so I’d do
// check frontend user privileges if ( is_user_logged_in() && ( (current_user_can('edit_posts') || current_user_can('edit_pages') ) ) $canEdit = true ;
In reply to: Users profile not being translated by Polylangthis
suggests
pll_register_string($name, $string, $group, $multiline); ‘$name’ => (required) name provided for sorting convenience (ex: ‘myplugin’) ‘$string’ => (required) the string to translate ‘$group’ => (optional) the group in which the string is registered, defaults to ‘polylang’ ‘$multiline’ => (optional) if set to true, the translation text field will be multiline, defaults to false
so maybe
pll_register_string( 'slug_users', '_bbp_user_slug', 'polylang' );
In reply to: Visual editor displays codeit’s a computer, they do that !
In reply to: Forum showing less topicsgreat – glad you are fixed
In reply to: Forum showing less topicsok try
dashboard>tools>forums>repair forums
and start with
Recalculate parent forum for each topic and reply
but if that doesn’t work, run each one in turn
In reply to: remove create New Topic in@selvaperux – can you raise a fresh topic, and explain further what you are after – thanks
In reply to: Disable ALL email notifications at onceadmins don’t get subscription emails by default either
In reply to: Forum Moderators Not Workwithout knowing precisely how you want your forum to work, then no
you create groups, uses belong to groups and forums belong to groups, so if
forum a and forum b both allow group 1, then any user in group 1 can access both forums
In reply to: Forum Moderators Not Work🙂
In reply to: Disable ALL email notifications at oncebut if you really want this box gone then,
find
wp-content/plugins/bbpress/templates/default/bbpress/form-topic.phptransfer this to your pc and edit to remove
<?php do_action( 'bbp_theme_before_topic_form_subscriptions' ); ?> <p> <input name="bbp_topic_subscription" id="bbp_topic_subscription" type="checkbox" value="bbp_subscribe" <?php bbp_form_topic_subscribed(); ?> /> <?php if ( bbp_is_topic_edit() && ( bbp_get_topic_author_id() !== bbp_get_current_user_id() ) ) : ?> <label for="bbp_topic_subscription"><?php esc_html_e( 'Notify the author of follow-up replies via email', 'bbpress' ); ?></label> <?php else : ?> <label for="bbp_topic_subscription"><?php esc_html_e( 'Notify me of follow-up replies via email', 'bbpress' ); ?></label> <?php endif; ?> </p> <?php do_action( 'bbp_theme_after_topic_form_subscriptions' ); ?>
and save
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
Then transfer the file you saved above 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.phpbbPress will now use this template instead of the original
then repeat for form-reply.php removing
<?php do_action( 'bbp_theme_before_reply_form_subscription' ); ?> <p> <input name="bbp_topic_subscription" id="bbp_topic_subscription" type="checkbox" value="bbp_subscribe"<?php bbp_form_topic_subscribed(); ?> /> <?php if ( bbp_is_reply_edit() && ( bbp_get_reply_author_id() !== bbp_get_current_user_id() ) ) : ?> <label for="bbp_topic_subscription"><?php esc_html_e( 'Notify the author of follow-up replies via email', 'bbpress' ); ?></label> <?php else : ?> <label for="bbp_topic_subscription"><?php esc_html_e( 'Notify me of follow-up replies via email', 'bbpress' ); ?></label> <?php endif; ?> </p> <?php do_action( 'bbp_theme_after_reply_form_subscription' ); ?>
In reply to: Disable ALL email notifications at oncethis box is not ticked by default
In reply to: Disable ALL email notifications at onceadd this to your theme’s custom css settings
.bbp_topic_subscription { display : none !important ; }
In reply to: Visual editor displays codecan you a specific example of one that is wrong?
In reply to: Users profile not being translated by Polylang'_bbp_user_slug' => 'users', // User profile slug
is definately the slug
so is the context right – maybe ‘polylang’ which seesm to be the default?
and possibly change it’s hook to ‘plugins_loaded’ to make sure bbpress and polylang have both loaded before firing
but i’m guessing 🙂
In reply to: Disable ALL email notifications at oncedepends on why you are getting them at the moment.
You can turn off all subscriptions for the whole site in
dashboard>settings>forums>Allow users to subscribe to forums and topics
If you just mean for you as a user or admin, then just unsubscribe from forums and topics in your profile
additionally you may have other bbpress plugins that are sending you emails.
In reply to: Moving a reply to a new topicIt isn;t on my site, so a css thing with your theme.
but glad it works, and thanks for testing !!
In reply to: Change Forum Title from Archives: Forumsgreat – glad you are fixed
In reply to: Moving a reply to a new topicyou can only merge topics in bbpress, so yes merge two topics
In reply to: Moving a reply to a new topicthe variable mismatch fix now does both split and merge