Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable subscribe actions in Groups List #74

Closed
garretthyder opened this issue May 28, 2015 · 2 comments
Closed

Enable subscribe actions in Groups List #74

garretthyder opened this issue May 28, 2015 · 2 comments

Comments

@garretthyder
Copy link
Contributor

Hello,

Was wondering how I can enable the functionality within the groups listing?
I would like to have users be able to control their subscriptions from their groups listing.

Thanks

@garretthyder
Copy link
Contributor Author

NVMD - I found a solution to my issue.

In bp-activity-subscription-functions.php on line 1005 I simply uncomment this add_action;
//add_action ( 'bp_directory_groups_item', 'ass_group_subscribe_button' ); //useful to put in different location with css abs pos

I'm only curious as to why it's commented out, going to open another ticket to potentially have the ass_group_subscribe_button actions controlled by settings rather than code so as to avoid updating issues as next time I update the plugin I'm going to lose my minor change to enable ass_group_subscribe_button on the bp_directory_groups_item.

And is there a reason this is commented out?

Thanks

@garretthyder
Copy link
Contributor Author

... Crap I found the true root to my problem here. This doesn't need to be enabled it wasn't working for my instance as the .action div and the do_action for bp_directory_groups_actions was commented out...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant