форум vBSupport.ru > vBulletin > vBulletin 4.0.x-4.1.х > Внешний вид 4.0.x-4.1.х
  • »
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
 
 
 
 
CityCat
Эксперт
 
CityCat's Avatar
Default Follow Me On Twitter , Facebook , Youtube On Thread
2

Взято отсюда

Quote:
Follow Me On Twitter , Facebook , Youtube On Thread

This Is My First Mod I Hope You Enjoy It

This Mods Add Block Contain 3 Icons For Every User

For His Accounts On Youtube / Facebook / Twitter

So Anyone Can Add Him When He See His Topic

*** Install ***

First We Must Add 3 Custom Field With 1 Line And Make The User Able To Edit

First Field :-

Name : Youtube Account
Describtion : Add Your Youtube Link

Second Field :-

Name : Facebook Account
Description : Add Your Facebook Link

Third Field :-

Name : Twitter Account
Description : Add Your Twitter Link

Now Plz Remember Each Field Number Coz We Will Use It On Template Edit

After Creating The Fields Go To Template

Postbit_Legacy

Search For

Code:
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
If U Need To Show It In A Block Like This



Add This Code After It

Code:
<center>

<vb:if condition="$post['field9'] OR $post['field10'] OR $post['field11']">

<div id="thread_info" class="thread_info block">
	
	<h4 class="threadinfohead blockhead"> Follow Me </h4>
<div id="thread_onlineusers" class="thread_info_block blockbody formcontrols">
		<div class="inner_block">
			<div>

<vb:if condition="$post['field9']">

<a target ="blank" href="{vb:raw post.field9}"><img src="images/Twitter.Png" alt="Follow Me On Twitter" /></a>

</vb:if>

<vb:if condition="$post['field10']">

<a target ="blank" href="{vb:raw post.field10}"><img src="images/Facebook.Png" alt="Add Me To Facebook" /></a>

</vb:if>

<vb:if condition="$post['field11']">

<a target ="blank" href="{vb:raw post.field11}"><img src="images/Youtube.Png" alt="Visit My Youtube Channel" /></a>

</vb:if>
			
			</div>
		</div>
	</div>
</vb:if>

</center>
Change Field9 With The Field Number Of Your Twitter Field
Change Field10 With The Field Number Of Your Facebook Field
Change Field 11 With The Field Number Of Your Youtube Field

If U Need To Show It Without Block

Add This Code Instead Of The Upper Code

Code:
<center>

<vb:if condition="$post['field9']">

<a target ="blank" href="{vb:raw post.field9}"><img src="images/Twitter.Png" alt="Follow Me On Twitter" /></a>

</vb:if>

<vb:if condition="$post['field10']">

<a target ="blank" href="{vb:raw post.field10}"><img src="images/Facebook.Png" alt="Add Me To Facebook" /></a>

</vb:if>

<vb:if condition="$post['field11']">

<a target ="blank" href="{vb:raw post.field11}"><img src="images/Youtube.Png" alt="Visit My Youtube Channel" /></a>

</vb:if>

</center>
And Dont Forget To

Change Field9 With The Field Number Of Your Twitter Field
Change Field10 With The Field Number Of Your Facebook Field
Change Field 11 With The Field Number Of Your Youtube Field

No Upload The 3 Pics In The Attachment To images Directory In Your Forum

I Hope You Enjoy This Edit And If Anything Goes Wrong I Can Fix It

Just Ask In Thread

Dont Forget To Click Install If You Install It Plz

Thanks

-==Zero==-

5 March 2011 ---> Added New Heart Icons
Attached Thumbnails
Screen.Gif  
Attached Images
   
Attached Files
File Type: zip images.zip (15.5 KB, 5 views)
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
GoDaddy
Человек и пароход
vBSponsor
 
GoDaddy's Avatar
Default
0

CityCat, возьми перевод под оффтопом. может пригодится.

Оффтоп
 
 
DeusEx
Продвинутый
 
DeusEx's Avatar
Default
0

Работает то работает , но в IE сволоте из-за этого "Хака" весь текст в постах выстраивается по вертикали !! vb 4.1.3 убить надо того кто встроил этот тупой браузер в винду. Сейчас просто пользоатели в личку стучат по этому поводу , оказывается все с осла сидят, задолбали.
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +4. The time now is 11:32 PM.


Powered by vBulletin® Version 3.5.7
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Loading...