megnonetota
12-28-2008, 11:59 PM
هااك من المصدر الام اتبع الاتي:
افتح ملف postings.php وبحث
رمز PHP:
// check if there is a forum password and if so, ensure the user has it set
verify_forum_password($foruminfo['forumid'], $foruminfo['password']);
if ($vbulletin->GPC['title'] == '')
{
eval(standard_error(fetch_error('notitle')));
}
اضف تحته
رمز PHP:
elseif (preg_match('/<|>/',$vbulletin->GPC['title']))
eval(standard_error(fetch_error('nohtml')));
افتح ملف /includes/functions_newpost.php وبحث عن
رمز PHP:
$errors[] = fetch_error('register_imagecheck');
}
}
اضف تحته
رمز PHP:
if (preg_match('/<|>/',$post['title']))
$errors[] = fetch_error('nohtml');
ثم اذهب الى
لوحة التحكم - اللغات والعبارات - التحكم بالعبارات
ثم اضف عبارة جديدة:
نوع العبارة : Front-End Error Messages
Product : VBulletin
اسم المتغير : nohtml
نــص: ناسف، لا يمكنك كتابة HTML كود بعناوين المواضيع، الرجاء العودة لتغييره.
افتح ملف postings.php وبحث
رمز PHP:
// check if there is a forum password and if so, ensure the user has it set
verify_forum_password($foruminfo['forumid'], $foruminfo['password']);
if ($vbulletin->GPC['title'] == '')
{
eval(standard_error(fetch_error('notitle')));
}
اضف تحته
رمز PHP:
elseif (preg_match('/<|>/',$vbulletin->GPC['title']))
eval(standard_error(fetch_error('nohtml')));
افتح ملف /includes/functions_newpost.php وبحث عن
رمز PHP:
$errors[] = fetch_error('register_imagecheck');
}
}
اضف تحته
رمز PHP:
if (preg_match('/<|>/',$post['title']))
$errors[] = fetch_error('nohtml');
ثم اذهب الى
لوحة التحكم - اللغات والعبارات - التحكم بالعبارات
ثم اضف عبارة جديدة:
نوع العبارة : Front-End Error Messages
Product : VBulletin
اسم المتغير : nohtml
نــص: ناسف، لا يمكنك كتابة HTML كود بعناوين المواضيع، الرجاء العودة لتغييره.