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)
-   -   Social Group and Album Enhancements - "Share" Button in NavBar and Showthread (links to over 200 social networking sites) (https://vborg.vbsupport.ru/showthread.php?t=219472)

Saint_I_Am 08-16-2009 03:50 AM

thanks, will install in a few days

zelnik 08-16-2009 07:24 AM

what does it do that this: https://vborg.vbsupport.ru/showthread.php?t=209507 does not?

thanks

bmckinley 08-16-2009 12:20 PM

Quote:

Originally Posted by zelnik (Post 1868351)
what does it do that this: https://vborg.vbsupport.ru/showthread.php?t=209507 does not?

thanks


Nothing different as far as I can see. Did not find previous when looking at Temp Mods. They both do the same thing.

Also, some may want to disable the hover over opening of the links window...sometimes it can be annoying when it seems to just open even if you just get close to it...here's how:

Within your www.addthis.com code, locate and REMOVE the following:

HTML Code:

onmouseover="return addthis_open(this, '', '[url]', '[TITLE]')" onmouseout="addthis_close()"
You can still click to open the "Share Links" window, but it won't just pop open on hover.

BettorsTalk.com 09-17-2009 11:41 PM

On the following code:

<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>

Are you saying to replace the above code starting at:

<a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>

with the addthis code?

bmckinley 09-21-2009 01:02 PM

Insert below, do not replace.

Hostboard 09-24-2009 02:31 PM

Pretty kewl though I recommend users get their own link. I also used TMS and placed this in to my showthread_bookmarks template so the links appear where they normaly do as not to confuse the end users.

If anyone needs a hand placing it there feel free to let me know. I did not want to hijack the authors modification.

Good job :up:

bmckinley 09-25-2009 01:13 AM

Please feel free to "hijack"...that's what this forum is about. The more and unique uses the better. Please post your code adjustments for all to share.

Hostboard 09-25-2009 10:47 AM

Thank you...

First off I highly recommend using TMS
https://vborg.vbsupport.ru/showthread.php?t=152931

This will allow you to install mods like this but yet not manualy make any template changes which then allows for much easier upgrades without getting the out of date custom template messages. Uninstalling is as easy as disabling or deleting the TMS entry. No more reverting and pooring over code for changes!

So to place this in the Bookmarks section of your site (Manualy):

1. In your ACP under VBulletin options go to the Social Bookmark manager. Disable everything (uncheck) EXCEPT for 1 item. I left Google checked.

2. Find the showthred_bookmark template

Find:
Code:

<if condition="$bookmarksite['iconpath']">
  <a href="$bookmarksite[link]" target="socialbookmark"><img src="$stylevar[imgdir_misc]/$bookmarksite[iconpath]" border="0" alt="<phrase 1="$bookmarksite[title]">$vbphrase[submit_thread_to_x]</phrase>" class="inlineimg" /></a>
 </if>
 <a href="$bookmarksite[link]" target="socialbookmark" style="text-decoration:none">$bookmarksite[title]</a>

Replace with the code you get from the site as noted in the authors post.

Thats it.

VB1r@n 09-25-2009 11:00 AM

i will try.
thank

realdx 09-25-2009 02:59 PM

To somebody knowledge, is it possible to configure the button to share only on Facebook? thanks! great hack!!


All times are GMT. The time now is 10:00 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.01161 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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