ARP
04-23-2009, 05:45 PM
i want if any one did not thank the post did not see the attach
i code this but it didn't work
if (((!$post_thanks_user AND !$post_thanks_off AND !$post_thanks_ban AND !can_moderate($forumid) AND !($this->post['userid'] == $this->registry->userinfo['userid'])) OR ($this->registry->userinfo['userid'] == 0)) AND (THIS_SCRIPT == showpost OR THIS_SCRIPT == showthread))
{
eval('$this->post[\'imageattachmentlinks\'] = ('$New Template = "' . fetch_template('New Template') . '";');
eval('$this->post[\'thumbnailattachments\'] = ('$New Template = "' . fetch_template('New Template') . '";');
eval('$this->post[\'imageattachments\'] = ('$New Template = "' . fetch_template('New Template') . '";');
eval('$this->post[\'otherattachments\'] = ('$New Template = "' . fetch_template('New Template') . '";');
eval('$this->post[\'moderatedattachments\'] = ('$New Template = "' . fetch_template('New Template') . '";');
}
Can Any One Check It :)
i code this but it didn't work
if (((!$post_thanks_user AND !$post_thanks_off AND !$post_thanks_ban AND !can_moderate($forumid) AND !($this->post['userid'] == $this->registry->userinfo['userid'])) OR ($this->registry->userinfo['userid'] == 0)) AND (THIS_SCRIPT == showpost OR THIS_SCRIPT == showthread))
{
eval('$this->post[\'imageattachmentlinks\'] = ('$New Template = "' . fetch_template('New Template') . '";');
eval('$this->post[\'thumbnailattachments\'] = ('$New Template = "' . fetch_template('New Template') . '";');
eval('$this->post[\'imageattachments\'] = ('$New Template = "' . fetch_template('New Template') . '";');
eval('$this->post[\'otherattachments\'] = ('$New Template = "' . fetch_template('New Template') . '";');
eval('$this->post[\'moderatedattachments\'] = ('$New Template = "' . fetch_template('New Template') . '";');
}
Can Any One Check It :)