Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications

Reply
 
Thread Tools
[vBD]-Facebook Bar..!! Details »»
[vBD]-Facebook Bar..!!
Version: 1.04, by Shevko Shevko is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.8.x Rating:
Released: 06-30-2009 Last Update: 07-21-2009 Installs: 147
Template Edits
 
No support by the author.

Facebook's Bar For vBulletin.. ByShevko

vBulletin (Unofficial) Turkey Support Site..[vBulletinDestek.Org]

How?
Please Look Down The Caps To Understand..

******* INSTALL *********
1) First upload the attached icons in root/imgimg/.. folder.
2) Then in footer
To The Bottom;
Code:
<if condition="$bbuserinfo[userid]">
<!-- Shevko Facebook BAR -->
<div id="bar_bottom" style="width: %80; height: 32px; bottom: 0px;">
<div class="bar_float" style="height: 25px; width: %75;">

<a href="forumdisplay.php?do=markread"><img src="/imgimg/market.png" alt="Mark Forums Read" width="16" height="16" border="0" /></a> - <a href="private.php?do=newpm"><img src="/imgimg/event_bar.png" alt="Calender.." width="16" height="16" border="0" /></a> - <a href="showgroups.php"><img src="/imgimg/photo_bar.png" alt="Leaders.." width="16" height="16" border="0" /></a>

</div>


<div class="bar_float1" style="width: %80">

<a href="private.php"><img src="/imgimg/email_open.gif" alt="PM" width="16" height="16" border="0" /></a>-<a href="private.php" accesskey="2">Private Messages</a> :: <a href="private.php?do=newpm"><img src="/imgimg/email_add.gif" alt="Send New Message.." width="16" height="16" border="0" /></a>-<a href="private.php?do=newpm" accesskey="2">Send New Message</a> |<a href="group.php"><img src="/imgimg/group.gif" alt="Social Groups.." width="16" height="16" border="0" /></a>-<a href="group.php" accesskey="2">Groups</a> :: <a href="profile.php?do=buddylist"><img src="/imgimg/emoticon_smile.gif" alt="Contacts & Friends.." width="16" height="16" border="0" /></a>-<a href="profile.php?do=buddylist" accesskey="2">Friends</a> |<a href="usercp.php"><img src="/imgimg/user_edit.gif" alt="User Control Panel.." width="16" height="16" border="0" /></a>-<a href="usercp.php" accesskey="2">User CP</a> :: <a href="profile.php?do=editpassword"><img src="/imgimg/lock.gif" alt="Edit Email & Password.." width="16" height="16" border="0" /></a>-<a href="profile.php?do=editpassword" accesskey="2">Edit Email & Password</a>
</div>

<div class="bar_float2">

<a href="sendmessage.php" rel="nofollow" accesskey="2">Contact Us</a>|<a href="search.php?do=getnew" accesskey="2">New Posts</a>
<!-- Shevko Facebook PM -->
<if condition="$bbuserinfo[pmunread]">
|<blink><a href="private.php" accesskey="2">$bbuserinfo[pmunread] PM!</a>
</blink></if>
<!-- Shevko Facebook PM -->
</div>
</div>
<!-- Shevko Facebook BAR -->
<else />
</if>
3) Add To CSS;
Code:
#bar_bottom {
position: fixed;
bottom: 0px;
left: 80px;
right: 80px;
height: 30px;
background:#f3f3f3 url(../imgimg/bar_bottom_bg.png) 0 0  repeat-x;
border-left:1px solid #b5b5b5;
border-right:1px solid #b5b5b5;
}

.bar_float {float:left;padding:7px 5px 0 5px;border-right:1px solid #b5b5b5;}
.bar_float a{padding:2px;}
.bar_float a:hover{padding:2px;background-color:#fff;text-decoration:none;}

.bar_float1 {float:left;padding:7px 5px 0 5px;height:25px;}

.bar_float1 a{text-decoration:none;color:#749474;font-size:11px;}
.bar_float1 a:hover{font-size:11px;color:#000;text-decoration:none;}

.bar_float2 {float:right;padding:7px 5px 0 5px;border-left:1px solid #b5b5b5;height:25px;}

.bar_float2 a{padding:2px;color:#749474;font-size:10px;cursor:pointer;cursor:hand;}
.bar_float2 a:hover{padding:2px;font-size:10px;color:#000;text-decoration:none;}

.bar_contents {padding-top:6px;text-align:center;}
4) Copyright Don't Appear in Page, For This Reason You Can Add This Code To
"AdminCP>vBulletin Options>Site Name / URL / Contact Details>Copyright Text" End..

Code:
<br><br><br>


NOTE;

1) Only Users See This Modifications..
2) Turkish And English Languages in [VBD] Facebook Bar..!!



Version;
v1.01 -Add İf Conditions For Only Users..
v1.02 -Edit Wrongs in ZIP..
-Wipe Hotlink
-Add </div> Later..
v1.03 -Add Polish And Italian Languages With Attachments.. Thanks Marek58 & lordmazus..
v1.04 -Add Serbian Language With Attachments.. Thanks Darkobg..


This Modification's Languages;
1) T?rk?e
2) English
3) Polish ( By Marek58 )
4) Italian ( By lordmazus )
5) Serbian ( By darkobg )
6) Spanish ( By yeku )
7) Hebrew Download Hebrew ( By dacho )


*T?rk?e Modifikasyon Ektedir.. Gerekli D?zenlemeyi Ekteki Code/T?rk?e İ?erisindeki Kodlarla Yapınız..
*Ekte T?rk?e G?r?n?m?de Mevcuttur..

Download Now

File Type: zip [VBD] Facebook Bar..!!.zip (184.7 KB, 1283 views)
File Type: zip [VBD] Polish-Facebook Bar..!!.zip (183.6 KB, 46 views)
File Type: zip [VBD] Italian-Facebook Bar...!!.zip (183.7 KB, 68 views)
File Type: zip [VBD] Serbian-Facebook Bar...!!.zip (183.8 KB, 48 views)
File Type: zip [VBD] Spanish-Facebook Bar...!!.zip (183.7 KB, 109 views)

Screenshots

File Type: jpg EN-PM.jpg (37.6 KB, 0 views)
File Type: jpg EN-SADE.jpg (33.8 KB, 0 views)
File Type: jpg EN-TEK.jpg (8.4 KB, 0 views)
File Type: jpg TR-PM.jpg (36.5 KB, 0 views)
File Type: jpg TR-SADE.jpg (35.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #92  
Old 08-24-2009, 07:28 PM
Shevko's Avatar
Shevko Shevko is offline
 
Join Date: Sep 2007
Location: Turkey
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm Its Good

But Dnt Like Facebook
Reply With Quote
  #93  
Old 08-25-2009, 08:09 AM
jambo_1969 jambo_1969 is offline
 
Join Date: May 2007
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gr8whtd0pe View Post
Good basic script once I cleaned up the code, CSS and made it able to be hidden by the user in the USER CP.

Good job!

All this is people are <div> tags with stuff in them, you can put what ever you want in them.

http://www.wvmotorsports.com you have to be a member to see it though...

EDIT: test account:
User: Test
Pass: vbulletin
Can you share ?
Reply With Quote
  #94  
Old 08-25-2009, 12:52 PM
gr8whtd0pe gr8whtd0pe is offline
 
Join Date: Jul 2009
Location: Belle, WV
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure!

Go to your admincp and add a new user profile field.

Kind: Single-Selection Radio Buttons
Title: Floating Bar
Description: Choose to hide or show the bar that floats at the bottom of the screen here.<a id="bar" name="bar"></a> (- that part will come in handy later)
Options: Show(press enter)Hide
Field Required: Yes, Always
Editable then no, no, no.

I put it under Options: other for display page.

The code:
Code:
<if condition="$bbuserinfo[userid]">
<if condition="$vbulletin->userinfo['fieldX'] == Hide">
<else />
<!--[if lte IE 6]>
<![endif]-->
<br /><br />
His <div> tags go here...
</if> 
</if>
Several things happen there, if they choose Hide, it doesn't show anything, if its IE6 it hides, because IE6 does not display it correctly. If its show and not IE6 it adds spaces to the bottom of the footer and prints the bar. For that part to work I put it between:

Code:
</form>
and
Code:
<if condition="$show['dst_correction']">
Then all you have to do is add a link on there somewhere pointing to: profile.php?do=editoptions#bar

questions?

Quote:
Originally Posted by Shevko View Post
Hmm Its Good

But Dnt Like Facebook
Huh? Was that for me?
Reply With Quote
  #95  
Old 08-25-2009, 03:25 PM
jambo_1969 jambo_1969 is offline
 
Join Date: May 2007
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cheers for that mate - perfect !
Reply With Quote
  #96  
Old 08-25-2009, 03:39 PM
jambo_1969 jambo_1969 is offline
 
Join Date: May 2007
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[edit] - works like a charm.

Template edit required is in the footer template (obviously)....

Thanks again
Reply With Quote
  #97  
Old 08-25-2009, 03:42 PM
gr8whtd0pe gr8whtd0pe is offline
 
Join Date: Jul 2009
Location: Belle, WV
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jambo_1969 View Post
[edit] - works like a charm.

Template edit required is in the footer template (obviously)....

Thanks again
Yeah lol, if you dont want to put it where I did, just get rid of the <br>'s in the code and put it where ever.

Gald it works for ya though. :up:
Reply With Quote
  #98  
Old 08-25-2009, 10:11 PM
BiZiMDiYaR BiZiMDiYaR is offline
 
Join Date: Aug 2006
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gr8whtd0pe View Post
Sure!

Go to your admincp and add a new user profile field.

Kind: Single-Selection Radio Buttons
Title: Floating Bar
Description: Choose to hide or show the bar that floats at the bottom of the screen here.<a id="bar" name="bar"></a> (- that part will come in handy later)
Options: Show(press enter)Hide
Field Required: Yes, Always
Editable then no, no, no.

I put it under Options: other for display page.

The code:
Code:
<if condition="$bbuserinfo[userid]">
<if condition="$vbulletin->userinfo['fieldX'] == Hide">
<else />
<!--[if lte IE 6]>
<![endif]-->
<br /><br />
His <div> tags go here...
</if> 
</if>
Several things happen there, if they choose Hide, it doesn't show anything, if its IE6 it hides, because IE6 does not display it correctly. If its show and not IE6 it adds spaces to the bottom of the footer and prints the bar. For that part to work I put it between:

Code:
</form>
and
Code:
<if condition="$show['dst_correction']">
Then all you have to do is add a link on there somewhere pointing to: profile.php?do=editoptions#bar

questions?



Huh? Was that for me?
Hi,

I think this should be added to the normal code, as the HIDE part is something some users want.. so should be added but the threadowner, of course with permission :-)
But I have another problem, where is the CSS ? I don't see any additional css... I onyl see editor css, is this the one to add the code ? Could you please mentioned the correct place for this.

Thanks.


Merhaba,

Su yukardaki adamin yazdigi bence coda eklenmesi lazim, gizlenmesi bence cok kisinin istedigi birseydir, coduna ekle adamin iziniyle .
Benim ama baska sorunum vardi... su CSS nerde ? bende aditional css yok, tek editor css var... oraya mi eklencek bu cod.. ? Tam yeri soylermisin ?


Saygilarimla,
Reply With Quote
  #99  
Old 08-26-2009, 03:40 AM
Toshifira Toshifira is offline
 
Join Date: Jul 2009
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, nice modifications, thanks :]
Reply With Quote
  #100  
Old 08-26-2009, 06:54 AM
Shevko's Avatar
Shevko Shevko is offline
 
Join Date: Sep 2007
Location: Turkey
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I Add This Options Other Version..

Please Click Mark As Installed..
Reply With Quote
  #101  
Old 08-26-2009, 03:49 PM
gr8whtd0pe gr8whtd0pe is offline
 
Join Date: Jul 2009
Location: Belle, WV
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BiZiMDiYaR View Post
Hi,
But I have another problem, where is the CSS ? I don't see any additional css... I onyl see editor css, is this the one to add the code ? Could you please mentioned the correct place for this.
There is no additional CSS...

All you do to add this is create the user field and replace
Code:
<if condition="$bbuserinfo[userid]">
With:
Code:
<if condition="$bbuserinfo[userid]">
<if condition="$vbulletin->userinfo['fieldX'] == Hide">
<else />
<!--[if lte IE 6]>
<![endif]-->
<br /><br />
then replace:
Code:
<!-- Shevko Facebook BAR -->
<else />
</if>
With:
Code:
</if> 
</if>
That's it.
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 04:40 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07643 seconds
  • Memory Usage 2,371KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (13)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete