I think that helps get me on the right track, thanks!
I've added a gallery in as a node and as by adding an entry under the "gallery" table, linking the newly created nodeid. The node is assigned to my userid and has a routeid of 50 and a contenttypeid of 22. The gallery I created through the UI seems to have similar values, yet this hand-inserted one is not showing up on my user page. Any idea on why that might be? Pasted below is the entry:
Code:
nodeid routeid contenttypeid publishdate unpublishdate userid groupid authorname description title htmltitle parentid urlident displayorder starter created lastcontent lastcontentid lastcontentauthor lastauthorid lastprefixid textcount textunpubcount totalcount totalunpubcount ipaddress showpublished oldid oldcontenttypeid nextupdate lastupdate featured CRC32 taglist inlist protected setfor votes hasphoto hasvideo deleteuserid deletereason open showopen sticky approved showapproved viewperms commentperms nodeoptions prefixid iconid
650540 50 22 1396136765 NULL 1750 NULL BlueGT88 NULL Photoplog Migration Photoplog Migration 9 photoplog_migration NULL 649830 1396136765 1396136765 649830 BlueGT88 1750 0 0 0 0 1 NULL NULL NULL NULL 0 NULL 1 0 0 0 0 0 NULL NULL 1 1 0 1 1 2 1 138 0
Update: Looks like the previous script isn't loading anymore, here is the updated one:
http://pastie.org/private/pcvethjqfi60yivnzegwa