WordPress.org

Ready to get started?Download WordPress

Forums

Simple Local Avatars
Bulk adding avatars (2 posts)

  1. pax
    Member
    Posted 2 months ago #

    I am trying to bulk add avatars to users directly in the wp_usermeta table by adding the following rows:

    <auto-increment>	<user-id>	simple_local_avatar	a:3:{s:8:"media_id";i:230;s:4:"full";s:78:"http://site-root/wp-content/uploads/2014/01/filename.jpg";i:96;s:84:"http://site-root/wp-content/uploads/2014/01/filename.jpg";}
    <auto-increment>	<user-id>	simple_local_avatar_rating	G

    - for the sample above I haven't updated the string length in the serialized entry

    if I do this nothing happens, though, if I manually choose the same picture from the Library the avatar works even though there's the same row in the db. Is there somewhere else where I need to add/register something?

    http://wordpress.org/plugins/simple-local-avatars/

  2. Chris Charlwood
    Member
    Posted 1 month ago #

    This would be of interest to myself also. :)

Reply

You must log in to post.

About this Plugin

About this Topic