News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Remove Reply Prefix

Started by Aportadordelmix, October 06, 2009, 11:40:01 AM

Previous topic - Next topic

Aportadordelmix

Remove Reply Prefix
Originally created by 130860 Take by Aportadordelmix


When a topic is replied to, the topic will simply have 'Re: ' in front of it, though it is different in other languages.

This mod attempts to remove the prefix from topics in the board index (and in the message index for child boards)

So, for example, if the most recent reply in a topic is 'Re: My Topic', the board listing will say 'Last post by Arantor in My Topic' rather than  'Last post by Arantor in Re: My Topic'

It won't attempt every language, but will use the language you are currently using; for most cases, this will be the language of the forum.

Costa

Hugo "Costa" Fernandes - PT SMF
Todas as MP's a pedir ajuda são sujeitas a radioactividade, microondas, queimadas e atiradas borda fora.

"At least someone appreciates the fact that I am doing and not thinking..."
"Laziness is counter-revolutionary."

Arantor

Thanks :)

Now I gotta find the request from the user...

Costa

Quote from: Arantor on October 06, 2009, 01:54:51 PM
Now I gotta find the request from the user...
Lmao, you're the man dude!
Hugo "Costa" Fernandes - PT SMF
Todas as MP's a pedir ajuda são sujeitas a radioactividade, microondas, queimadas e atiradas borda fora.

"At least someone appreciates the fact that I am doing and not thinking..."
"Laziness is counter-revolutionary."

Arantor

:) Thanks!

Btw, I found the topic back on 26th September and have replied as a follow up.

Blinker

Nice mod Arantor, thanks.

So simple yet makes a big difference on the index....I never liked that whole "re" thing.

LHW

Agreed, nice mod!  Thanks!!


Sevgiformu.com

very very nice and good betiful oooo thank you . Arantor

Afro

i installed this mod but havent noticed any changes
where am i supposed to be looking at ?

Arantor

On the board index, for replies to a topic, it will display "Last post by [poster] in [topic]" instead of "Last post by [poster] in Re: [topic]"

That said, I can't remember offhand if it needs installation manually on to custom themes.

meehan09

When i view : http://www.exoticforums.co.uk//index.php/board,8.0.html

Iam getting :

    Last post
Array
September 01, 2009, 21:22:09 PM
by Tilliesreptilerescue

??


If you could take a look i added the code has told, and when viewing a cat i get that on all last posts bit?


Hope you can help fix this, thanks paul  8)

Arantor

Not my mod at fault.

The error you're seeing is in your MessageIndex.php/MessageIndex.template.php file. My mod does not touch that file.

Hide Post Authors From Guests might be at fault here, but I doubt it. I would suggest your MessageIndex.template.php has been modified (incorrectly).

Smog

Installed and it don't work. "Re:" is still visible. FWIW, have cleared the cache but it still don't make a difference.

Board: SMF 2.0 RC1.2
Standard SMF theme
No multiple languages

Arantor

Can I see a link to the site please?


Arantor

Well, I need to see what it does with the mod installed.

Note it only touches the board index.



Arantor

In which case pointing me at a board isn't going to demonstrate things. Though I look at the front page and see that it should work, and isn't.

Do you get any errors in the error log?

Smog

Quote from: Arantor on October 10, 2009, 08:36:33 AM
Do you get any errors in the error log?
Several errors but IMO not related to your mod.

I just remember that the Category View Mod is installed on my board, can that be the cause for malfunction?

http://custom.simplemachines.org/mods/index.php?mod=1834

Advertisement: