-
farmer paul commented on the post, BuddyPress 1.2.9, on the site BuddyPress.org 13 years, 4 months ago
Thanks for this release.
Looking forward to that July early preview of 1.3!! Topic tag editing, here we come… -
farmer paul posted on the forum topic No "groups_before_delete_group" hook? in the group Creating & Extending: 13 years, 12 months ago
I am now learning that this isn’t the only BuddyPress delete hook that is placed in this way. I’d also like to hook into
groups_remove_data_for_user()
, but same deal – the action is triggered only *after* the user’s group membership data has occurred (and that’s the data I need access to for Google Docs). I’m going […] -
farmer paul started the forum topic No "groups_before_delete_group" hook? in the group Creating & Extending: 13 years, 12 months ago
I’m writing a Google Docs plugin for BP Groups. It stores its one setting – specifically, the shared Google Docs folder ID that’s created for the BP group – in the groups metadata table. It works great when I need to access it for group creation, member joining and leaving hooks. However, I need to […]
-
farmer paul posted on the forum topic Disabled BP, re-enabled BP, now wp-admin shows slew of MySQL errors! in the group How-To and Troubleshooting: 13 years, 12 months ago
Thanks for the quick reply, Paul. I did what you said, and the errors disappeared so long as BP was disabled. They came back as soon as I re-enabled it. But at least now I have super-admin access again. I had to disable all the plugins to get that to happen. I did a mysqlcheck […]
-
farmer paul posted on the forum topic Disabled BP, re-enabled BP, now wp-admin shows slew of MySQL errors! in the group How-To and Troubleshooting: 13 years, 12 months ago
There’s no reason we should suddenly be exceeding 256 MB of memory on every wp-admin dashboard request. I think this must be related to the MySQL-Link errors.
-
farmer paul started the forum topic Disabled BP, re-enabled BP, now wp-admin shows slew of MySQL errors! in the group How-To and Troubleshooting: 13 years, 12 months ago
Hi there, We have a multi-site WordPress 3.0.1 installation with BP 1.2.5.2 installed. Today I just accidentally clicked “Network Deactivate” for the BuddyPress plugin, when I meant to deactivate a different one. Realizing my mistake, I immediately clicked “Network Activate” again for BuddyPress, and wp-admin came back with a page filled with a…[Read more]
-
farmer paul posted on the forum topic Disabled BP, re-enabled BP, now wp-admin shows slew of MySQL errors! in the group How-To and Troubleshooting: 13 years, 12 months ago
Also noticed this error on the Dashboard under the QuickPress section:
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 64 bytes) in /home/wmaster/yexpress.net/wp-includes/wp-db.php on line 1315
-
farmer paul posted on the forum topic Overriding forum action permissions in the group Creating & Extending: 14 years ago
No worries – we decided not to take this route after all. Instead we’ll add a new function “Request to close topic”, which will message the group admin/moderator, who does have the power to accomplish this.
-
farmer paul started the forum topic Overriding forum action permissions in the group Creating & Extending: 14 years ago
Hello, In our BP setup we need to be able to give topic creators the ability to close/open topics that they started. The way BP comes, only someone who is a group moderator or group admin is able to close and open a topic. It’s easy enough to create a new template tag based on […]
-
farmer paul joined the group Creating & Extending 14 years ago
-
farmer paul posted on the forum topic Writing a new plugin – get 404 not found when accessing screen in the group How-To and Troubleshooting: 14 years ago
Since I’m trying to meet a deadline I’m just going to leave this for now, and make do with accessing the page from the member domain (i.e., /members//groupdir). But if anyone has any inkling as to why accessing /groupsdir as a root component is redirecting me to the home page, I’d be most appreciative! I […]
-
farmer paul posted on the forum topic Writing a new plugin – get 404 not found when accessing screen in the group How-To and Troubleshooting: 14 years ago
Thanks, @jeffsayre. I must have missed that page when I was browsing the Codex. I was following the Skeleton Component because my coworkers had recommended it to me. However, apparently none of them tried writing a BP plugin that provided a root component! Now my problem isn’t that I’m getting a 404 error anymore. Instead, now […]
-
farmer paul posted on the forum topic Writing a new plugin – get 404 not found when accessing screen in the group How-To and Troubleshooting: 14 years ago
Thanks, you two. This sort of info would be fantastic to include in the Codex and as revisions to the Skeleton Component so more of us don’t spend days scratching our heads. 🙂
-
farmer paul posted on the forum topic Writing a new plugin – get 404 not found when accessing screen in the group How-To and Troubleshooting: 14 years ago
Well I couldn’t resist investigating further, and it turns out that the code that BuddyPress runs to compare the URL to the
$bp->root_components
array happens during thebp_loaded
action, which happens during the WPplugins_loaded
action, which seems to happen *before* thebp_init
action – which is the action I’m supposed to use to cause […] -
farmer paul posted on the forum topic Writing a new plugin – get 404 not found when accessing screen in the group How-To and Troubleshooting: 14 years ago
Tried changing the priority of
add_action( 'wp', 'bp_gdatree_setup_root_component' )
– still no difference. Can’t seem to scrap the 404 no matter what I try. I’m out of ideas. -
farmer paul posted on the forum topic Writing a new plugin – get 404 not found when accessing screen in the group How-To and Troubleshooting: 14 years ago
Could it have to do with the order that
bp_gdatree_setup_globals
,bp_gdatree_setup_nav
, andbp_gdatree_setup_root_component
are run in…? I’m not sure what the correct order is. -
farmer paul posted on the forum topic Writing a new plugin – get 404 not found when accessing screen in the group How-To and Troubleshooting: 14 years ago
(Oops – make that /members//groupsdir)
-
farmer paul posted on the forum topic Writing a new plugin – get 404 not found when accessing screen in the group How-To and Troubleshooting: 14 years ago
Well, still no luck. I added this to my code:
function bp_gdatree_setup_root_component() { /* Register 'groupsdir' as a root component */ bp_core_add_root_component( BP_GDATREE_SLUG ); } add_action( 'wp', 'bp_gdatree_setup_root_component' ); add_action( 'admin_menu', 'bp_gdatree_setup_root_component' );
Again, I used an echo statement to verify…[Read more] -
farmer paul posted on the forum topic Writing a new plugin – get 404 not found when accessing screen in the group How-To and Troubleshooting: 14 years ago
Wow, well I had no idea. Where in the skeleton component do you see this mentioned? That’s exactly what I’ve been following to build my plugin. Then I started looking into the
messages
component to see if there was something I was missing, but didn’t make any headway. I guess I didn’t look at enough […] -
vtowel started the forum topic Writing a new plugin – get 404 not found when accessing screen in the group How-To and Troubleshooting: 14 years ago
Hi there, We’re running BuddyPress 1.2.5.2. I’ve just written a new BP component that displays BP groups in a tree format. It’s very simple – all it does is provide one screen, accessible at the slug “groupsdir”, that displays our group directory structure in a custom way. However, no matter how carefully I’ve checked and […]
- Load More
@vtowel
Active 7 years, 10 months ago