WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#24702 closed feature request (invalid)

add metabox for roles

Reported by: AliMH Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Role/Capability Keywords:
Focuses: Cc:

Description

by more usage of wordpress as cms need for advanced role is more.
fields like images per role, description per role and ...
but it's really hard to add custom field per role.
it's a good go for wordpress if they work more on roles and capabilities for next version.

Change History (6)

comment:1 follow-up: @SergeyBiryukov2 years ago

  • Keywords close added; needs-patch removed

add metabox for roles

This seems close to #22396 and sounds like plugin material to me. A feature or enhancement request should be more specific than that and needs a discussion first.

fields like images per role, description per role and ...

Related: #19834

comment:2 in reply to: ↑ 1 @AliMH2 years ago

Replying to SergeyBiryukov:

add metabox for roles

This seems close to #22396 and sounds like plugin material to me. A feature or enhancement request should be more specific than that and needs a discussion first.

fields like images per role, description per role and ...

Related: #19834

honestly my idea is not attachment or post roles.
my idea is to have something like avatar/Description per role (most use case in forums which users have an usergroup's image under their name like moderator, administrator....)
if you worked with vbulletin you would know what i'm saying.

comment:3 follow-up: @helen2 years ago

Not 100% clear on what's being requested here - the ability to set an image and text description for each role on a site? That definitely sounds like plugin material - if the use case is forums, perhaps a plugin for bbPress.

comment:4 in reply to: ↑ 3 @AliMH2 years ago

Replying to helen:

Not 100% clear on what's being requested here - the ability to set an image and text description for each role on a site? That definitely sounds like plugin material - if the use case is forums, perhaps a plugin for bbPress.

some use case is bbpress and buddypress or author page.
but it's roles limitation that only able to add capabilities with true or false definition. it will pretty easy to make some capabilities with custom variables (not just true/false)
we can add Image capabilities and define it with image uri or Title Definition and define it with custom title.

Last edited 2 years ago by AliMH (previous) (diff)

comment:5 @AliMH2 years ago

lol, i didn't check that add_cap function don't check $grant is Boolean or String.
This ticket solved.

comment:6 @helen2 years ago

  • Keywords close removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.