-
crisp330 posted on the forum topic Group Extension API – Getting group info in constructor in the group Creating & Extending: 14 years, 7 months ago
PS: in reality, the constructor would just delegate to another function, like
if ($_POST == ‘looking-for’)
$this->processingFunction()and processingFunction() would handle the upload and then redirect
-
crisp330 started the forum topic Group Extension API – Getting group info in constructor in the group Creating & Extending: 14 years, 7 months ago
I’m trying to have a function that will process a form upload then redirect to another page. I thought of doing this in the constructor, but the current group information is not available there. ie: class My_Group_Extension extends BP_Group_Extension { function my_group_extension() { global $bp; // Do stuff, needing group info, like the current group […]
-
crisp330 started the forum topic Creating a new page for groups in the group Creating & Extending: 14 years, 7 months ago
I’m trying to create a plugin that will add a page to the groups section of buddypress. I’m trying to migrate a plugin that was initially used as a members plugin and am having trouble getting buddypress to catch the new slug in the groups section. Whats the proper way to get buddypress to catch […]
-
crisp330 joined the group Creating & Extending 14 years, 7 months ago
@crisp330
Not recently active