Forum Replies Created
-
In reply to: Is there a way to display users with highest topics
great – I’ve just released a new version 2.7 which has an additional class tc-user which wraps each user
so if you add css to float tc-user left and add some padding you should be fixed
In reply to: Topic headings to show onlyinstall
once activated go to
dashboard>settings>bbp style pack>Forum Display and add item 6
then
dashboard>settings>bbp style pack>custom css and add
.bbp-forum-info .bbp-forum-content { display: none !important; }In reply to: [bbp-single-forum id] for parent not working‘has stopped working…’ so was working for a long time? is bbress at the same version? What has changed – have you updated theme, plugins?
contact me via
In reply to: Is there a way to display users with highest topicsso can you give us the code so far please
In reply to: Is there a way to display users with highest topicscome back when you get stuck, but please try a lot first !
In reply to: Is there a way to display users with highest topicsIn reply to: Is there a way to display users with highest topicsyou 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_topicsandedit_repliesso 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 falseso 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 ; }