Author |
Message |
dad7732
RavenNuke(tm) Development Team
Joined: Mar 18, 2007
Posts: 1242
|
Posted:
Mon Nov 02, 2009 7:28 am |
|
Have a client running RN 2.4 that wants to add the ability to "Tweet This", "Share on Facebook", "Digg", etc. Is this possible to add and if so, how?
Cheers |
|
|
|
|
dad7732
|
Posted:
Mon Nov 02, 2009 8:24 am |
|
Just noticed ... something along the lines of what is now included in Content Plus but available in the forums.
Cheers |
|
|
|
|
NeapolitanWorld
Involved
Joined: Nov 06, 2005
Posts: 339
Location: Los Angeles, USA
|
Posted:
Mon Nov 02, 2009 8:37 am |
|
|
|
|
dad7732
|
Posted:
Mon Nov 02, 2009 9:05 am |
|
I'm registered and cannot find where to download it. Screen is too dark and so on. The "you may download it here" just brings me back to the same screen with no download option(s). |
|
|
|
|
dad7732
|
Posted:
Mon Nov 02, 2009 9:32 am |
|
I also have been to the addtoany site but need a bit more knowledge to incorporate it into the forum. |
|
|
|
|
nuken
RavenNuke(tm) Development Team
Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Mon Nov 02, 2009 6:46 pm |
|
An easy way is to go into your themes forum folder and find overall_header.tpl and add something like thisCode:<tr><td><a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=xa-4aef7c0668c21aa3"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pub=xa-4aef7c0668c21aa3"></script>
</td></tr>
|
after the last </tr> tag |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
|
dad7732
|
Posted:
Mon Nov 02, 2009 7:29 pm |
|
Works I guess, at least the test worked to send the current post. Thanks |
|
|
|
|
dad7732
|
Posted:
Mon Nov 02, 2009 7:34 pm |
|
Hmm, the only problem I forsee is with a page of replies, etc. which one is emailed, facebooked, etc. or is there any way to select one out of the bunch ?
Cheers |
|
|
|
|
nuken
|
Posted:
Mon Nov 02, 2009 8:06 pm |
|
What ever page they are on would be the one that is used. |
|
|
|
|
dad7732
|
Posted:
Mon Nov 02, 2009 8:21 pm |
|
What I meant was that the share icon is at the top of a page of replies. In that case which reply is auto-selected .. the entire page? I can already see that this isn't going to work well with forum posts. I DO like it in ContentPlus tho.
Cheers |
|
|
|
|
nuken
|
Posted:
Mon Nov 02, 2009 8:29 pm |
|
When the link is clicked, what ever page is in the browser is the one that gets submitted to like twitter and such. If it submits a post like with facebook, it will usually take the first post on the page. |
|
|
|
|
dad7732
|
Posted:
Mon Nov 02, 2009 8:57 pm |
|
I tried it on a page with 6 posted replies and all 6 got emailed. I'm testing it by emailing to myself.
Thanks for sticking with this. |
|
|
|
|
Lucifix
Regular
Joined: Mar 11, 2005
Posts: 67
|
Posted:
Thu Nov 12, 2009 2:13 am |
|
Hi!
Did anyone ever tried to make auto post new story to twitter account? |
|
|
|
|
nuken
|
Posted:
Thu Nov 12, 2009 5:53 am |
|
|
|
|
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm
Joined: Aug 13, 2009
Posts: 1123
|
Posted:
Thu Nov 12, 2009 6:14 am |
|
What Nuken explained is for the header but it is also possible to put it on the footer
Quote: | <tr><td><a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=xa-4aef7c0668c21aa3"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pub=xa-4aef7c0668c21aa3"></script>
</td></tr> |
Open=*
* your ftp
* your themes folder
* the name of your theme
* forums folder
* overall_footer.tpl
Quote: | Paste the code above at the end of the last </tr> tag as Nuken said |
|
Last edited by hicuxunicorniobestbuildpc on Fri Nov 13, 2009 8:26 am; edited 1 time in total |
|
|
|
hicuxunicorniobestbuildpc
|
Posted:
Thu Nov 12, 2009 6:26 am |
|
Nuken, If I want to center all these code I shoud use td align? |
|
|
|
|
nuken
|
Posted:
Thu Nov 12, 2009 8:16 am |
|
That is how I centered it on my forums. |
|
|
|
|
nuken
|
Posted:
Thu Nov 12, 2009 8:17 am |
|
That is how I centered it on my forums. |
|
|
|
|
dad7732
|
Posted:
Thu Nov 12, 2009 8:41 am |
|
Ok, back to my problem - query. If I am looking at an original post with several replies on the same page, how do I select JUST the OP to share/email, etc? There is no way that I can see to single out a single post/reply seeing as how the button is non-specific at the top/bottom of each "page". How do you guys use this button in your "forums"? FAQS are different as only one is displayed. Content Plus has been absolutely wonderful with the AddToMany button on each entry, I use CP for FAQS.
Cheers |
|
|
|
|
Lucifix
|
Posted:
Thu Nov 12, 2009 8:54 am |
|
|
|
|
Guardian2003
Site Admin
Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Thu Nov 12, 2009 6:02 pm |
|
dad7732 wrote: | Ok, back to my problem - query. If I am looking at an original post with several replies on the same page, how do I select JUST the OP to share/email, etc? There is no way that I can see to single out a single post/reply seeing as how the button is non-specific at the top/bottom of each "page". |
If I'm understanding your query correctly, It would take a bit of work as most forum templates don't display the post id (viewtopic&p ) on the page so you would have to modify the template vars to pass that into the topic, perhaps as part of the post title. Should be easy enough after that. |
|
|
|
|
dad7732
|
Posted:
Thu Nov 12, 2009 6:11 pm |
|
Too much trouble for such a small feature/request .. I can get the script to run in my posts but then we create two problems:
1. It runs as a script and then it's blocked by NS
2. Disabling script blockers, the image is in the post but it still wants to share the entire thread.
Not gonna pursue this any longer ... Thanks |
|
|
|
|
Guardian2003
|
Posted:
Thu Nov 12, 2009 6:19 pm |
|
|
|
|
kenno
Worker
Joined: Jul 26, 2009
Posts: 117
Location: Scunthorpe, UK
|
Posted:
Tue Nov 24, 2009 4:53 pm |
|
That looks like a very good mod to have in your forums, how easy is this to implement to the forums, can it be downloaded anywhere, as I could not find a download on your own site
Thanks Kenno |
|
|
|
|
jlajax
Ardent RavenCMS Supporter
Joined: Oct 12, 2006
Posts: 244
Location: Jacksonville, Florida
|
Posted:
Thu Nov 26, 2009 3:32 pm |
|
dad7732 wrote: | I DO like it in ContentPlus tho.
Cheers |
It is da bomb in Content Plus to be sure. I also add it to News. It sure does generate a lot of hits when one adds the links to Facebook and MySpace. And other users seem to enjoy taking what they like to their facebook and myspace pages.
|
|
|
|
|
|