Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

Reply
 
Thread Tools
Submit threads, blogs, articles to facebook, twitter, myspace and others - addtoany Details »»
Submit threads, blogs, articles to facebook, twitter, myspace and others - addtoany
Version: 1.00, by TrailRecon TrailRecon is offline
Developer Last Online: May 2011 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.0.1 Rating:
Released: 02-11-2010 Last Update: Never Installs: 248
Template Edits
 
No support by the author.

Just thought I would share a way I found for your members to submit threads to any social networking site like facebook, Twitter, digg...any of them!


-----------------------------------------------------------------------------------------

To add this code, you will need to edit your "ShowThread" template.


Go to: Admincp>Styles & Templates>Style manager>Edit templates>Show Thread templates>SHOWTHREAD


In the SHOWTHREAD template, Find:
Code:
<div id="thread_controls" class="thread_controls">
<div>


And below that, add this code:
Code:
<a class="a2a_dd" href="http://www.addtoany.com/share_save"><img src="http://static.addtoany.com/buttons/share_save_171_16.png" width="171" height="16" border="0" alt="Share/Bookmark"/></a><script type="text/javascript">a2a_show_title=1;a2a_num_services=14;</script><script type="text/javascript" src="http://static.addtoany.com/menu/page.js"></script>

If you would like to customize the button code, go to www.addtoany.com


Anyway, that is it! very simple, light weight and effective! Enjoy!




Here you will find a demo --> CLICK HERE













EDIT:

If you would like to add this to the CMS articles, see post #8 HERE

If you would like to add this to blogs, see post #16 HERE








.

Screenshots

File Type: jpg share.jpg (69.9 KB, 0 views)
File Type: jpg Collapsed.jpg (20.0 KB, 0 views)
File Type: jpg expanded.jpg (29.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #132  
Old 05-21-2011, 04:36 AM
togotutor togotutor is offline
 
Join Date: May 2011
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Reply With Quote
  #133  
Old 06-02-2011, 11:55 PM
edie edie is offline
 
Join Date: Apr 2011
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this:
It aligns the Social Network icon to the left of your thread, AND as an added bonus, I've added in the new "Google+" directly below it.
.
- Edith Williams www.DancerHangout.com
__________________________________________________ ________

<!-- AddToAny BEGIN -->

<a class="a2a_dd" href="http://www.addtoany.com/share_save"><img

src="http://static.addtoany.com/buttons/share_save_171_16.png"

alt="Share/Bookmark" width="171" height="16" border="0" align="left"/></a><script

type="text/javascript">a2a_show_title=1;a2a_num_services=14;</script><script type="text/javascript"

src="http://static.addtoany.com/menu/page.js"></script>
<!-- AddToAny END -->


<script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script>
<glusone></glusone>



It works!
Reply With Quote
  #134  
Old 06-03-2011, 11:14 PM
Gene Steinberg Gene Steinberg is offline
 
Join Date: Dec 2006
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not quite there. It adds an extra line space after the AddToAny drop-down menu, so the entire area suddenly becomes deeper.

Can you visualize this?

It should align on the baseline with the navigation links on the right. It doesn't.

Peace,
Gene
Reply With Quote
  #135  
Old 06-04-2011, 06:54 PM
edie edie is offline
 
Join Date: Apr 2011
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Gene,
Go to www.dancerhangout.com
See header.+
I placed it in my "header" this time.

It's below my banner - don't know if I like it but is that where you want it?

- Edie
+
Reply With Quote
  #136  
Old 06-04-2011, 06:57 PM
edie edie is offline
 
Join Date: Apr 2011
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FWIW, the code here is better than what is on the actual AddToAny website.
Here it picks up the titles " automatically".
On the AddToAny website it does not.
-Edie Williams
Reply With Quote
  #137  
Old 06-04-2011, 07:26 PM
Gene Steinberg Gene Steinberg is offline
 
Join Date: Dec 2006
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by edie View Post
Gene,
Go to www.dancerhangout.com
See header.+
I placed it in my "header" this time.

It's below my banner - don't know if I like it but is that where you want it?

- Edie
+
Nope, I want it where it went originally, only on the same level (baseline) as the labels (buttons) on the right. Right now it's above them, and it doesn't look right.

Peace,
Gene
Reply With Quote
  #138  
Old 06-15-2011, 08:23 PM
4Play 4Play is offline
 
Join Date: Jun 2011
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Props! Took only seconds to load and works flawlessly. Much appreciated!
Reply With Quote
  #139  
Old 06-28-2011, 05:21 AM
shzad1 shzad1 is offline
 
Join Date: Jul 2008
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks and Worked Perdfect
Reply With Quote
  #140  
Old 08-07-2011, 10:01 PM
ewebdesigner ewebdesigner is offline
 
Join Date: Dec 2010
Location: Tennessee
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

On my forum it is not on the left of the forum it is more the the center. Please see http://www.nichemoz.com.

Any suggestions?
Reply With Quote
  #141  
Old 10-14-2011, 01:47 PM
Omniverse Omniverse is offline
 
Join Date: Mar 2011
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having the same problem as others, seen here: http://www.omniverse101.com/forum/sh...ind-Control%29

I just would like to have this on the bottom of the bar it's on(or centered), and also on the left of the panel not where it is now(in the middleish area).

I read the post about 'experimenting' with it anywhere on the template.... Well... I have no clue how to do that. I'd really appreciate someone just posting a very small edit to the coding of this, for new users to have it aesthetically pleasing (for 4.1.x). Either way I'll still use it unless I find a better one. But it would sure look better if a good samaritan here (who knows what they are doing) would code it for VB 4.1.x forums to be more visually pleasing.

Thanks
-Omni
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:50 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.04781 seconds
  • Memory Usage 2,328KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete