Announcing: Events component
Tomorrow, the first version of my bp_events component will be available from my website (http://www.erwingerrits.com/?page_id=799).
This component will allow your users to create (recurring) events, with optional forum and wire, to which friends can be invited. Friends can either: attend, maybe attend or not attend, much like Facebook’s Events. There will be a ‘Send a Reminder’ option as well.
The component includes an “Events” widget that lists the upcoming (default), newest, active or popular events.
You can keep up to date on the development, and add comments with suggestions or bug reports on my website, or on this thread.
Re: bloating: Google Maps is inplemented through a third party plugin called GeoPress. If you don’t want maps, don’t install this plugin. All that’s left is 5 lines of code.
Twitter is implemented through (literally) 10 lines of code.
I’m testing out the event plugin and it seems to be working as it should. I’m not sure where the Twitter setting is, however. Where do I insert the Twitter account name I want the event posted to?
Twitter settings can be entered right below the “Post this event to my twitter account” checkbox on the third screen, the “event-settings”. Just check the checkbox, and a box will popup where you can enter your credentials. I am struggling as to where to put these things… I am open to suggestions.
“I am struggling as to where to put these things…”
Is it possible to add the users twitter name as a bp-xprofile field?
I think add user’s twitter account in bp-xprofile or user settings…but if another twitter plugin is installed would there be a conflict or would be fine?
I don’t see why it would cause any problems unless another twitter plugin also created a bp-xprofile field in which case there would simply be an annoying duplicate field.
One possible way around such an issue might be to allow a site admin to simply nominate a new or existing bp-xprofile field, that way if another twitter plugin created a different field you could just nominate that one.
Of course, I could be vastly over simplifying things here.
> unless another twitter plugin also created a bp-xprofile field
This could easily be solved by checking to see if the field exists already, but that cannot be guaranteed for all plugins.
I think the easiest way would be to have a simple plugin that would simply store these two values for other plugins to use.
One could write a plugin that adds a menu option to the settings for the profile plugin, and it would just say “twitter settings” and you enter your account & password in that, and other plugins could simply check if the fields exist and use twitter if they do.
Or maybe it’ll just have one function: tweet($userid, $status), ‘if function exists’ is an easy check in php and so other plugins can check if the twitter plugin is installed and use it if it is.
Just throwing this out for discussion.
I like the ‘tweet($userid, $status)’ idea, that would probably encourage more twitter integration.
I’ve been testing out the latest release and things seem to be looking great.
However, the maps features need tweaking I feel – it’s a bit clunky having to install Geopress as well, it would be far nicer just having to paste in my API keys into the BP-Events admin section.
When/if that is done, it would also be useful to be able to choose whether Google Maps, Yahoo Maps or both are used, I would personally only want one and I would like to be able to choose.
Also, we will need checkboxes in the admin panel as to whether Maps/Twitter features should be on or off, as I’m guessing some social networks wouldn’t even know what Twitter is, and it might confuse them!
Here,here on the ‘one function: tweet($userid, $status)’ option maybe twitme 1.7 plugin for BP could also use the function!
If my Internet speed will ever pick up today, I will be working on this ‘twitter plugin’ today and should have something ready for this evening.
egerrits, Are you saying your working on a twitter client for BP
like displays notifications for new messages
shorten long URLs (using bit.ly, snurl, twurl or is.gd)
cross-post your updates to Jaiku and many other sites like Facebook, MySpace, LinkedIn and more via Ping.fm
post images to TwitPic
search tweets using Twitter Search and TweetScan, and follow topics in near-real time with saved searches
gpol.. uh… no… just working on a plugin that adds a “Twitter” tab to the profile page, and users can enter their account & password so they’ll be stored centrally in user’s profile. Plugins can then call “tweet($status)” and my plugin will then use those credentials to tweet a post. That’s all… once it’s working, maybe I’ll expand it.
See new thread http://buddypress.org/forums/topic.php?id=1488 for the twitter plugin. Test, test, test please!
I just moved the twitter admin stuff to a separate plugin. Tweeting the event option won’t even show up in the user’s pages unless a) the twitter plugin is installed (admins choose that for their network type), and b) the user has his account/password entered in his profile (ie. knows what he/she is doing).
Re: google maps… I really just threw that into this release to see if it technically works for everybody. Will be working on ‘prettifying’ it shortly. FYI Google and Yahoo Maps API CAN be entered into the Events Settings (not GeoPress settings, although they point to the same values, you could use that too). And you can pick and choose which one to fill in (or both), so the admin can pick which one to use.
Just an idea to throw out. If a member isn’t signed up for any events, there is still a section on their profile and it will say “Member hasn’t joined any events yet.” Instead, in this case, can the event section just not be listed?
Yes, that is the way it should be. I’ll be changed in the next version.
Thanks for you work.
A problem with activation:
Warning: require_once(bp-core.php) [function.require-once]: failed to open stream: No such file or directory in /web/htdocs/xxxxxx/home/social/wp-content/plugins/bp-events.php on line 11
having an issue with the latest version which shows the incorrect sub menu for the event page as seen here http://www.flickr.com/photos/imobio/3337908503/ wondering from which file I might be able to drop in the correct function.
make sure you have the latest trunk version of buddypress (or at least 1164 I believe) installed, particularly bp-core-templatetags.php.
The forum for an event gets created successfully, but the forum and icon does not appear in the “optionsbar” as does when a forum is created for a group.
Add a vote for categories/tags feature also! Thanks!
egerrits, what a good plugin, I appreciate it a lot!
However, I am running into two issues:
Time settings: It would be good to make the end time optional. For evening events like a party I usually do not know how long they will last.
“My Events”: When selecting Events from my personal navigation I am being directed to /members/myname/events/ and “No matching events found” is being displayed. Should not /members/myname/events/my-events/all be the default page?
The topic ‘Announcing: Events component’ is closed to new replies.