<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $
 * @author :NLP (almotmaiz.net)
 * @copyright :Jul 26, 2008
 * @verison :2.0
 * @license :The amendment does not allow, without taking permission from me personally.
 * @contact : H.Alz3abi@gmail.com (E-Mail ONLY!).
$ -->
<product productid="nlp_notifications_thread" active="1">
	<title>Threads notifications</title>
	<description>show thread read req. as notification in notifications system</description>
	<version>2.0</version>
	<url>http://www.vbulletin.org/forum/showthread.php?t=183128</url>
	<versioncheckurl><![CDATA[http://www.vbulletin.org/forum/misc.php?do=productcheck&pid=nlp_notifications_thread]]></versioncheckurl>
	<dependencies>
		<dependency dependencytype="vbulletin" minversion="3.8.0" maxversion="3.8.99" />
	</dependencies>
	<codes>
		<code version="1.0">
			<installcode><![CDATA[$db->hide_errors();
echo '<center>Adding Table :<strong> nlp_notifications_thread </strong></center><br />';vbflush();
$db->query_write("
	CREATE TABLE `" . TABLE_PREFIX . "nlp_notifications_thread` (
		`id` INT( 10 ) NOT NULL AUTO_INCREMENT ,
		`threadid` INT( 10 ) NOT NULL ,
		`dateline` INT( 10 ) NOT NULL,
		`forumid` INT( 10 ) NOT NULL,
		PRIMARY KEY ( `id`, `threadid` )
	)ENGINE = MYISAM ;
");
$db->show_errors();
echo '<center>Adding Table :<strong> nlp_notifications_read </strong></center>';vbflush();
$db->query_write("
	CREATE TABLE `" . TABLE_PREFIX . "nlp_notifications_read` (
		`userid` INT( 10 ) NOT NULL ,
		`threadid` INT( 10 ) NOT NULL ,
		`dateline` INT( 10 ) NOT NULL
	)ENGINE = MYISAM ;
");
$db->show_errors();]]></installcode>
			<uninstallcode><![CDATA[$db->show_errors();
echo '<center>Remove Table : <strong>nlp_notifications_read, nlp_notifications_thread</strong></center>'; vbflush();
$db->query_write("
	DROP TABLE `" . TABLE_PREFIX . "nlp_notifications_read` ,`" . TABLE_PREFIX . "nlp_notifications_thread`
");
$db->show_errors();]]></uninstallcode>
		</code>
		<code version="1.3">
			<installcode><![CDATA[$db->hide_errors();
$sgmamet = $db->query_read("SELECT threadid FROM " . TABLE_PREFIX . "nlp_notifications_thread");
$db->show_errors();
while($gogo = $db->fetch_array($sgmamet))
{
	$marone .= ', ' . $gogo['threadid'];  
}
echo '<center>Fix errors in table "<b>nlp_notifications_read</b>" , by UPDATING</center>';
$db->hide_errors();
$db->query_write("
	DELETE FROM " . TABLE_PREFIX . "nlp_notifications_read
	WHERE threadid NOT IN (0$marone)
");
$db->show_errors();
vbflush();]]></installcode>
			<uninstallcode />
		</code>
		<code version="2.0">
			<installcode><![CDATA[$db->hide_errors();
echo '<center>ALTER Table :<strong> nlp_notifications_thread</strong> add : expired field</center>';vbflush();
$db->query_write("
	ALTER TABLE `" . TABLE_PREFIX . "nlp_notifications_thread` 
	ADD `expired` INT( 10 ) NOT NULL DEFAULT '0'
");
$db->show_errors();]]></installcode>
			<uninstallcode />
		</code>
	</codes>
	<templates>
		<template name="nlp_notifications" templatetype="template" date="1217002714" username="NLP" version="2.0"><![CDATA[<script type="text/javascript">
function vEnable(){
	document.vbform.month.disabled=false;
	document.vbform.day.disabled=false;
	document.vbform.year.disabled=false;
	document.vbform.reset.disabled=false;

}
function vDisable(){
	document.vbform.month.disabled=true;
	document.vbform.day.disabled=true;
	document.vbform.year.disabled=true;
	document.vbform.reset.disabled=true;
}
function checkform(formobj)
{
	if (! document.vbform.reset.disabled)
	{
		if (formobj.month.selectedIndex == 0)
		{
			alert("$vbphrase[select_a_month]");
			return false;
		}
		if (formobj.day.selectedIndex == 0)
		{
			alert("$vbphrase[select_a_day]");
			return false;
		}
		if (! formobj.year.value.match(/^\d{4}$/))
		{
	 		alert("$vbphrase[please_enter_a_proper_year]");
			return false;
		}
	}
	return true;
}
</script>
<form action="postings.php?do=notifications" method="post" name="vbform" onsubmit="return checkform(this);">
	<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
	<input type="hidden" name="t" value="$threadid" />
	<input type="hidden" name="do" value="notifications" />
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
		<tr>
			<td class="tcat">$vbphrase[nlp_notifications_add_thread]</td>
		</tr>
		<tr>
			<td class="thead">$vbphrase[title]:
			<span style="font-weight: normal">$threadinfo[prefix_plain_html] $threadinfo[title]</span></td>
		</tr>
		<tr>
			<td class="panelsurround" align="center">
			<div class="panel">
				<div style="width: $stylevar[formwidth]" align="$stylevar[left]">
					<div dir="$stylevar[textdirection]">
						<label  dir="$stylevar[textdirection]" for="os_2">
						<input id="os_2" name="Expired" type="radio" onclick="javascript:vDisable()" checked value="-1" />$vbphrase[nlp_notifications_thread_withoutexpired]</label><br />
						<label  dir="$stylevar[textdirection]" for="os_1">
						<input id="os_1" name="Expired" onclick="javascript:vEnable()" type="radio" value="1" />$vbphrase[nlp_notifications_thread_withexpired]</label>
					</div>
					<fieldset class="fieldset">
					<legend>$vbphrase[nlp_notifications_thread_dateoptions]</legend>
					<table cellpadding="0" cellspacing="0" border="0">
						<tr>
							<td>$vbphrase[month]</td>
							<td>$vbphrase[day]</td>
							<td>$vbphrase[year]</td>
						</tr>
						<tr>
							<td align="center"><select name="month" disabled="disabled" id="month">
							<option value="-1"></option>
							<option value="01">$vbphrase[january]</option>
							<option value="02">$vbphrase[february]</option>
							<option value="03">$vbphrase[march]</option>
							<option value="04">$vbphrase[april]</option>
							<option value="05">$vbphrase[may]</option>
							<option value="06">$vbphrase[june]</option>
							<option value="07">$vbphrase[july]</option>
							<option value="08">$vbphrase[august]</option>
							<option value="09">$vbphrase[september]</option>
							<option value="10">$vbphrase[october]</option>
							<option value="11">$vbphrase[november]</option>
							<option value="12">$vbphrase[december]</option>
							</select>&nbsp; </td>
							<td align="center"><select name="day" disabled="disabled" id="day">
							<option value="-1"></option>
							<option value="01">1</option>
							<option value="02">2</option>
							<option value="03">3</option>
							<option value="04">4</option>
							<option value="05">5</option>
							<option value="06">6</option>
							<option value="07">7</option>
							<option value="08">8</option>
							<option value="09">9</option>
							<option value="10">10</option>
							<option value="11">11</option>
							<option value="12">12</option>
							<option value="13">13</option>
							<option value="14">14</option>
							<option value="15">15</option>
							<option value="16">16</option>
							<option value="17">17</option>
							<option value="18">18</option>
							<option value="19">19</option>
							<option value="20">20</option>
							<option value="21">21</option>
							<option value="22">22</option>
							<option value="23">23</option>
							<option value="24">24</option>
							<option value="25">25</option>
							<option value="26">26</option>
							<option value="27">27</option>
							<option value="28">28</option>
							<option value="29">29</option>
							<option value="30">30</option>
							<option value="31">31</option>
							</select>&nbsp; </td>
							<td align="center">
							<input type="text" class="bginput" name="year" value="" size="4" maxlength="4" id="year" disabled="disabled"/></td>
						</tr>
					</table>
					</fieldset>
					<div>$vbphrase[nlp_notifications_thread_dateif]</div></div>
			</div>
			<div style="margin-top: $stylevar[cellpadding]px">
				<input type="submit" class="button" value="$vbphrase[go]" accesskey="s" />
				<input name="reset" type="reset" class="button" value="$vbphrase[reset_fields]" onclick="javascript:vDisable()" disabled="disabled" accesskey="r" />
			</div>
			</td>
		</tr>
	</table>
</form>
]]></template>
		<template name="nlp_notifications_usercp" templatetype="template" date="1217018931" username="NLP" version="2.0"><![CDATA[<if condition="$vboptions[nlp_notifications_active] AND $NLP[notificationsbit]">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
	<thead>
		<tr>
			<td colspan="2" class="tcat">$vbphrase[nlp_notifications_threads]</td>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td colspan="2" class="thead">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_threadsnotify')">
			<img id="collapseimg_usercp_threadsnotify" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_usercp_threadsnotify].gif" alt="" border="0" /></a>
			$vbphrase[total] ($bbuserinfo[nlp_notifications_thread])</td>
		</tr>
	</tbody>
	<tbody id="collapseobj_usercp_threadsnotify" style="$vbcollapse[collapseobj_usercp_threadsnotify]">
	$NLP[notificationsbit]
	</tbody>
</table>
<br />
</if>]]></template>
		<template name="nlp_notifications_usercp_bit" templatetype="template" date="1217016551" username="NLP" version="2.0"><![CDATA[<tr>
	<td class="alt1"><img src="$stylevar[imgdir_statusicon]/pm_new.gif" alt="" border="0" /></td>
	<td class="alt1Active" width="100%">
	<div>
		<span style="float:$stylevar[right]" class="smallfont">$notificationz[date]</span>
		<a href="showthread.php?$session[sessionurl]t=$notificationz[threadid]">$notificationz[title]</a>
	</div>
	<div class="smallfont">
		<span style="float:$stylevar[right]" class="time">$notificationz[time]</span>
		<if condition="$notificationz['expired']"><span class="smallfont">$vbphrase[nlp_notifications_thread_expiredin] $notificationz[end]</span></if>
	</div>
	</td>
</tr>
]]></template>
	</templates>
	<plugins>
		<plugin active="1" executionorder="5">
			<title>Threads notifications - Cleanup expired threads</title>
			<hookname>cron_script_cleanup_hourly</hookname>
			<phpcode><![CDATA[if($vbulletin->options['nlp_notifications_active'])
{
	$taz = $db->query("
		SELECT threadid FROM " . TABLE_PREFIX . "nlp_notifications_thread
		WHERE expired < " . TIMENOW
	);
	while($Mozan = $db->fetch_array($taz))
	{
		$vbulletin->db->query_write("
			DELETE FROM " . TABLE_PREFIX . "nlp_notifications_thread
			WHERE threadid = {$Mozan['threadid']}
		");	
		$vbulletin->db->query_write("
			DELETE FROM " . TABLE_PREFIX . "nlp_notifications_read
			WHERE threadid = {$Mozan['threadid']}
		");		
	}
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>Threads notifications - fetch notifications in list</title>
			<hookname>notifications_list</hookname>
			<phpcode><![CDATA[if($vbulletin->options['nlp_notifications_active'] AND $vbulletin->userinfo['userid'])
{
	// fetch custom permission (exusers) AND (exusergroupids)
	$NLP['notifications']['usergroupid'] = (in_array($vbulletin->userinfo['usergroupid'], explode(',', $vbulletin->options['nlp_notifications_exusergroups']))) ? true : false;
	$NLP['notifications']['userid'] = (in_array($vbulletin->userinfo['userid'], explode(',', $vbulletin->options['nlp_notifications_exusers']))) ? true : false;
	// fetch user readed threads 
	$notifications_get = $vbulletin->db->query_read("
		SELECT * FROM " . TABLE_PREFIX . "nlp_notifications_read
		WHERE userid = " . $vbulletin->userinfo['userid'] . 
		iif(((THIS_SCRIPT == 'SHOWTHREAD') AND $threadid),'AND threadid =' . $threadid));
	while($notifications_ids = $db->fetch_array($notifications_get))
	{
		//if(THIS_SCRIPT == 'SHOWTHREAD' AND $threadid = $notifications_ids['threadid']) continue;
		$notifications_threadids .= ', ' . $notifications_ids['threadid'];
	}
	foreach (array_keys($vbulletin->forumcache) AS $key => $id)
	{
		if (!($vbulletin->userinfo['forumpermissions'][$id] & $vbulletin->bf_ugp_forumpermissions['canview']) 
		OR !($vbulletin->userinfo['forumpermissions'][$id] & $vbulletin->bf_ugp_forumpermissions['canviewthreads']))
		{
			
			$notifications_forumids .= ', ' . $id;
		}
	}
	$notifications_thrds = $vbulletin->db->query_read("
		SELECT threadid FROM " . TABLE_PREFIX . "nlp_notifications_thread
		WHERE forumid NOT IN (0$notifications_forumids)
		AND threadid NOT IN (0$notifications_threadids)
		ORDER BY dateline ASC
	");
	$vbulletin->userinfo['nlp_notifications_thread'] = intval($db->num_rows($notifications_thrds));
	$notificationsidf = $db->fetch_array($notifications_thrds);
	// this is showing type code - 2.0
	if(!$vbulletin->options['nlp_notifications_thread_sort'])
	{
		$fetz = ($notificationsidf['threadid'])  ? 'showthread.php?'.$vbulletin->session->vars['sessionurl'].'t=' . $notificationsidf['threadid'] : '#';
	}else{
		$fetz = ($notificationsidf['threadid'])  ? 'usercp.php?'.$vbulletin->session->vars['sessionurl'] : '#';
	}
	$notifications['nlp_notifications_thread'] = array(
			'phrase' => $vbphrase['nlp_notifications_threads'],
			'link'   => $fetz,
			'order'  => 15
		);
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>Threads notifications - something happent in SHOWTHREAD</title>
			<hookname>showthread_start</hookname>
			<phpcode><![CDATA[if($vbulletin->options['nlp_notifications_active'] AND $threadid)
{
	// fix userid = 0 value(insert no need val) : Bug#2
	// fix insert no need value (any thread marked as read where this htread no listed in noticf. table) : Bug#3
	$sago = $vbulletin->db->query_first("SELECT threadid FROM " . TABLE_PREFIX . "nlp_notifications_thread WHERE threadid=$threadid");
	if(
		!in_array($threadid, explode(',', $notifications_threadids)) 
			AND 
		$vbulletin->userinfo['userid'] 
			AND
		!empty($sago)
	   )
	{
		// if not readed yet ;) => instert into DB thread as readed 
		$vbulletin->db->query_write("
			INSERT INTO `" . TABLE_PREFIX . "nlp_notifications_read` 
			(
				`userid` ,
				`threadid` ,
				`dateline`
			) VALUES (
				'" . $vbulletin->userinfo['userid'] . "', 
				'$threadid', 
				'" . TIMENOW . "'
			)
		");
	}
	if(can_moderate($threadinfo['forumid']) AND !$NLP['notifications']['usergroupid'] AND !$NLP['notifications']['userid'])
	{
		// templates replacing.
		$nlp_notifications_phrase = iif(empty($sago),construct_phrase($vbphrase['nlp_notifications_add_thread']),construct_phrase($vbphrase['nlp_notifications_remove_thread']));
		$vbulletin->templatecache['SHOWTHREAD'] = str_replace(
			'$vbphrase[remove_redirects]</label></div>',
			'$vbphrase[remove_redirects]</label></div>\n<div><label for=\"ao_ntn\"><input type=\"radio\" name=\"do\" id=\"ao_ntn\" value=\"notifications\" />$nlp_notifications_phrase</label></div>',
			$vbulletin->templatecache['SHOWTHREAD']
		);
	}
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>Threads notifications - add,remove notification</title>
			<hookname>threadmanage_action_switch</hookname>
			<phpcode><![CDATA[if($vbulletin->options['nlp_notifications_active'] AND $_REQUEST['do'] == 'notifications')
{
	$forumid = false;
    // only mods with the correct permissions should be able to access this
    if (!can_moderate($threadinfo['forumid']) OR $NLP['notifications']['usergroupid'] OR $NLP['notifications']['userid']) print_no_permission();
    // check data
    $NLP['notifications']['exists']= $vbulletin->db->query_first("
		SELECT * FROM " . TABLE_PREFIX . "nlp_notifications_thread
		WHERE threadid = $threadid
	");
	if(empty($NLP['notifications']['exists']))
	{
		// add thread in notifications list for users
		$vbulletin->input->clean_array_gpc('p', array(
			'Expired' => TYPE_NUM,
			'month'   => TYPE_NUM,
			'day'     => TYPE_NUM,
			'year'    => TYPE_NUM,
		));
		$keyval = iif($vbulletin->GPC['month'] != -1 AND $vbulletin->GPC['day'] != -1 AND !empty($vbulletin->GPC['year']),true,fales);
		if(empty($vbulletin->GPC['Expired']))
		{
			fetch_phrase_group('Register');
	        $navbits = construct_postings_nav($foruminfo, $threadinfo);
	        eval('$navbar = "' . fetch_template('navbar') . '";');
	        // spit out the final HTML if we have got this far
	        eval('$HTML = "' . fetch_template('nlp_notifications') . '";');
	        eval('print_output("' . fetch_template('THREADADMIN') . '");');
	        exit;			
		}else{
			if($vbulletin->GPC['Expired'] > 0 AND $keyval)
			{
				$expiretime = mktime(0,0,0,$vbulletin->GPC['month'],$vbulletin->GPC['day'],$vbulletin->GPC['year']);
				if($expiretime <= TIMENOW) $expiretime=0;
			}
			$vbulletin->db->query_write("
				INSERT INTO " . TABLE_PREFIX . "nlp_notifications_thread (`threadid` ,`dateline`, `forumid`, `expired`)
				VALUES 
					(
						'$threadid', 
						'" . TIMENOW . "',
						'" . $threadinfo['forumid'] . "',
						'" . iif($expiretime, $expiretime,'0') . "'
					)
			");
		}
		// redirect back to thread #$threadid
		$vbulletin->url = 'showthread.php?t='.$threadid;
		eval(print_standard_redirect('redirect_nlp_notifications_thread_add', true, true));
	}else{
		// if notifications exists , remove if from notifications list ;)
		$vbulletin->db->query_write("
			DELETE FROM " . TABLE_PREFIX . "nlp_notifications_thread
			WHERE threadid = $threadid
		");
		$vbulletin->db->query_write("
			DELETE FROM " . TABLE_PREFIX . "nlp_notifications_read
			WHERE threadid = $threadid
		");
		// redirect back to thread #$threadid
		eval(print_standard_redirect('redirect_nlp_notifications_thread_removed', true, true));		
	}  
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>Threads notifications - fetch notifications in USERCP</title>
			<hookname>usercp_complete</hookname>
			<phpcode><![CDATA[if($vbulletin->options['nlp_notifications_active'])
{
	$NLP['notifications'] = $vbulletin->db->query("
		SELECT n.*,  thread.title FROM " . TABLE_PREFIX . "nlp_notifications_thread AS n
		LEFT JOIN " . TABLE_PREFIX . "thread AS thread ON (n.threadid = thread.threadid)
		WHERE n.forumid NOT IN (0$notifications_forumids)
		AND n.threadid NOT IN (0$notifications_threadids)
		ORDER BY n.dateline ASC
	");
	//		LEFT JOIN " . TABLE_PREFIX . "usergroup AS group ON (group.usergroupid = user.usergroupid)
	while($notificationz = $db->fetch_array($NLP['notifications']))
	{
		$notificationz['date'] = vbdate($vbulletin->options['dateformat'],$notificationz['dateline']);
		$notificationz['time'] = vbdate($vbulletin->options['timeformat'],$notificationz['dateline']);
		$notificationz['end']  = vbdate($vbulletin->options['dateformat'],$notificationz['expired']);
		eval('$NLP[notificationsbit] .= "' . fetch_template('nlp_notifications_usercp_bit') . '";');
	}
	eval('$template_hook[usercp_main_pos2] .= "' . fetch_template('nlp_notifications_usercp') . '";');
	$db->free_result($NLP['notifications']);
}]]></phpcode>
		</plugin>
	</plugins>
	<phrases>
		<phrasetype name="Front-End Redirect Messages" fieldname="frontredirect">
			<phrase name="nlp_notifications_thread_add" date="1213951303" username="NLP" version="1.0"><![CDATA[شكراً ، تم إضافة الموضوع الى قائمة التنبيهات بنجاح سيتم تحويلك الى الموضوع بعد قليل]]></phrase>
			<phrase name="nlp_notifications_thread_removed" date="1213952309" username="NLP" version="1.0"><![CDATA[شكراً ، تم إزالة الموضوع من قائمة التنبيهات بنجاح سيتم تحويلك الى الموضوع بعد قليل]]></phrase>
		</phrasetype>
		<phrasetype name="GLOBAL" fieldname="global">
			<phrase name="nlp_notifications_add_thread" date="1214015679" username="NLP" version="1.0"><![CDATA[إضافة الموضوع لقائمة التنبيهات]]></phrase>
			<phrase name="nlp_notifications_remove_thread" date="1214015699" username="NLP" version="1.0"><![CDATA[إزالة الموضوع من قائمة التنبيهات]]></phrase>
			<phrase name="nlp_notifications_thread_expiredin" date="1217016258" username="NLP" version="2.0"><![CDATA[ينتهي بتاريخ :]]></phrase>
			<phrase name="nlp_notifications_threads" date="1214021683" username="NLP" version="1.0"><![CDATA[مواضيع يجب قراءتها]]></phrase>
		</phrasetype>
		<phrasetype name="Thread Management" fieldname="threadmanage">
			<phrase name="nlp_notifications_thread_dateif" date="1217002382" username="NLP" version="2.0"><![CDATA[<strong>ملاحظة:</strong> إذا قمت بإختيار "مع تاريخ الصلاحية" فتأكد بأن تختار التاريخ بشكل صحيح , وإن قمت بإدخال تاريخ أقل من تاريخ اليوم فلن يكون هناك تاريخ إنتهاء لهذا التنبية]]></phrase>
			<phrase name="nlp_notifications_thread_dateoptions" date="1217002420" username="NLP" version="2.0"><![CDATA[تاريخ إنتهاء الصلاحية]]></phrase>
			<phrase name="nlp_notifications_thread_withexpired" date="1217002436" username="NLP" version="2.0"><![CDATA[مع تاريخ إنتهاء]]></phrase>
			<phrase name="nlp_notifications_thread_withoutexpired" date="1217002454" username="NLP" version="2.0"><![CDATA[بدون تاريخ إنتهاء]]></phrase>
		</phrasetype>
		<phrasetype name="vBulletin Settings" fieldname="vbsettings">
			<phrase name="setting_nlp_notifications_active_desc" date="1214035311" username="NLP" version="1.0"><![CDATA[هذا الخيار يتيح لك تفعيل المنتج أو تعطيله]]></phrase>
			<phrase name="setting_nlp_notifications_active_title" date="1214035311" username="NLP" version="1.0"><![CDATA[تفعيل المنتج]]></phrase>
			<phrase name="setting_nlp_notifications_exusergroups_desc" date="1216987810" username="NLP" version="2.0"><![CDATA[هذا الخيار يتيح لك حظر مجموعه معينهة من استخدام هذا المنتج , في حال وجود اكثر من مجموعه افصل بينهم بالفاصله "," لتعطيل هذه الخاصية اتركها فارغة او ضع صفر "0"
<font color="#FF0000"><span style="background-color: #000000">
<br />ملاحظة: هذا الخيار لا يحظر المجموعات التي ليس لديها صلاحيات إدارة الموضوع كمجموعه "الاعضاء" بل يتيح لك حظر مجموعه لديها الصلاحيات مسبقاً وتريد منع هذه الخاصية منهم
</span></font>]]></phrase>
			<phrase name="setting_nlp_notifications_exusergroups_title" date="1216987810" username="NLP" version="1.3"><![CDATA[المجموعات الممنوعة]]></phrase>
			<phrase name="setting_nlp_notifications_exusers_desc" date="1216987906" username="NLP" version="2.0"><![CDATA[هذا الخيار يتيح لك منع عضو معين من استخدام هذا المنتج وفي حال وجود اكثر من عضويه افصل بين أرقام العضويات بالفاصله "," لتعطيل هذا الخيار اتركه فارغ أو اضف رقم "0"
<font color="#FF0000"><span style="background-color: #000000">
<br />ملاحظة: هذا الخيار لا يحظر العضويات التي ليس لديها صلاحيات إدارة الموضوع كـ "العضو العادي" بل يتيح لك حظر عضوية لديها الصلاحيات مسبقاً وتريد منع هذه الخاصية عنهم
</span></font>]]></phrase>
			<phrase name="setting_nlp_notifications_exusers_title" date="1216987906" username="NLP" version="1.3"><![CDATA[العضويات الممنوعه]]></phrase>
			<phrase name="setting_nlp_notifications_thread_sort_desc" date="1217082106" username="NLP" version="2.0"><![CDATA[تستطيع أن تقوم بتحديد طريقة عرض رابط التنبيه ، بالذهاب المباشر للموضوع الأقدم ضمن قائمة التنبيهات أو الذهاب لجدول التنبيهات في لوحة تحكم العضو لكي يرى كافة التنبيهات وتُعرض حسب الأقدمية أولاً]]></phrase>
			<phrase name="setting_nlp_notifications_thread_sort_title" date="1217082106" username="NLP" version="2.0"><![CDATA[آلية عرض رابط التنبية]]></phrase>
			<phrase name="settinggroup_nlp_notifications" date="1214035231" username="NLP" version="1.0"><![CDATA[إعدادات منتج  عرض المواضيع على شكل تنبيهات]]></phrase>
		</phrasetype>
	</phrases>
	<options>
		<settinggroup name="nlp_notifications" displayorder="65535">
			<setting varname="nlp_notifications_active" displayorder="10">
				<datatype>integer</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="nlp_notifications_exusergroups" displayorder="20">
				<datatype>free</datatype>
			</setting>
			<setting varname="nlp_notifications_exusers" displayorder="30">
				<datatype>free</datatype>
			</setting>
			<setting varname="nlp_notifications_thread_sort" displayorder="40">
				<datatype>free</datatype>
				<optioncode>select:piped
0|دخول مباشر
1|جدول التبيهات</optioncode>
				<defaultvalue>0</defaultvalue>
			</setting>
		</settinggroup>
	</options>
	<helptopics>
	</helptopics>
	<cronentries>
	</cronentries>
	<faqentries>
	</faqentries>
</product>