The Hello Bar is a simple notification bar that engages users and communicates a call to action.

How to show the user id’s of each user in the WPMU user list admin page

Article by

I am the creator of CommentLuv and site owner and administrator of ComLuv.com

Andy Bailey has written 261 articles for ComLuv.com
I normally write at http://comluv.com

Twitter: @commentluv | Facebook | Google Profile
Become a guest blogger on ComLuv just like Andy Bailey

Use this code in the address bar to view the user_id of each user in your wpmu user list

javascript:var user_id = jQuery('span.edit a').each(function(){ var sHref = jQuery(this).attr('href'); var sStart = sHref.indexOf('='); var sEnd = sHref.indexOf('&'); jQuery(this).parents('div.row-actions').before(sHref.slice(sStart +1,sEnd));});

It’ll look like this
showuserid

Comments

  1. Barry says:

    Nice work, you can make it into a bookmarklet too, which you can drag to your bookmark bar for ease of access:

    Show Ids Bookmarklet
    .-= Barry´s last blog ..Playing with themes again – sorry =-.

Trackbacks

  1. [...] posted some jQuery that showed the user ids on the site admin users screen. I wrapped the jQuery in a plugin which you [...]

  2. [...] Smith on Monday, August 31st 2009      Andy posted some jQuery that showed the user ids on the site admin users screen. I wrapped the jQuery in a plugin which you [...]

Speak Your Mind

*

CommentLuv badge

Get the exclusive 15 ways to generate traffic ebook

We will never rent/sell/give out your information. Your Privacy is SAFE!

SEO Powered By SEO Pressor