Forum Replies Created
-
Author
-
mcgreggorParticipant
I feel stupid. It turns out adblocker was blocking the avatars in firefox. Please close this topic. Thanks.
mcgreggorParticipantThanks for your response. I’ve tried every option under Settings > Discussion > Avatars but no image is ever shown.
For example; when I select identicon the html looks like this:
COPY CODE<div class="avatar"><img width="94" height="94" alt="Profile picture of Princess Rita" src="http://gravatar.com/avatar/9ebca998ce3fac43f184ea4ca29a91ff?d=identicon&s=94&r=G" /></div>
November 25, 2013 at 12:45 in reply to: Hide tabs next to profile image if user is not a paying member #7206mcgreggorParticipantPerfect!
Thanks once again for a great theme and top-notch support!
November 22, 2013 at 16:10 in reply to: Hide tabs next to profile image if user is not a paying member #7101mcgreggorParticipantThanks but that’s not what I’m after. I guess I wasn’t clear enough before.
I want the tabs not displayed on members pages if that member is not a paying member.Something like this but it isn’t working:
COPY CODE$user_id = $bp->displayed_user->id; if (pmpro_hasMembershipLevel(NULL, $user_id)) { $bp_tabs 2 arrays .... }
Thanks for helping me out.
August 26, 2013 at 12:43 in reply to: Buddypress bug: users with spaces in their usernames can’t register #1805mcgreggorParticipantThanks!
mcgreggorParticipant1. I have fields like nationality with over 200 possible values so it is not user friendly that they are all shown in the search form drop-down.
It would be a life saver if you could add this in the next update.2. I’d like to have the numbers appear behind the values in between brackets. Please take a look at this screenshot.
Thanks for the great support.
mcgreggorParticipant@twoshoes: I think your problem with the invalid activation keys are not related to the theme but is in fact a BuddyPress bug. You could check this by switching to the default theme to see if the problem persist.
This is what happened on my installation:
1. After clicking on the confirmation link in their e-mail they are redirected to my site saying they have succesfully registered.
2. When they first log in they are redirected to the activate-page asking them for the activation key.
3. When they enter the key they get an error saying it is invalid. However they have succesfully registered and logged in. The error message just isn’t a great way to welcome new members.I fixed it by redirecting users to their profile page after they log in by adding the code below to sweetdate-child\functions.php
// let us filter where to redirect
add_filter("login_redirect","bpdev_redirect_to_profile",10,3);
function bpdev_redirect_to_profile($redirect_to_calculated,$redirect_url_specified,$user)
{
if(empty($redirect_to_calculated))
$redirect_to_calculated=admin_url();// if the user is not site admin,redirect to his/her profile
if(!is_site_admin($user->user_login))
return bp_core_get_user_domain($user->ID );
else
return $redirect_to_calculated; /*if site admin or not logged in,do not do anything much*/
}
Hope this helps.
mcgreggorParticipantThanks for the quick reply. However re-saving the widget doesn’t help on the the widget from this post: https://archived.seventhqueen.com/forums/topic/recent-posts-widget.
Isn’t there something I can add or delete from the widget code in sweetdate-child/functions.php to disable the cache? thanks
mcgreggorParticipantIt would be great if a user profile would totally disappear from the site unless they activate it again by renewing their membership or that blog posts by expired members are no longer visible (I’m using the social articles plugin s you suggested).
-
AuthorPosts