Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

started by

Aloittaja sirfpsycho, syyskuu 27, 2019, 01:01:41 AP

« edellinen - seuraava »

sirfpsycho

I want to know which file should I edit where Started by "user" is written. Please check screenshot.
is it BoardIndex.template.php ?? If yes then which line? I could not see "started by user" line.

skb

That would be in the language files. index.english.php in the Themes/Default/Languages folder

SMF 2.1.4 / TP 2.2.2

Arantor

The display of that is controlled by MessageIndex.template.php.
Holder of controversial views, all of which my own.


a10

Looking at the parse of this mod may give useful directions about where it's happening.

https://custom.simplemachines.org/mods/index.php?mod=3519
2.0.19, php 8.0.30, MariaDB 10.6.18. Mods: Contact Page, Like Posts, Responsive Curve, Search Focus Dropdown, Add Join Date to Post.
Stand with 🇺🇦

Arantor

Better question is what you're trying to do with that line.
Holder of controversial views, all of which my own.


sirfpsycho

I want to show topic starter name in simple portal latest topic/post block. Currently it shows commenters name.
I found the code but that topic starter code is not working in simple portal block.

Arantor

No, you can't just randomly grab code like that :( you need to rewrite the SP block to make that work the way you want, I think.
Holder of controversial views, all of which my own.


shadav

Lainaus käyttäjältä: sirfpsycho - syyskuu 28, 2019, 08:56:57 AP
I want to show topic starter name in simple portal latest topic/post block. Currently it shows commenters name.
I found the code but that topic starter code is not working in simple portal block.

you may want to ask the simple portal team for help :) though I'm sure someone here might know (if they use simple portal)
https://www.simplemachines.org/community/index.php?topic=227599.0

sirfpsycho

Already asked there but no one is there to help.

Advertisement: