Forum Replies Created
-
Author
-
AnchoraParticipant
it’s not in the documentation, but a sticky thread in the forum:
https://archived.seventhqueen.com/forums/topic/membership-auto-in-registrationwith “headers alredy sent” I would have a look for spaces before the <?php …
can’t tell you exactly.
but abe surely will.
🙂AnchoraParticipantCOPY CODE/* Display Username in Directory */ function kleo_member_username() { global $members_template; return $members_template->member->user_login; } add_filter('bp_member_name','kleo_member_username');
AnchoraParticipantthere are thousands of php-files within a simple wp-installation, which you’d have to adapt.
sweetdate itself nearly a thousand.would definately be easier to set it up on wp.. 😉
AnchoraParticipantthis is a (mail-)server issue, not theme-related.
it often happens, if the domain is on another server than the content, for example…
anyway depending on the spamsettings on the recipients mailserver.AnchoraParticipantas provided earlier:
COPY CODEadd_action('user_register', 'kleo_pmpro_default_level'); function kleo_pmpro_default_level($user_id) { pmpro_changeMembershipLevel(9,$user_id); }
where “9” is the default-level, in this case.
but remember that this snippet will kill the registrationprocess, if pmpro is DEactivated.
AnchoraParticipantsolved!
I had gravatar.com turned off – this killed the import from FB.
But why=?🙂
AnchoraParticipantAnchoraParticipantnot in the profile, it is a menu-item.
sub-menu then is on the classifieds-page.
quite nice for us.AnchoraParticipantthere has NOT to be the .zip on the server.
both themes must be un-packed, as folders.AnchoraParticipanttwo ways for us:
`
add_action( ‘wp’, ‘custom_lockdown_redirect’, 3 );
function custom_lockdown_redirect(){
global $wp;
if (!is_user_logged_in()){
if ( bp_is_activation_page()
|| bp_is_register_page()
|| bp_is_blog_page(‘/category/allgemein/’)
|| is_page_template( ‘endfit-custom.php’ )
|| ( in_array( $GLOBALS[‘pagenow’], array( ‘wp-login.php’ )))
)
return;
bp_core_redirect(get_option(‘siteurl’) . “/register”);
exit;
}
}and another possible solution:
//Redirect only guests to register page
add_filter(‘kleo_pmpro_url_redirect’, ‘kleo_my_custom_guest_redirect’);function kleo_my_custom_guest_redirect($redirect)
{
if (!is_user_logged_in()){
return home_url().’/registrierung’;
}
else
{
return $redirect;
}
}hope that helps^^
AnchoraParticipantyou need BOTH themes installed
-sweetdate
-sweetdate-child…and the sweetdate-child is the activated one.
what is difficult about this?
AnchoraParticipantNo related plugins, I tried this.
Could this possibly rely to any facebook-settings? OAuth or so?
Is there any setting in the apps-api that needs to be set for the avatars?
Didn’t find any..AnchoraParticipantAnchoraParticipanti meant this different/default layout:
http://mercime.files.wordpress.com/2013/05/privategroup-groupd-04.png
AnchoraParticipantweirdness continues. still is so, that sometimes they appear.
leaving the tab open + reloading again — then they disappear: 🙁would it be possible to replace the membership-requests-code with the bp-default one?
(and would you have a look into the child-functions, because it might be, that it affects it anyway?)
AnchoraParticipantDid this. What I can say so far:
When activating the 2.4-parent it seems to work, in every case.
BUT
when activating the child then – even if its totally empty (empty functions.php)
– they don’t appear!how about this one? 😀
AnchoraParticipantoh i see, checked it on another station.
REALLY weird.
when clicking on requests, the loginpage appears here also.i had that acc on one browser loggedin. maybe wp prevents from multiple logins?
mystery remains, because when logging in from this other station with chrome, the buttons appear again. how could it theoretically be, that this function disappears in some circumstances??
AnchoraParticipantSry to dig this out again, but the above bp.org-link did not fit, because it gives no 404,
it only misses the buttons.By testing today, these buttons are still gone, in chrome and ff.
Still they appear with any of the defaultthemes.
AnchoraParticipantThanks Abe!
I did a workaround, which works, but is not too elegant:
I have inserted a bp-profile-search-widget. Via this, the paginationlinks do work.But that also means I would have to delete the sweetdate-search…
AnchoraParticipantAs I said before:
There are no edits in custom_buddypress. After the update this did not work, so I removed these edits. :/The strange thing is, that the link works, when right-clicked/open-in-new-tab.
Only when clicking directly, the end of the link is missing.
AnchoraParticipantAnchoraParticipanthow about activating sweetdate(parent) instead of your sweetdate-child?
does it work then?AnchoraParticipantyou don’t have to update the child.
update the sweetdate-theme + leave your child untouched, thats the sense of it.in my case it DID work after the update!
-
AuthorPosts