Opened 13 years ago
Closed 13 years ago
#3858 closed defect (bug) (fixed)
When posting a new topic from forums directory, tags won't be added to topic
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 1.6 | Priority: | normal |
Severity: | normal | Version: | 1.5.1 |
Component: | Forums | Keywords: | |
Cc: |
Description
Tags are added correctly when creating a new topic from a group page.
Change History (3)
#2
@
13 years ago
- Milestone changed from Awaiting Review to 1.6
Confirmed.
The problem is that we use groups_get_group() to populate the current_group property when a post is being created from the Forum directory, but groups_get_group() (BP_Groups_Group) doesn't have a user_has_access property. That seems like the right fix to me.
Note: See
TracTickets for help on using
tickets.
As far is I can see, the user rights for adding tags is checked in bp-groups-filters.php:
When creating a topic from a non group page, the $bp->groups->current_group->user_has_access is not initialized.
As a workaround I added the following code to my theme function.php: