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 - Facebook - Linkhay - Tweet - Yahoo Buzz Share with Above Button Cool (https://vborg.vbsupport.ru/showthread.php?t=229686)

saviola8x 12-06-2009 10:00 PM

Facebook - Linkhay - Tweet - Yahoo Buzz Share with Above Button Cool
 
1 Attachment(s)
Go to : admincp/ad.php?do=add&ad_location=thread_first_post_conten t

Add to Ad HTML :
Code:

<div id="share">
<A href="http://www.alexa.com/siteinfo/s2facebook.com"><SCRIPT type='text/javascript' language='JavaScript' src='http://xslt.alexa.com/site_stats/js/t/a?url=s2facebook.com'></SCRIPT></A>
<br><br>

<div class="facebook-share" align="right">
<script>var fbShare = {
url: '',
size: 'large',
badge_text: 'FFFFFF',
badge_color: '3B5998',
google_analytics: 'true'
}</script>
<script src="http://widgets.fbshare.me/files/fbshare.js"></script>
</div><!-- end facebook-wall --><br>

 <div class="linkhay" align="right">
<script type="text/javascript">var linkhay_title = '';</script>
<script type="text/javascript">var linkhay_url = '';</script>
<script type="text/javascript">var linkhay_desc = '';</script>
<script type="text/javascript">var linkhay_style = '1';</script>
<script language="javascript" src="http://linkhay.com/widgets/linkhay.js"></script>
</div><!-- end linkhay --><br>


<div class="tweetmeme_button" align="right">
<script type="text/javascript">
              tweetmeme_url = window.location;

            </script>
            <script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
          </div><!-- end tweetmeme_button --><br>

<div class="buzz" align="right">
<script type="text/javascript" src="http://d.yimg.com/ds/badge2.js" badgetype="square">ARTICLEURL</script></div><!-- end buzz -->

</div><br>



Live Demo :
http://s2facebook.com/forum/showthread.php?37

gurler 12-07-2009 04:59 PM

can we order this on right ?

g00gl3r 12-07-2009 06:16 PM

Testing now. :)

g00gl3r 12-07-2009 06:23 PM

Yup, it works. Uninstalled though as it's not the type of thing for my forum.

mbc100 12-08-2009 11:53 AM

i wwill try it

SİMAR 12-08-2009 12:28 PM

thanks man

saviola8x 12-08-2009 03:59 PM

Quote:

Originally Posted by gurler (Post 1926863)
can we order this on right ?

i dont understand ?:erm:

sebaldus 12-08-2009 05:06 PM

Have try to install it on the default skinn, but it don't work..:(
Also tryd it in anoter skinn, the same problems,

Have change both Postbit and Postbit legacy as desribed, but no facebook button are in the templates...???

No changes--:(
Sebaldus.

Zamalek 12-09-2009 10:28 AM

Thx man

gyaronn 12-20-2009 09:15 AM

hi can i put this at the bottom right side of the post or under the avatar ?

HondaATC 12-30-2009 04:13 PM

Excellent mod, thank you! Should help drive some traffic from FB back to my site. Thanks!

barcena 12-30-2009 04:55 PM

Hi, i'm not a coder but I venture and do my template changes and stuff.... is there a way to show just a couple of avatar's rows instead of the whole thing and also show random pics of friends?. Meaning everytime you refresh different friend's avatars will appear.

Thank you so very much. This is a great mod, i just don't want to take that much of space of my site. :)

wheres me jumpa 12-30-2009 05:51 PM

This is fantastic. I added a line break after the script so the following content started on a new line. Maybe if you contained this in a div that was controlled in the stylesheet it would give more layout options as per gyaronn post.

SLY LS1 01-01-2010 02:19 PM

Great Mod

Code should be

Code:

<a name="fb_share" type="box_count" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></br></br>
Looks a bit better

Kingdombuilder 01-29-2010 06:43 AM

How can i get the share button to the far right side instead of the left side of the post. it throws off the alignment of the images in the post. If anyone can help it would be greatly appreciated...

http://www.blackberryspot.com/Kingdo...s/fbbutton.jpg

evildon 03-09-2010 02:59 AM

Hi great mod..
How can add the share button to the right side instead of the left.Like you have done on the demo site.

Hope to share the code.

Thanks

saviola8x 03-10-2010 02:58 AM

Update

evildon 03-10-2010 07:44 AM

Hi
Really thanks for updating it..
It working but while adding this.There is a big bank space in the right side of the page and all the text and images are aligned on to the left.(check the screenShot).It leaves a blank space through out the rightside.
( image removed)
How to correct that?

Hope u would help me.

Thanks

nextslit 03-11-2010 03:48 PM

1 Attachment(s)
Hello

Here is Google buzz share button code with popup .

Code:

<a href='javascript:var%20b=document.body;var%20GR________bookmarklet_domain=&quot;http://www.google.com&quot;;if(b&amp;&amp;!document.xmlVersion){void(z=document.createElement(&quot;script&quot;));void(z.src=&quot;http://www.google.com/reader/ui/link-bookmarklet.js&quot;);void(b.appendChild(z));}else{}'> <img src="http://www.YourSite.com/files/Gbuzzer.png"  width="50" height="58" alt=""/></a><br>
Red : repalce with your own address ( upload attached picture )

https://vborg.vbsupport.ru/attachmen...1&d=1268329181

https://vborg.vbsupport.ru/attachmen...1&d=1268329237

evildon 03-12-2010 02:49 AM

Hi

Thanks for the google buzz add...

BUT plz someone help with my problem.when i add this in ads manger,i'm getting the whole post align left and there is gap through out the post in the right.

Kingdombuilder 03-21-2010 05:52 AM

Not sure where to put this code...

I don't know what this means: Go to : admincp/ad.php?do=add&ad_location=thread_first_post_conten t

Add to Ad HTML :

evildon 03-21-2010 10:05 AM

Hi

I also facing a strange problem..

Please someone help us..

Thanks

level8 05-08-2010 07:29 PM

is there a mod similiar to this but for the articles on the frontpage??

saviola8x 08-21-2010 06:04 PM

Thank to all.

Winter Sonata 08-26-2010 02:46 AM

Doesn't work with 4.0.2 default template ...

anyone else ?


All times are GMT. The time now is 04:59 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.01200 seconds
  • Memory Usage 1,759KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (25)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