Replies
- Brajesh Singh on October 25, 2016 at 9:01 pm in reply to: Blog Categories for groups – feature request – more blogs displayed #6146
Closing it in favor of more focused ticket
https://buddydev.com/support/forums/topic/blog-categories-for-groups-new-feature-requirements/Thank you
Brajesh - Brajesh Singh on October 25, 2016 at 7:49 pm in reply to: [Resolved] Help needed with a PHP Snippet "BuddyPress Xprofile field length control" #6140
You are most welcome.
Regards
Brajesh - Brajesh Singh on October 25, 2016 at 7:44 pm in reply to: [Resolved] Help needed with a PHP Snippet "BuddyPress Xprofile field length control" #6138
For each options a new field is created with the original field set as it’s parent. That’s why the restriction apply here.
Please try my suggestion and see if that works for you or not?
- Brajesh Singh on October 25, 2016 at 7:42 pm in reply to: [Resolved] Help needed with a PHP Snippet "BuddyPress Xprofile field length control" #6136
I completely understand.
For Radio, checkbox and select boxes, the options you set in the New/edit Profile field page are stored as Name( with the actual field set as their parent).
So, in fact, the options that you consider value are in fact name of the child field and not values.
Hope that clarifies.
- Brajesh Singh on October 25, 2016 at 7:34 pm in reply to: [Resolved] Help needed with a PHP Snippet "BuddyPress Xprofile field length control" #6134
Hi Romanzy,
I just had a look at BuddyPress Xprofile field schema. All the code above are playing with value and not with the actual field name. In your case, you are trying to use large name.BuddyPress has a limitation of 150 characters for the name/type field. Please see the screenshot
http://i.imgur.com/7gw0FUI.png
You can modify it for your install by changing the schema. If you have access to phpmyadmin. Select your table. Go to structure tab. Then click on change link and update the length.
It is not considered a good practice to modify the database schema but in your case, it is the simplest way to change the length of name field.
Hope that helps.
regards
Brajesh - Brajesh Singh on October 25, 2016 at 7:24 pm in reply to: [Resolved] Help needed with a PHP Snippet "BuddyPress Xprofile field length control" #6132
Thank you.
That makes sense.Let me check and I will update again.Regards
Brajesh - Brajesh Singh on October 25, 2016 at 7:02 pm in reply to: [Resolved] Help needed with a PHP Snippet "BuddyPress Xprofile field length control" #6130
Hi Romanzy,
I am sorry but I do not understand. Where did you see BuddyPress limiting the field length. Is it happening for ll field types? I tried with text box and I don’t see any limit imposed by BuddyPress.If you can explain me what are you trying to accomplish in a little more detail, I will be able to help.
Thank you
Brajesh - Brajesh Singh on October 25, 2016 at 6:48 pm in reply to: [Resolved] Help needed with a PHP Snippet "BuddyPress Xprofile field length control" #6127
Hi Romanzy,
I am sorry but I could not understand much.Here is a simple solution. You can put this code in members loop and change the field parameter.
echo substr( bp_get_member_profile_data( 'field=About' ), 0 , 300 );Hope that helps.
Regards
Brajesh Hi George,
Please take a look at all the options here
https://github.com/sbrajesh/bp-activity-shortcode/blob/master/bp-activity-as-shortcode.php#L53
The action filters are variable and depends on your installation. A New type can be added by any plugin. So, There is no fixed type. If you are loooking for the builtin activity type support by BuddyPess core, Please take a look at the dropdown or you may run this query in phpmyadmin
SELECT DISTINCT type FROM <code>wp_bp_activity</code> ;That will give you all the filters used on your current site.
Hope that helps.
- Brajesh Singh on October 24, 2016 at 10:15 pm in reply to: delete "name (required)" of the profile fields and buddypress ajax registration? #6118
Hi David,
I am sorry but BuddyPess will not allow registration without the name. Can you please tell me if you are trying to use the username as name?Thank you
Brajesh