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 - Submit to Twitter and Facebook (https://vborg.vbsupport.ru/showthread.php?t=228610)

Delilahs 12-15-2009 08:28 AM

It works with no problems on RC2

Bouncer222 12-26-2009 04:00 AM

Could you please tell me how to include the image for twitter? the small icon , like the one for facebook.

Thanks.

ericgtr 12-26-2009 01:29 PM

Quote:

Originally Posted by Bouncer222 (Post 1938411)
Could you please tell me how to include the image for twitter? the small icon , like the one for facebook.

Thanks.

Sure, have a look at this post https://vborg.vbsupport.ru/showpost....22&postcount=3 and please click install if you use this mod. :)

Bouncer222 12-26-2009 01:44 PM

The image showed up but now the text disappeared "Tweet This!" how do I make it appear?

ericgtr 12-26-2009 01:54 PM

Quote:

Originally Posted by Bouncer222 (Post 1938603)
The image showed up but now the text disappeared "Tweet This!" how do I make it appear?

Okay, give this a shot.. It should have both.

HTML Code:

                        <!-- Begin Share FB -->
                        <li class="popupmenu nohovermenu" id="sharefb">
                                <h6><a class="popupctrl" href="javascript://">Share</a></h6>
                                <ul class="popupbody popuphover">
                                        <!-- Facebook Share -->
          <li>
          <a name="fb_share" type="icon_link" href="http://www.facebook.com/sharer.php">Facebook</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
          </li>
          <!-- / Facebook Share -->
                                        <li>
          <!-- Twitter Share -->
          <script type="text/javascript">
          var twtTitle  = document.title;
          var twtUrl    = location.href;
          var maxLength = 140 - (twtUrl.length + 1);
          if (twtTitle.length > maxLength) {
          twtTitle = twtTitle.substr(0, (maxLength - 3))+'...';
          }
          var twtLink = 'http://twitter.com/home?status='+encodeURIComponent(twtTitle + ' ' + twtUrl);
          document.write('<a href="'+twtLink+'" target="_blank"'+'><img src="images/tweet.png"  border="0" alt="Tweet This!" /'+'>Tweet This!<'+'/a>');
          </script>
          <!-- / Twitter Share -->
          </li>
                                </ul>
                        </li>
      <!-- End Share FB -->


darkman 12-29-2009 06:09 PM

1 Attachment(s)
Quote:

Originally Posted by ericgtr (Post 1938608)
Okay, give this a shot.. It should have both.

HTML Code:

                        <!-- Begin Share FB -->
                        <li class="popupmenu nohovermenu" id="sharefb">
                                <h6><a class="popupctrl" href="javascript://">Share</a></h6>
                                <ul class="popupbody popuphover">
                                        <!-- Facebook Share -->
          <li>
          <a name="fb_share" type="icon_link" href="http://www.facebook.com/sharer.php">Facebook</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
          </li>
          <!-- / Facebook Share -->
                                        <li>
          <!-- Twitter Share -->
          <script type="text/javascript">
          var twtTitle  = document.title;
          var twtUrl    = location.href;
          var maxLength = 140 - (twtUrl.length + 1);
          if (twtTitle.length > maxLength) {
          twtTitle = twtTitle.substr(0, (maxLength - 3))+'...';
          }
          var twtLink = 'http://twitter.com/home?status='+encodeURIComponent(twtTitle + ' ' + twtUrl);
          document.write('<a href="'+twtLink+'" target="_blank"'+'><img src="images/tweet.png"  border="0" alt="Tweet This!" /'+'>Tweet This!<'+'/a>');
          </script>
          <!-- / Twitter Share -->
          </li>
                                </ul>
                        </li>
      <!-- End Share FB -->


Thanks for the help, but copying the above code and inserting it gave me this:

ericgtr 12-29-2009 10:06 PM

Quote:

Originally Posted by darkman (Post 1941740)
Thanks for the help, but copying the above code and inserting it gave me this:

Did you find a new image and add your /images directory? Please look at this post again https://vborg.vbsupport.ru/showpost....22&postcount=3

bleros 12-29-2009 11:28 PM

is this work for 3.8.4

ericgtr 12-30-2009 12:50 AM

Quote:

Originally Posted by bleros (Post 1941995)
is this work for 3.8.4

Sure, here you go https://vborg.vbsupport.ru/showthread.php?t=217117

darkman 12-30-2009 02:57 AM

Quote:

Originally Posted by ericgtr (Post 1941929)
Did you find a new image and add your /images directory? Please look at this post again https://vborg.vbsupport.ru/showpost....22&postcount=3

Never mind me...I'm an idiot. Thanks again :)


All times are GMT. The time now is 09:54 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.01252 seconds
  • Memory Usage 1,757KB
  • 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
  • (2)bbcode_html_printable
  • (6)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