Digital Jedi
01-18-2015, 08:34 AM
I've had these plugins for years, something Lynne showed me a long while back. I'm not sure when they started turning up this parse error on the affected forum, but now the comma is an unexpected ',' and I'm not quite seeing why:
if(in_array($this->forum['forumid'], array(645, 646, 682, 683, 684, 684, 685, 686, 688)) AND $post['postid'] == $this->thread['firstpostid'])
{
$this->templatename = 'postbit_story';
}
It let's you set your own templates for the first post in a thread. It seems to be working fine, still. But, for whatever reason, the forums with the IDs in the array display a parse error with the comma being the culprit. Did something in PHP change that I missed? http://www.cogonline.net/forums/forumdisplay.php?f=773
if(in_array($this->forum['forumid'], array(645, 646, 682, 683, 684, 684, 685, 686, 688)) AND $post['postid'] == $this->thread['firstpostid'])
{
$this->templatename = 'postbit_story';
}
It let's you set your own templates for the first post in a thread. It seems to be working fine, still. But, for whatever reason, the forums with the IDs in the array display a parse error with the comma being the culprit. Did something in PHP change that I missed? http://www.cogonline.net/forums/forumdisplay.php?f=773