Forum Replies Created
-
In reply to: Is multi-site the right way to go?
Do you mean BuddyPress users accessing the main WP site? BuddyPress users and WordPress users are the same, perhaps with different roles and capabilities but they all live in the users table. So two-way access shouldn’t be a problem.
If you feel multisite is the way to go, then I’d suggest you set up a test install first to try it out. Creating a network will add lots of new tables to your install and rolling back won’t be easy.
In reply to: Is multi-site the right way to go?Your theme not being suitable for standard pages isn’t reason enough to use multisite. It might solve your problem but it is kind of like using a sledgehammer to crack a nut. Have a read of this article, it will give you some things to think about before you go down the multisite path.
In reply to: Is multi-site the right way to go?If I understand your requirements right, I wouldn’t use multisite for this. I also wouldn’t use separate installs.
Considering you just need a main site area and a BuddyPress area, I would aim to keep things as simple as possible and address this problem with a custom theme. You can add a /your-theme/buddypress/ folder which contains all of your BuddyPress templates. Then it’s just a case of styling both the main area and your BuddyPress pages to look consistent.
In reply to: Profile searchPlease ask your question on the plugin’s support forum. The plugin author should be able to help.
In reply to: How to get an ID of a user who was just activated?OK sure, try this:
function william_oneb_key() { if ( isset( $_GET['key'] ) ) { echo $_GET['key']; } else { echo "No key available."; } } add_action( 'bp_after_activate_content', 'william_oneb_key' );In reply to: How to get an ID of a user who was just activated?If the key is part of the URL then you should be able to get that from
$_GET["key"]and then query the database for a user ID using that value.In reply to: How customizable are the registration forms?This all sounds feasible. BuddyPress is very developer friendly so building your own web apps and hooking into BuddyPress shouldn’t be a problem.
The registration form is configurable and is fully customisable via the BuddyPress template hierarchy.
Also, BuddyPress is free, so there’s no need to purchase.
In reply to: How to get an ID of a user who was just activated?Is the user logged in at this point? If so, you can use
bp_loggedin_user_id()In reply to: How to get an ID of a user who was just activated?I suspected that might happen. The problem is here
$willie = my_f();. In this particular case you can’t do that. I may have mislead you earlier so I’ve updated my reply here.In reply to: How to get an ID of a user who was just activated?That’s usually fine to do but be careful in this case. Our
my_f()function is hooked to the filterbp_core_activate_account. That particular filter executes at a given time only. So your statement$user_id = my_f();is not useful.$user_idwill be undefined.In reply to: How to get an ID of a user who was just activated?@william_oneb technically yes. If
bp_core_activate_signup( $key )is successful then it will return a user ID. Sofunction my_f( $user_id ) { // You can do something with $user_id here. Note though, the return value of // bp_core_activate_signup() may be false. In that case, // the value of $user_id here will be false. return $user_id; } add_filter( 'bp_core_activate_account', 'my_f' );Which theme are you using?
In reply to: COLOR OF ACTIVITY FORMTo change the background colour, you’d use the
background-colorCSS property:#element { background-color: #000; }Where
#elementrefers to the form element used in your HTML (the way to target this particular element is theme-dependent). Check out the Getting started with CSS MDN guide for more info on how to write CSS.In reply to: COLOR OF ACTIVITY FORMYou should use your theme’s style.css document to add your own custom styles.
The @-name you see is slightly different to the “full name” displayed in user profiles. The @-name can be thought of as a username; a unique identifier for that member. The full name is just a line of text that can be anything the user likes. Two users can have the same full name, but no two users can have the same username.
In reply to: Setting landing pageYou can set the page users are taken to when they log in quite easily with a plugin such as Theme My Login.
In reply to: registred users not include in buddypress membersPossibly. Try searching the Plugin Directory.
In reply to: registred users not include in buddypress membersIf a user can log in, then they are a member who has a profile page. This is regardless of whether they have activated their account. Of course, non-activated members can’t do much as their site usage is restricted.
In reply to: registred users not include in buddypress membersAll members get a profile page, even the ones that haven’t activated their account yet.
BuddyPress uses a Template Hierarchy, just as WordPress does. If you have a copy of activate.php in your theme, BuddyPress will look for it and load that in place of the core template file. See the article for more info.
Check the activation emails aren’t going into user’s spam folders.
In reply to: rt mediaYou could try MediaPress or there’s also BuddyMedia.
Actually, no. But overriding the activate.php template is an option if you wanted to go down that route.
How does MediaPress compare to rtMedia?
I haven’t used Mediapress myself but I know it’s quite popular here in the BuddyPress community.
Check out the Customizing Labels, Messages, and URLs article. You can use a language file to “localise” BuddyPress strings.