مشكل في قائمة المحادثة مثل Facebook

منتديات هاكات phpBB3 والنقاش حول هاكات الجيل الثالث وأيضاً حل مشاكل التركيب العامة

المشرفون: alhitary،طاقم الإضافات

قوانين المنتدى
هذه الساحة للنقاش حول كيفية الهاكات وليس لحل المشاكل المتعلقه بذلك، مشكلة الهاك تطرح في موضوع الهاك نفسه
صورة العضو الرمزية
mido83
عضو جديد
عضو جديد
مشاركات: 29
اشترك في: الجمعة فبراير 27, 2009 5:46 am

???? ?? ????? ???????? ??? Facebook

مشاركةبواسطة mido83 » الاثنين سبتمبر 21, 2009 10:29 pm

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

??? ????? Comet Chat ? ?? ????? ????? ??? ??Facebook ??? ???????? ??? ?? ????? ??????? ?pbpBB ???? ?? ?????? ???????? ??????? ????? ???? ? ??? ????? ? ????? ??? ????

????? http://www.tunisiacom.com

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

??? ?????: cometchat_init.php

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



<?php

/*

Comet Chat

Version: 1.1

*/

/////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////

// Path to CometChat (default: cometchat/) [must have trailing /]
define('BASE_URL','cometchat/');

// Set your character set (default: ISO-8859-1)
define('CHARSET','ISO-8859-1');

// Set the time in seconds after which the users buddylist is refreshed (default: 60)
define('REFRESH_BUDDYLIST','60');

// Set the time in seconds after which a user is considered offline if no response is received (default: 120)
define('ONLINE_TIMEOUT','30');

// Smileys
$smileys = array( 

':)'	=>	'smiley',
':-)'	=>	'smiley',
':('	=>	'smiley-sad',
':-('	=>	'smiley-sad',
':D'	=>	'smiley-lol',
';-)'	=>	'smiley-wink',
';)'	=>	'smiley-wink',
':o'	=>	'smiley-surprise',
':-o'	=>	'smiley-surprise',
'8-)'	=>	'smiley-cool',
'8)'	=>	'smiley-cool',
':|'	=>	'smiley-neutral',
':-|'	=>	'smiley-neutral',
":'("	=>	'smiley-cry',
":'-("	=>	'smiley-cry',
":p"	=>	'smiley-razz',
":-p"	=>	'smiley-razz',
":s"	=>	'smiley-confuse',
":-s"	=>	'smiley-confuse',
":x"	=>	'smiley-mad',
":-x"	=>	'smiley-mad',

);

// Set to 1 if you want to disable smileys (default: 0)
define('DISABLE_SMILEYS','0');

// Set to 1 if you want to disable auto linking (default: 0)
define('DISABLE_LINKING','0');

// Set banned words here
$bannedWords = array("nastyword","nastyword1","nastyword2","nastyword3","nastyword4"); 

// Mysql configuration
$SERVERNAME = 'localhost';
$SERVERPORT = '3306';
$USERNAME = 'tp2p_test';
$PASSWORD = 'test';
$DBNAME = 'tp2p_test';

/////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////

include_once "JSON.php";

error_reporting(E_ALL);
ini_set('display_errors','Off');
ini_set('log_errors', 'On');
ini_set('error_log', 'error.log');

session_start();

function stripSlashesDeep($value) {
	$value = is_array($value) ? array_map('stripSlashesDeep', $value) : stripslashes($value);
	return $value;
}

if ( get_magic_quotes_gpc() ) {
	$_GET    = stripSlashesDeep($_GET   );
	$_POST   = stripSlashesDeep($_POST  );
	$_COOKIE = stripSlashesDeep($_COOKIE);
}



$dbh = mysql_connect($SERVERNAME.':'.$SERVERPORT,$USERNAME,$PASSWORD);
mysql_selectdb($DBNAME,$dbh);
// mysql_set_charset('latin5');

define('TABLE_PREFIX', ''); 

$userid = 0;

// Please update the following logic below to return the userid of the logged in user
// We assume you will be using some sort of session/cookie to fetch those details
// For example we use a cookie called sessionhash and store it in table called session
//
// Session table
// ---------------------------------
// userid	sessionhash
// ---------------------------------
// 1		afgbdsfbsdfklbnlern34
//
// Or you can use something as simple as $userid = $_SESSION['userid'];

$sql = ("select userid from ".TABLE_PREFIX."session where sessionhash = '".mysql_real_escape_string($_COOKIE['sessionhash'])."'");
$query = mysql_query($sql);
$session = mysql_fetch_array($query);
$userid = $session['userid'];

??? ??? ????? ????? ??????? ? ????? ?phpbb3

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




saanina
عضو شرف
عضو شرف
مشاركات: 2726
اشترك في: الاثنين يونيو 09, 2003 11:14 am
مكان: ...
اتصال:

???? ?? ????? ???????? ??? Facebook

مشاركةبواسطة saanina » الثلاثاء سبتمبر 22, 2009 5:49 pm

????? ???? ?????? ????? ????? ???? ????? ?? ????????? , ( ??? ????? ?????????? ?? ????? ????? .. )
???? ???? ( ??? ???? ?????? ???????? ????? ????? ?? )

????????
صورة

:idea: ----------
[الإنسان لا يدرك قيمة الأشياء المجانيه التي تعرض له ..
ويتعامل معها بإستخفاف .. أو على الأقل يشعر أنها حق
له .. أو واجب على الطرف الآخر ...]

صورة العضو الرمزية
mido83
عضو جديد
عضو جديد
مشاركات: 29
اشترك في: الجمعة فبراير 27, 2009 5:46 am

???? ?? ????? ???????? ??? Facebook

مشاركةبواسطة mido83 » الخميس سبتمبر 24, 2009 3:05 am

????? ????? ?????? ???? ?????? ????? ??VB ??? ? ?? ?????? ?? ?????? ??? ????phpBB ???? ?? ???????? ??? ??? ????? ?? ??????? ???? ????? ???? ?? ?????.

saanina
عضو شرف
عضو شرف
مشاركات: 2726
اشترك في: الاثنين يونيو 09, 2003 11:14 am
مكان: ...
اتصال:

???? ?? ????? ???????? ??? Facebook

مشاركةبواسطة saanina » الخميس سبتمبر 24, 2009 3:31 am

??? ??????? ???? "??? ?????"
???? ??? ??? ??????? ????? ???? ????? ..
??? ??? ?? ???? ??? ??????? ???????? ?? ???? ??? ??? ?? ??? ?? ????? ??? phpbb

????????
صورة

:idea: ----------
[الإنسان لا يدرك قيمة الأشياء المجانيه التي تعرض له ..
ويتعامل معها بإستخفاف .. أو على الأقل يشعر أنها حق
له .. أو واجب على الطرف الآخر ...]


العودة إلى ”هاكــات [ ×.3.0 ]“

الموجودون الآن

المتصفحون للمنتدى الآن: لا يوجد أعضاء مسجلين متصلين و 5 زوار