<?xml version="1.0" encoding="ISO-8859-1"?>

<product productid="cantseeattach" active="1">
	<title>cantseeattach</title>
	<description><![CDATA[You Can't See Attach Files Before Reply]]></description>
	<version>2.1</version>
	<url />
	<versioncheckurl />
	<dependencies>
	</dependencies>
	<codes>
	</codes>
	<templates>
	</templates>
	<plugins>
		<plugin active="1" executionorder="5">
			<title>عدم عرض المرفقات</title>
			<hookname>postbit_display_complete</hookname>
			<phpcode><![CDATA[global $db ,$vbulletin;
			// by 7beebi.com
                $p=$db->query_first("SELECT userid from post where threadid='$post[threadid]'  AND userid=" . $vbulletin->userinfo[userid] . "");
                $m=$p[userid];
                if($vbulletin->userinfo[userid]!= $m AND can_moderate($forumid, 'canremoveposts') == false or $vbulletin->userinfo[userid] == 0)
                {
                               eval('$this->post[\'imageattachmentlinks\'] = $vbphrase[cantseeattach];');
                               eval('$this->post[\'thumbnailattachments\'] = $vbphrase[cantseeattach];');
                               eval('$this->post[\'imageattachments\'] = $vbphrase[cantseeattach];');
                               eval('$this->post[\'otherattachments\'] = $vbphrase[cantseeattach];');
                               eval('$this->post[\'moderatedattachments\'] = $vbphrase[cantseeattach];');
                }]]></phpcode>
		</plugin>
	</plugins>
	<phrases>
		<phrasetype name="عالمي" fieldname="global">
			<phrase name="cantseeattach" date="0" username="" version=""><![CDATA[لايمكن رؤية هذا المرفق الا بعد الرد على الموضوع]]></phrase>
		</phrasetype>
	</phrases>
	<options>
	</options>
	<helptopics>
	</helptopics>
	<cronentries>
	</cronentries>
	<faqentries>
	</faqentries>
</product>
