Forum Replies Created
-
I’m not sure why this is happening—the trunk source code that is committed has ep correctly set: http://plugins.svn.wordpress.org/eventpress/trunk/eventpress.php. The compressed file being created seems to be picking up previous versions.
It seems that there’s some javascript error in your installation—you might want to check the javascript console in FF/Chrome/ to confirm. There might be some plugins clashing, etc.
er, thanks***!
Hi
Thank! You could try changing line 81 of eventpress/controllers/register.php:
`add_action( ‘bpcp_ep_event_loop_action_meta’, Array( &$ep_views, ‘bp_register_button’ ) );`
to
`add_action( ‘bpcp_ep_event_single_before_home’, Array( &$ep_views, ‘bp_register_button’ ) );`This isn’t exactly the best method as it won’t survive a plugin update, but is the simplest way to go about it.
If you’re feeling comfortable with WP/BP, try removing the action from `bpcp_ep…_meta` using http://codex.wordpress.org/Function_Reference/remove_action and adding it back in to the other hook by `add_action` in your theme’s functions.php, etc.
PS I don’t log into WP/BP forums often—you’ll get a faster response on the google group for this plugin (https://groups.google.com/forum/#!forum/eventpress)—as I’ve mentioned in the readme.txt.
Luccame pointed me to http://code.google.com/p/buddypress-media/source/browse/bp_media/trunk/unit-test/bpm-testcase/ in case anyone else comes looking for this topic.
@chaoti Whew. Getting capabilities working right the first time was pretty tricky—thankfully this means I don’t have to debug it.
@irishfan24 Thanks! Currently considering some major refactoring to reduce bugs and improve security/theming issues. Let’s see what I come up with in a few months.
Just read the complete thread again—are you looking for how to grant all site admins a way to edit events (which should be there—but as I’ve never run EP in MU, I have no idea); if you’re just trying to grant subscribers access to editing events you can change their role to Event Creators in wp-admin/users.php.
Ah—you’ll have to use wp-admin’s backend here—the user’s section where you can switch between author/subscriber/admin etc. There’ll be another option for Event Creator there.
Not sure about how EventPress works with MU as I’ve never tested—but anyone author and above should be able to create events. There’s also a special role called ‘event_creator’ who just has event creation capabilities and nothing else.
Hi
I’ve actually never used—or run into anyone using—Custom Press and EventPress. As for xProfiles, EP as such doesn’t interfere with any of those. I can only comment based on past bug reports and yours is the first one of this kind—and the only way that I can think of for EP to cause a 500 server error is if one of the few rewrite rules in EP conflicts with some other rewrite rules.
However, I think you seem to be using network mode? I haven’t actually tested EP/BPCP in network mode—so can’t predict the behaviour at all.
And I think you meant Paul Gibb’s Welcome Pack
.Ok—EventPress creates events under a post type ep_event and registrations under post type ep_reg; just in case that proves useful.
Hey—not expected behavior at all. Could another plugin/theme be causing this somehow? Anything you’ve changed recently?
@Imjscn Using CSS to hide content is not exactly a safe thing—all someone needs to do to see the hidden content is just do a view-source on the page, or use firebug to modify the css for that page and show all hidden content. You can also permanently save stylesheets for specific sites that over-ride the given page’s styles using various browser extensions, and someone could simply do the changes once always see all content/discussion.
You could try using BuddyPress Custom Posts and modify it to what you need. That’s what EP uses, and it basically attempts to minimally replicate the dashboard for custom post types. (http://code.google.com/p/buddypress-custom-posts/)
Have a look at how capabilities are granted in models/events.php—you can grant the required caps to subscribers too. Or, there’s an event_creator role that’s just meant for this—in the wordpress admin area, you could make the default user role Event Creator, and also bulk modify the existing user capabilities to event_creator.
The .dev.css is there because I’d started automating minimizing the .css and .js files using Phing/YUICompressor. While my code (switching between .dev.css and .css and .dev.js and .js was working by the time I pushed the current version of EP, I wasn’t completely sure that I had missed a file or two—hence the current version has *.dev.* includes.
The next version will ship with both, with the .dev.* files being included if SCRIPT_DEBUG and STYLE_DEBUG are set to true (basically mimicking how wp does it). And the orange colour was based on bp-default; ep’s styles were more or less completely written for the default themes.
The over-ride works only for the php files, not the CSS files, actually. To remove the css file in an upgrade-proof way, dequeue events.dev.css: http://justintadlock.com/archives/2009/08/06/how-to-disable-scripts-and-styles. Or you might just want to add the css with an !important added to child theme’s style css, for example `.ep-event-details { background-color: #fff !important; color: #000 !important }`.
@4ella http://localhost/eventpress/members/kunalb/events/ and http://localhost/eventpress/members/kunalb/events/my-events/ will reach the same page; as in the default child page of /events/ in profiles is /my-events/ — so it shouldn’t be a problem as far as I know.
Event Category (essentially, taxonomy) support is planned for the next release of BPCP; once I get over with a rather insane school workload right now. There is no support at the moment.
Change the file buddypress-custom-posts/themes/type/index.php—just remove the call to the bpcp_search_box.
Hi—unfortunately search isn’t implemented yet¸ and when I was working on the plugin I forgot to disable/remove the search box.
@KendrickSnyder Hi—I can’t replicate the featured image issue. Are you clicking “Set as featured image” after uploading the image?
The CSS for the create new event page is mainly in the Buddypress Custom Posts plugin—you can have a look at BPCP/themes/type/assets/css/edit.dev.css — I’d suggest dequeueing this file and enqueueing your own CSS file on this page (See this post http://justintadlock.com/archives/2009/08/06/how-to-disable-scripts-and-styles).
Hope that helps!
@gjg Thanks for the feedback, I’ll look into modifying the markup for the event meta data. @Gambare Thanks—that’s something I didn’t realize, I have fairly little experience with localization — created an issue for it http://code.google.com/p/eventpress/issues/detail?id=91 and will take care of it in the next release.
@pgibbs Thanks!
1. EventPress != BuddyPress; my lack of support for the plugin does not reflect on BP as a whole. BP support forums are in general, separate and have many more people contributing and looking after issues.
2. While I realize that is hasn’t been made explicitly clear, raising issues/feature requests/bug reports on the google code project is a much faster way of getting my attention than posting here—EventPress runs on both WordPress and BuddyPress, and I check these forums occasionally. I do, however receive emails instantly on any issues on the project/google group and in general respond much faster over there.
3. @bigsilk: You can try updating permalinks once for the 404 errors. EP works directly only with the default theme—you’ll have to do some work for completely custom themes. The widget got broken in this release as I was in a hurry for releasing a WP3.1 compatible release—something I had overshot because of personal stuff.
@Albertoshu EP doesn’t actually support private Events in BuddyPress as such at the moment—as the queries will hide that event by Default, I’m not sure if anyone will be able to see the particular event at all (apart from you).