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)
-   -   Mini Mods - Add flying twitter bird to your threads (https://vborg.vbsupport.ru/showthread.php?t=280648)

egyptsons 03-25-2012 10:00 PM

Add flying twitter bird to your threads
 
1 Attachment(s)
This little template modification will guide you through the few simple steps that allows you to Add flying twitter bird to your threads.

The bird flying animated effect by JavaScript and when you scroll the page Up or Down, twitter bird will come in front of your page. The bird found itself as the ?follow me? link on the Twitter account. If you move the mouse pointer over the bird, a ?follow me? button and a ?tweet this? button displayed.

Demo is here

Installation:-
Go to
Admin Control Panel > Styles & Templates > Style Manager > Show Thread Templates > SHOWTHREAD

Before the following code:

Code:

{vb:raw header}

Add this:

Code:

<!-- Twitter Bird for Forums-->
<script type="text/javascript" src="http://bloggerblogwidgets.googlecode.com/files/way2blogging.org-tripleflap.js">
</script>
<script type="text/javascript">
    var twitterAccount = "egyptsons";
    var tweetThisText = " {vb:raw thread.title} - {vb:raw vboptions.bburl}/{vb:raw thread_url}";
    tripleflapInit();
</script>
<!-- Twitter Bird for Forums -->

Change egyptsons to your twitter username
Save and you're done!

Please note that: this widget is for blogger I modified it to work with VB forums & Original widget is here

Regards,
Ahmed Salah

doctorsexy 03-26-2012 11:24 AM

Very nice...thank you

bluered 03-26-2012 04:03 PM

thanks:)

sp3z!aL 03-26-2012 04:35 PM

very good thx for this

egyptsons 03-26-2012 08:01 PM

You are all welcome :)

puertoblack2003 03-28-2012 12:20 PM

nice i was using it for a while but original author was http://floern.com/software/tripleflap it may have sold it :)

tafreeh 03-29-2012 03:30 AM

I c no flying bird on you page. But I do like the slide down share this page option. Can you share that feature ?

egyptsons 03-30-2012 01:03 AM

Quote:

Originally Posted by puertoblack2003 (Post 2314227)
nice i was using it for a while but original author was http://floern.com/software/tripleflap it may have sold it :)

maybe I don't know if they sold it :)
and thanks for the demo

egyptsons 03-30-2012 01:11 AM

Quote:

Originally Posted by tafreeh (Post 2314555)
I c no flying bird on you page. But I do like the slide down share this page option. Can you share that feature ?

Hello Tafreeh :)
you can find the demo here :
http://floern.com/software/tripleflap


and for the slid down sharing button
Go to
Admin Control Panel > Styles & Templates > Style Manager > Show Thread Templates > ad_global_below_navbar


add at the first this code

Code:

<div class="addthis_bar addthis_bar_medium">
    <label>Share This Page:</label>
    <div class="addthis_toolbox addthis_default_style addthis_32x32_style">
        <span><a class="addthis_button_preferred_1"></a></span>
        <span><a class="addthis_button_preferred_2"></a></span>
        <span><a class="addthis_button_preferred_3"></a></span>
        <span><a class="addthis_button_preferred_4"></a></span>
        <span><a class="addthis_button_compact"></a></span>
        <span><a class="addthis_counter addthis_bubble_style"></a></span>
    </div>
</div>
<script type="text/javascript">
var addthis_config = {
    bar_show_below : 150
}
</script>
<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=YOUR PROFILE ID HERE"></script>

you can find more option and style at addthis.com

Regards,
Ahmed Salah

initiald 03-30-2012 05:00 AM

Is it possible if we can customize the bird?


All times are GMT. The time now is 06:03 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.01037 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_code_printable
  • (2)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
  • (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