vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Show Thread Enhancements - Addthis / Sharethis Bookmark Integration (https://vborg.vbsupport.ru/showthread.php?t=209507)

F0xy 03-25-2009 10:00 PM

Addthis / Sharethis Bookmark Integration
 
1 Attachment(s)
Loved the addition of bookmarks in vbulletin but hated the way they were placed at the bottom of the thread, each time I read a thread I immediately found myself scrolling to the top again. I tried moving the bookmarks to the top but didn't like the way they looked.

I came across http://www.addthis.com which allows you to add a handy piece of code to your website that allows you to bookmark a thread to any of the large bookmark sites, 34 different site's in total with out any mess or cluttering up the postbit area with tons of images. Plus addthis.com track all clicks and pages that have been submitted from your site. sharethis.com is a site that works exactly the same way.

AddThis and Sharethis is already on hundreds of thousands of websites including TIME Magazine, Oracle, TechCrunch, Freewebs, Entertainment Weekly, Topix, Lonely Planet, MySpace, PGA Tour, Tower Records, Squidoo, Zappos, FOX, ABC, CBS just to name a few and could be on your vbulletin forum within minutes!!

Demo click here then a thread to view demo


Quick and easy installation:
register an account at http://www.addthis.com and log in, once logged in click Get your button code! and scroll down to and choose from a number of different buttons and get your code.

in SHOWTHREAD
find:
HTML Code:

<td class="vbmenu_control" id="threadtools" nowrap="nowrap">
above add:

HTML Code:

<!-- AddThis Button BEGIN -->
<td class="vbmenu_control" id="addthis" nowrap="nowrap">
ADD THE ADDTHIS or SHARETHIS CODE HERE
</td>
<!-- AddThis Button END -->

done!


itsheinz 03-26-2009 02:22 PM

il try this one,looks cool

btw,i cant see this code in my SHOWTHREAD template.
Code:

<td class="vbmenu_control" id="threadtools" nowrap="nowrap">

starman? 03-26-2009 02:46 PM

Most Excellent. Thanks for sharing this.

Jasem 03-26-2009 03:05 PM

Good work, thank you!

Installed

F0xy 03-26-2009 06:48 PM

Quote:

Originally Posted by itsheinz (Post 1777503)
il try this one,looks cool

btw,i cant see this code in my SHOWTHREAD template.
Code:

<td class="vbmenu_control" id="threadtools" nowrap="nowrap">

should be mate, try searching for the first instance of:

Code:

<td class="vbmenu_control" id="threadtools"
but go to SHOWTHREAD first and search it in their, if you still can't find it then it may be your customized skin, as a last resort pm me your SHOWTHREAD code.

TandyServices 03-27-2009 10:19 AM

What showthread do you add this to? In my showtread template there is: bookmarksite, list, quickreply, similarthreads, and similarthreadbits. Or is there someplace else I am to be looking?? Thanks, will mark installed if I can get it working..

F0xy 03-27-2009 12:55 PM

Quote:

Originally Posted by TandyServices (Post 1778127)
What showthread do you add this to? In my showtread template there is: bookmarksite, list, quickreply, similarthreads, and similarthreadbits. Or is there someplace else I am to be looking?? Thanks, will mark installed if I can get it working..

its the "SHOWTHREAD" template mate.

https://vborg.vbsupport.ru/external/2009/03/20.jpg

DobieGillis? 03-27-2009 02:14 PM

why is it that my button is added abouve the thread not next to thread tools? It's actually to the left above the bar

itsheinz 03-27-2009 02:29 PM

i cant pm the code to you

DobieGillis? 03-27-2009 02:42 PM

Quote:

Originally Posted by itsheinz (Post 1778284)
i cant pm the code to you

ok, thanks though

Arcade Fire 03-27-2009 02:44 PM

Thanks > Nominate

F0xy 03-27-2009 02:50 PM

Quote:

Originally Posted by DobieGillis? (Post 1778270)
why is it that my button is added abouve the thread not next to thread tools? It's actually to the left above the bar

did you add the code ABOVE this

Code:

<td class="vbmenu_control" id="threadtools" nowrap="nowrap">

Please click install for further support

DobieGillis? 03-27-2009 02:52 PM

Quote:

Originally Posted by F0xy (Post 1778303)
did you add the code ABOVE this

Code:

<td class="vbmenu_control" id="threadtools" nowrap="nowrap">

Please click install for further support

I did, and it still is above the thread bar not next to thread tools. Not that bad, but would look nicer, otherwise. Also, the google link does not work.

F0xy 03-27-2009 03:03 PM

Quote:

Originally Posted by DobieGillis? (Post 1778306)
I did, and it still is above the thread bar not next to thread tools. Not that bad, but would look nicer, otherwise. Also, the google link does not work.

pm me a link to see this and your SHOWTHREAD code.

DobieGillis? 03-27-2009 03:07 PM

sure, one sec. thanks very much

TandyServices 03-27-2009 10:02 PM

Quote:

Originally Posted by F0xy (Post 1778212)
its the "SHOWTHREAD" template mate.

Thanks, wasn't sure :rolleyes:
Installed :)

frogster 03-28-2009 03:05 AM

1 Attachment(s)
Please see attached picture. When I installed it, the complete sharethis button does not show. It is cut off.

Also, is there anyway to add this button to any of the two locations highlighted in black in the attached picture instead of where you show.

Thanks,
Maria

F0xy 03-28-2009 08:50 AM

Quote:

Originally Posted by frogster (Post 1778737)
Please see attached picture. When I installed it, the complete sharethis button does not show. It is cut off.

Also, is there anyway to add this button to any of the two locations highlighted in black in the attached picture instead of where you show.

Thanks,
Maria

I'll look into those other locations and let you know

to sort your other problem

did you add the code ABOVE this

Code:

<td class="vbmenu_control" id="threadtools" nowrap="nowrap">

hotwheels 03-30-2009 08:55 PM

Very nice.......

jayzy1 03-31-2009 08:27 AM

Quote:

Originally Posted by DobieGillis? (Post 1778270)
why is it that my button is added abouve the thread not next to thread tools? It's actually to the left above the bar

Great Mod, thanks
Mine is a;so showing above and to the left. Is ther any fix for this? as it would look much neater like your picture

http://www.getthroughguides.co.uk/forum/

F0xy 03-31-2009 11:20 AM

Quote:

Originally Posted by jayzy1 (Post 1780888)
Great Mod, thanks
Mine is a;so showing above and to the left. Is ther any fix for this? as it would look much neater like your picture

http://www.getthroughguides.co.uk/forum/

Code:

<!-- AddThis Button BEGIN -->
<td class="vbmenu_control" id="addthis" nowrap="nowrap">
ADD THE ADDTHIS or SHARETHIS CODE HERE
</td>
<!-- AddThis Button END -->

you didn't put the ADDTHIS code inbetween here where it states it must go, looking at your source code you have left out <td class="vbmenu_control" id="addthis" nowrap="nowrap"> that goes before the ADDTHIS code and the </td> that goes after it.

DobieGillis? 03-31-2009 12:12 PM

Quote:

Originally Posted by F0xy (Post 1780966)
Code:

<!-- AddThis Button BEGIN -->
<td class="vbmenu_control" id="addthis" nowrap="nowrap">
ADD THE ADDTHIS or SHARETHIS CODE HERE
</td>
<!-- AddThis Button END -->

you didn't put the ADDTHIS code inbetween here where it states it must go, looking at your source code you have left out <td class="vbmenu_control" id="addthis" nowrap="nowrap"> that goes before the ADDTHIS code and the </td> that goes after it.

aha! That's it...

DobieGillis? 03-31-2009 12:17 PM

Installed!

jayzy1 03-31-2009 03:18 PM

Working now Thanks!

F0xy 04-01-2009 12:20 PM

great to hear lads

frogster 04-02-2009 06:41 PM

Quote:

Originally Posted by F0xy (Post 1778833)
I'll look into those other locations and let you know

to sort your other problem

did you add the code ABOVE this

Code:

<td class="vbmenu_control" id="threadtools" nowrap="nowrap">

Hi,

Yes I added the code above that...any other solution?

Thanks.

F0xy 04-03-2009 07:27 AM

Quote:

Originally Posted by frogster (Post 1782578)
Hi,

Yes I added the code above that...any other solution?

Thanks.

you haven't done this part right https://vborg.vbsupport.ru/showpost....6&postcount=21

if your still stuck then pm me your SHOWTHREAD template code.

Keesa 04-05-2009 12:25 AM

This is a great mod. Addthis has the flexibility and is way less obnoxious that twitthis.

Also love that users can print the topic.

5 stars.

whitetigergrowl 04-05-2009 01:57 AM

Whenever i hover over one of the social network names or images, everything in the box shifts. If you do the right hand side its fine. Try the left hand side and everything sifts. Any idea why?

FYI I'm having this happen in the latest Firefox.

Brandon Sheley 04-05-2009 03:01 AM

I've never added this mod to my forums, but I do have a few sites with the addthis widget setup, it's a great piece of code :)

zefyx 04-08-2009 12:50 AM

Thanks!

F0xy 04-09-2009 07:21 PM

no worries lads, please remember to click install

basilrath 04-10-2009 12:55 PM

This has a bug within it ..........

If you go to the specific thread and quickly move to the bookmarks explorer (in my case ie7) crashes and closes down with an error "internet explorer cannot open http://yoursite.com/showthread 123456"

this does not seem to happen when the you leave for a 20 seconds or so........

F0xy 04-10-2009 03:42 PM

Quote:

Originally Posted by basilrath (Post 1788178)
This has a bug within it ..........

If you go to the specific thread and quickly move to the bookmarks explorer (in my case ie7) crashes and closes down with an error "internet explorer cannot open http://yoursite.com/showthread 123456"

this does not seem to happen when the you leave for a 20 seconds or so........

your problem has nothing to do with this hack.

Ogmuk 05-10-2009 08:52 AM

Quote:

Originally Posted by basilrath (Post 1788178)
This has a bug within it ..........

If you go to the specific thread and quickly move to the bookmarks explorer (in my case ie7) crashes and closes down with an error "internet explorer cannot open http://yoursite.com/showthread 123456"

this does not seem to happen when the you leave for a 20 seconds or so........

Yep, that's why I'm using ShareThis instead. It appears to be a limitation with AddThis' API.

basilrath 05-11-2009 09:14 AM

Quote:

Originally Posted by F0xy (Post 1788285)
your problem has nothing to do with this hack.

i have installed ie 8 and the problem has gone so im sorry to say it seems to be a problem with some browsers.

HighRollerX 05-12-2009 09:41 PM

This code hack is not hacking it in 3.8.2...That <td class line does not exist in the SHOWTHREAD! Help...

EagleNick 05-12-2009 11:19 PM

Nice. I implemented this myself and never thought to release it as a template mod.
Ah well, nice work! ;)

anjaan7979 07-09-2009 10:03 PM

I added ShareThis but here is one problem:

When you share the link the with someone it uses the last post link and not the first post / thread link. Does anyone know how to fix this?

Thank you

slobra 08-22-2009 05:33 PM

Does anyone know how to make this visible to guests? Works great when logged in but not as a guest.

Marked as installed!

Edit: Nevermind, just remembered how to do it. FYI this shows it to the usergroups listed (in this case anyone who visits the site)...

Code:

<if condition="is_member_of($bbuserinfo, 1, 2, 3, 4, 5, 6, 7)">
<!-- AddThis Button BEGIN -->
<td class="vbmenu_control" id="addthis" nowrap="nowrap">
<a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;pub=ADDTHIS_USERNAME"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js?pub=ADDTHIS_USERNAME"></script>
</td>
<!-- AddThis Button END -->
</if>



All times are GMT. The time now is 05: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.01390 seconds
  • Memory Usage 1,837KB
  • 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
  • (10)bbcode_code_printable
  • (2)bbcode_html_printable
  • (16)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