• Welcome to Simple Machines Community Forum. Please login or sign up.
September 26, 2021, 11:54:55 PM

News:

Wondering if this will always be free?  See why free is better.


Topic Author

Started by Adrek, October 19, 2012, 04:29:32 AM

Previous topic - Next topic

Adrek

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

OCJ

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.



Arantor

*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

Adrek

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

Storman™

QuoteI 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  ;)

Arantor

Do you guys all have my posts on ignore or something?
No good deed goes unpunished
All helpful urges should be circumvented

4Kstore


¡¡NEW MOD: Sparkles User Names!!!

Adrek

@4Kstore, Thanks :)

Quote from: Arantor on October 19, 2012, 05:44:55 PMDo 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

Branko.

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.

Branko.

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.

Bugo


Adrek

Thanks for translations :)
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Arantor

Quote from: phantomm on October 20, 2012, 02:45:02 AM
@4Kstore, Thanks :)

Quote from: Arantor on October 19, 2012, 05:44:55 PMDo 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

OCJ

QuoteWhy 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.

OCJ

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.




Adrek

language strings are in TopicAuthor.*language*.php
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

bolubeyi61


OCJ

Got it ... not modifications...

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



Arantor

*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

OCJ

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.

wildenborch

Hi,

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


Colin

November 04, 2012, 01:02:32 AM #21 Last Edit: November 05, 2012, 07:21:43 PM by Colin
It wouldn't make sense that this mod would effect that.
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

4Kstore


¡¡NEW MOD: Sparkles User Names!!!

impreza

A very nice addition, useful
Portal Totemat - artykuły i filmy - treści w postaci artykułów i filmów.

NHWD

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

// 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?

Adrek

can you attach this file?
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

NHWD


Adrek

Try to use this code:

// 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

NHWD

That fixed it.. Thank you so much for ur time ;)

Apllicmz

Nice work
when Update dont forget portuguese files



SoftwareSamurai

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.)

ThomasA

October 28, 2013, 02:39:00 PM #31 Last Edit: October 28, 2013, 03:07:41 PM by ThomasA
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.

Dwev

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.

Steve

@ 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.

Arantor

Quote from: 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.

2.0.6 was the current version 4 years ago ;)
No good deed goes unpunished
All helpful urges should be circumvented

Dwev

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).

Kindred

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."

shadav

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  ???

Advertisement: