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)
-   -   Show Thread Enhancements - AddThis - Facebook Like, Tweet and Share buttons (https://vborg.vbsupport.ru/showthread.php?t=259176)

joomla 02-19-2011 10:00 PM

AddThis - Facebook Like, Tweet and Share buttons
 
1 Attachment(s)
Make sharing easy with the most popular sharing platform in the world.
http://www.addthis.com


Tested On: Firefox, Chrome and IE8-9


http://img573.imageshack.us/img573/7703/jtraddthis.jpg


How To Install


Open Template (SHOWTHREAD)

Search For

Code:

<div id="pagetitle" class="pagetitle">
Add Below It

Code:

<vb:if condition="THIS_SCRIPT == 'showthread'">
<div style="float: right; padding: 0px 0px 0px 0px;">
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4fc7b85501ab7a01"></script>
<!-- AddThis Button END -->
</div>
</vb:if>

Update:
Facebook, tweet google plus and more options https://www.addthis.com/get

OldSchoolDSL 02-20-2011 09:14 PM

IMPORTANT: When applying the above modification, please remember to change your user name in the code YOUR user name and not use the authors.

PHP Code:

#username=YOUR USER NAME" 


Randomm 02-20-2011 09:15 PM

haha thanks OldSchool for the head up

tagged

BlueCheri 02-20-2011 10:11 PM

Sorry may be dumb question, do I need to have 'Add This' username?

Thanx in advance

Quote:

Originally Posted by OldSchoolDSL (Post 2164724)
IMPORTANT: When applying the above modification, please remember to change your user name in the code YOUR user name and not use the authors.

PHP Code:

#username=YOUR USER NAME" 



OldSchoolDSL 02-20-2011 10:45 PM

Quote:

Originally Posted by BlueCheri (Post 2164735)
Sorry may be dumb question, do I need to have 'Add This' username?

Thanx in advance

It is advised. This will allow you to track user statistics for FREE using AddThis.com

You can visit AddThis.com to format the code however, without it.

AURFSCAN 02-20-2011 11:19 PM

1 Attachment(s)
thanks joomla , I have had this before but this is a good spot for it.

just go to addthis.com , sign up get your own button code and replace the red code
with your own you get from addthis.com

Code:

<vb:if condition="THIS_SCRIPT == 'showthread'">
<div style="float: right; padding: 0px 0px 0px 0px;">
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4d61862450ce0855"></script>
<!-- AddThis Button END -->

</div>
</vb:if>



also you dont need to use their image you can use your own

I made mine to suit my colors and style

:)

3amalah 02-21-2011 12:36 AM

Thanks But I Need To Know Why Every Time I Refresh The Page Counter Return To Zero ?

Brandon Sheley 02-21-2011 12:53 AM

I didn't know you could track stats with addthis
I've used sharethis (http://sharethis.com/) to do the same but I didn't like the load time.
I'll try it with the addthis code to see how bad it is

thx

thr45h3r 02-21-2011 01:09 AM

Thanks marked installed

BlueCheri 02-21-2011 02:54 AM

Ok, thanx for help and advice.

Yes I also face the counter (twitter) problem :(

Quote:

Originally Posted by OldSchoolDSL (Post 2164755)
It is advised. This will allow you to track user statistics for FREE using AddThis.com

You can visit AddThis.com to format the code however, without it.


Dr.osamA 02-21-2011 10:00 AM

thank you bro

keep it up man

installed

fluidswork 02-21-2011 02:53 PM

Great work man ..............

China-Rising 02-21-2011 09:10 PM

Works perfectly, thanks for this:)

Can anyone provide the code for the CMS and Blogs??

3amalah 02-23-2011 10:41 PM

Twitter & Facebook Forget The Like And Tweet Any Idea About Fixing This Issue

davepkr 03-07-2011 02:40 PM

Great add-on to share more easily. Templates edited and everything is working perfectly on vb 4.1.2

troykp 03-10-2011 06:09 AM

Excellent work and so simple.

Thanks!

Wordplay 03-10-2011 10:17 AM

thanks for the mod, anybody got a good placement for blogs and articles?

BadgerDog 03-10-2011 12:17 PM

Installed for testing with thanks ... :up:

Noticed one thing almost immediately ...

Does anyone else experience a noticeable slow down (drag) on completing the load of the "showthread" template as it goes out and accesses the "addtoany" site for it's code?

Regards,
Doug

etca 03-13-2011 11:10 AM

installed but always become zero on twitter :(
how to fix this?

BadgerDog 03-14-2011 11:47 AM

Quote:

Originally Posted by BadgerDog (Post 2171844)
Installed for testing with thanks ... :up:

Noticed one thing almost immediately ...

Does anyone else experience a noticeable slow down (drag) on completing the load of the "showthread" template as it goes out and accesses the "addtoany" site for it's code?

Regards,
Doug

Anyone else notice this, or is it just us?

Thanks .. :)

Regards,
Doug

sematopdemir 03-17-2011 08:27 AM

Thanks

BadgerDog 03-19-2011 06:00 PM

Uninstalled ... :)

Even slows down and causes load delays on demo forum ...

Regards,
Doug

China-Rising 03-20-2011 06:38 PM

I've also uninstlled as it was slowing things down a lot.

x YNWA x 03-24-2011 01:46 AM

when I tweet, it comes up with @addthis, can this be changed? I saw at the top posts username thing but changing the username to =ynwa2505 (my username) does nothing

cpvrx 03-24-2011 04:45 AM

Quote:

Originally Posted by China-Rising (Post 2165154)
Works perfectly, thanks for this:)

Can anyone provide the code for the CMS and Blogs??

I'm looking for this as well.

angelmetatron 03-28-2011 04:23 AM

Thanks so much for this awesome mod.

I have vBulletin Suite running and I want to extend this to the CMS side. Do you guys know how I can achieve this?

Thanks so much in advance for the help. ^__^

Gnoll 03-28-2011 04:34 PM

Very nice :)

China-Rising 03-28-2011 09:02 PM

Installed this again as it seems to be now working a little faster???

No idea why, but it seems ok now.

Would still love to have it on Blogs and CMS though.

bosra75 03-29-2011 09:02 AM

Love it man..thanks very much for this ..just added it to my site

der_darkon 04-06-2011 08:08 AM

Somehow this AddOn forgets the "likes"

thephoneclub 04-20-2011 02:22 PM

Quote:

Originally Posted by x YNWA x (Post 2176824)
when I tweet, it comes up with @addthis, can this be changed? I saw at the top posts username thing but changing the username to =ynwa2505 (my username) does nothing

????

VBUsers 04-27-2011 06:02 PM

worked great and thanks

Ray Monohan 06-01-2011 04:30 PM

I'm not seeing my Tweet count go up...is this broken?

http://www.capperspicks.com/forums/n...ck-thread.html

joomla 06-01-2011 06:17 PM

Quote:

Originally Posted by Ray Monohan (Post 2202426)
I'm not seeing my Tweet count go up...is this broken?

http://www.capperspicks.com/forums/n...ck-thread.html

Take the code by logging in again.
https://www.addthis.com/get-addthis

AddThis, need help or want to inquire about business opportunities?
http://www.addthis.com/contact#.TeaP21tsc4I

with all respect

WoODoO 06-14-2011 02:51 PM

show ;)

malmazan 01-16-2012 12:44 PM

I seem to have a problem with v4.1.9 and the FB button.

It kind of flickers when you clic on it and I could not publish in FF. Not much better in Chrome.

I placed the code exactly as explained here, with the save div parameters.

Robert8 01-16-2012 10:09 PM

Working fine with 4.1.10 and IE9. Thanks so much!!!

deverill2010 02-19-2012 02:18 PM

I've got this isntalled, onmy Ipad I can see the buttons but when on the PC I can't see them????

I have been using this for ages and have only just noticed that theyve disapeared from the site!

djscoop 02-19-2012 06:31 PM

Slowed my site way down, had to uninstall. Any way to fix this?

vilambara 06-21-2012 03:11 PM

Is there any option to show in forum home page, instead in threads.


All times are GMT. The time now is 06:27 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.01349 seconds
  • Memory Usage 1,816KB
  • 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_php_printable
  • (7)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
  • (40)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