Forum Replies Created
-
There has to be someone that knows the answer to this question. Even just pointing me to the core files where I can find the actions that are used to create users would be great.
Glad it worked jwack. Glad I could figure it out. I’m new to BP. Looks like you can mark this resolved too.
Actually, it’s better for you to use the wildcard %%SITENAME%%, because then if/when someone changes the name of their site it will automatically update your plugin. Otherwise, they’ll realize later that they needed to change it multiple places.
Chouf1,
You don’t want to edit the file you specified. You want to edit the child template for the file you specified.
jwack,
What about something like:
<?php if ( 'field_1' == bp_get_the_profile_field_input_name() ) {
echo "the message/html you want below the input label";
} ?>Place that below the piece of code that you have up above in the register.php file.
Seems like there might be something better than bp_get_the_profile_field_input_name() since that’s already been called above, but that should work alright.
Looks like the bugs are fixed. Although, now the subject line isn’t processing the wild card character. It says, “An invitation to join the %%SITENAME%% community.”
Looks like you removed this line from the invite_anyone_wildcard_replace() function:
$text = str_replace( ‘%%SITENAME%%’, $site_name, $text );
Nice work Boone. A few bugs and suggestions.
-When the invite errors (email already exists or bad email address), the custom body message is ending up in the custom subject instead of in the custom body
-When an email has opted out and you try to send an invite to that same email with no groups checked it tries to load this page: /members/admin/invite-anyone/sent-invites/send/ and loads no page. Once I click a group, then the proper error is thrown that they’ve opted out.
-How about having an admin defined header/footer for the email message. Then, the option for the invite sender to put a custom message in between the admin defined header/footer? That way people can do whatever they want with the email message. You could include the “sign up” and “opt out” text as part of the default for the footer. Then, admins can add to it or modify it as they see appropriate.
-Instead of the “clear” function on the Sent Invites screen how about changing Sent Invites tab into multiple tabs: “Pending Invites” “Accepted Invites” “Opt Out Invites” and “Cancelled Invites” (this would require you adding a cancel button to the “Pending Invites” screen). Or if you don’t want separate tabs you could do a filter on the “Sent Invites” tab with these categories, and default it to “Pending Invites”
Might be worth adding this link to the documentation on creating a child theme: https://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/ It has the other details for creating the stylesheet and activating the child theme as well. Details a newbie might want to have on top of what you’ve already said. I know since I just changed my registration page as you described this week:-)
I’ve never seen one (although there might be), but the challenge I have is understanding what from Facebook you’d want to create the post on the blog. Would you want someone’s wall post to be added to the blog? That doesn’t make much since to me. Would you want a Facebook Note to be added to your blog?
The other option is to add the WordPress app (and there are probably a number of these out there) to your Facebook account. I think a Facebook WordPress app would be able to post to your blog and to Facebook at the same time. At least I think there are 2 way Facebook apps like this.
Bpisimone,
The most obvious is group subscription/filtering I think. Basically, that someone can pay to get access to a private group. That would be a pretty killer feature.
I also think he should provide some pass through variables in the payment buttons. So, he could add a hidden variable to the buttons for groupid=”1234″ and then after the payment is processed, that ID would be sent to the “welcome page” where you could welcome them to that specific group. You could do the same thing for userid and make that userid a friend once they’ve paid.
Like in and of itself isn’t useful. What’s useful is what you then do with the data that people have liked. For example, you can send email notifications to people who have liked something that then gets commented on. You could show information in a feed based on previous likes. You can do lists of most liked items. etc.
This is a good baseline that can be built on. Plus, users for some reason like clicking the like button. It’s another form of communication without having to think of a comment.
What would be cool is to take it a step further and make the plugin agnostic and have multiple buttons. For example, I might want a like, dislike, and sarcastic like button (or whatever creative things people come up with).
Try one of these:
https://wordpress.org/extend/plugins/auto-join-groups/
http://brentandmary.net/2009/10/24/bn-auto-join-group-plugin/
http://buddypress.webdevstudios.com/blog/2009/11/13/buddypress-registration-options/
https://wordpress.org/extend/plugins/welcome-pack
I think that one of them does what you’re describing or could be modified to do what you want.
As an added bonus, here’s one that should subscribe people to a blog at sign up:
So, basically to resolve your problem your fetching the avatar from Facebook each time it’s loaded? Seems like you should be able to download the avatar the first time from Facebook and save it to BP, no? Maybe Facebook doesn’t allow you to download it and then upload it to BP?
Just seems pretty expensive to have to query Facebook every time to get a person’s avatar. The nice part is that the avatar will continue to update as they change it on Facebook. The bad part is that if Facebook’s down, then they’ll have no avatar. You’d also be using a lot of your Facebook Connect connections to load avatars once your site scales to any size. I think they have a limit on connections, no?
Interesting site. What do you use to pull in the RSS feeds of the external blogs?
The hosting guys could change it, but are unlikely to change it. Although usually they give priority something like this:
index.htm
index.html
default.htm
default.html
index.php
So, it will search for the files in that order.
Long term though, you should likely just create a child template for your blog so that it will go to your blog’s home page. You can make it look just like your index.html page (or at least really close).
Happy to help. Thanks for the great plugin. Looks like you understood all my ideas perfectly.
A few other things I found today:
-I just tried the Facebook Connect plugin which creates the user using the Facebook login. When a user created that way visits the “Send Invites” (ie. http://purebiggestloser.com/members/username/invite-anyone/ ) then only the first text box and the “Hi there” appears for the form. This is likely a problem with how the Facebook Connect plugin is creating the login, but maybe you could see what info you’re trying to pull and see what it’s creating wrong. I’ll see about looking at it later too.
-This might be purposefully done, but the “Send Invites” tab isn’t available on the Groups page unless the person is moderator. Personally, I think that everyone that’s a member of the group should have access to invite people to the group. Plus, even if the person is not a moderator of the group and they go to the send invites page on their profile they can invite people to all the groups for which they are members.
-I’d also look at just having a comma delimited text area for the email addresses instead of the a-e set of text boxes. Just use explode() in PHP and you’re there faster and I think most people are familiar with comma delimitted text areas. Probably would require a little more validation of the list though. However, then you could quickly incorporate the Plaxo widget I linked to previously.
Another example of why software patents are a complete mess.
I think you should just be able to put an HTML file at the root and it should load that index.html file instead of the BP index.php file. At least if the server that host your website has it set to load index.html before index.php (which should be the default for most I believe). The only exception might be if the permalinks changes to the .htaccess file somehow have it ignore the index.html and go straight to the php one.
Just try adding the index.html at the root of a BP install and you’ll find out really quickly.
Obviously I like this plugin a lot. Added it to my test site and everything went really smooth and easy. Just a few comments/bugs:
-It would be a great feature to customize the subject line (similar to the body). Would also likely want to include the name of the person requesting in the subject. As a side note, Facebooks email invite has a subject that says “Check out my photos on Facebook” Interesting way to get people to read the email.
-Email Invite should have the “reply to” from the person that invited them. Maybe it requires some backend server/email configuration to not get caught in the spam filter? The point being that person sent the request, they should get a response to that email if there is one.
-In the invite I sent it had an apostrophe and when it got to the email it shows the apostrophe with \’ in the email. Needs to be filtered/sanitized somehow?
-Would be really nice to have the email field auto-populated. Otherwise, people can sign up with a different email address and then it doesn’t update that the invite was accepted and that person never gets the group/friend invites (I tried). Granted, a lot of people have only one email, but would also save them time if it pulled in the email into the email registration field.
-Personally, I’d prefer it to just add the person to the group and make the requesting person their friend instead of sending them 2 more emails which could be confusing since you’ll get a total of at least 4 emails after activating (New Account, New Blog, Group Request, Friend Request). Maybe this could be an option that can be turned off or on.
Nice work. I love the person’s name on the registration page. I think touches like that could be expanded upon to really increase sign up rates.
Boone,
Here’s the research I did on how Facebook deals with the email import and “opt-out” features of their email friend finder.
If you go the “import address” route, here’s the “Learn More” info that Facebook uses:
“We will not store your password after we import your friends’ information.
We may use the email addresses you upload through this importer to help you connect with friends, including using this information to generate Suggestions for you and your contacts on Facebook. If you don’t want us to store this information, visit this page.”
The page that Facebook uses when you want to REMOVE your email from their list/importer manually says the following:
“Remove Contacts Imported using the Friend Finder
Facebook uses the email addresses you upload through the Friend Finder to help you connect with friends, including using this information to generate Suggestions for you and your contacts on Facebook. Please click the “Remove” button below if you want Facebook to remove these contacts. Note that it may take some time before your name will be completely removed from Suggestions.
[Remove Button] [Cancel Button]”
In the email to join Facebook at the bottom of the email it says:
“testfacebook@testaddress.com was invited to join Facebook by Stevie Jones. If you do not wish to receive this type of email from Facebook in the future, please click here to unsubscribe.
Facebook’s offices are located at 1601 S. California Ave., Palo Alto, CA 94304.”
The “here” link goes to a page where it says (no login required):
“Facebook will notify you by email when your friends enter your email address and request that an email be sent to you. This includes when your friends invite you to an event, tag you in a photo, or add you as a friend on Facebook.
Do you want to stop receiving Facebook emails testfacebook@testaddress.com?
[Checkbox]Opt out of receiving emails from Facebook.
[Confirm Button] [Cancel Button]”
Certainly the wording would be a bit different than Facebook, but hopefully this will help you design the opt out portion when you have time. My concern is the extra load on the DB when you’re searching to see if an email has opted out or not. Have to be careful there. Not a horrible problem if you only allow 5 emails to be sent, but if/when people send more it will matter more if not done right.
This thread has someone who wants the same thing: https://buddypress.org/forums/topic/join-all-public-groups-at-once Maybe you can work together or see if they’ve found the solution beyond r-a-y’s link which is good.
I’ve been considering the same thing. In my research here’s the list of plugins I needed to still evaluate. Not a perfect plugin I think for this, but one of these plugins should be able to easily be modified to do what you want if you know a little PHP and WP/BP. Otherwise, I’m planning to dive into it myself over the next couple months. I hope these links help:
https://buddypress.org/forums/topic/join-all-public-groups-at-once
https://wordpress.org/extend/plugins/auto-join-groups/
http://buddypress.webdevstudios.com/blog/2009/11/13/buddypress-registration-options/
I also had the welcome pack on my list since it does make sense to have this part of it also.
hnla,
Whether legal or not, the feature would be a better user experience. Plus, I don’t know for sure, but I’m guessing that an “opt-out” link that removes your name from future emails would help to avoid getting your server blacklisted or filtered by the various spam filters as well. I’ll add it to my list to try and research some of the details for Boone so he can implement it the best way possible.
“It’s possible to add a “I dont want to receive more invites” on each email? (like a unsubscribe link). This will solve a lot of headaches if someone start receive multiple invites from a lot of people.”
Actually something like this might be required by the Can Spam act. Not for sure of the details. I think we need to look at one of the Facebook emails and see what they have since certainly they’ve gone through a lot more work and effort to figure out how to send emails like this in large quantities.
Ok, WordPress 3.0-beta is out. Just kidding. Well, I’m not kidding about it being out. I’m kidding about the compatibility being done.
I did wonder how the merge of WordPress and MU is going to affect BuddyPress though. Seems like it should be a great thing overall, but wasn’t sure if it would cause some short term challenges for BuddyPress.
Welcome to the BuddyPress community. No doubt not having to have WordPress MU is going to be a great thing for the BuddyPress community since it opens it up for a much larger community of users.