Forum Replies Created
-
Thanks Burt… when I did that, it tried to Download the files from the Repository (which aren’t there yet, because I haven’t Uploaded anything yet).
So I used the Repisitory Browser to upload my plugin files first, then created a new folder and SVN checkout to bring them back down.
I *think* my plug in is now in the Repository Trunk and a 0.59 Tagged version… don’t know how to check to see if I did it correctly, though… we’ll have to wait and see.
Thanks Burt,
That fixed the bp not loading issue, however… now my plugin never runs because bp is never loaded before my plugin. The function somehow never succeeds in loading bp…
If I simply add:
require_once( WP_PLUGIN_DIR . ‘/buddypress/bp-loader.php’ );
to my requires at the top of my plug-in everything works peachy.
Does this add too much overhead, though?
@Socialpreneur – I will add a back-end option to either use ids or names for permalinks…
After you uploaded the files, did you log in as administrator and go to the WP dashboard? This will install/upgrade the database. It sounds like you have an out-of-sync database… Did you upgrade from an earlier version?
@slaFFik–version 0.58 is working with version 1.0… The error you have sounds like you have two versions of bp-events installed… maybe one in buddypress dir and one in mu-plugins or something like that.
@Enlightenmental1 – you say you created an “age” field… is it of type “dateselector”? Only dateselector fields are listed in the drop down.
More people have mentioned the incorrect birthday (1969), but I have not been able to duplicate the error yet. I am aware of the problem, though.
J-tho: version 0.58 is out and works with BP 1.0… Read the Readme file though, I made some changes to where the files go… It also adds language functions and fixes a group-event group link that wasn’t working properly for a bit now ever since BP changed the group_permalink function.
Go to erwingerrits.com to get the latest version.
Zeitweise – automatic birthday event creation when not set in the back end has been fixed for v. 0.57. I will try to work on some “non-end time” options.
Should be possible to put some hooks and filters in place that add a new field (Group Type) to the group creation and then filter Group class returns based upon need for group type everywhere else.
I’m not saying I”m tackling this, just saying it’s possible.
Version 0.56 is now on my website. It (finally) fixes the annoying bug that gave some people a “page not found” error. http://erwingerrits.com
Thanks for this… I figured as much, however I’ve seen some odd behaviour in the past, so I was wondering what was happening.
Thanks Nicola, can’t wait to get started on this… I’ll get back to you if I need any help (probably).
OK–the database upgrade is hooked to “admin_menu” so it runs as soon as you login as admin and go to the dashboard. it just seemed not to run anymore… maybe I’m just screwed up with my dbase versions (it’s been known to happen).
Jeff–thanks for this, I’ll wrestle with this this afternoon. Do you know how when the database upgrade routine runs? When you just go to the backend (like it was) or do we now have to deactivae/reactivate to upgrade?
Jeff, how do I add it to the BuddyPress menu in the backend? Are there new hooks?
@zeitweise… I forget if I asked you this before… it seems your database didn’t get upgraded to include the new fields for version .55. Now, with the new “plugins” directory switch and activation, I don’t know WHEN the upgrade database code gets executed… my guess is at activation… Did you deactivate and reactivate the plugin, as well as maybe going to the Admin->Events in the backend (that USED TO upgrade the database)… It just sounds your database is out of sync with the plugin code.
All you have to do is create a php file called “add_forum_to_menu.php” with the following code:
<?php
function add_forums_to_main_menu() {
$class = (bp_is_page('forums')) ? ' class="selected" ' : '';
echo '<li ' . $class. '><a href="' . get_option('home') . '/forums"
title="' . __( 'Forums', 'buddypress' ) .'">' .
__( 'Forums', 'buddypress' ) .'</a></li>';
}
add_action('bp_nav_items','add_forums_to_main_menu');
?>and put it in the mu-plugins directory. Make sure the “/forums” path in the above code points to your forum directory (mine is at http://www.domain.com/forums)
There hasn’t been much progress made with this, I’m afraid. I ended up making a “fake” buddybar, loading the buddypress style sheets and (omitting the “My Account” menu) just having “<- Back to <buddypress>” links, and “fake” tabs (again, linking to the buddypress stylesheets) with hard coded tabs linking straight back to the buddypress pages (“Home”, “Groups”, “Members”, “Forums” etc..) Works… but every time you install a custom component, you’d have to add the tab manually.
The events-directories php file should be in the old (pre-1303 trunk) style setup, in bp-events->directories, rather than in the new members theme directories folder. I hope to change this in the next version, when I catch up with the trunk changes.
What is your website URL so I can take a look? Your second problem I have not seen yet, so it’s hard to comment.
Make sure the “description” field is filled in when editing existing events — I haven’t found out yet why the description field is not filled in with whatever was in that field when editing an event — it’ll be blank, and so being a required field, will give an error trying to save it with a blank value. Can someone figure out WHY the description isn’t being put into the edit-settings screen? (That’s in events-admin.php in the members template folder — calls bp_event_description() which SHOULD work returning the description….)
Yes, I can make an option in the back end to show user’s age instead of the birthdate. Will try to put that in .56
Just released version .55 of bp-Events plugin on my website (http://www.erwingerrits.com).
Version .55 has some bug fixes, some CSS fixes and profile birthday event integration as well as group events, which was a popular request.
Just released version .55 of bp-Events plugin on my website (see first post in this thread for the address). If it tests positively (ie. it DOES work with latest trunk properly) I will upload it to WordPress plugins (and BuddyPress’s) later today.
Version .55 has some bug fixes, some CSS fixes and profile birthday event integration as well as group events, which was a popular request.
I am hoping to work for a bit on the twitter plugin this week. I will forgo the \”other\” social network stuff, because the \”other\” social networks do not like third parties (my plugin) asking for their accounts and passwords. For now, Twitter works with CURL, so that\’ll work until they get bought up by Google (which will be the end of Twitter as you know it, anyway).
I will add options to automatically tweet: wire posts, befriending, new groups, new blog posts etc. right from the user\’s profile field options.
Keep an eye on this thread or my webpage for updates.
Andy, yes I will upload it to WordPress shortly. I was working on the directory view when you decided to complete change that
… I fixed up the ReadMe file to conform with WordPress, so I will start with uploading .55 sometime next week.