-
Andrew Tibbetts replied to the topic Buttons + Tabs Loading Whole Site Into Template in the forum How-to & Troubleshooting 10 years, 4 months ago
Ok, the one i found that has the ajax check does work.
I have narrowed all issues down to a redirect loop on ajax actions inside a custom loop on a page template.
Starting a new topic… thanks all. -
Toni replied to the topic Can I use a social login plugin for registration/login? in the forum How-to & Troubleshooting 10 years, 4 months ago
My set up for “Can I use a social login plugin for registration/login?”
WP version 4.4.1
PHP version 5.4.45
BuddyPress 2.4.3
site url http://toni-esl.com/eslbuddy -
Andrew Tibbetts replied to the topic Buttons + Tabs Loading Whole Site Into Template in the forum How-to & Troubleshooting 10 years, 4 months ago
Thought I had found the silver bullet here:
which includes a check for
! ( defined( 'DOING_AJAX' ) && DOING_AJAX )…still has a redirect loop when performing the ajax actions.The search continues…
-
Toni started the topic Can I use a social login plugin for registration/login? in the forum How-to & Troubleshooting 10 years, 4 months ago
I have a MultiSite. All my sites. BuddyPress is active on one site only – that site I have just created for BuddyPress.
I have just started. Not going well. I did read the documentation. In my site, I have gone as far as the BuddyPress settings only – no blog posts or site pages added beyond Site Directory.
1.) I would like to use Super…[Read more]
-
Andrew Tibbetts replied to the topic Buttons + Tabs Loading Whole Site Into Template in the forum How-to & Troubleshooting 10 years, 4 months ago
Sorry, correction:
This doesn’t cause a redirect loop…but it doesn’t prevent access of non-admins to admin section.
And it DOES now cause a redirect loop on the actions that were, before, loading the whole home page into the middle of the template. -
Andrew Tibbetts replied to the topic Buttons + Tabs Loading Whole Site Into Template in the forum How-to & Troubleshooting 10 years, 4 months ago
Switching the action to
wpcauses a redirect loop.
But we’re thinking it’s just a matter of finding the right action to hook into? -
onlineID7072's profile was updated 10 years, 4 months ago
-
Andrew Tibbetts replied to the topic Buttons + Tabs Loading Whole Site Into Template in the forum How-to & Troubleshooting 10 years, 4 months ago
Ok, I’ve found that it is tied to my redirect function mentioned in https://buddypress.org/support/topic/only-administrator-can-change-avatar/. I’ll repeat it here for posterity:
// keep the 'normies' out of the admin
add_action( 'admin_init', 'custom_admin_init', 1 );
function custom_admin_init() {if ( is_user_logged_in() && !…[Read more]
-
Andrew Tibbetts replied to the topic Textarea Profile Field? in the forum How-to & Troubleshooting 10 years, 4 months ago
I wasn’t gonna say anything… 🙂
-
Andrew Tibbetts replied to the topic Only administrator can change avatar… in the forum How-to & Troubleshooting 10 years, 4 months ago
Oooooh, this must be my issue.
Here is my current redirect:// keep the 'normies' out of the admin
add_action( 'admin_init', 'custom_admin_init', 1 );
function custom_admin_init() {if ( is_user_logged_in() && ! current_user_can( 'administrator' ) ) {
wp_redirect( home_url() ); die();
}
}
Were you able to figure out how to keep the…[Read more]
-
Slava Abakumov replied to the topic Textarea Profile Field? in the forum How-to & Troubleshooting 10 years, 4 months ago
if ( $field_id == 22 ) {of course. Shame on me.Glad it works for you.
-
Andrew Tibbetts replied to the topic Textarea Profile Field? in the forum How-to & Troubleshooting 10 years, 4 months ago
Works!
Thank you.WP: 4.4.1
BP: 2.4.3 -
Slava Abakumov replied to the topic Textarea Profile Field? in the forum How-to & Troubleshooting 10 years, 4 months ago
Try this:
function remove_wysiwyg($enabled, $field_id) {
// change this field_id to the one you need to have ordinary textarea
if ( $field_id == 22 )
return false;return $enabled;
}add_filter( 'bp_xprofile_is_richtext_enabled_for_field', 'remove_wysiwyg', 10, 2 );
Place the code in bp-custom.php.
-
Slava Abakumov replied to the topic Message Multiple Users in the forum Creating & Extending 10 years, 4 months ago
Try something like this:
function your_function($params){[Read more]
/* here is the content of $params:
array(
'sender_id' => bp_loggedin_user_id(),
'thread_id' => false, // False for a new message, thread id for a reply to a thread.
'recipients' => array(), // Can be an array of usernames, user_ids or mixed.
'subject' =>… -
Slava Abakumov replied to the topic User that is not member of group can reply to comments in the forum How-to & Troubleshooting 10 years, 4 months ago
Yes, intentionally. It is done for public groups only.
-
Slava Abakumov replied to the topic There was an error cropping your profile image in the forum Installing BuddyPress 10 years, 4 months ago
What about default WordPress cropping? Does it work? Maybe the problem is in the access permissions to
/uploadsdirectory.Other possible issue – do you have PHP image manipulation modules installed and activated?
-
Slava Abakumov replied to the topic new user emails in the forum How-to & Troubleshooting 10 years, 4 months ago
You can try this plugin: https://wordpress.org/plugins/bp-disable-activation-reloaded/
But you should not do this – anyone will be able to register with fake emails. -
Andrew Tibbetts started the topic Buttons + Tabs Loading Whole Site Into Template in the forum How-to & Troubleshooting 10 years, 4 months ago
When I click on certain buttons and tabs (ones that I assume are doing some ajax work) it loads the entire home page into the template (duplicating header, footer, etc).
Example:
Go to “Groups” page (default on “All Groups” tab) and click the “My Groups” tab.
Content will fade out as if about to ajax in the “My Groups” content but instead the…[Read more] -
Riccardo replied to the topic Filter bp_has_members() with user_ids in the forum Requests & Feedback 10 years, 4 months ago
Thanks for the link! 🙂
-
Riccardo started the topic Filter bp_has_members() with user_ids in the forum Requests & Feedback 10 years, 4 months ago
Hello,
I’m trying to filter the bp_has_member() including only specific members sorted in a specific order.I’ve tried to use the “include” argoment but the order of the members IDs is not kept, so I’ve looked a bit deeper in the code and I saw that the BP_User_Query class supports an argument “user_ids” that should works as “include” plus…[Read more]
- Load More