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 :(

stator 08-22-2010 03:09 PM

Quote:

Originally Posted by Veer (Post 2087849)
Looks pretty nice.

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


Yes, use the following code:

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>


stator 08-22-2010 03:14 PM

Quote:

Originally Posted by Loco.M (Post 2087851)
nice idea, although I don't care for scrolling stuff like that :(

You can FIX it @ top of the page by give attribute to postion "absolute" Instead of "fixed"
or use it as a sideblock.
You're welcome.

saadessa 08-22-2010 07:42 PM

installed thank you for this very nice mod

SpongeBob71 08-22-2010 08:25 PM

EXCELLENT Job man!!

Thank you!

-SpongeBob71

sticky 08-23-2010 07:51 AM

Quote:

Originally Posted by stator (Post 2087749)
You can fix it at top of your page,

Just change

Code:

position:fixed
to

Code:

position:absolute


Sorry, I don't have CMS

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

</body>

Awesome, thanks!

I just don't know what the CMS home template is as there isn't one named cmshome like forumhome.

stator 08-23-2010 03:12 PM

Quote:

Originally Posted by sticky (Post 2088171)
Awesome, thanks!

I just don't know what the CMS home template is as there isn't one named cmshome like forumhome.

I don't know, cuz i have no CMS

basilrath 08-23-2010 08:25 PM

Quote:

I just don't know what the CMS home template is as there isn't one named cmshome like forumhome.
styles and templates> style manager > choose relevant style> edit templates >vbcms_page

:cool:

acezakj 08-23-2010 10:09 PM

it would be awesome if it was timed sadly i don't want to annoy my user :'( tagged for a update maybe

Xencored 08-23-2010 11:05 PM

Very nice mate thanks installed!

Alecsmith 09-06-2010 06:02 PM

Excellent work installed :d

BadgerDog 09-07-2010 12:19 PM

Installed .. thanks ... :)

Setup as a sideblock on forumhome page, but all I see is an empty frame?

Any hints as to what I might be doing wrong?

Regards,
Badger

Edit: Never mind .. found the problem on my end .. thanks

drsmash 11-02-2010 03:30 PM

Nice Job
Installed

Popa Andrei 11-11-2010 02:20 PM

very very nice mod.
Good Job

OldSchoolDSL 01-08-2011 02:18 AM

Installed, but oddly nothing is showing up....

4.1 PL2

OldSchoolDSL 01-08-2011 02:43 AM

Quote:

Originally Posted by OldSchoolDSL (Post 2145787)
Installed, but oddly nothing is showing up....

4.1 PL2

Never mind.

Had to fix link path. Not just change YourSite.com , but also add my forum path

Working 4.1 PL2

Popa Andrei 02-05-2012 10:18 PM

Can you make this to load at every refresh another random animation of it?
It will be more interesting :D

stator 02-05-2012 10:24 PM

Quote:

Originally Posted by Popa Andrei (Post 2296597)
Can you make this to load at every refresh another random animation of it?
It will be more interesting :D

It just need a simple php code, but I not have time to do so.

Popa Andrei 02-05-2012 11:54 PM

can you share the source of the flash animations?

doctorsexy 04-14-2012 09:13 AM

Thank you....

Cubik4 04-16-2012 03:05 PM

Can you post the screen of work?Ty :D


All times are GMT. The time now is 10:34 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.01516 seconds
  • Memory Usage 1,813KB
  • 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
  • (9)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete