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

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

         :: تفسير حلم اني انخطبت وانا عزباء (آخر رد :نوران نور)       :: القدم في المنام للعزباء (آخر رد :نوران نور)       :: تفسير حلم سقوط سن واحد سفلي في اليد (آخر رد :نوران نور)       :: تفسيرحلم الزواج للمتزوجة (آخر رد :نوران نور)       :: تفسير حلم دورة المياه للعزباء (آخر رد :نوران نور)       :: السياحة في مصر للعوائل (آخر رد :emad100)       :: رؤية طائرة في السماء في المنام (آخر رد :نوران نور)       :: رحلة انقاص وزنك تبدأ مع الرشاقة السعيدة (آخر رد :دارين الدوسري)       :: شركة سنت الفندقية (آخر رد :ريم جاسم)       :: الحمل في المنام للمطلقة (آخر رد :نوران نور)      

إضافة رد
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 08-27-2010, 09:20 PM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,611
عدد الـنقاط :3341
 تقييم المستوى : 2139

<div>The Facebook Connect link by default resides in the header template. It is placed up near the Welcome link in the upper right corner. Some users want to move that to another template when they are customizing their style. In vB3, that would usually just mean moving the template code from one template to another. In vB4, you need to also make sure the variable you are using is registered for use in the template you are using it in. Doing this is pretty simple, but it does require writing a plugin.


To move it to the navbar template:
Create a plugin:
hook location - parse_templates
Title - Move facebook_header to navbar
Plugin is Active - Yes
Plugin PHP Code -
PHP Code:
vB_Template::preRegister('navbar', array('facebook_header' => $facebook_header));

.
Now remove this code from the header template (you must do this or it won't work!):
HTML Code:

{vb:raw facebook_header}

.
It's important to note the the code for the Facebook Connect link is wrapped in tags (see the facebook_header template). It was originally added in a list in the navbar. So, you need to wrap it in <ul> tags in order to make it proper html wherever you add it.

For instance, if you want to add it at the end of the breadcrumbs - in the upper right corner of the main forum body:

You would find this code:
<div class="bbcode_container"> HTML Code:
<div class=span style="color:#0000FF""body_wrapper"/span>

<ul class=span style="color:#0000FF""floatcontainer"/span>

.
And modify it to look like this (note the addition of the <ul> tags in the facebook code):
<div class="bbcode_container"> HTML Code:



  • {vb:raw facebook_header}


<ul class=span style="color:#0000FF""floatcontainer"/span>

.
The result:

Attachment 47247

Attached Images
__DEFINE_LIKE_SHARE__
رد مع اقتباس
إضافة رد

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


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

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



الساعة الآن 09:15 AM


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

RSS RSS 2.0 XML MAP HTML