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.

Bergler 03-25-2010 02:54 PM

Quote:

Originally Posted by crazyace (Post 2010064)
I re-uploaded the zip file with them in it.

Cheers!! :)

gyaronn 03-25-2010 03:27 PM

how can i make the photos to go down in a strayte line and not one near the other

crazyace 03-25-2010 03:36 PM

Quote:

Originally Posted by gyaronn (Post 2010102)
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.

gyaronn 03-25-2010 04:22 PM

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>


gyaronn 03-25-2010 04:41 PM

never mined my mistake fixed it works grate thank you

crazyace 03-25-2010 04:46 PM

Quote:

Originally Posted by gyaronn (Post 2010149)
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.

SuperGLS 03-25-2010 10:47 PM

gyaronn, do you mind if I use the images you have on your site?

GONUMBER6 03-26-2010 06:10 PM

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!

crazyace 03-26-2010 06:27 PM

Quote:

Originally Posted by GONUMBER6 (Post 2010688)
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

GONUMBER6 03-26-2010 07:07 PM

awesome thanks!

GamerPerfection 03-31-2010 04:35 PM

I found something strange.
http://www.gamerperfection.com

If you go to the home page and look at the Follow Us widget in the bottom left corner using FF it appears fine. 4 icons for Facebook, Twitter, MySpace and YouTube.

However when I view it through IE 8 (using compatibility view) the widget appears with 4 dots where the images are meant to be. The links are still there to the relevant accounts, it's just that the PNG images do not appear using IE. Why is this?

alawee.blawee 04-01-2010 08:18 AM

what about that lovely tweet button in the left side of your snapshot?

Jabong82 04-01-2010 10:44 AM

Thank you for this mod.

GamerPerfection 04-01-2010 02:24 PM

Quote:

Originally Posted by clarkey25 (Post 2013556)
I found something strange.
http://www.gamerperfection.com

If you go to the home page and look at the Follow Us widget in the bottom left corner using FF it appears fine. 4 icons for Facebook, Twitter, MySpace and YouTube.

However when I view it through IE 8 (using compatibility view) the widget appears with 4 dots where the images are meant to be. The links are still there to the relevant accounts, it's just that the PNG images do not appear using IE. Why is this?

It's ok I solved the problem.
IE doesn't like the XXXXXX in the settings. So although the icons are 60px by 60px and FF showed them at that size, IE decided to show them at 1px by 1px.

So i just replaced the XXXXXX with 60px. :D

crazyace 04-05-2010 12:11 AM

Quote:

Originally Posted by alawee.blawee (Post 2013913)
what about that lovely tweet button in the left side of your snapshot?

You can use vBSEO or This mode Tweetboard Integartion (Forum + CMS)

trackpads 04-19-2010 02:19 AM

Thanks! Installed

jauction2010 04-20-2010 03:53 AM

Is there a way to do this for vBa CMPS via a module?

crazyace 04-20-2010 04:07 AM

Quote:

Originally Posted by jauction2010 (Post 2024153)
Is there a way to do this for vBa CMPS via a module?

I'm not really sure. I don't have vBa installed I'm sorry.

mitbar 04-24-2010 06:04 AM

I must have done something wrong, The pictures dont show, yes i uploaded them.

EDIT: nvr mind bone head mistake on my part, thanks works great.

thunderclap82 05-19-2010 02:34 PM

It was just brought to my attention that the nothing is showing up in the widget on IE, yet it displays fine in Firefox (which I use). Any idea why IE is having trouble?

Lostboyfan 07-20-2010 01:27 AM

the block doesn't show even after i put in the code

svaghari 08-10-2010 05:10 PM

where/how do you upload image files?

ProFifaLeagues 08-10-2010 09:00 PM

In to your ftp
**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.

Miss Chatterbox 08-19-2010 09:00 AM

Love it! Thank you! :)

crazyace 08-19-2010 07:34 PM

Quote:

Originally Posted by Miss Chatterbox (Post 2086207)
Love it! Thank you! :)

You're welcome. I really need to find some time to work on this. Man weddings eat up so much time.

Lee Wisener 08-19-2010 08:55 PM

Perfect, thanks :)

Carrie Lewis 08-20-2010 10:44 PM

Nice. I think I will definitely use this!

BadgerDog 09-07-2010 12:51 PM

1 Attachment(s)
Where do I find the mod that puts the sidebar marked "Tweets" (see pic)

Thanks ...

Regards,
Badger

x626xblack 09-08-2010 04:17 PM

Quote:

Originally Posted by BadgerDog (Post 2094999)
Where do I find the mod that puts the sidebar marked "Tweets" (see pic)

Thanks ...

Regards,
Badger


That is a tweetboard

BadgerDog 09-08-2010 04:24 PM

Quote:

Originally Posted by x626xblack (Post 2095494)
That is a tweetboard

Thanks .. :)

Is a tweetboard a mod here, or is it something I get from Twitter?

Regards,
Badger


All times are GMT. The time now is 05:26 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.01510 seconds
  • Memory Usage 1,831KB
  • 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
  • (7)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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