Forum Replies Created
-
In reply to: Show permanent steam link in profiles?
I’m not sure what the “provider user identifier” is? If it’s something in WordPress Social Login, try asking the question over at their support forum. They should be up to speed on it.
In reply to: thumb and full avatars are the same size -_-Your theme might be Customizing BuddyPress Avatars?
In reply to: Create Function When Favorite Button ClickedYou’d need to use Ajax. Take a look at the Ajax in Plugins article for more info.
In reply to: How to change the “Members” color in members pageHow are you linking your style sheet? Make sure you’re using
wp_enqueue_style().Ref: https://codex.wordpress.org/Function_Reference/wp_enqueue_style
In reply to: bp_loggedin_user_id() is always 0You can use
add_action()anywhere. Whether or not it executes the functions attached to it is another question. Take theadd_action()inside your function for example. It’ll only executecustom_bp_subnav()on the condition that$loggedin == $displayed. Also thebp_readyhook must be running.In reply to: Best CRM + online marketing sytemYou could use WordPress as your CRM. There are quite a few plugins in the repo for that purpose. My advice is to set up a test install, try them out and see which one works best for you.
You will need to go through all of the BuddyPress communication channels available:
1. Private messaging
2. Public messagingetc
Then when a user attempts to send a message to a user they have not been assigned to, disallow it to happen via one of the hooks BuddyPress makes available.
With reference to assigning a user to a user, this could be achieved via user meta.
In reply to: bp-custom.php causes category problemI use a bp-custom.php file in the plugin folder
Do you mean like this
plugins/buddypress/bp-custom.php?If so, that’s the wrong place. It should be here:
plugins/bp-custom.phpIn reply to: Chart in ProfileYou could use a server side library such as PHP GD to generate the chart from database data.
You could open an issue and ask that question here.
In reply to: Is it possible?1. Which forum are you using? If you migrated your forum content to bbPress, you’d have one login shared across both your forum and your (WordPress) website. Is that an option you’d consider?
I’m not sure but perhaps it’s related to the private messaging component? I know those URLs look like /members/username/messages/etc..
In reply to: how to check if the length of field is too long?Yes, I think you can. Try this:
function my_username_validation() { if ( strlen( $_POST['signup_username'] ) > 16 ) { global $bp; $bp->signup->errors['signup_username'] = __( 'Put your error message here.', 'buddypress' ); } } add_action( 'bp_signup_validate', 'my_username_validation' );You could configure your robots.txt to exclude the /messages/ directory:
User-agent: * Disallow: /messages/With time, Googlebot should stop hitting that area of your website and the 404 errors will disappear?
In reply to: restrict friend requestsHave you tried the BuddyPress Limit Friendship plugin?
In reply to: how to check if the length of field is too long?You will need to make use of hooks and the strlen() function.
For example, at registration, in order to validate the username so that it isn’t longer than 16 characters, you can do this:
function my_username_validation() { // Perform validation here using the strlen() function to check the field length. } add_action( 'bp_signup_validate', 'my_username_validation' );In reply to: Private Message Pagination@danbp I needed your answer 1 year 6 months ago π
In reply to: [Resolved] Problem with duplicate contentGreat π
In reply to: Users canβt reply to private messagesIf you don’t see the problem with TwentyFifteen activated, the problem is likely to be theme-related and, One Community being a premium theme, none of us here can see the theme’s code. Try opening a support ticket on the theme’s support forum.
In reply to: [Resolved] Problem with duplicate contentThis could be theme-related. Which theme are you using?
In order to be able to post, you need a user ID. Unauthenticated users have ID 0 so you could build something based on that but I know of nothing that’s available currently.
In reply to: No sidebar on profile pagesThis is simply the way your theme displays things on the page. If you’d like a sidebar on those pages, you can modify the templates. See the Template Hierarchy article for more info.
You’ll probably want to get as much info from the user as possible and then test again under those exact conditions. It could be a browser problem (I’m guessing here) or alternatively a caching issue. These are the worst problems to investigate, when everything works fine for you, but not for somebody else π
That’s strange and shouldn’t be happening. Can you activate TwentyFifteen, disable all plugins and then try a test registration?
In reply to: My accaunt in menu or headerWhat is “My accaunt”? Does it come from a plugin?