Advertisement:

Author Topic: Topic Author  (Read 19727 times)

Offline Adrek

  • Sophist Member
  • *****
  • Posts: 1,084
  • Gender: Male
    • pages/smfpl/171860759503032 on Facebook
    • Adrek.pl
Topic Author
« on: October 19, 2012, 04:29:32 AM »
Link to Mod

Topic Author



This work is licensed under a CC BY-NC-ND 3.0



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


Languages:
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Offline OCJ

  • Full Member
  • ***
  • Posts: 494
  • Gender: Male
Re: Topic Author
« Reply #1 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.



Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Topic Author
« Reply #2 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
No good deed goes unpunished
All helpful urges should be circumvented

Offline Adrek

  • Sophist Member
  • *****
  • Posts: 1,084
  • Gender: Male
    • pages/smfpl/171860759503032 on Facebook
    • Adrek.pl
Re: Topic Author
« Reply #3 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.
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Offline Storman™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,027
Re: Topic Author
« Reply #4 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  ;)
Any Backup method is bettter than no Backup method....

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Topic Author
« Reply #5 on: October 19, 2012, 05:44:55 PM »
Do you guys all have my posts on ignore or something?
No good deed goes unpunished
All helpful urges should be circumvented

Offline 4Kstore

  • SMF Hero
  • ******
  • Posts: 4,326
  • Gender: Male
    • agustintari on Facebook
    • @agustintarifa on Twitter
    • SSIMPLE TEAM PAGE
Re: Topic Author
« Reply #6 on: October 19, 2012, 08:22:21 PM »
Great mod!
¡¡NEW MOD: Sparkles User Names!!!

Offline Adrek

  • Sophist Member
  • *****
  • Posts: 1,084
  • Gender: Male
    • pages/smfpl/171860759503032 on Facebook
    • Adrek.pl
Re: Topic Author
« Reply #7 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... :)
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Offline Branko.

  • SMF Hero
  • ******
  • Posts: 3,330
  • Gender: Male
  • U zemlji slijepih, jednooki je kralj
    • SATForum
Re: Topic Author
« Reply #8 on: October 20, 2012, 03:40:23 AM »
Great mod!Thanks!
Here is translation for serbian latin, serbian cyrillic and croatian (iso/utf8)
Strong people don't put others down, they lift them up.
A clever person solves a problem. A wise person avoids it.

Offline Branko.

  • SMF Hero
  • ******
  • Posts: 3,330
  • Gender: Male
  • U zemlji slijepih, jednooki je kralj
    • SATForum
Re: Topic Author
« Reply #9 on: October 20, 2012, 03:43:19 AM »
Great mod!Thanks!
Here is translation for serbian latin, serbian cyrillic and croatian (iso/utf8)
Strong people don't put others down, they lift them up.
A clever person solves a problem. A wise person avoids it.

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,648
  • Gender: Male
    • dragomano on GitHub
    • Support me on Ko-fi
Re: Topic Author
« Reply #10 on: October 20, 2012, 04:36:39 AM »
Russian translation

Offline Adrek

  • Sophist Member
  • *****
  • Posts: 1,084
  • Gender: Male
    • pages/smfpl/171860759503032 on Facebook
    • Adrek.pl
Re: Topic Author
« Reply #11 on: October 20, 2012, 05:14:29 AM »
Thanks for translations :)
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Topic Author
« Reply #12 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...
No good deed goes unpunished
All helpful urges should be circumvented

Offline OCJ

  • Full Member
  • ***
  • Posts: 494
  • Gender: Male
Re: Topic Author
« Reply #13 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.

Offline OCJ

  • Full Member
  • ***
  • Posts: 494
  • Gender: Male
Re: Topic Author
« Reply #14 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.




Offline Adrek

  • Sophist Member
  • *****
  • Posts: 1,084
  • Gender: Male
    • pages/smfpl/171860759503032 on Facebook
    • Adrek.pl
Re: Topic Author
« Reply #15 on: October 21, 2012, 02:34:44 AM »
language strings are in TopicAuthor.*language*.php
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Offline bolubeyi61

  • Sr. Member
  • ****
  • Posts: 758
  • Gender: Male
    • Spina Bifida Turkey
Re: Topic Author
« Reply #16 on: October 21, 2012, 04:54:01 AM »
Turkish translation

Offline OCJ

  • Full Member
  • ***
  • Posts: 494
  • Gender: Male
Re: Topic Author
« Reply #17 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



Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Topic Author
« Reply #18 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.
No good deed goes unpunished
All helpful urges should be circumvented

Offline OCJ

  • Full Member
  • ***
  • Posts: 494
  • Gender: Male
Re: Topic Author
« Reply #19 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.

Offline wildenborch

  • Newbie
  • *
  • Posts: 5
Re: Topic Author
« Reply #20 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?


Offline Colin

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,892
  • Gender: Male
  • SMF Developer
    • colinschoen on GitHub
Re: Topic Author
« Reply #21 on: November 04, 2012, 01:02:32 AM »
It wouldn't make sense that this mod would effect that.
« Last Edit: November 05, 2012, 07:21:43 PM by Colin »
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

Offline 4Kstore

  • SMF Hero
  • ******
  • Posts: 4,326
  • Gender: Male
    • agustintari on Facebook
    • @agustintarifa on Twitter
    • SSIMPLE TEAM PAGE
Re: Topic Author
« Reply #22 on: November 05, 2012, 11:34:54 AM »
¡¡NEW MOD: Sparkles User Names!!!

Offline impreza

  • Sophist Member
  • *****
  • Posts: 1,054
    • infomiasto.eu
Re: Topic Author
« Reply #23 on: November 08, 2012, 10:59:15 AM »
A very nice addition, useful
Portal infomiasto.eu - treści w postaci artykułów i filmów tematycznych

Offline NHWD

  • Jr. Member
  • **
  • Posts: 304
Re: Topic Author
« Reply #24 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?

Offline Adrek

  • Sophist Member
  • *****
  • Posts: 1,084
  • Gender: Male
    • pages/smfpl/171860759503032 on Facebook
    • Adrek.pl
Re: Topic Author
« Reply #25 on: January 28, 2013, 04:08:03 PM »
can you attach this file?
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Offline NHWD

  • Jr. Member
  • **
  • Posts: 304
Re: Topic Author
« Reply #26 on: January 28, 2013, 04:16:42 PM »
Sure here you go

Offline Adrek

  • Sophist Member
  • *****
  • Posts: 1,084
  • Gender: Male
    • pages/smfpl/171860759503032 on Facebook
    • Adrek.pl
Re: Topic Author
« Reply #27 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">';
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Offline NHWD

  • Jr. Member
  • **
  • Posts: 304
Re: Topic Author
« Reply #28 on: January 28, 2013, 04:24:19 PM »
That fixed it.. Thank you so much for ur time ;)

Offline Joomlamz

  • SMF Hero
  • ******
  • Posts: 2,639
  • Gender: Male
  • Suporte SmfPT
    • apllicmz on Facebook
    • apllicmz on GitHub
    • https://www.linkedin.com/in/aplic on LinkedIn
    • @aplichosting on Twitter
    • Webdesign
Re: Topic Author
« Reply #29 on: June 25, 2013, 04:41:33 AM »
Nice work
when Update dont forget portuguese files



Offline SoftwareSamurai

  • Semi-Newbie
  • *
  • Posts: 15
Re: Topic Author
« Reply #30 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.)

Offline ThomasA

  • Semi-Newbie
  • *
  • Posts: 17
Re: Topic Author
« Reply #31 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.
« Last Edit: October 28, 2013, 03:07:41 PM by ThomasA »

Offline Dwev

  • Jr. Member
  • **
  • Posts: 253
Re: Topic Author
« Reply #32 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.

Offline Steve

  • Freak
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 4,716
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Topic Author
« Reply #33 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.
Please do not PM me for support.

I just ordered a life alert bracelet so
if I get a life, I'll be notified immediately.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Topic Author
« Reply #34 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 ;)
No good deed goes unpunished
All helpful urges should be circumvented

Offline Dwev

  • Jr. Member
  • **
  • Posts: 253
Re: Topic Author
« Reply #35 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).

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 60,069
  • Gender: Male
    • Kindred-999 on GitHub
Re: Topic Author
« Reply #36 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.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Offline shadav

  • Support Specialist
  • Sophist Member
  • *
  • Posts: 1,052
  • Gender: Female
    • shadav on Facebook
    • leashadav on GitHub
    • Ask The Muslims: A Place To Ask Honest Questions and Receive Respectful Answers
Re: Topic Author
« Reply #37 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  ???