Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Follow Us Widget/Forum Block Details »»
Follow Us Widget/Forum Block
Version: 1.00, by crazyace crazyace is offline
Developer Last Online: Sep 2012 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.0.x Rating:
Released: 03-24-2010 Last Update: 03-24-2010 Installs: 173
Re-useable Code Additional Files Translations  
No support by the author.

I was asked to create a widget and forum block from a few users so after doing some testing, I was able to come create them.

Install CMS Widget:
  • Upload the image files
  • Go to admincp and select vBulletin CMS >> Widgets
    Press Create New Widget
  • At Widget Type select Static HTML
  • At Title type: Follow Us
  • Now click Save
  • Select Follow Us Widget and then click Configure
  • Select and Delete any white space
  • Copy and paste HTML code below and then save config ( Edit each line of code with the settings you want where you see the "XXXX" also you can edit the margins as well )
    Code:
    <!--Twitter Code-->
    <br /><a href="http://twitter.com/XXXXXX"><img src="images/misc/95x56/twitter_follow_us.png" title="Follow Us on Twitter" width="XXXXXX" height="XXXXXX" style="margin-left: 16px; margin-right: XXXXXXpx;"/></a>
    
    <!--Facebook Code-->
    <a href="XXXXXX"><img src="images/misc/95x56/facebook_follow_us.png" title="Follow Us on Facebook" width="XXXXXX" height="XXXXXX" style="margin-left: 16px; margin-right: XXXXXXpx;"/></a>
    
    <!--Myspace Code-->
    <a href="http://www.myspace.com/XXXXXX"><img src="images/misc/95x56/myspace_follow_us.png" title="Follow Us on Myspace" width="XXXXXX" height="XXXXXX" style="margin-left: 16px; margin-right: XXXXXXpx; margin-top: 10px;"/></a>
    
    <!--Youtube Code-->
    <a href="http://www.youtube.com/group/XXXXXX"><img src="images/misc/95x56/youtube_follow_us.jpg" title="Follow Us on YouTube" width="XXXXXX" height="XXXXXX" style="margin-left: 16px; margin-right: XXXXXXpx; margin-top: 10px;"/></a>
  • Go to admincp and select vBulletin CMS>> Layout Manager
  • Select your layout (eg: Default Layout)
  • Edit>> Go
  • At Widgets Select Follow Us and Add to the right by pressing the (>) button
  • Move the widget to the area in your CMS that you want it



Install Forum Block:
  • Upload the image files
  • Go to admincp and select Forums & Moderators >> Forum Blocks Manager
    Press Add Block
  • At Add new block select Custom HTML/PHP
  • At Title replace Custom HTML/PHP with: Follow Us
  • Under Block Config>> Click HTML
  • Copy and paste HTML code below and then save config ( Edit each line of code with the settings you want where you see the "XXXX" also you can edit the margins as well )
    Code:
    <!--Twitter Code-->
    <br /><a href="http://twitter.com/XXXXXX"><img src="images/misc/95x56/twitter_follow_us.png" title="Follow Us on Twitter" width="XXXXXX" height="XXXXXX" style="margin-left: 16px; margin-right: XXXXXXpx;"/></a>
    
    <!--Facebook Code-->
    <a href="XXXXXX"><img src="images/misc/95x56/facebook_follow_us.png" title="Follow Us on Facebook" width="XXXXXX" height="XXXXXX" style="margin-left: 16px; margin-right: XXXXXXpx;"/></a>
    
    <!--Myspace Code-->
    <a href="http://www.myspace.com/XXXXXX"><img src="images/misc/95x56/myspace_follow_us.png" title="Follow Us on Myspace" width="XXXXXX" height="XXXXXX" style="margin-left: 16px; margin-right: XXXXXXpx; margin-top: 10px;"/></a>
    
    <!--Youtube Code-->
    <a href="http://www.youtube.com/group/XXXXXX"><img src="images/misc/95x56/youtube_follow_us.jpg" title="Follow Us on YouTube" width="XXXXXX" height="XXXXXX" style="margin-left: 16px; margin-right: XXXXXXpx; margin-top: 10px;"/></a>
  • Now click Save


**Note: With this MOD the image files path will be set to ""images/misc/95x56/" That way if you have the other versions installed, it won't cause issues. Also if you want to use even the smaller images, edit the HTML to point at 48x28.

Download Now

File Type: zip Widget and Forum Block Image Upload.zip (53.2 KB, 833 views)

Screenshots

File Type: png follow us widget.PNG (43.3 KB, 0 views)
File Type: png forum block.PNG (47.0 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 03-25-2010, 02:54 PM
Bergler Bergler is offline
 
Join Date: Dec 2006
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by crazyace View Post
I re-uploaded the zip file with them in it.
Cheers!!
Reply With Quote
  #13  
Old 03-25-2010, 03:27 PM
gyaronn's Avatar
gyaronn gyaronn is offline
 
Join Date: Dec 2009
Location: Poland
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how can i make the photos to go down in a strayte line and not one near the other
Reply With Quote
  #14  
Old 03-25-2010, 03:36 PM
crazyace crazyace is offline
 
Join Date: Oct 2009
Location: Nashville TN
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gyaronn View Post
how can i make the photos to go down in a strayte line and not one near the other
In the code you need to remove the <br /> tags.
Reply With Quote
  #15  
Old 03-25-2010, 04:22 PM
gyaronn's Avatar
gyaronn gyaronn is offline
 
Join Date: Dec 2009
Location: Poland
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did that but nothing changed you can see how it looks on my site www.fmsas.org
here is the code i used
Code:
			<!--Twitter Code-->
<a href="http://twitter.com/_FMSAS_"><img src="forum1/images/misc/95x56/twitter_follow_us.png" title="Follow Us on Twitter" width="95" height="70" style="margin-left: 16px; margin-right: XXXXXXpx;"/></a>
<!--Facebook Code-->
<a href="http://www.facebook.com/home.php#!/pages/Foreign-Medical-Student-Association-Szczecin/254351748440?ref=ts"><img src="forum1/images/misc/95x56/facebook_follow_us.png" title="Follow Us on Facebook" width="95" height="56" style="margin-left: 16px; margin-right: XXXXXXpx;"/></a>
<!--Youtube Code-->
<a href="http://www.youtube.com/user/TheFMSAS"><img src="images/misc/95x56/youtube_follow_us.jpg" title="Follow Us on YouTube" width="95" height="56" style="margin-left: 16px; margin-right: XXXXXXpx; margin-right: 10px;"/></a>
Reply With Quote
  #16  
Old 03-25-2010, 04:41 PM
gyaronn's Avatar
gyaronn gyaronn is offline
 
Join Date: Dec 2009
Location: Poland
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

never mined my mistake fixed it works grate thank you
Reply With Quote
  #17  
Old 03-25-2010, 04:46 PM
crazyace crazyace is offline
 
Join Date: Oct 2009
Location: Nashville TN
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gyaronn View Post
never mined my mistake fixed it works grate thank you
I started to say.. I just looked at it and it looked in line. If you want some spacing you need to add to the top margin of the pics.
Reply With Quote
  #18  
Old 03-25-2010, 10:47 PM
SuperGLS SuperGLS is offline
 
Join Date: Nov 2004
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

gyaronn, do you mind if I use the images you have on your site?
Reply With Quote
  #19  
Old 03-26-2010, 06:10 PM
GONUMBER6's Avatar
GONUMBER6 GONUMBER6 is offline
 
Join Date: Jan 2010
Location: Sunny Arizona
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a dumb question I know, but I just want to make sure I do it right!

What do I need to put where the red X's are?

Thanks in advance!
Reply With Quote
  #20  
Old 03-26-2010, 06:27 PM
crazyace crazyace is offline
 
Join Date: Oct 2009
Location: Nashville TN
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GONUMBER6 View Post
This is a dumb question I know, but I just want to make sure I do it right!

What do I need to put where the red X's are?

Thanks in advance!
Not dumb at all.

Code:
<!--Twitter Code-->
<br /><a href="http://twitter.com/XXXXXX">
Replace the X's with your Twitter ID

Code:
<!--Facebook Code-->
<a href="XXXXXX">
Replace the X's with your facebook address. Example: http://www.facebook.com/#!/pages/Ban...1493616?ref=ts

Code:
<!--Myspace Code-->
<a href="http://www.myspace.com/XXXXXX">
Replace the X's with your Myspace ID

Code:
<!--Youtube Code-->
<a href="http://www.youtube.com/group/XXXXXX">
Replace the X's with your youtube group ID


Now for the other X's that you see after images is to adjust the height or width. Also you can adjust the margins if you need to. But if you leave them as X's it will keep the pictures default values
Reply With Quote
  #21  
Old 03-26-2010, 07:07 PM
GONUMBER6's Avatar
GONUMBER6 GONUMBER6 is offline
 
Join Date: Jan 2010
Location: Sunny Arizona
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome thanks!
Reply With Quote
Reply


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 10:45 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08823 seconds
  • Memory Usage 2,347KB
  • Queries Executed 26 (?)
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
  • (7)bbcode_code
  • (4)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
  • (3)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
  • (3)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_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