Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

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
  #122  
Old 05-06-2011, 08:44 PM
edie edie is offline
 
Join Date: Apr 2011
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do you make it appear at the "top" of the Blog post?
- Edith Williams
Reply With Quote
  #123  
Old 05-10-2011, 05:30 AM
TeknoSounds TeknoSounds is offline
 
Join Date: Nov 2006
Location: TX
Posts: 435
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by edie View Post
In the SHOWTHREAD template, I never found the following:

Code:
<div id="thread_controls" class="thread_controls">
<div>



I am using the latest VBulletin version 4.1.3.

Can you help? Are you still supporting this? I am interested in adding Twitter to my Articles and Blogs - not just in the Forums.

PS: Your demo link does not work. It goes to a Godaddy site.

- Edith Williams wowedie@yahoo.com

Thank you.
Just stick it in random spots until you find the place you want for it to go. Look for visual clues such as links and variable names to give you an idea of where in the template you're inserting it.
Reply With Quote
  #124  
Old 05-10-2011, 01:21 PM
edie edie is offline
 
Join Date: Apr 2011
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

In the SHOWTHREAD template, I could not Find the following:
Code:
<div id="thread_controls" class="thread_controls">
<div>
___________________________________

I see only the part in red, but not the rest.

This is what I find:
<div id="thread_controls" class="thread_controls toolsmenu">
<div>

What do you think is the problem? Should I just stick your code under there?

- Edie Williams
Reply With Quote
  #125  
Old 05-11-2011, 01:12 AM
TeknoSounds TeknoSounds is offline
 
Join Date: Nov 2006
Location: TX
Posts: 435
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that should be the spot, see how similar it is? its just been updated at some point, and the initial post was (nor will be, as this mod is unsupported) not updated to follow.
Reply With Quote
  #126  
Old 05-16-2011, 06:50 AM
crazyboy1661 crazyboy1661 is offline
 
Join Date: Jan 2011
Location: India
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi TrailRecon, can you tell me how can i do align it to left?
m using 4.1.3
waiting for your reply...

Reply With Quote
  #127  
Old 05-18-2011, 01:52 PM
crazyboy1661 crazyboy1661 is offline
 
Join Date: Jan 2011
Location: India
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No reply yet??????????
Reply With Quote
  #128  
Old 05-18-2011, 03:59 PM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by crazyboy1661 View Post
No reply yet??????????
The guy hasn't been back on this site since Dec of last year and his own site has expired so, that's why "No reply yet??????????"
Reply With Quote
  #129  
Old 05-19-2011, 03:12 AM
TeknoSounds TeknoSounds is offline
 
Join Date: Nov 2006
Location: TX
Posts: 435
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's an unsupported mod anyway, had been from the start.
Tho, its really not complicated, all he did was use the addtoany site to create the bar, then just found where to drop it in the template.
You can put this anywhere...just experiment with putting it in different places in the template till you find where you want it to go.
Reply With Quote
  #130  
Old 05-20-2011, 03:43 PM
crazyboy1661 crazyboy1661 is offline
 
Join Date: Jan 2011
Location: India
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks garyT. Its Okey.

Quote:
Originally Posted by GaryT View Post
The guy hasn't been back on this site since Dec of last year and his own site has expired so, that's why "No reply yet??????????"
Reply With Quote
  #131  
Old 05-20-2011, 03:45 PM
crazyboy1661 crazyboy1661 is offline
 
Join Date: Jan 2011
Location: India
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

TeknoSounds, thanks mate. I'll try it on my own way.

Thanks again:up:

Quote:
Originally Posted by TeknoSounds View Post
It's an unsupported mod anyway, had been from the start.
Tho, its really not complicated, all he did was use the addtoany site to create the bar, then just found where to drop it in the template.
You can put this anywhere...just experiment with putting it in different places in the template till you find where you want it to go.
Reply With Quote
Reply


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 06:28 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10207 seconds
  • Memory Usage 2,336KB
  • 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
  • (4)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
  • (4)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