• 0 اصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
منتديات MyBB
اشهار المواقع و المنتديات
البحث فى المنتدى


التجارة الإلكترونية
How to add this link beside thread subject
How to add this link beside thread subject

بسم الله الرحمن الرحيم

Hi
I've an account with the service غير مسموح بعرض الروابط الا بعد التسجيل و تفعيل العضوية
I'd like to know where exactly to add this link
كود:
<!-- AddThis Bookmark Button BEGIN -->
<script type="text/javascript">
  addthis_url    = location.href;  
  addthis_title  = document.title;  
  addthis_pub    = 'mgadallah';    
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
<!-- AddThis Bookmark Button END -->
to let it appear like this:
غير مسموح بعرض الروابط الا بعد التسجيل و تفعيل العضوية
I've tried to add it to different templates but was really unluck to let it be placed at this exact place.

I hope you can help me.
Thanks

2008-02-04, 03:25 PM
مشاركات: #1
عرض جميع مشاركات هذا العضو
Re: How to add this link beside thread subject

بسم الله الرحمن الرحيم

it's in your showthread templates
find
كود:
<strong>{$rating} {$thread['subject']} </strong>
replace with
كود:
<strong>{$rating} {$thread['subject']} </strong> <script type="text/javascript">
  addthis_url    = location.href;  
  addthis_title  = document.title;  
  addthis_pub    = 'mgadallah';    
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>

I don't think it'll be valid html that way. but I think it'll display as well..
مع التحية Pepo
المنتدى: غير مسموح بعرض الروابط الا بعد التسجيل و تفعيل العضوية
الإصدار: MyBB 1.4.4
2008-02-04, 03:52 PM
مشاركات: #2
عرض جميع مشاركات هذا العضو
Re: How to add this link beside thread subject

بسم الله الرحمن الرحيم

الحمد لله
شكرا جدا يا بيبو
طيب ممكن نخليها فى الوسط بدل ما هى موجودة النلحيه الشمال؟
أنا باقصد نخلى العنوان بتاع الموضوع زى ما هو ناحية الشمال بس نخلى اللينك ده بس هو اللى موجود فى الوسط

2008-02-05, 06:31 PM
مشاركات: #3
عرض جميع مشاركات هذا العضو
Re: How to add this link beside thread subject

بسم الله الرحمن الرحيم

مش متأكد ممكن تجرب تحطه بالشكل ده
كود:
<strong>{$rating} {$thread['subject']} </strong> <div align="center"><script type="text/javascript">
  addthis_url    = location.href;  
  addthis_title  = document.title;  
  addthis_pub    = 'mgadallah';    
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script></div>

2008-02-05, 06:41 PM
مشاركات: #4
عرض جميع مشاركات هذا العضو
Re: How to add this link beside thread subject

بسم الله الرحمن الرحيم

شكراً يا احمد هى فعلاً بقت فى النص بس للأسف برضه مش مزبوطه بالزبط علشان انا كنت عاوزها تبقى فى المكان الأزرق بنفس محازاة عنوان الموضوع
غير مسموح بعرض الروابط الا بعد التسجيل و تفعيل العضوية
طيب هل ممكن لو مش نافع إنها تزبط فى المكان اللى انا عاوزه إنها تتحط أعلى الموضوع ؟
أنا قصدى على نفس مستوى زراير موضوع جديد و رد جديد بس تكون المحازاة للشمال أو الوسط
شكراً

2008-02-05, 06:51 PM
مشاركات: #5
عرض جميع مشاركات هذا العضو
Re: How to add this link beside thread subject

بسم الله الرحمن الرحيم

داخل تمبليت showthread ابحث عن
كود:
<div style="float: right; padding-bottom: 4px;">
    {$newreply}{$newthread}
</div>
اضف بعده
كود:
<div style="float: left; padding-bottom: 4px;"><script type="text/javascript">
  addthis_url    = location.href;  
  addthis_title  = document.title;  
  addthis_pub    = 'mgadallah';    
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script></div>

2008-02-05, 07:01 PM
مشاركات: #6
عرض جميع مشاركات هذا العضو
Re: How to add this link beside thread subject

بسم الله الرحمن الرحيم

شكراً جداً الموضوع اتزبط

2008-02-05, 07:15 PM
مشاركات: #7
عرض جميع مشاركات هذا العضو

How to add this link beside thread subject



التنقل السريع: