Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 10:52 am EST

Geeklog Forums

pid on gl_comments table


Jesse valadao

Anonymous
Hi, what is the PID in the gl_comments table?
Is this post id?

Cause i have a lot of pid filled with "0"...
I'm trying to convert the geeklog to wordpress and i'm stucked on it...

cause i can convert the comments, but WP won't read the pid = 0
thanks
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The pid is the parent id, i.e. comments with a pid == 0 are top-level comments.

There's some more information on the comment structure on the wiki: http://wiki.geeklog.net/index.php/CommentAlgorithm

Btw, are you doing this conversion manually or are you writing some script(s)? Conversion to/from other CMS often comes up here. It would be nice to have some resources to point people to.

bye, Dirk
 Quote

All times are EST. The time is now 10:52 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content