I've added this to the first bit:
if (THIS_SCRIPT == 'showthread' AND $show['member'] AND $this->thread['forumid'] == $this->registry->options['vbcmsforumid'] AND $this->post['postcount'] == 1)
It works perfect and only shows the content to members. I'm not currently using it though because I've got comment threads hidden because of the bug in vbulletin where if you future publish a article the comment thread is created immediately.
|