ElkArte Community

Extending Elk => Addons => Topic started by: emanuele on December 04, 2014, 09:21:23 am

Title: [ADDON] Featured
Post by: emanuele on December 04, 2014, 09:21:23 am
Featured v0.0.1
Introduction
Just a very basic implementation of the "featured" feature ( :P ).
What does it mean?
Let's take a topic as an example, when you make the topic "featured" it will be shown "somewhere", for example at the moment a shorter version is shows at the top of the board index, see attachment for an example.

Why "basic"?
Because it's the work of about 3/4 hours of coding (most of them spent styling the carousel the way I wanted it), it lacks a tons of stuff.
At the moment it's possible to "feature" and "unfeature" a topic and the topic summary is displayed at the top of the board index, but nothing more.
The list of things to do includes (in random order):

License
o This ElkArte Addon is subject to the terms of the BSD "3-clause" license. You can obtain a copy of the License at http://opensource.org/licenses/BSD-3-Clause

Repository / Download
Title: Re: [ADDON] Featured
Post by: Jorin on December 04, 2014, 09:42:41 am
Quote from: emanuele – allow to insert an image and a summary of the featured "item"

Have you thought about the image used as a "featured image" should be an image attached to the featured post?

Oh, and I would not like my users to choose which featured topic they see or not. I would start with an option between "show featured topics" and "do not show featured topics".
Title: Re: [ADDON] Featured
Post by: emanuele on December 04, 2014, 07:40:52 pm
Quote from: Jorin –
Quote from: emanuele – allow to insert an image and a summary of the featured "item"
Have you thought about the image used as a "featured image" should be an image attached to the featured post?

Yes, it may be an option, I have to see what's the easiest way.
Title: Re: [ADDON] Featured
Post by: meetdilip on December 05, 2014, 04:04:51 am
Awesome !!!
Title: Re: [ADDON] Featured
Post by: Jorin on December 05, 2014, 04:06:26 am
Absolutely. Could be an alternative for blogs!
Title: Re: [ADDON] Featured
Post by: radu81 on December 09, 2014, 07:02:46 pm
I get an error while installing \sources/subs/Featurer.class.php   Modification parse error  ::)

I tried on wamp, Elkarte 1.0.1 with 3 mods installed: fancybox, google member map and ILA attachments.

I downloaded the zip from here: https://github.com/emanuele45/Featured (unzip and removed the folder that github create)

What could be?
Title: Re: [ADDON] Featured
Post by: Spuds on December 09, 2014, 08:37:36 pm
I bet @emanuele will blame copy and paste :P
Title: Re: [ADDON] Featured
Post by: radu81 on December 10, 2014, 02:45:14 am
Yeah, copy/paste on Suse it's not working fine ;)
Title: Re: [ADDON] Featured
Post by: emanuele on December 10, 2014, 02:56:20 am
Who the heck put a file that doesn't exist there? :P