PDA

View Full Version : Add-On Releases - Follow Us Widget/Forum Block


crazyace
03-24-2010, 10:00 PM
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 )
<!--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 )
<!--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
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
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
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
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
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

<!--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
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
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.

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

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

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

<!--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
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
what about that lovely tweet button in the left side of your snapshot?

You can use vBSEO or This mode Tweetboard Integartion (Forum + CMS) (https://vborg.vbsupport.ru/showthread.php?t=233096&highlight=twitter)

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
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
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
Where do I find the mod that puts the sidebar marked "Tweets" (see pic)

Thanks ...

Regards,
Badger

x626xblack
09-08-2010, 04:17 PM
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
That is a tweetboard

Thanks .. :)

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

Regards,
Badger

x626xblack
09-08-2010, 04:37 PM
Mix of both. You can get the Board Mod here but you need to get the authorization and activation else where.
https://vborg.vbsupport.ru/showthread.php?t=233096&highlight=tweetboard

BadgerDog
09-08-2010, 04:43 PM
Mix of both. You can get the Board Mod here but you need to get the authorization and activation else where.
https://vborg.vbsupport.ru/showthread.php?t=233096&highlight=tweetboard

Thank you .. :)

Regards,
Badger

robbiefritz
10-23-2010, 01:06 PM
My only suggestion would be to have the clicks open in a new tab or window so as not to loose focus on the forum itself.

I did this by editing the code as such. Because we only use twitter right now, only that was edited.

<!--Twitter Code-->
<br /><a href="XXXX" target=”_blank”><img src="images/misc/95x56/twitter_follow_us.png" title="Follow Us on Twitter" width="95" height="56" style="margin-left: 16px; margin-right: 16px;"/></a>

oldfan
11-24-2010, 06:05 PM
Would this would with CMPS v4.0?

thanks

fluidswork
11-25-2010, 08:02 AM
Great addon ...........

LisaArnold
07-10-2011, 04:02 AM
Thanks, works nicely with vB 4.1.4 :)

ahobilam
09-28-2011, 04:04 PM
I installed it, its working fine.
I like this mod very much.
But, how could I change the width of the widget? It overlaps with the main content in the Home page.
It looks well in the Forum Block.
My website is: www.brahminsnet.com/forums/

Charis
12-23-2011, 08:02 AM
Thanks a lot.
That is what exactly I was looking for.

UK CHI3F
03-04-2012, 10:11 AM
big thanks for the mini mod and comments from robbiefritz
I dont do code but this was made easy to follow and even adding the extra bit was simple
Thanks

Now i need a like button for threads

yesfans
03-08-2012, 01:46 AM
Set as a widget in 4.1.11 and is working fine so it appears thus far.

iyama
05-28-2012, 02:40 PM
And Google+ ?

iyama
07-24-2012, 10:05 AM
And Google+ ?

no one?

crazyace
08-23-2012, 02:32 AM
Sorry to everyone for being away for so long. I'm going to update this mod to work with 4.2.X and I'll see about adding Google+

iyama
09-17-2012, 10:29 AM
Sorry to everyone for being away for so long. I'm going to update this mod to work with 4.2.X and I'll see about adding Google+

I was on Google+ and create there a Google+ banner.
Puth it in your plugin and whola. :D

gsmlover4u
03-03-2013, 05:47 AM
images not showing even i upload images folder
where i am doing wrong ?