vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - Follow Us Widget/Forum Block (https://vborg.vbsupport.ru/showthread.php?t=239057)

crazyace 03-24-2010 10:00 PM

Follow Us Widget/Forum Block
 
1 Attachment(s)
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.

whitedd 03-25-2010 01:55 AM

screenshot?

crazyace 03-25-2010 02:05 AM

Screenshots uploaded.

AzzidReign 03-25-2010 02:15 AM

Always a good thing to have :)

crazyace 03-25-2010 02:19 AM

Quote:

Originally Posted by AzzidReign (Post 2009781)
Always a good thing to have :)

Oh I agree. When I uploaded the folder I forgot to hit upload on the screenshots ;)

x626xblack 03-25-2010 01:34 PM

Tyvm!

Bergler 03-25-2010 01:45 PM

There are no 95x56 images in this zip file?

crazyace 03-25-2010 01:52 PM

Quote:

Originally Posted by Bergler (Post 2010037)
There are no 95x56 images in this zip file?

Sorry about that. Its just been my luck lately about some files not moving over from my test folders to my production folders. Lesson learned and thanks for letting me know.

Bergler 03-25-2010 02:07 PM

Quote:

Originally Posted by crazyace (Post 2010044)
Sorry about that. Its just been my luck lately about some files not moving over from my test folders to my production folders. Lesson learned and thanks for letting me know.

Can you attach them to a post?

crazyace 03-25-2010 02:32 PM

I re-uploaded the zip file with them in it.


All times are GMT. The time now is 11:27 PM.

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.01166 seconds
  • Memory Usage 1,748KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete