• Resolved oscarmondo

    (@oscarmondo)


    Good morning,

    I’m using WP Job Manager on a client site as part of the Listify theme. The client uses the site to manage a large (~1000) list of local businesses. Each listing is tied to usually exactly one user. The client creates the listings manually when a business signs up with them. That means that they have to create a user, create a listing, and then update the listing’s Posted By field with the user.

    Unfortunately, the only way to do that is by putting the user ID into a blank metabox. This makes adding a listing annoying for them, because they have to create a new user, parse the user ID out of the url string for a created user, write it down, and then type it in manually. In the event they need to change a user, they need to find the user, find the url, get the ID, etc. It’s become very annoying for them.

    Is it possible to have a dropdown list of usernames and IDs instead of the simple number input? Something in the format of “Oscar Mondo (123)” would be ideal.

    I’m comfortable with coding, and in fact made the necessary changes, but I can’t figure out the right way to do it without editing the core plugin files, which has obvious problems. I know that this is more of a feature request than a bug, so if you can even point me in the right direction I’d appreciate it.

    https://www.ads-software.com/plugins/wp-job-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
  • aquabot

    (@aquabot)

    I am also trying to manage this task. However I am having difficulty changing the owner of the listing. I originally imported in 250+ listings/locations figuring i would be able to assign them to the rightful owner later. However later – turned into never. Is there a way to hand these pages over to the rightful owner? Also ( i am aware i may be pushing it, is there a way to have multiple people manage a location?)

    Thank you – any response appreciated!

    Plugin Author Mike Jolley

    (@mikejolley)

    Unfortunately, the only way to do that is by putting the user ID into a blank metabox. This makes adding a listing annoying for them, because they have to create a new user, parse the user ID out of the url string for a created user, write it down, and then type it in manually. In the event they need to change a user, they need to find the user, find the url, get the ID, etc. It’s become very annoying for them.

    There is a reason we opted for ID field vs dropdown. On sites with thousands of users, the author dropdown WordPress uses causes timeouts and memory issues. It simply doesn’t scale.

    When WordPress handles author dropdown boxes efficiently, we’ll switch it over.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change "Posted By" metabox to dropdown of names’ is closed to new replies.