صفحة 1 من 2

????? ??? ?????? ???????

مرسل: الثلاثاء نوفمبر 04, 2008 12:08 pm
بواسطة colorlink
????? ??? ?????? ??????? ??? ????? ?????? ????? ??????:)

????? ??? ?????? ???????

مرسل: الثلاثاء نوفمبر 04, 2008 5:37 pm
بواسطة sufiancool
????? ?? ??? ?? ??????? ????????? ???? ?? ???? ??

????? ??? ?????? ???????

مرسل: الثلاثاء نوفمبر 04, 2008 9:17 pm
بواسطة colorlink
???? ??? ?? ???? ????? ??..?????? ?? ???? ????

????? ??? ?????? ???????

مرسل: الثلاثاء نوفمبر 04, 2008 11:54 pm
بواسطة saanina
??? ??? ?????? ?? ???
http://www.phpbb.com/community/viewtopi ... &t=1276795
?? ?????? ??????? ?? ?????? ??????? ???? ??????

??? ?????? ???????

مرسل: الأربعاء نوفمبر 05, 2008 7:37 pm
بواسطة colorlink
?? ?????? ????? ??? ????? ????? 90%

????? ????

HTTP://forums.sharafli.net


???? ??? ??????
------------------
????:::

memberlist.php
???? ??:

كود: تحديد الكل

$user->setup(array('memberlist', 'groups'));
?? ??? ????? ???? ??:

كود: تحديد الكل

, 'groups'
?? ??? ????? ??? ????:

كود: تحديد الكل

, 'mods/points'
???? ??:

كود: تحديد الكل

'U_REMOVE_FOE'		=> ($foe) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=zebra&remove=1&mode=foes&usernames[]=' . $user_id) : '',
??? ????:

كود: تحديد الكل

			'POINTS_NAME'		=> $config['points_name'],
			'POINTS'			=> $member['user_points'],
			'POINTS_ENABLE'		=> $config['points_enable'],
????: posting.php
???? ??:

كود: تحديد الكل

include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
include($phpbb_root_path . 'includes/message_parser.' . $phpEx);
??? ????:

كود: تحديد الكل

include($phpbb_root_path . 'includes/mods/functions_points.' . $phpEx);
???? ??:

كود: تحديد الكل

				meta_refresh(3, $redirect_url);

				$message = ($mode == 'edit') ? 'POST_EDITED' : 'POST_STORED';
??? ????:

كود: تحديد الكل

//Simple Points System
				$user->add_lang('mods/points');
				if($user->data['is_registered'] && (in_array($mode, array('reply', 'post', 'quote'))) && $auth->acl_get('f_points', $data['forum_id']))
				{
					$amount = (($mode == 'reply') || ($mode == "quote")) ? $config['points_post'] : $config['points_topic'];
					add_points($user->data['user_id'], $amount);
				}
				$points_message = ($config['points_enable'] && (in_array($mode, array('reply', 'post', 'quote'))) && $auth->acl_get('f_points', $data['forum_id'])) ? '<br /><br />' . sprintf($user->lang['POINTS_EARNED'], $amount, $config['points_name']) . '<br /><br />' : '';
				
???? ??:

كود: تحديد الكل

$message = $user->lang[$message] . '<br /><br />' . sprintf($user->lang['VIEW_MESSAGE'], '<a href="' . $redirect_url . '">', '</a>');s			
?? ??? ????? ???? ??:

كود: تحديد الكل

$user->lang[$message] . 
?? ??? ????? ??? ????:

كود: تحديد الكل

 $points_message . 
????: viewtopic.php

كود: تحديد الكل

// Start session management
$user->session_begin();
$auth->acl($user->data);
??? ????:

كود: تحديد الكل

$user->add_lang('mods/points');
???? ??:

كود: تحديد الكل

'allow_pm'			=> 0,
??? ????:

كود: تحديد الكل

'points'		=> '',
???? ??:

كود: تحديد الكل

'search'		=> ($auth->acl_get('u_search')) ? append_sid("{$phpbb_root_path}search.$phpEx", 'search_author=' . urlencode($row['username']) .'&showresults=posts') : '',
??? ????:

كود: تحديد الكل

'points'		=> $row['user_points'],
???? ??:

كود: تحديد الكل

'L_IGNORE_POST'		=> ($row['hide_post']) ? sprintf($user->lang['POST_BY_FOE'], get_username_string('full', $poster_id, $row['username'], $row['user_colour'], $row['post_username']), '<a href="' . $viewtopic_url . "&p={$row['post_id']}&view=show#p{$row['post_id']}" . '">', '</a>') : '',
??? ????:

كود: تحديد الكل

		'POINTS_NAME'		=> $config['points_name'],
		'POINTS'			=> $user_cache[$poster_id]['points'],
		'POINTS_ENABLE'		=> $config['points_enable'],
????: adm/style/acp_users_profile.html
???? ??:

كود: تحديد الكل

<dl>
		<dt><label for="interests">{L_INTERESTS}:</label></dt>
		<dd><textarea id="interests" name="interests" rows="3" cols="30">{INTERESTS}</textarea></dd>
	</dl>
??? ????:

كود: تحديد الكل

   <dl>
      <dt><label for="points">{L_POINTS}:</label></dt>
      <dd><input id="points" type="text" name="points" value="{POINTS}" /></dd>
   </dl>
????: includes/acp/acp_board.php
???? ??:

كود: تحديد الكل

		$user->add_lang('acp/board');
??? ????:

كود: تحديد الكل

		$user->add_lang('mods/points');
???? ??:

كود: تحديد الكل

'max_post_img_height'	=> array('lang' => 'MAX_POST_IMG_HEIGHT',	'validate' => 'int:0',	'type' => 'text:5:4', 'explain' => true, 'append' => ' ' . $user->lang['PIXEL']),
??? ????:

كود: تحديد الكل

'legend3'				=> 'GENERAL_POINTS',
						'points_enable'			=> array('lang' => 'ENABLE_POINTS',		'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => false),
						'points_topic'			=> array('lang' => 'POINTS_PER_TOPIC',	'validate' => 'int',	'type' => 'text:5:4', 'explain' => false),
						'points_post'			=> array('lang' => 'POINTS_PER_POST',	'validate' => 'int',	'type' => 'text:5:4', 'explain' => false),
						'points_name'			=> array('lang' => 'POINTS_NAME',		'validate' => 'string',	'type' => 'text:25:100', 'explain' => false),
				
????: includes/acp/acp_users.php
???? ??:

كود: تحديد الكل

'interests'		=> utf8_normalize_nfc(request_var('interests', $user_row['user_interests'], true)),
??? ????:

كود: تحديد الكل

	'points'		=> request_var('points', $user_row['user_points']),
???? ??:

كود: تحديد الكل

'interests'		=> array('string', true, 2, 500),
??? ????:

كود: تحديد الكل

'points'		=> array('num', true, 1),
???? ??:

كود: تحديد الكل

$sql_ary = array(
					'user_icq'		=> $data['icq'],
					'user_aim'		=> $data['aim'],
					'user_msnm'		=> $data['msn'],
					'user_yim'		=> $data['yim'],
					'user_jabber'	=> $data['jabber'],
					'user_website'	=> $data['website'],
					'user_from'		=> $data['location'],
					'user_occ'		=> $data['occupation'],
					'user_interests'=> $data['interests'],
				
??? ????:

كود: تحديد الكل

'user_points'	=> $data['points'],
???? ??:

كود: تحديد الكل

'OCCUPATION'	=> $data['occupation'],
				'INTERESTS'		=> $data['interests'],
??? ????:

كود: تحديد الكل

				'POINTS'		=> $data['points'],
				'L_POINTS'		=> $config['points_name'],
????: includes/acp/acp_permissions.php
???? ??:

كود: تحديد الكل

	$user->add_lang('acp/permissions');
??? ????:

كود: تحديد الكل

$user->add_lang('mods/points');
[hr]

???? ??? ??? ???????? ???????? prosilver ?? ??? ?????????? ??????? ????
???? ??????:

????: styles/prosilver/template/viewtopic_body.html
???? ??:

كود: تحديد الكل

$user->add_lang('acp/permissions');
??? ????:

كود: تحديد الكل

$user->add_lang('mods/points');
????: styles/prosilver/template/viewtopic_body.html
???? ??:

كود: تحديد الكل

<!-- IF postrow.POSTER_FROM --><dd><strong>{L_LOCATION}:</strong> {postrow.POSTER_FROM}</dd><!-- ENDIF -->
??? ????:

كود: تحديد الكل

<!-- IF postrow.POINTS_ENABLE --><dd><strong>{postrow.POINTS_NAME}:</strong> {postrow.POINTS}</dd><!-- ENDIF -->
????: styles/prosilver/template/memberlist_view.html
???? ??:

كود: تحديد الكل

<!-- IF INTERESTS --><dt>{L_INTERESTS}:</dt> <dd>{INTERESTS}</dd><!-- ENDIF -->
??? ????:

كود: تحديد الكل

<!-- IF POINTS_ENABLE --><dt>{POINTS_NAME}:</dt> <dd>{POINTS}</dd><!-- ENDIF -->
[hr]

???? ??? ??? ???????? ???????? subsilver ?? ??? ?????????? ??????? ????
???? ??????:

????: styles/subsilver2/template/viewtopic_body.html
???? ??:

كود: تحديد الكل

<!-- IF postrow.POSTER_FROM --><br /><b>{L_LOCATION}:</b> {postrow.POSTER_FROM}<!-- ENDIF -->
??? ????:

كود: تحديد الكل

<!-- IF postrow.POINTS_ENABLE --><br /><b>{postrow.POINTS_NAME}:</b> {postrow.POINTS}<!-- ENDIF -->
????: styles/subsilver2/template/memberlist_view.html
???? ??:

كود: تحديد الكل

<tr>
				<td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_INTERESTS}: </td>
				<td><!-- IF INTERESTS --><b class="genmed">{INTERESTS}</b><!-- ENDIF --></td>
			</tr>
??? ????:

كود: تحديد الكل

<!-- IF POINTS_ENABLE -->
			<tr>
				<td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{POINTS_NAME}: </td>
				<td><b>{POINTS}</b></td>
			</tr>
			<!-- ENDIF -->
[hr]

?? ???? ????? ??????? ????????


??? ????? db_update.php



?????

صورة

????? ????? ???????

????? ??? ?????? ???????

مرسل: الأربعاء نوفمبر 05, 2008 7:43 pm
بواسطة colorlink
????? ??? ?????? ??? ???? ????? ??? ??????
-------------------------------------------------

??? ????? ??? ?????? ?????
?? ?????? ????? ????? ??? ????? ?? ??????


????? ???????
[align=left]root/shop.php,
root/shop_mod_install.php,
root/language/ar/mods/shop.php,
root/language/ar/mods/info_acp_shop.php,
root/includes/acp/info/acp_shop_mod.php,
root/includes/acp/acp_shop_mod.php,
root/inculdes/ucp/info/ucp_shop.php,
root/inculdes/ucp/ucp_shop.php,
root/includes/functions_shop.php,
root/adm/style/acp_shop_mod.html,
root/imgaes/icons/shop_icons/ball.gif,
root/includes/items/blank.php[/align]

[hr]

????: includes/functions.php
???? ??:

كود: تحديد الكل

'U_FAQ'					=> append_sid("{$phpbb_root_path}faq.$phpEx"),
???? ???:

كود: تحديد الكل

'U_SHOP'				=> append_sid("{$phpbb_root_path}shop.$phpEx"),
???? ??:

كود: تحديد الكل

'S_BOARD_DISABLED'		=> ($config['board_disable']) ? true : false,
???? ???:

كود: تحديد الكل

'S_SHOP_LINK'			=> ($config['shop_open'] || $config['shoplink_show']) ? true : false,
????: includes/constants.php
???? ??:

كود: تحديد الكل

define('SESSIONS_KEYS_TABLE',		$table_prefix . 'sessions_keys');
??? ????:

كود: تحديد الكل

define('SHOP_ITEMS_TABLE',			$table_prefix . 'items');
define('SHOP_ITEMS_USER_TABLE',		$table_prefix . 'items_user');
????: language/ar/common.php
???? ??:

كود: تحديد الكل

'SETTINGS'					=> '?????????',
??? ????:

كود: تحديد الكل

'??????'					=> 'SHOP',
	'SHOP_ITEM_SHELF'			=> '?? ???????',
????: language/ar/acp/common.php
???? ??:

كود: تحديد الكل

'ACP_SERVER_SETTINGS'		=> '??????? ??????',
??? ????:

كود: تحديد الكل

'ACP_PHANTOMS_MODS'			=> '??????? ???????? ??????',
	'ACP_SHOP_CONFIG'			=> '??????? ??????',
	'??????? ???????'			=> 'Shop Item Management' ,
	'ACP_SHOP_MOD'				=> '??? ??????',
????: language/ar/acp/permissions_phpbb.ph
???? ??:

كود: تحديد الكل

'settings'		=> '?????????',
??? ????:

كود: تحديد الكل

'shop_mod'		=> '??? ??????',
???? ??:

كود: تحديد الكل

'acl_a_search'		=> array('lang' => 'Can manage search backends and settings', 'cat' => 'misc'),
??? ????:

كود: تحديد الكل

'acl_a_shop_mod'	=> array('lang' => 'Can alter shop mod settings', 'cat' => 'shop_mod'),
????: language/ar/ucp.php
???? ??:

كود: تحديد الكل

'UCP_PROFILE_SIGNATURE'		=> '????? ???????',
??? ????:

كود: تحديد الكل

'UCP_SHOP'					=> '??????',
	'UCP_SHOP_INVENTORY'		=> '???? ??????',
????: viewtopic.php
???? ??:

كود: تحديد الكل

if (!$first_unread && $post_unread)
	{
		$s_first_unread = $first_unread = true;
	}
??? ????:

كود: تحديد الكل

//get shelf information for the shop mod
	if ($config['shop_shelf_size_sig'] != 0)
	{
		require_once($phpbb_root_path . 'includes/functions_shop.' . $phpEx);
		$shop = new shop;
		$items = $shop->get_item_list_user(null, 'shelf_display = true');
		$sig_shelf = $items?true:false;
	}
	else
	{
		$sig_shelf = false;
	}
???? ??:

كود: تحديد الكل

'L_IGNORE_POST'		=> ($row['hide_post']) ? sprintf($user->lang['POST_BY_FOE'], get_username_string('full', $poster_id, $row['username'], $row['user_colour'], $row['post_username']), '<a href="' . $viewtopic_url . "&p={$row['post_id']}&view=show#p{$row['post_id']}" . '">', '</a>') : '',
??? ????:

كود: تحديد الكل

'S_SIG_SHELF'		=> $sig_shelf,
???? ??:

كود: تحديد الكل

$template->assign_block_vars('postrow', $postrow);
??? ????:

كود: تحديد الكل

//SHOP MOD
	if ($sig_shelf)
	{
		$j = 0;
		foreach ($items as $item)
		{
			$j++;
			//although the ACP and UCP should prevent the database from having more items on the shelf than the config value permits, we check for it here just in case
			if ($j > $config['shop_shelf_size_sig'])
			{
				break;
			}
			$template->assign_block_vars('postrow.shelf_items_sig', array(
				'ICON'			=> $item->data['icon'],
				'ICON_WIDTH'	=> $item->data['icon_width'],
				'ICON_HEIGHT'	=> $item->data['icon_height'],
			));
		}
	}
[hr]

???? ??????? ??? ??????????:
?????? prosilver ?? ???? ????? ????

????: styles/prosilver/template/overall_header.html
???? ??:

كود: تحديد الكل

<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
??? ????:

كود: تحديد الكل

<li class="icon-shop"><a href="{U_SHOP}">{L_SHOP}</a></li>
????: styles/prosilver/template/viewtopic_body.html
???? ??:

كود: تحديد الكل

<!-- IF postrow.SIGNATURE --><div id="sig{postrow.POST_ID}" class="signature">{postrow.SIGNATURE}</div><!-- ENDIF -->
??? ????:

كود: تحديد الكل

<!-- IF postrow.S_SIG_SHELF --><div class="signature"><strong>{L_SHOP_ITEM_SHELF}</strong><br />
			<!-- BEGIN shelf_items_sig -->
				<img src="{T_ICONS_PATH}shop_icons/{shelf_items_sig.ICON}" height="{shelf_items_sig.ICON_HEIGHT}" width="{shelf_items_sig.ICON_WIDTH}" />
			<!-- END shelf_items_sig -->
			</div><!-- ENDIF -->
????: styles/prosilver/theme/colours.css
???? ??:

كود: تحديد الكل

.icon-faq						{ background-image: url("{T_THEME_PATH}/images/icon_faq.gif"); }
??? ????:

كود: تحديد الكل

.icon-shop						{ background-image: url("{T_THEME_PATH}/images/icon_shop.gif"); }
????: styles/prosilver/theme/buttons.css
???? ??:

كود: تحديد الكل

.sitehome, .icon-faq, .icon-members, .icon-home, .icon-ucp, .icon-register, .icon-logout,
?? ??? ????? ???? ??:

كود: تحديد الكل

.icon-faq,
?? ??? ????? ??? ????:

كود: تحديد الكل

.icon-shop, 
????: styles/prosilver/theme/bidi.css
???? ??:

كود: تحديد الكل

.rtl .sitehome, .rtl .icon-faq, .rtl .icon-members, .rtl .icon-home, .rtl .icon-ucp, .rtl .icon-register, .rtl .icon-logout,
?? ??? ????? ???? ??:

كود: تحديد الكل

.rtl .icon-faq, 
?? ??? ????? ??? ????:

كود: تحديد الكل

 .rtl .icon-shop,
??????? ??????? subsilver2 ?? ???? ????? ????

????: styles/subsilver2/template/overall_header.html
???? ??:

كود: تحديد الكل

<a href="{U_FAQ}"><img src="{T_THEME_PATH}/images/icon_mini_faq.gif" width="12" height="13" alt="*" /> {L_FAQ}</a>
??? ????:

كود: تحديد الكل

<a href="{U_SHOP}"><img src="{T_THEME_PATH}/images/icon_mini_shop.gif" width="12" height="13" alt="*" /> {L_SHOP}</a>
????: styles/subsilver2/template/viewtopic_body.html
???? ??:

كود: تحديد الكل

<!-- IF postrow.SIGNATURE -->
						<span class="postbody"><br />_________________<br />{postrow.SIGNATURE}</span>
					<!-- ENDIF -->
??? ????:

كود: تحديد الكل

<!-- IF postrow.S_SIG_SHELF --><div class="signature"><strong>{L_SHOP_ITEM_SHELF}</strong><br />
			<!-- BEGIN shelf_items_sig -->
				<img src="{T_ICONS_PATH}shop_icons/{shelf_items_sig.ICON}" height="{shelf_items_sig.ICON_HEIGHT}" width="{shelf_items_sig.ICON_WIDTH}" />
			<!-- END shelf_items_sig -->
			</div><!-- ENDIF -->
???? ??? ??????? ???????? ???????


???? ??? ????? shop_mod_install.php ?? ?????? ?????? ?? ???????

????? ??? ?????? ???????

مرسل: الأربعاء نوفمبر 05, 2008 8:02 pm
بواسطة saanina
????? ??????
..

????? ??? ?????? ???????

مرسل: الأربعاء نوفمبر 05, 2008 8:30 pm
بواسطة colorlink
???? ????? ??? ???:)

????? ??? ?????? ???????

مرسل: الخميس نوفمبر 06, 2008 11:44 am
بواسطة galaxyman_929
????? ???? ????.. ???? ??? ???? colorlink ???? ?????? ????

????? ??? ?????? ???????

مرسل: الخميس نوفمبر 06, 2008 2:46 pm
بواسطة DNG
????? ???? ??? ????? ??????...

????? ??? ?????? ???????

مرسل: الخميس نوفمبر 06, 2008 9:03 pm
بواسطة colorlink
??? ?? ??? ?????? :)

????? ????? ???

????? ??? ?????? ???????

مرسل: الجمعة نوفمبر 07, 2008 4:09 pm
بواسطة galaxyman_929
????? ???? ??? ??????? ????.. ?????? ??????? ???? ???? ??? ????.. ????? ???? ??? ?????????
??? ????? ????? ?? phpbbu
?????? ?????..
?????? ??? ????? ?? ???? ??? phpbb
????? ?? ?????? ??????? ??? ???? ?? ????? ??????.. ????? ???? ?? phpbbarabia ??? ?? ???? ?? ??????.. ??? ???? ???? ??? ????? ????? ?? ????? ??????(??? ?? ??????? ??? ???? ????????? ???).. ?? ???? ??? ???? 100%
?? ????? ?????? ????? ??????.. ??? ????? ??????:
?? ??? ?????? ??? ????? ?????..
???? ????? ?????? ?? ????? ???????? ???????..
?????? ????? ??? ??? ???? ????? ???? ?????
???? ????? ????? ??? ????? ????? ?? ???????..
??????? ??? ????? ??? ????????? (??? ?? ????)
??????? ??? ????? ??? ?????? ?? ????? ??? ???? ????? ?????
?? ?????? ????.. ???? ?????? ????? ??????? ???? ??? ????? ?? ??????? ?????? ??? ?? ?????.. ????? ??? ????? ??? ?????? ?? ???????? ???????
?? ?? ??? ???? ??? ?? ??? ?? ?? ?????? ??? ??????? ?????? ??? ?????????? ??????? ?????
?? ?????
???? ?? ???? ???? ?????

????? ??? ?????? ???????

مرسل: الجمعة نوفمبر 21, 2008 5:57 am
بواسطة nafienew
????? ??? ????? ????? ????? ????? ??????? ???? ??????? ? ??? ??? ?? ?? ??? ?? ?? ??? ?? ????

????? ??? ?????? ???????

مرسل: الجمعة نوفمبر 21, 2008 6:02 am
بواسطة nafienew
?????? ???? ???? ????? ??? ?????? ??? ????

????? ??? ?????? ???????

مرسل: الجمعة نوفمبر 21, 2008 5:04 pm
بواسطة saanina
nafienew
????? ??? ???? ???? ?????? ..
?? ??? ????? ??? ?????? ?????? ???? ??????? ?????? ..