Pro_News and Social Networking - e.g. Digg, Facebook, etc.

For everything else related to Pro_News - tips, tricks, your new ways to use and extend it. A place to exchange ideas and explore future possibilities.
  
12 Apr '08 Sat Apr 12, 2008 17:36    
layingback
Site Admin  
  •  

Post Pro_News and Social Networking - e.g. Digg, Facebook, etc.

NB: THIS APPLIES TO Pro_News VERSION 2.2.0.0 ONLY!

Starting with version 2.2.0.0 Pro_News has a hook included with the Full Article display to enable the optional use of Digg It! and similar posts.

I have drawn up a sample piece of HTML which I think will allow linking into many of these sites. However, as I don't use them, I've not tested them, and I have no intention of supporting them. But if anyone wants to include this code in one of the templates, and give it a whirl, I'd be interested in seeing and hearing of the results.

Take the HTML code in the attached text file, and insert it in an article template under the newsarticle section, just after the last 'ENDIF', and before the 'END newsarticle' line. As an example, for indexabl.html this would be at 285 line for this release:

Code:
<!-- ENDIF -->
{ insert goes here }
<!-- END newsarticle -->



This sample code includes blinklist, delicious, digg, facebook, furl, google, magnolia, reddit, simpy, spurl, stumble, technorati, yahoomyweb and wink. I doubt anyone wants that many, but it's a little easier to delete unwanted ones, than add new ones! It should also not be hard to add additional ones, as they mostly fall into 1 of about 3 styles of call. To add new icons, place 16 x 16px images in the same folders as the others (included in the 2.2.0.0 release) - and please consider posting the how-to back here for others.

Enjoy! I hope it works! Wink



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)

2.6.32 / 1.3 - 2.4 / 5.5 - 5.6 / 5.4 - 5.5 / 9.4

 
 
 
 
  
12 Apr '08 Sat Apr 12, 2008 22:12    
hadi00
Translator  Translator
  •  

Post Re: Pro_News and Social Networking - e.g. Digg, Facebook, et

Thnx alot , i have been asked many times about that !
thnx again..


_________________

A little knowledge is a dangerous thing!




hadi00 please enter your server specs in your user profile! Crying or Very sad  
 
 
 
  
17 Apr '08 Thu Apr 17, 2008 16:05    
layingback
Site Admin  
  •  

Post Re: Pro_News and Social Networking - e.g. Digg, Facebook, et

An update: addition of Slashdot and newsvine, along with their icons.

No feedback yet... Anyone used or tested thesed these yet? Please advise.

TIA



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)

2.6.32 / 1.3 - 2.4 / 5.5 - 5.6 / 5.4 - 5.5 / 9.4

 
 
 
 
  
14 Jun '08 Sat Jun 14, 2008 15:59    
layingback
Site Admin  
  •  

Post Re: Pro_News and Social Networking - e.g. Digg, Facebook, et

hadi00, (or anyone else),

Did you ever get to install the social networking samples? How did they work out?

TIA!



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)

2.6.32 / 1.3 - 2.4 / 5.5 - 5.6 / 5.4 - 5.5 / 9.4

 
 
 
 
Link  QR 
Share this Printer Friendly Page  facebook   google+   linkedin   twitthis  
Show more ...



Forum Permissions - 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 cannot attach files in this forum
You cannot download files in this forum