إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...

انضم الينا
استراحات زايد الصفحة الرئيسية

  #1  
قديم 04-08-2010, 02:00 AM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,669
عدد الـنقاط :3341
 تقييم المستوى : 2141

Trying to add some options to the options on the right side on the page
where you create articles.. usually i would just use hook, but theres none.

so trying via the cache..

I tryed using the classic str_replace which usually works,
but suspecting its becourse the template i was adding to is
working as a variable..
but then the options panel just renders blank...

Now i tryed craeting a "replica" menu and want to add it above the
publishing options, created a template and trying to render it,
but nada, it does not show.. .


plugin i use to change with
Hook location : process_templates_complete
PHP Code:
$templater = vB_Template::create('excs_article_option');
$elock = $templater->render();

$oldtemplate = $vbulletin->templatecache['vbcms_edit_publisher'];

$newtemplate = null;
$newtemplate = $elock . '' . $oldtemplate;
$vbulletin->templatecache['vbcms_edit_publisher'] = $newtemplate;

basicly the template is just a bunch of div tags,
like the original article publising options..

PHP Code:


Evisystems Cross site content share




Enabel export ?

{
vb:rawphrase yes}  
{
vb:rawphrase no}






open to suggestions
__DEFINE_LIKE_SHARE__
رد مع اقتباس
 

مواقع النشر (المفضلة)


تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are متاحة



الساعة الآن 07:20 AM


Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir

RSS RSS 2.0 XML MAP HTML