Lines Matching +full:comments +(+path:plugin +path:discussion) -(+path:plugin +path:discussion +path:lang)
37 echo '<br />Successfully converted '.$n.' discussion pages to new comments meta files.';
69 'new' => metaFN($id, '.comments')
82 // handle file with no comments yet
92 // merge with possibly already existing (newer) comments
93 $comments = array();
95 $comments = unserialize(io_readFile($file['old'], false));
98 if (!isset($comments['status'])) $comments['status'] = 1;
99 $comments['number'] += count($old);
114 // skip empty comments
116 $comments['number']--;
134 $comments['comments'][$cid] = array(
147 io_saveFile($file['new'], serialize($comments));