PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

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

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
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

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

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

Cheers
View user's profile Send private message
NeapolitanWorld
Involved
Involved


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

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

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 to the forums!
View user's profile Send private message Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

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

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).
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

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

I also have been to the addtoany site but need a bit more knowledge to incorporate it into the forum.
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1535
Location: North Carolina

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

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
View user's profile Send private message Send e-mail Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

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

Works I guess, at least the test worked to send the current post. Thanks
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

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

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
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1535
Location: North Carolina

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

What ever page they are on would be the one that is used.
View user's profile Send private message Send e-mail Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

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

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
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1535
Location: North Carolina

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

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.
View user's profile Send private message Send e-mail Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

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

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


Joined: Mar 11, 2005
Posts: 62

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

Hi!

Did anyone ever tried to make auto post new story to twitter account?
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1535
Location: North Carolina

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

The easiest way to do that is with
Only registered users can see links on this board!
Get registered or login to the forums!
It takes you rss feeds and updates your twitter.
View user's profile Send private message Send e-mail Visit poster's website
unicornio
Involved
Involved


Joined: Aug 13, 2009
Posts: 432

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

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 unicornio on Fri Nov 13, 2009 8:26 am; edited 1 time in total
View user's profile Send private message
unicornio
Involved
Involved


Joined: Aug 13, 2009
Posts: 432

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

Nuken, If I want to center all these code I shoud use td align?
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1535
Location: North Carolina

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

That is how I centered it on my forums.
View user's profile Send private message Send e-mail Visit poster's website
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1535
Location: North Carolina

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

That is how I centered it on my forums.
View user's profile Send private message Send e-mail Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

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

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


Joined: Mar 11, 2005
Posts: 62

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

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 to the forums!
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

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

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 Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

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

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


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

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

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 to the forums!
View user's profile Send private message Send e-mail Visit poster's website
kenno
Worker
Worker


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

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

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 to the forums!


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
Worker
Worker


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

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

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 Visit poster's website Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum