Forum Replies Created
-
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.
See new thread https://buddypress.org/forums/topic.php?id=1488 for the twitter plugin. Test, test, test please!
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.
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.
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.
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.
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.
The function to display the map is:
bp_event_map( $event=false, $width=250, $height=250, $zoom=8 )
So if you put some parameters into the call in event-home.php file in the member template (line 46) you can change the size/zoom.
New version 0.53 is now available from my website @ http://www.erwingerrits.com/?page_id=799
Lots of minor bug fixes, along with now working edit event, localized date & time formats, twitter, maps and “My Events” lists.
As usual, good or bad, let me know!
I got twitter working–it was surprisingly simple.
I may work on Facebook/Google Calendar after I get everything working that I have on my list now. Although I’ve had horrible results with interfacing with Google Calendar trying to understand google rss feed’s horrible time zone handling.
New version of bp-events with twitter and google maps working in the next day or two.
I’ve created a ticket on the trac for these issues
I would like to see the ability for users to be able to personalise their profile page, with this I mean them being able to pick ‘boxes’ with content (say, my groups, my friends, online friends, personal info, etc sort of like widgets, but picked by each user) and place them on their profile, perhaps able to move them around ajax style (and hide/minimize/maximize them) like in the WordPress backend dashboard.
Copy bp_core_widget_members() and bp_core_widget_members_control() functions from the file bp-core-widgets.php into a new file. Rename the widget functions from “members” to “newmembers” or whatever. Remove everything in the div “item-options” if you don’t need ajax option choices.
Add these two lines to the end of the file:
register_sidebar_widget( __(‘New Members’, ‘buddypress’), ‘bp_core_widget_newmembers’);
register_widget_control( __(‘New Members’, ‘buddypress’), ‘bp_core_widget_newmembers_control’ );
Save the file as “newmembers.php” into mu-plugins. Next time you login the widget will be listed on the widgets page ready to be placed on the front page.
MartiNr5,
I changed all date and time output to WordPres Settings Date & Time Format, so that should take care of the regional date display.
I have wrapped all text with the translation functions, but I haven’t created a pot file yet. I am new to the localization thing, so bear with me on that… I’ll have to do some reading on it, or maybe you can help guide me through it?
You’ll be happy know the twitter hookup & google maps is in the works for the next version on Monday…
Group events shouldn’t be much of a problem.. I’ll work on that after I get the basics working flawlessly.
You MUST share the database for them to be able to share users. bbpress will create some tables in your wordpress mu database and share the users table. If you keep separate databases, deep integration will never work.
It actually doesn’t matter if you do it during installation or after… it turns out to be the same.
Have you seen this article:
http://bavatuesdays.com/integrating-wpmu-buddypress-and-bbpress/
It was extremely helpful with my setup and includes the video you mentioned, with some additional pointers. Also read the comment section for some addtional info.
Just make sure you have the latest versions of both and start off fresh. Follow the article I quoted and give that sigh of relief when you switch from WordPress MU to bbpress and see “Welcome admin!” on top instead of “Login”….
I think it’s fair to say, we’re all waiting for it!
Patience, for an Andy, it is time to eat as well.
The bp-events plugin is now available from http://www.erwingerrits.com/?page_id=799
Please test it out on browsers other than IE7/FF3 as I don’t have access to them.
@gpol Thanks — I’ll read up about Twitter and see what I can do… Wire and Activity stream work.
@burtadsit — I’ve been keeing an eye on that thread… I have to tell you, I am not quite so up-to-date on the whole tagging thing, so I’ll have to spend some time wrapping my head around it.
I am working on a category system where users can pick any number of categories or create a new one (like the WP backend for posts), and will create a template tag for that, and I am keeping an eye on the Content Tag project in the works….
I believe that section is called “userbar” and there’s a userbar.php in the buddypress-member theme directory. Unless the user is logged in it displays the login form, otherwise it calls bp_get_nav() to display the user nav options.
Also, make sure the name of the css file corresponds with what loader.php is trying to load. Maybe you renamed the css file for your theme and haven’t updated loader.php yet.
It really looks like the css is not loading for some reason. One could be the name, another could be the formatting of it. Maybe you could post the css file so some of us can check it out?
Upon further inspection I noticed a 1 pixel gap between only some menu items, and when hovering the pointer over this 1 pixel gap the menu gets wonky.
A 1 pixel gap between some items indicates to me there’s a rounding error somewhere with the height of the items vs total height.