![]() |
Submit threads, blogs, articles to facebook, twitter, myspace and others - addtoany
1 Attachment(s)
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"> 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 https://vborg.vbsupport.ru/attachmen...8&d=1265998303 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 . |
Mate thats class..installed nice and easily ..looks a1..cheers pal
|
Quote:
|
|
Fantastic mod! I've got it installed.
|
..is this work in CMS,if I whant to share a article?...
|
Quote:
|
1 Attachment(s)
Quote:
That is a great idea! I added it to the article pages! Here is a DEMO: CLICK HERE If you wanna do it this same way... Go to the "vbcms_content_article_page" template Find: Code:
<vb:if condition="$comment_block"> And below that </div> tag add the button 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> Just did some testing on my site but in a bunch of configurations it appears to be trouble free https://vborg.vbsupport.ru/external/2010/10/14.jpg |
This is a great MOD job well done. How can I add this to my BLOG. I added it to the CMS BINGO! Works great.
|
thank prefect
|
not way to show this on all replies..and share what message i want?
|
Quote:
|
Quote:
|
Thanks for this :)
|
thanks!!!
|
Quote:
Go to the "blog_show_entry" template. Find: Code:
{vb:raw bookmarksites} One thing to note, this will only display in that location if bookmarks are turned ON in the admin cp settings. If bookmarks are turned on I think it looks best there If you would like to have this button in the blogs but DO NOT want to have the bookmarks turned on, you would need to move it outside that conditional statement. So instead... find: Code:
<div class="blogcontrol fly"> |
Quote:
this mod only submit threads to facebook, but no replies? |
Quote:
I will start looking into a way to share individual posts but this one won't do it |
Quote:
|
very very nice... thanks
|
Is there a way it could link to the thread that you are using the mod for. Meaning if I am in one thread, and I click say "twitter" I noticed it only posts my forums name and a link to the website, but didn't mention nothing about the thread.
|
Quote:
|
Quote:
|
Brillant - so easy to install on my vb4.02 test site.
Tested it to twitter & facebook with a thread headed 'Please ignore - test only' and not only did it work, but needless to say dozens of people clicked on the link - lol. :D Thanks very much for this. :) |
Quote:
Installed and it looks great! :) Question: Where do I turn on the bookmarks in vB? I searched, yet can't find it. Thanks for the work! Much appreciated :) :) |
In the admin CP, along the left side menu, click on the one called settings to expand it. one of the sub menus is "social Bookmarking manager"
|
Is there anyway this could be used for events listed in the calendars?
This would be well handy as my site is a local community what's on site. Thanks in advance for any help. :) |
how can i customize language?
instead of show Share/Save i want to show "SHARE THIS POST" Instructions to translate this button are the next: Quote:
on faq its not explained... somebody can help me? |
what language do you want?
|
I appologize, I can not wait any longer for a response...I will be back later.
I think this will give you the idea about how to manually do the language Code:
<a class="a2a_dd" href="http://www.addtoany.com/share_save"> However, there is a MUCH simpler way to change the language, Go to the customize button here: http://www.addtoany.com/buttons/ You will see a selection for "more options" After clicking that you can choose your language and will not need to fill it out manually. I have not had a chance to look into changing the text on the button. I do not know that it is possible...but feel free to look. You will l need to read through their FAQ and maybe search the web. you prolly have to host their js or API files locally to do that but you may first want to look into their TOS before doing so. |
i know i can change language, but what i need is to change the button text "Share/Save" to something more "friendly"
so..no way to change that :( |
Quote:
Thanks for your work!! QuickQuestion: I just went to 'share' a thread via Facebook, and the information that appeared in Facebook was pointing to my website address... yet there was no text of the thread, or a direct link to the thread. Just a link to the website's homepage. Do I have something mis-configured? Thanks for the help TrailRecon... it is very much appreciated!! :up::up: |
Quote:
Yes...you can. It is simply an image. See this part of the code Code:
<img src="http://static.addtoany.com/buttons/share_save_171_16.png" border="0" alt="Share"/> http://www.flickr.com/groups/addtoany_buttons/pool/ So in other words. yes, create a new image for the button. Host it wherever you choose then change the code above to point to the location of the newly created button |
Quote:
Does this sound like what you experienced? If not, let me know and I will look at what is happening Quote:
|
Quote:
I'm going to get on that, and will update later tonight (running out the door at the moment). Will follow-up on how it went :) Have a great day!! -- AJ :) . |
Quote:
|
Quote:
|
Quote:
soryy, bit of a rush right now but this should work well for you. Navigate to your CALENDAR template: find: Code:
<body> Code:
<span style="float: right;"><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></span> problem is, this button grabs the page title...not the content such as posts which is how it treats calendar events. So this will put the button on the page but if a user clicks it, it will only auto fill out the comment as the page titkle and they would have to type the comment they like...i do not think there is a way (with this mod) to have the event title captured by the button buut I can look into it when I have some more time |
Nice! This will be a great addition to any forum! Thanks for the find!
|
Any way to make this work for albums and groups?
|
All times are GMT. The time now is 02:07 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|