Forum Replies Created
-
In reply to: Latest reliable PHP version?
I am running 8.3 on my test site with no issues for many months now, and have just updated it to 8.4 and looks ok, but obviously not tested every function.
When you say it crashes, what error message are you getting?
In reply to: Redirect code not executingsorry, beyond free help – I’d suggest you hire a programmer to do this.
In reply to: bbp style pack – search box settinglink to a live example please
Great – glad you are fixed
have you just updated from 2.6.13 to 2.6.14?
Try
#bbpress-forums .status-closed, #bbpress-forums .status-closed a { color: #aaa !important; background-color: none !important; }
In reply to: Redirect code not executingnow corrected in codes, to this
/** * WordPress function for redirecting users on login based on user role */ function my_login_redirect( $url, $request, $user ){ if( $user && is_object( $user ) && is_a( $user, 'WP_User' ) ) { if( $user->has_cap( 'administrator' ) ) { $url = admin_url(); } else { $url = home_url(); } } return $url; } add_filter('login_redirect', 'my_login_redirect', 10, 3 );
In reply to: Unable to access the RKK Login Widget pluginYes, this widget is no longer available.
For you if you have the style pack plugin, you can use the bsp-profile shortcode instead
[bsp-profile label="amend profile/password" edit="true"]
You can simply add a shortcode block after the login widget.
In reply to: Need help in user rolesso what have you got set in :
dashboard>settings>forums>moderation Options>hold for moderation ?
In reply to: How do to activate classic theme for BBPress forum?ok, I see that in parallel you have been pursuing this with their support (which would have been useful information to post here, and saved me some duplicate testing time)
I will continue on that thread, so that their author gets to see the communication
In reply to: How do to activate classic theme for BBPress forum?ok, what other bbpress related plugins are you usin?
In reply to: How do to activate classic theme for BBPress forum?can you state exactly what the ‘Block Theme 2025’ is, as I cannot find a theme with exactly this name.
If you have a link, that would be useful
In reply to: Need help in user rolessorry I can’t help unless you tell me what you mean by ‘it’s not working’
In reply to: How do to activate classic theme for BBPress forum?bbpress works fine with classic themes (ie non block themes), so you should have no problems.
However bbpress is an integral plugin to your website, so it will use whatever theme your site is using, so you cannot have one theme for wordpress and another for bbpress.
In reply to: Show only Ipv4 addresses to moderatorsok, I took another look at this, and this new version should show ip4 but not ip6
add_filter ('bbp_get_author_ip', 'rew_hide_v6') ; function rew_hide_v6 ($author_ip='') { if (strlen($author_ip)>55) $author_ip='' ; return $author_ip ; }
In reply to: Show only Ipv4 addresses to moderatorscontact me via
that message only shows for moderators and keymasters, ordinary users do not see it
In reply to: last active time updates for spam commentsthat would seem to be a good idea.
Without re-reading this thread, do you have code that fixes?
Install
once activated go to
dashboard>settings>bbp style pack>Topic Index Styling
Item 16 – you can set to have no message
In reply to: Show only Ipv4 addresses to moderatorsIn reply to: Show only Ipv4 addresses to moderatorsDid you read the cloudfare link that said they might not be seeing the real IP address, but rather a cloudfare server address? may or not be relevant.
The classes for that are
bbp-reply-ip
bbp-topic-ipso should be
.bbp-reply-ip, .bbp-topic-ip{ text-align: left !important; }
In reply to: Show only Ipv4 addresses to moderatorsok so your first post said the exact opposite 🙂 ie they didn’t want to see the IP6
In reply to: Show only Ipv4 addresses to moderatorsapologies, try this
add_filter ('bbp_get_author_ip', 'rew_hide_v6') ; function rew_hide_v6 ($author_ip='') { if (strlen($author_ip)>20) $author_ip='' ; return $author_ip ; }
In reply to: Need help in user rolesInstall
once activated go to
dashboard>settings>bbp style pack>Moderation (third row down, right hand side)
and follow the instructions/guidance
In reply to: Show only Ipv4 addresses to moderatorsok, so we can hide the ip6, but getting the ip4 is harder i think.
I found this post relating to Cloudfare which tends to indicate that even an ip4 might be just a Cloudflare address, but I only spent 2 minutes reading though !!
https://wordpress.org/support/topic/real-ip-for-the-customers-cloudflare/
so to hide an IP6, try this (untested!)
add_filter ('bbp_get_author_ip', 'rew_hide_v6') ; function rew_hide_v6 ($author_ip='') { if ($strlen($author_ip)>20) $author_ip='' ; return $author_ip ; }
Put 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
Let me know if it works