Forum Replies Created
-
In reply to: BP only for Role: Contributor and above
I’m not sure which membership plugins work well with BP as I’ve not used any but I’m sure some of the guys on here will be able to recommend?
As @r-a-y points out in this thread,
is_buddypress()is a good catch all for BuddyPress pages. So, you could put something like this in your theme’s functions.php file:function my_function() { if ( is_buddyPress() ) { // This is a BuddyPress page you are viewing so do something BuddyPressy. } else { // This is not a BP page. } } add_action( 'init', 'my_function' );In reply to: BP only for Role: Contributor and aboveHi @chiefalchemist,
Should I add a new Role and have a cap (say) ‘employee”? Or remove caps from the Contributor role?
Both are completely valid approaches but perhaps creating an ’employee’ role with custom capabilities would make more sense?
Regarding the use of a membership plugin, you could go down that route, else the
current_user_can()anduser_can()functions will help if you decide to use custom code.Refs:
In reply to: Create a social matchup networkHi @manag99
This can definitely be implemented with BuddyPress but you’ll need to use plugins and or custom code because what you need to happen doesn’t happen out-of-the-box. Try searching the WordPress Plugin Directory for individual plugins and then try them out on a test install.
In reply to: [Resolved] Translation for SpanishHi @ivanguinea
Can you provide some more details on what you are doing. What exactly isn’t working?
In reply to: Add an alt @user_nameI think you guys have a point and agree almost fully with what you say. Where my own personal view may differ slightly is on using usernames as login credentials. I think it’s acceptable for the following reasons:
- As you’re aware, as with any system that requires user access, things are a trade-off. Security has to be balanced against usability. A completely secure system will deny all access, period. However, that system wouldn’t be useful to anyone. Whereas a completely usable system wouldn’t require authentication. But that would be totally insecure. As you can see there needs to be some middle ground
- Allowing username and password access (instead of email and password access) makes it easier for users to login, which makes a system more appealing to use because users gain access quicker and don’t need to type their long email addresse
- Standard member accounts have limited privileges, so even if a breach occurs, limited damage can be done
That said, as I said earlier, administrator accounts shouldn’t be labeled as such on the front end and should ensure the username is obscure (i.e. not admin). And regardless of the user account in question, strong passwords should be encouraged.
That’s my own personal take on it. I’m sure lots of people would be able to point out many more drawbacks (and advantages) of doing things this way
In reply to: A True Activity LikeI think the idea is to favourite the actual activity item. So if a member creates multiple activity items, you may choose to favourite none, some or all of those activity items.
In reply to: A True Activity LikeHi @jessicana
Some communities might not necessarily want ‘like’ functionality by default. The ability to favorite is already available though?
The best bet is to style the ‘like’ button yourself to match your theme’s styles.
In reply to: Profile PictureCan you explain what you’re trying to do? Profile photos (avatars) can be changed very easily without the need for a plugin.
The core team are aware of the problem. See here for the fix:
In reply to: Home Activity ScreenAny chance you could list the issues you were having in a new thread? 2.1 is very new so documenting any problems you’re having is V helpful to the core team
In reply to: A True Activity LikeIn reply to: Custom member profile headerHi @adjunkten
Your path seems slightly off. It should be wp-content/themes/your-theme/buddypress/members/single/
And I think the file you need to edit is member-header.php
In reply to: Create Competitions using BuddyPress@shanebp just like He-Man? 🙂
Hi @dinoooop
To my knowledge, this shouldn’t be happening. Can you provide some more info about your set-up? Theme? Plugins used?
In reply to: Create Competitions using BuddyPressThe link you’ve provided to 99designs seems to be broken?
In reply to: Add an alt @user_name@r-a-y Theme My Login provides that functionality if the security module is enabled. I’ve used it and it seems to work quite well.
In reply to: Add an alt @user_nameWhilst you’re completely right in what you say (WordPress actually encourages site administrators to use a different username to “admin’), this sort of thing is hard to avoid. Facebook, Twitter and the like all allow users to login with their username which is easily guessable after visiting that particular user’s profile page. Don’t forget though, user permissions are usually basic. However, what *should* be avoided is exposure of the administrator’s username. If a hacker were to gain access to such an account, then they could do far more damage. For this reason, the admin account is likely to be more of a target in any brute force attack than a standard ‘member’.
My advice would be, change your administrator account username to something obscure and don’t tell anyone that particular member is the admin.
In reply to: Charging membersHi @kris35
The best thing to do is search the WordPress Plugin Directory for membership plugins. See: https://wordpress.org/plugins/
In reply to: My customs styles stopped workI’ve opened a ticket to make the core developers aware of the issue.
In reply to: My customs styles stopped workI’m not sure that anything has been deprecated? Using the approach I mentioned was just an alternative to how you used to do things, which you indicated wasn’t working post 2.1 upgrade. If the latest update is overriding buddypress.css then this is something that may need a Trac ticket
In reply to: My customs styles stopped workIn your child theme directory you should have a file called style.css
Make sure your custom styles are inside that file.
In reply to: [Resolved] How to turn off the activitiesHi @rzelnik
The whole activity component can be disabled via the WordPress admin area.
In reply to: Add an alt @user_nameHey @chiefalchemist
You’re right to keep this sort of thing in mind when it comes to securing your site. Take a look at some of these plugins which provide two-step authentication:
https://codex.wordpress.org/Two_Step_Authentication#Plugins_for_Two-Step_Authentication
In reply to: Custom avatarHi @arno8
These constants will apply going forward but avatars uploaded previously won’t be changed. You could request that your members re-upload their avatars?
In reply to: Profile pageIn that case check out the BP template hierarchy article: