Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
dad7732
RavenNuke(tm) Development Team



Joined: Mar 18, 2007
Posts: 1242

PostPosted: Mon Nov 02, 2009 7:28 am Reply with quote

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
 
View user's profile Send private message
dad7732







PostPosted: Mon Nov 02, 2009 8:24 am Reply with quote

Just noticed ... something along the lines of what is now included in Content Plus but available in the forums.

Cheers
 
NeapolitanWorld
Involved
Involved



Joined: Nov 06, 2005
Posts: 339
Location: Los Angeles, USA

PostPosted: Mon Nov 02, 2009 8:37 am Reply with quote

Go to the bottom of this page for Socialbook marking topic by Raven:
[ Only registered users can see links on this board! Get registered or login! ]

_________________
My Raven Site Neapolitan Mastiff 
View user's profile Send private message
dad7732







PostPosted: Mon Nov 02, 2009 9:05 am Reply with quote

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







PostPosted: Mon Nov 02, 2009 9:32 am Reply with quote

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

PostPosted: Mon Nov 02, 2009 6:46 pm Reply with quote

An easy way is to go into your themes forum folder and find overall_header.tpl and add something like this
Code:
<tr><td><a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;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

_________________
Tricked Out News 
View user's profile Send private message Send e-mail Visit poster's website
dad7732







PostPosted: Mon Nov 02, 2009 7:29 pm Reply with quote

Works I guess, at least the test worked to send the current post. Thanks
 
dad7732







PostPosted: Mon Nov 02, 2009 7:34 pm Reply with quote

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







PostPosted: Mon Nov 02, 2009 8:06 pm Reply with quote

What ever page they are on would be the one that is used.
 
dad7732







PostPosted: Mon Nov 02, 2009 8:21 pm Reply with quote

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. Smile

Cheers
 
nuken







PostPosted: Mon Nov 02, 2009 8:29 pm Reply with quote

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







PostPosted: Mon Nov 02, 2009 8:57 pm Reply with quote

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. Smile
 
Lucifix
Regular
Regular



Joined: Mar 11, 2005
Posts: 67

PostPosted: Thu Nov 12, 2009 2:13 am Reply with quote

Hi!

Did anyone ever tried to make auto post new story to twitter account?
 
View user's profile Send private message
nuken







PostPosted: Thu Nov 12, 2009 5:53 am Reply with quote

The easiest way to do that is with [ Only registered users can see links on this board! Get registered or login! ] It takes you rss feeds and updates your twitter.
 
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm



Joined: Aug 13, 2009
Posts: 1122

PostPosted: Thu Nov 12, 2009 6:14 am Reply with quote

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&amp;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 
View user's profile Send private message
hicuxunicorniobestbuildpc







PostPosted: Thu Nov 12, 2009 6:26 am Reply with quote

Nuken, If I want to center all these code I shoud use td align?
 
nuken







PostPosted: Thu Nov 12, 2009 8:16 am Reply with quote

That is how I centered it on my forums.
 
nuken







PostPosted: Thu Nov 12, 2009 8:17 am Reply with quote

That is how I centered it on my forums.
 
dad7732







PostPosted: Thu Nov 12, 2009 8:41 am Reply with quote

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







PostPosted: Thu Nov 12, 2009 8:54 am Reply with quote

If anyone is interesting in social bookmarks you can check my site and if you like it i'll post tutorial here.

Demo link (look for icon Image) [ Only registered users can see links on this board! Get registered or login! ]
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Thu Nov 12, 2009 6:02 pm Reply with quote

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.
 
View user's profile Send private message Send e-mail
dad7732







PostPosted: Thu Nov 12, 2009 6:11 pm Reply with quote

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







PostPosted: Thu Nov 12, 2009 6:19 pm Reply with quote

What I use on my site works ok but it posts the link to the topic, not individual posts. [ Only registered users can see links on this board! Get registered or login! ]
 
kenno
Worker
Worker



Joined: Jul 26, 2009
Posts: 117
Location: Scunthorpe, UK

PostPosted: Tue Nov 24, 2009 4:53 pm Reply with quote

Guardian2003 wrote:
What I use on my site works ok but it posts the link to the topic, not individual posts. [ Only registered users can see links on this board! Get registered or login! ]


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
 
View user's profile Send private message
jlajax
Ardent RavenCMS Supporter



Joined: Oct 12, 2006
Posts: 244
Location: Jacksonville, Florida

PostPosted: Thu Nov 26, 2009 3:32 pm Reply with quote

dad7732 wrote:
I DO like it in ContentPlus tho. Smile

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.

RavensScripts
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©