Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Adrek on October 19, 2012, 04:29:32 AM

Title: Topic Author
Post by: Adrek on October 19, 2012, 04:29:32 AM
Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=3485)

Topic Author



This work is licensed under a CC BY-NC-ND 3.0 (http://creativecommons.org/licenses/by-nc-nd/3.0/)



Modification will show information in user profile (in topic view) who started topic: "Topic author"


Languages:
Title: Re: Topic Author
Post by: OCJ on October 19, 2012, 08:10:53 AM
Interesting.
It would be nice to have an admin option to customize/change the text for 'Topic Author'. I guess its easy enough in the mod files but an admin option to change it would be best for people not accustomed to editing files... with it set to Topic Author as default.

My particular reason is that our site is an event site so something like event leader/ event organizer would be better. Im sure others might want to edit the title given.


Title: Re: Topic Author
Post by: Arantor on October 19, 2012, 08:19:43 AM
*cough* Admin > Languages > Edit Language > click on the language > select Modifications from the dropdown and it'll be in there
Title: Re: Topic Author
Post by: Adrek on October 19, 2012, 08:32:53 AM
I was thinking about adding text filed that would allow you to change text without file edit, but on the other hand, if you have multilingual community then all users would see the same text. With language file you can customize it for any language.
Title: Re: Topic Author
Post by: Storman™ on October 19, 2012, 05:36:58 PM
Quote
I was thinking about adding text filed that would allow you to change text without file edit, but on the other hand, if you have multilingual community then all users would see the same text

Valid point but it was the first I thought it needed, especially as it has an administration area.

Nice mod though  ;)
Title: Re: Topic Author
Post by: Arantor on October 19, 2012, 05:44:55 PM
Do you guys all have my posts on ignore or something?
Title: Re: Topic Author
Post by: 4Kstore on October 19, 2012, 08:22:21 PM
Great mod!
Title: Re: Topic Author
Post by: Adrek on October 20, 2012, 02:45:02 AM
@4Kstore, Thanks :)

Do you guys all have my posts on ignore or something?
Why would you think that? Of course they can edit language strings, using your tip, but most of people wants to have option for everything... :)
Title: Re: Topic Author
Post by: Branko. on October 20, 2012, 03:40:23 AM
Great mod!Thanks!
Here is translation for serbian latin, serbian cyrillic and croatian (iso/utf8)
Title: Re: Topic Author
Post by: Branko. on October 20, 2012, 03:43:19 AM
Great mod!Thanks!
Here is translation for serbian latin, serbian cyrillic and croatian (iso/utf8)
Title: Re: Topic Author
Post by: Bugo on October 20, 2012, 04:36:39 AM
Russian translation
Title: Re: Topic Author
Post by: Adrek on October 20, 2012, 05:14:29 AM
Thanks for translations :)
Title: Re: Topic Author
Post by: Arantor on October 20, 2012, 01:12:40 PM
@4Kstore, Thanks :)

Do you guys all have my posts on ignore or something?
Why would you think that? Of course they can edit language strings, using your tip, but most of people wants to have option for everything... :)

Because no-one actually mentioned what I had to say, so even though they *already have the option* to edit from the admin panel...
Title: Re: Topic Author
Post by: OCJ on October 21, 2012, 01:22:42 AM
Quote
Why would you think that? Of course they can edit language strings, using your tip, but most of people wants to have option for everything... :)
Preferred method (form input) rather than editing files which all have to be done again when SMF and template files are updated or mods become too entangled... but I see your point about alternative languages.


In this case, doing it through Admin isnt as bad but I have a bottomless list of edits ... just editing manually up to my eyeballs with SMF.  ::)

I will install it and edit as Arantor mentions - thanks.
Title: Re: Topic Author
Post by: OCJ on October 21, 2012, 02:23:16 AM
Its installed and working but I cant find anything related to it in the modifications language files.

English one only contains references to meta data mod for 'author' and 'topic' for  renaming subjects etc.
Same when I looked at it after ftp.

The other languages files are also completely empty - thought mods would have added the english translations there so they could be translated....uhm.



Title: Re: Topic Author
Post by: Adrek on October 21, 2012, 02:34:44 AM
language strings are in TopicAuthor.*language*.php
Title: Re: Topic Author
Post by: bolubeyi61 on October 21, 2012, 04:54:01 AM
Turkish translation
Title: Re: Topic Author
Post by: OCJ on October 21, 2012, 10:04:04 AM
Got it ... not modifications...

*cough* *cough*   :P
Quote
*cough* Admin > Languages > Edit Language > click on the language > select Modifications from the dropdown


Title: Re: Topic Author
Post by: Arantor on October 21, 2012, 10:24:47 AM
*shrug* I just figured this mod would add it to Modifications like all the other modifications out there. Sorry I bothered trying to help by pointing out a very useful feature in SMF.
Title: Re: Topic Author
Post by: OCJ on October 21, 2012, 10:47:01 AM
Tongue in cheek... no need to get upset. I thought it wouldve been there too. And yes it is a useful feature... not that well known maybe.
Title: Re: Topic Author
Post by: wildenborch on November 03, 2012, 04:32:05 PM
Hi,

After installation of this mod I have problems with the visual verifications.
Is this a known problem?

Title: Re: Topic Author
Post by: Colin on November 04, 2012, 01:02:32 AM
It wouldn't make sense that this mod would effect that.
Title: Re: Topic Author
Post by: 4Kstore on November 05, 2012, 11:34:54 AM
Spanish_latin translation: http://www.simplemachines.org/community/index.php?topic=252307.msg3433758#msg3433758
Title: Re: Topic Author
Post by: impreza on November 08, 2012, 10:59:15 AM
A very nice addition, useful
Title: Re: Topic Author
Post by: NHWD on January 28, 2013, 04:00:02 PM
So I tried out this mod and tried tweaking it so that the background appeared behind the username and I had a problem with the formatting.

I attached the screenshot I took.

And here's the code I used

Code: [Select]
// Show information about the poster of this message.
echo '
<div class="poster">
<h4>';

// Show a link to the member's profile.

if(!empty($modSettings['TopicAuthor_enable']) && $message['member']['id'] == $context['topic_starter_id'])
echo'
<span class="topic_author">', $message['member']['link'], '</span>';
else
echo '
', $message['member']['link'], '
</h4>
<ul class="reset smalltext" id="msg_', $message['id'], '_extra_info">';

any ideas on what's causing this?
Title: Re: Topic Author
Post by: Adrek on January 28, 2013, 04:08:03 PM
can you attach this file?
Title: Re: Topic Author
Post by: NHWD on January 28, 2013, 04:16:42 PM
Sure here you go
Title: Re: Topic Author
Post by: Adrek on January 28, 2013, 04:19:56 PM
Try to use this code:
Code: [Select]
// Show information about the poster of this message.
echo '
<div class="poster">
<h4>';

// Show a link to the member's profile.
if(!empty($modSettings['TopicAuthor_enable']) && $message['member']['id'] == $context['topic_starter_id'])
{
echo'<span class="topic_author">', $message['member']['link'], '</span>';
}
else
{
echo'',$message['member']['link'],'';
}
echo'
</h4>
<ul class="reset smalltext" id="msg_', $message['id'], '_extra_info">';
Title: Re: Topic Author
Post by: NHWD on January 28, 2013, 04:24:19 PM
That fixed it.. Thank you so much for ur time ;)
Title: Re: Topic Author
Post by: Joomlamz on June 25, 2013, 04:41:33 AM
Nice work
when Update dont forget portuguese files
Title: Re: Topic Author
Post by: SoftwareSamurai on October 25, 2013, 11:19:23 PM
Good mod. I like it.

Just one question: What would cause the "Topic Author" badge not to show up in specific themes?
(I'm on v2.0.6. It looks fine in Curve. It's missing in Core.)
Title: Re: Topic Author
Post by: ThomasA on October 28, 2013, 02:39:00 PM
When I turn this mod ON everything works great, but my AdminPanel goes wild with BIG font, everything in my control is just too big, and when I uncheck and deactivate this mod, everything goes back. It not in just one theme it's in all of them.

Hmmm...and BTW that issue only appears in Chrome.
Title: Re: Topic Author
Post by: Dwev on January 18, 2018, 08:29:00 AM
I like this Mod, but I get "Topic Author" with a bullet in front of it, and I can't find that bullet anywhere in the code of the php-files.

Is there anybody that knows where this bullet can be found, I would prefer it (very much) without.
Title: Re: Topic Author
Post by: Steve on January 18, 2018, 10:02:40 AM
@ SoftwareSamurai - please upgrade your forum. You are 9 versions behind and there have been a multitude of security fixes since 2.0.6.

I have this mod as well and didn't even attempt to install it in Core. That's a pita theme which I don't even use.
Title: Re: Topic Author
Post by: Arantor on January 18, 2018, 10:40:25 AM
@ SoftwareSamurai - please upgrade your forum. You are 9 versions behind and there have been a multitude of security fixes since 2.0.6.

I have this mod as well and didn't even attempt to install it in Core. That's a pita theme which I don't even use.

2.0.6 was the current version 4 years ago ;)
Title: Re: Topic Author
Post by: Dwev on January 18, 2018, 10:44:59 AM
I posted in the thread because it's the thread of this mod (and yes, it's very old).

By the way, a friend solved the problem with the bullet, so this question his solved (and sorry, I don't know how he did it).
Title: Re: Topic Author
Post by: Kindred on January 18, 2018, 02:45:00 PM
the bullet is not defined in the php code...  it's defined by the CSS class of the "topic author" section.
Title: Re: Topic Author
Post by: shadav on July 23, 2020, 12:01:50 PM
I have a rather strange issue with this mod installed

for some reason with this installed my captcha no longer works

don't know why that would happen but it does  :o

after uninstalling this my captcha works again

not sure how that would even happen or what it's even conflicting with  ???