[ADDON][beta] Topic Prefix May 14, 2014, 06:06:12 pm Topic Prefixes v0.0.3IntroductionThis addons introduces (guess what?) the topic prefixes feature.Each topic can be "tagged" with a prefix that will be displayed next to the subject of the topic in several places around the forum.The admin can create new prefixes and can apply custom styles to them (there is a simple web-interface for that, but it works only for the default theme of the board, and only if the "custom.css" file is present in the root of the theme).The current version (v0.0.3) is still a beta, some things are not yet implemented (permissions) and others may be broken.Currently working features are: adding/modifying prefixes to a topic showing prefixes in some places (MessageIndex and Display) list of topics with a certain prefix list of prefixes present in a certain board (above the list of messages) filter topics in a board by prefix (based on the list of prefixes in the board) admin interface to actually create and edit prefixesMissing for first release: list of all prefixes (I'm working on that) permissions show prefixes "everywhere"Future plans: multiple prefixes per topic merge with tags addon with a switch to decide if a tag is a prefix or a tag or something like that? any suggestion that would come up in the topicIf you are comfortable with development you are welcome to give your contribution! (In that case feel free to adapt the headers of the files accordingly.)The repo is here at the moment:https://github.com/emanuele45/TopicPrefixLicenseo 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-ClauseRepository / DownloadLatest version downloadRepository (source code)old releases
Re: [ADDON][W.I.P.] Topic Prefix Reply #1 – May 14, 2014, 06:41:42 pm Great work, would there be a way to style the prefixes from the acp.
Re: [ADDON][W.I.P.] Topic Prefix Reply #3 – May 15, 2014, 02:40:47 am Quote from: Allan – May 14, 2014, 06:41:42 pmGreat work, would there be a way to style the prefixes from the acp.I'm not yet sure.TBH, I still have to find a proper way to solve the "theming issue" on any addon. The main problem I have in mind, is that I'd have to:pick all the theme,pick any variant of any theme,let the user edit styles separately for each variant and each theme,It looks like a lot of stuff to deal with for the users that want to style their own theme.TL;DR: tes, I would do it, though "in a while".At the moment the addon relies on an external css (rather simple for the start), and I think custom.css can be modified using the theme editor (even if the file doesn't exist? hmm... that may be a sort of bug, to be tracked.)
Re: [ADDON][W.I.P.] Topic Prefix Reply #4 – May 15, 2014, 10:34:03 am Quote from: emanuele – May 15, 2014, 02:40:47 amTL;DR: tes, I would do it, though "in a while".At the moment the addon relies on an external css (rather simple for the start), and I think custom.css can be modified using the theme editor (even if the file doesn't exist? hmm... that may be a sort of bug, to be tracked.)Even being able to custom in css is great. This way user could add colors, borders, images to fit there needs.
Re: [ADDON][W.I.P.] Topic Prefix Reply #5 – November 10, 2014, 05:57:17 pm First beta released. The code is still messy and some features are missing, though if anyone has some time for testing it out and see what I missed as usual would be great!
Re: [ADDON][beta] Topic Prefix Reply #6 – November 11, 2014, 02:24:26 am I get an error when I try to install it10. Estrai File ./themes/default/scripts/TopicPrefix.js Errore durante il parsing della modificaafter click to continueYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'NOT NULL auto_increment,prefix varchar(30) NOT NULL default '',id_boards' at line 3File: ******sources/database/DbTable-mysql.phpRiga: 174Nota: la versione del tuo database รจ 1.0.1.
Re: [ADDON][beta] Topic Prefix Reply #7 – November 11, 2014, 03:36:15 am And I even wrote the package-info yesterday night...I also likely forgot to add the tables to the install.Big fail.
Re: [ADDON][beta] Topic Prefix Reply #8 – November 11, 2014, 06:04:02 am Updated the package with the fixes and a couple of new features.
Re: [ADDON][beta] Topic Prefix Reply #9 – November 14, 2014, 04:09:13 am I just test it, but when I click filter I get double prefix. I attach an imagemaybe is my installation which was first broken, I'll try on a fresh install
Re: [ADDON][beta] Topic Prefix Reply #10 – November 14, 2014, 05:25:35 am At least is works! LOLInteresting, I have to figure out how it is possible...
Re: [ADDON][beta] Topic Prefix Reply #11 – January 25, 2015, 04:30:08 pm Some screeshots of the admin panel.You can also see the "style picker" in a javascript/ajax-like version with a "live preview" of the result.The main listing (screen_352) actually is not yet really in the final version, the "edit" buttons should disappear or become "advanced", I'm not yet sure.
Re: [ADDON][beta] Topic Prefix Reply #13 – January 25, 2015, 05:54:29 pm I'll sure test this addon, thanks Emanuele!
Re: [ADDON][beta] Topic Prefix Reply #14 – January 25, 2015, 10:32:25 pm Yo, why don't yall add this mod to this support sit? It'll make it easier for yall to know whether a support topic is solved or not. ;P