Replies
- Brajesh Singh on October 26, 2016 at 1:34 am in reply to: [Resolved] Auto Activate Auto Login Support Custom Redirect #6157
Please see my first reply. It was filtering on this “bpdev_autoactivate_redirect_url”. It is there to allow redirecting to custom urls and It works fine. I did test before posting to you.
There seems something is causing second redirection that is making it difficult at the moment.
- Brajesh Singh on October 26, 2016 at 1:32 am in reply to: [Resolved] Auto Activate Auto Login Support Custom Redirect #6156
Is the page on the same WordPress installation? Can you please disable other plugins except the LMS and then check it(as you mentioned earlier you can not disable LMS). We need to find which plugin/code is causing it.
From your previous reply, It is clear that some other plugin is adding redirect for sure.
- Brajesh Singh on October 26, 2016 at 1:30 am in reply to: [Resolved] Auto Activate Auto Login Support Custom Redirect #6154
This plugin does not have any feature to redirect to dashboard. There is another plugin causing it. You have the plugin code, Please do check that.
- Brajesh Singh on October 26, 2016 at 1:28 am in reply to: [Resolved] Auto Activate Auto Login Support Custom Redirect #6152
Hi Deco,
I am sorry for the inconvenience but when there are multiple plugins installed, It becomes difficult to track down by just looking at the site.For now, Please do this. Change this
bp_core_redirect( apply_filters( 'bpdev_autoactivate_redirect_url', bp_core_get_user_domain( $user->ID ), $user->ID ) );to
bp_core_redirect( 'http://cienciadafelicidade.net/pagamento/' );Does that work? If not, Is it possible that the page you are trying to redirect is not on the same install of WordPress?
Hi Nana,
There is a plugin called Geo Directory that does something similar and there is another plugin available on wp repo which is geolocation xprofile field.Please take a look, those should help you.
- 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