Skip to main content
Topic: [ADDON] Topic Author (Read 1235 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[ADDON] Topic Author

Topic Author


This mod is simple - it adds small icon next to name of user who started topic. Useful in topics with several pages - you always know who started viewed topic.
Currently there are two icons available, star and 'comment cloud', both are taken from Font Awesome which is included in ElkArte by default.

I hope that it does not cause any styling issues ::)

Big thanks for @emanuele for helping with resolving some problems with this mod :)

Download: Addon installation file can be downloaded from attachment.
Compatibility: ElkArte 1.0.1 and newer.
License: MPL 1.1, http://www.mozilla.org/MPL/1.1/

Re: [ADDON] Topic Author

Reply #1
Cool! :D
Bugs creator.
Features destroyer.
Template killer.

Re: [ADDON] Topic Author

Reply #2
Yep! I use this one with my SMF at the moment. I will use it with Elk also.  :)


Re: [ADDON] Topic Author

Reply #4
Installed it, made a german language file, but can't find the settings in admin panel to activate it.  :-[

Edit: Oh-oh! It seems my installation has some problems. TopicAuthor.subs.php isn't on my server after installation. The package manager said the addon was installed sucessfully. The english language file was copied. Strange!  :o

Re: [ADDON] Topic Author

Reply #5
O_o

 emanuele finds this kind of results irritating. lol
In certain kind of configurations it seems the package manager is not able to detect that the file is not "really" writable...
Bugs creator.
Features destroyer.
Template killer.

Re: [ADDON] Topic Author

Reply #6
Wow, it's a really nice and "good looking" idea to mark the topic author! Great job.

Re: [ADDON] Topic Author

Reply #7
It would be nice if this addon would be adjusted to the version 1.1.x.  :)
ElkArte version: 1.1.3 / Theme: BeSocial


Re: [ADDON] Topic Author

Reply #9
Attached is a version that should work on 1.1 ... 1.1 uses SVG for the icons and no star was included in the release, so instead I used the bell icon, maybe the pencil would be better?

If you want the star the easiest thing to do is install the original addon (not the one attached to this post) and in your index.template, change 'require_font-awesome' => false, to be 'require_font-awesome' => true, and it should then "just work"
Squish squish. squish, squish, squish.
Find a bug,
Make a wish.

Re: [ADDON] Topic Author

Reply #10
I've now installed your 1.1 version. The bell looks pretty good, but is a bit too pale for me. Which icons are there except a pencil? Is there a page where I can see all the icons?
ElkArte version: 1.1.3 / Theme: BeSocial

Re: [ADDON] Topic Author

Reply #11
Open the file sources/subs/TopicAuthor.subs

find the line
Code: (find) [Select]
			$icon = $icon === 'comment' ? 'comment-blank' : 'bell-blank';
change it to be
Code: (replace) [Select]
			$icon = $icon === 'comment' ? 'comment-blank' : 'bell';
thats a solid vs outline bell ... if you want to try the pencil replace bell with pencil.

There is no listing of the svg icons TBD,
Squish squish. squish, squish, squish.
Find a bug,
Make a wish.

Re: [ADDON] Topic Author

Reply #12
I tried out the solid bell and the pencil - and decided to stay at the blank bell. :)
ElkArte version: 1.1.3 / Theme: BeSocial