Forum Replies Created
-
Cool! I’ll check it out… 🙂
Is it a CSS fix or did you make changes to jCrop? I’ve been looking through BuddyMobile but can’t find the fix?
@buddyboss any idea how to make the crop preview image fluid?
In reply to: Backend notification when user profile completexprofile_screen_edit_profileTry hooking to that. It fires every time a user’s profile is updated via the profile edit screen. Your conditional will ensure the user meta is added only when appropriate.
Also, you could also try using
update_user_metainstead ofadd_user_metaIn reply to: Google AnalyticsIt’s better to have the Google Analytics code run after all of your page elements have loaded. This way, the page will load faster for your users as it doesn’t have to wait for the analytics code to execute. You’re not talking much – perhaps a fraction of a second. So if you want to put it in your theme’s header.php then go for it.
In reply to: Google AnalyticsI’d paste it into your theme’s footer.php file immediately before
</body>In reply to: Font colour on Buddypress pagesbody { color: #000; }that last post didn’t accept the code tags very well.
In reply to: Font colour on Buddypress pagesa) wp-content/themes/your-theme/style.CSS
b) Try adding thisbody` {
color: #000;
}`That will change all of your site’s text to black.
This sounds as though it could be a problem with your server. Have you tried contacting your hosting company?
In reply to: Issue with Ajax Loaded Content and jQuery finctionsRight! I see exactly what you mean now. You can raise a bug report for issues such as this using the link provided in my last post.
In reply to: Issue with Ajax Loaded Content and jQuery finctions@stoi2m1 I’m not entirely understanding what you mean. Is the issue reported in this Trac ticket similar to your problem?
In reply to: Backend notification when user profile completeAssuming
bppp_get_user_progression_percentreturns the percentage completed then your function looks spot on.The conditional
if ( $percentage == 100 && ! current_user_can( 'edit_posts' ) )will ensure the user’s meta is updated only if:$percentage == 100– all profile fields are completed
! current_user_can( 'edit_posts' )– they’ve not already reached 100% profile completion at some pointIn reply to: Excluding Roles from the Member's Directory.@somethingelse great to see you got it working for you.
our membership changes regularly… i don’t want to have to re-code my members-loop every time a member leaves or joins
Why must the exclude ID list be fixed?
I wouldn’t suggest doing something like
$excluded_users = '1,2,3';Rather, your list of IDs to exclude should be dynamic e.g.
$excluded_users = $ids;where
$idsis a list of your users with roles2member_level3– which is continually updated. To get$idsyou’d just need to query for thes2member_level3role.In reply to: Pagination Issues with Custom Component@stoi2m1 what do you think the Skeleton component could be doing differently to the core component(s)?
In reply to: Lower the Search TextBoxYour theme’s style.css will be here: wp-content/themes/your-theme/style.css
In reply to: Change TextBox SizeCan you show me where i should add this?
You can’t just add the code ‘as is’. Because you’ll need the ‘mytextbox’ class on your input elements as mentioned here:
Where mytextbox is a class belonging to your text input fields.
You should check out these links:
http://www.w3schools.com/html/
http://www.w3schools.com/css/The tutorials will show you how to do the sort of stuff you’re looking to do quite easily.
In reply to: Lower the Search TextBoxAll of your custom CSS goes into you theme’s style.css file.
In reply to: Lower the Search TextBoxYou could give the form a top margin of say 20px?
e.g
form { margin-top: 20px; }In reply to: Change TextBox SizeYou can use something like:
.mytextbox { width: 100%; }Where mytextbox is a class belonging to your text input fields.
In reply to: Change BuddyPress Font ColorNo, avoid modifying any of the plugin’s files. Everything can be done via your theme through overriding the default behaviour.
In reply to: Change BuddyPress Font ColorThat’ll be your theme’s style.css file. It should override CSS elsewhere.
In reply to: Change BuddyPress Font ColorYou can do that with CSS.
take a look at
http://www.w3schools.com/css/css_text.aspIn reply to: Backend notification when user profile completeJust to let you know
xprofile_updated_profilefires even if there was an error updating the user’s profile.I think
xprofile_profile_field_data_updatedis the hook you need as it fires only on successful update.In reply to: Backend notification when user profile completeI’m trying to understand your requirements – do you just want to send an email (perhaps to an admin) once a user has completed all of their profile fields?
In reply to: Pagination Issues with Custom ComponentSounds like i’m doing the same thing as you. See this tutorial which works very well. I use a modified version of it everywhere on my site – to load more posts, load more members, load more messages and even load more search results. Hope it helps.