رد مقتبس من Sindebad
plus ... حبيب ألبي
انا ابي الابتسامات تكون بالرد السريع بنفس طريقة الرد العادي ( مش جافا سكربت )
تحياتي
شكراً مقدماً
اهلا بسندباد
اذا كنت تبي تضيف الابتسامات بشكل طبيعي كما في newreply.php
احذف الابتسامات الموجودة في هذا الهاك
وافتح ملف showthread.php
وابحث عن :
كود PHP:
$templatesused = 'showthread_ratingdisplay,postbit_search,postbit_buddy,postbit_ignore,postbit_useremail,icq,aim,yahoo,postbit_homepage,postbit_profile,postbit_ip_show,postbit_ip_hidden,postbit,postbit_sendpm,postbit_avatar,postbit_offline,postbit_online,postbit_editedby,postbit_signature,postbit_attachment,postbit_attachmentimage,showthread_adminoptions,showthread_threadrate,showthread_pollresults_voted,showthread_pollresults_closed,showthread_firstunread,showthread_nextnewestthread,showthread_nextoldestthread,forumrules,showthread';
require('./global.php');
أسفلها أضف:
كود PHP:
// إبتسامات الرد السريع
$clickysmilies = getclickysmilies();
وأفتح تمبليت showthread
وابحث عن:
</head>
وقبلها أضف:
كود PHP:
<script language="JavaScript">
function smilie(smilietext) {
opener.document.vbform.message.value += smilietext+" ";
//opener.vbform.message.focus();
}
</script>
واخر خطوه اضف :
$clickysmilies
في اي مكان في الرد السريع