Toggle Content

Donations

Donate with PayPal!
Help support Pro_News and become a member of our Sponsors Group
The tip jar is at PayPal, but does not require a PayPal account
Anonymous $ 10.00
macavity $ 115.00
RedGerry £ 50.00
Anonymous $ 10.00
minor $ 20.00

Recommended ISP

Stop Software Patents

stopsoftwarepatents.eu petition banner

Link this Site

http://layingback.net Check our QR links

Forum Post Promotion

3.2 Forum ONLY: If you've run into a problem, such as an error message, blank page, or similar problem, this is where to look. Post any installation or other problems or questions here, and I and other users will try to help.
Reply to topicReply to topic Printer Friendly Page

Forum Post Promotion

Post Posted: Mon Feb 22, 2010 2:44 pm

Hi

Is it possible to promote a forum post to a Pro-News front page article ?

If so how ?

Cheers.



fishingfan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux,Apache2.2,mysql5,php5,dragonfly 9.2

fishingfan
Developer
Developer
 
Posts: 78
Joined: Oct 08, 2008

Re: Forum Post Promotion

Post Posted: Mon Feb 22, 2010 10:26 pm

Good to hear from you!

As Admin or Forum Moderator, yes.

But you have to install the hack first, to provide the link in Forums/ForumsPro (different hacks) to give you a button to click on. When done there should be a 6th icon by the delete, move, lock, split and merge ones. Hack has several steps, but that's just because of the way img's are handled in forums/phpBB.

Instructions in CHANGES.txt, and 4_EXTRAS/FORUM PROMOTE MOD/ along with an icon for dragonfly and, of course, one for reDesign2.



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback
Site Admin
Site Admin
 
Posts: 1229
Joined: Mar 18, 2006

Re: Forum Post Promotion

Post Posted: Tue Feb 23, 2010 6:06 pm

Excellent I'll make the changes.

Whilst I'm at it I've upgraded to you latest version. Seems to be no issues with it Razz . Apart from you still don't seem to have the Social Networking enabled on Headlines.

I'm now interested to note you have a Featured Content Slider, how do we go about using it ? Is it in one of the supplied templates ?

Or what should I be reading to find out ? Very Happy



fishingfan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux,Apache2.2,mysql5,php5,dragonfly 9.2

fishingfan
Developer
Developer
 
Posts: 78
Joined: Oct 08, 2008

Re: Forum Post Promotion

Post Posted: Tue Feb 23, 2010 6:20 pm

In reverse order:

CHANGES.txt

Changing from index2alb or index2gly to index2fcs template should get you the Featured Content Slider. Could not be easier!!! Note that you will need to hook to a Coppermine album, as the only differences between all 3 template is in how they handle photo albums.

Thought you'd done SN on headlines? I thought I added your code in - just not the actual SN links - but I may be mistaken. (But why do you want peeps to fav it before they've even read it? Confused )

There is a problem with latest beta version: it doesn't handle article order per section override for headlines correctly in some combos, but as long as you stay clear of that it should be fine.

Well on the way to an better version - more clean up mostly - but I still have to address the above problem Sad



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback
Site Admin
Site Admin
 
Posts: 1229
Joined: Mar 18, 2006

Re: Forum Post Promotion

Post Posted: Wed Feb 24, 2010 10:04 am

- layingback

There is a problem with latest beta version: it doesn't handle article order per section override for headlines correctly in some combos, but as long as you stay clear of that it should be fine.

Well on the way to an better version - more clean up mostly - but I still have to address the above problem Sad



And I'm looking forward to that! Laughing



rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.11/4.1.22/5.2.17/9.3.3.1

rosbif
BetaTester
BetaTester
 
Posts: 492
Joined: Aug 01, 2007
Location: Chantilly, France

Re: Forum Post Promotion

Post Posted: Wed Feb 24, 2010 12:31 pm

- layingback


Thought you'd done SN on headlines? I thought I added your code in - just not the actual SN links - but I may be mistaken. (But why do you want peeps to fav it before they've even read it? Confused )



I had added them in. And in answer to you question as some of my headlines are the entire story showing on front page.



fishingfan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux,Apache2.2,mysql5,php5,dragonfly 9.2

fishingfan
Developer
Developer
 
Posts: 78
Joined: Oct 08, 2008

Re: Forum Post Promotion

Post Posted: Wed Feb 24, 2010 12:45 pm

- fishingfan

And in answer to you question as some of my headlines are the entire story showing on front page.



Ahhhh! .... Idea

OK, so do you see your actual code changes in functions.php in the latest beta release? I know that the template doesn't support it, but I thought I added the extra template fields for you. Perhaps not...

Indeed I might be inclined to add it into a template under a !read-more conditional, which would then be a trivial change if you wanted it to always display.



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback
Site Admin
Site Admin
 
Posts: 1229
Joined: Mar 18, 2006

Re: Forum Post Promotion

Post Posted: Thu Feb 25, 2010 6:20 pm

No the changes that I outlined in this thread are not in the headline loop, I don't mind adding in the change manually if you don't want to add this in.

www.layingback.net/For...t=273.html



fishingfan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux,Apache2.2,mysql5,php5,dragonfly 9.2

fishingfan
Developer
Developer
 
Posts: 78
Joined: Oct 08, 2008

Re: Forum Post Promotion

Post Posted: Thu Feb 25, 2010 6:40 pm

Hmm, dunno what happened, 'cos I obviously thought I'd added them.

Anyway, I've added them now for the next release. And in home display as well for good measure.

Not that for latest versions with more integrated social network the lines should now be

PHP:
				'G_SOCIALNET' => $pnsettings['soc_net'],

'U_SOCNETLINK' => urlencode($BASEHREF.getlink("&aid=".$row['id'])),



The urlencode cleans up the & issues and gives a clean xHTML validation.


EDIT: And committed it to CVS!



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback
Site Admin
Site Admin
 
Posts: 1229
Joined: Mar 18, 2006

Re: Forum Post Promotion

Post Posted: Mon Mar 01, 2010 11:54 am

Great thanks. I'll update my files.



fishingfan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux,Apache2.2,mysql5,php5,dragonfly 9.2

fishingfan
Developer
Developer
 
Posts: 78
Joined: Oct 08, 2008
Link  QR  Share this Printer Friendly Page  facebook   myspace   twitthis  
Show more ...
Display posts from previous:   
Reply to topicReply to topic Page 1 of 1

3.2 Support

Jump to:  



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

All times are GMT






layingback Non-Human Terms of Use