vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Home Enhancements - Twitter - Scroll Animated Flash "Follow Us" Buttons (https://vborg.vbsupport.ru/showthread.php?t=249083)

stator 08-20-2010 10:00 PM

Twitter - Scroll Animated Flash "Follow Us" Buttons
 
1 Attachment(s)
Description:

This add animated (Flash i.e. .swf) Follow us button to your forum home page.
This button is scrolling up or down as you scroll your page.

Demo: www.elib4vet.com

Installation:

1- Open FORUMHOME template.

If don't HOW, Follow this:
AdminCP --> Styles & Templates --> Search in Templates --> Write " forumhome " --> Click find --> Choose from the left list " FORUMHOME"


2- Find this: {vb:raw footer}

and paste the following code below it.

Code:


<div style='display:scroll;position:fixed;bottom:250px;right:0px;'>

<object type="application/x-shockwave-flash" data="http://www.YOURSITE.com/images/twibuttons/twitbutton_2.swf" width="150" height="100">

<param name="movie" value="http://www.YOURSITE.com/images/twibuttons/twitbutton_2.swf"></param>

<param name="allowscriptaccess" value="always"></param><param name="menu" value="false"></param>

<param name="wmode" value="transparent"></param><param name="flashvars" value="username=XXXXXX"></param>

<embed src="http://www.YOURSITE.com/images/twibuttons/twitbutton_2.swf" type="application/x-shockwave-flash" allowscriptaccess="always" width="150" height="100" menu="false" wmode="transparent" flashvars="username=XXXXXX"></embed>

</object>

</div>

Notes:

- You can change the position of display from right (as in the above code) to left.
- Change YOURSITE with your site name. (Take care it mentioned in the code 3 times).
- Write your twitter username (without @ )at twitter instead of XXXXXX. (Take care it mentioned in the code 2 times).
- You can choose from 10 different buttons, just change the no. of the button to that of the desired button. (Take care it mentioned in the code 3 times).
- You can control its size, through editing values of width="150" height="100"

- N.B.

If the scroll will make your users angery :mad:, you can fix the button at the top of your page just by changing the code as following:

from:


Code:

position:fixed
to

Code:

position:absolute
After making all the changes. Click SAVE to save your template.


For Side Blocks & Widgets:

Code:

<center>
<object type="application/x-shockwave-flash" data="http://www.YOURSITE.com/images/twibuttons/twitbutton_2.swf" width="150" height="100">

<param name="movie" value="http://www.YOURSITE.com/images/twibuttons/twitbutton_2.swf"></param>

<param name="allowscriptaccess" value="always"></param><param name="menu" value="false"></param>

<param name="wmode" value="transparent"></param><param name="flashvars" value="username=XXXXXX"></param>

<embed src="http://www.YOURSITE.com/images/twibuttons/twitbutton_2.swf" type="application/x-shockwave-flash" allowscriptaccess="always" width="150" height="100" menu="false" wmode="transparent" flashvars="username=XXXXXX"></embed>

</object>

</center>

3- Upload the attached folder (twibuttons) to: /images


To see different buttons

Button1 ### Button2 ### Button3 ### Button4 ### Button5

Button6 ### Button7 ### Button8 ### Button9 ### Button10


Donot forget to: Mark As Installed

elwachiman 08-22-2010 02:23 AM

nice tagged xd

K4GAP 08-22-2010 03:20 AM

Looks good on site. Nice job.

RobbieZ 08-22-2010 04:50 AM

Very impressive.

Whats the page load like? Is it slowing the forum down as it calls each time? Or is that your Wibiya toolbar?

Off topic. Is the Fast Search Engine via Google in your sidenbbar on vb.org?

So many questions.. lol

sticky 08-22-2010 08:22 AM

I'll add this for a little bit, definitely going to annoy the shit out of my users after a while though.

sticky 08-22-2010 08:28 AM

How do I add this just to the CMS home?

stator 08-22-2010 08:40 AM

Quote:

Originally Posted by RobbieZ (Post 2087657)
Very impressive.

Whats the page load like? Is it slowing the forum down as it calls each time? Or is that your Wibiya toolbar?

Off topic. Is the Fast Search Engine via Google in your sidenbbar on vb.org?

So many questions.. lol

The slow loading of my page is due to wibiya toolbar. The swf file is not more than 30-50 kb

For Fast Search Engine, I just get the code from google after customizing it, and added it as a html side block. that's it.

You're welcome.

stator 08-22-2010 10:53 AM

Quote:

Originally Posted by sticky (Post 2087711)
I'll add this for a little bit, definitely going to annoy the shit out of my users after a while though.

You can fix it at top of your page,

Just change

Code:

position:fixed
to

Code:

position:absolute
Quote:

Originally Posted by sticky (Post 2087716)
How do I add this just to the CMS home?

Sorry, I don't have CMS

But, as general open the template of CMS home page and but the code before

</body>

Veer 08-22-2010 02:48 PM

Looks pretty nice.

Can I use it in Forum Side block and CMS Widget?

Brandon Sheley 08-22-2010 03:00 PM

nice idea, although I don't care for scrolling stuff like that :(


All times are GMT. The time now is 10:21 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.03898 seconds
  • Memory Usage 1,749KB
  • 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
  • (6)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