Forum Replies Created
-
In reply to: Add “forum” to subject email notifications
in which case you would hook to
$subject = apply_filters( 'bbp_subscription_mail_title', '[' . $blog_name . '] ' . $topic_title, $reply_id, $topic_id );in bbpress 2.6.6\includes\common\functions.php line 1124 and 1291
In reply to: Create a link image for last post in forumno problem – glad you are fixed !
In reply to: Create a link image for last post in forumok,
the default display order is freshness, followed by author – you have it the other way around.
try changing the line above
add_action( 'bbp_theme_after_topic_author', 'rew_freshness_display_image');to
add_action( 'bbp_theme_after_forum_freshness_link', 'rew_freshness_display_image');In reply to: change styling if freshness less than 24 hoursyou don’t need stylepack, it’s just that the answer is different if you do !
I’ll come back with code when I get a moment 🙂
In reply to: Create a link image for last post in forumso can you detail the settings in freshness tab please
In reply to: Create a link image for last post in forumare you using style pack? and freshness tab ?
In reply to: Can’t set “editing” to 0yes it’s a know bug on the list to fix.
in the meantime set it to 5256000 and that gives them 10 years to edit, which should be enough 🙂
In reply to: Create a link image for last post in forumPut this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
add_action( 'bbp_theme_after_topic_author', 'rew_freshness_display_image'); function rew_freshness_display_image ($forum_id = 0) { // Verify forum and get last active meta $forum_id = bbp_get_forum_id( $forum_id ); $active_id = bbp_get_forum_last_active_id( $forum_id ); $link_url = $title = ''; if ( empty( $active_id ) ) $active_id = bbp_get_forum_last_reply_id( $forum_id ); if ( empty( $active_id ) ) $active_id = bbp_get_forum_last_topic_id( $forum_id ); if ( bbp_is_topic( $active_id ) ) { //then reset forum_id to the forum of the active topic in case it is a sub forum $forum_id = bbp_get_topic_forum_id($active_id); $link_url = bbp_get_forum_last_topic_permalink( $forum_id ); $title = bbp_get_forum_last_topic_title( $forum_id ); } elseif ( bbp_is_reply( $active_id ) ) { //then reset forum_id to the forum of the active topic in case it is a sub forum $forum_id = bbp_get_reply_forum_id($active_id); $link_url = bbp_get_forum_last_reply_url( $forum_id ); $title = bbp_get_forum_last_reply_title( $forum_id ); } $anchor = '<a class="rew_freshness_display_image" href="' . esc_url( $link_url ) . '" title="' . esc_attr( $title ) . '"><img src="http://mysite.com/wp-content/uploads/2013/06/Brauhaus-2.jpg">' . '</a>'; echo '<p>'.$anchor.'</p>' ; }and change the
<img src="http://mysite.com/wp-content/uploads/2013/06/Brauhaus-2.jpg" />to the image you want – make sure it is sized right !!In reply to: Add “forum” to subject email notificationsthe easiest way is to use
once activated go to
dashboard>settings>bbp style pack>Subscription Emails
and you can amend headings there
In reply to: delete accountyes, that should be fine – just do it when the site is least active !
In reply to: Create a link image for last post in forumSo all the same image – yes ?
In reply to: delete accountit could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, 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.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Then come back
In reply to: delete accountso dashboard>users>select user and delete is not working ?
In reply to: Unwanted users automatically addedNot quite sure what you question is.
bbpress just uses wordpress registration and login, and your site permits automatic registration, so users can just sign up as long as they have a valid email address.
In reply to: Deleting user accountit could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, 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.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Then come back
In reply to: [bsp-profile] not Working for megot there 🙂
In reply to: hide forum rootyou can amend breadcrumbs in the style pack plugin
once activated go to
dashboard>settings>bbp style pack>Breadcrumbs
In reply to: Using EnlighterJS inside “Quotes”do you mean B-QUOTE?
In reply to: [bsp-profile] not Working for meI’ll not release yet another version, but will correct the documentation in the next release
In reply to: [bsp-profile] not Working for mewell that’s embarassing, I hadn’t spotted that the shortcode is wrong.
It is one shortcode with parameters so should read
bsp Profile
[bsp-profile] will show ‘My Profile’ in a clickable link to the profile
[bsp-profile label=’This is the label’] will show ‘This is the label’ in a clickable link to the profile
[bsp-profile label=’Edit My Profile’ edit=’y’] will show ‘Edit My Profile’ in a clickable link to the edit section of profile
so you can have anything as the label eg label=’hello mother’
In reply to: [bsp-profile] not Working for methere are 6 shortcodes in style pack, can you clarify which 2 you mean?
Image didn’t help me 🙁
In reply to: [bsp-profile] not Working for mesorry, I’d left a line of test code in which caused the user not to be selected, fixed in 4.7.7
I have also corrected the shortcode to do what it said in the documentation – so the default is ‘my profile’
so
[bsp-profile] will show ‘My Profile’ in a clickable link to the profile
[Profile label=’This is the label’] will show ‘This is the label’ in a clickable link to the profile
[Profile label=’Edit My Profile’ edit=’y’] will show ‘Edit My Profile’ in a clickable link to the edit section of profile
🙂
In reply to: [bsp-profile] not Working for meI’ve just released version 4.7.6 of bsp-style-pack that should fix this – please come back and confirm
the IP number is only shown to moderators and keymasters to help them identify spam or users who might be registering multiple times
Participants do not see the IP number