How to remove html tag A for all profile nicknames only for guests?

Started by Butiks, December 28, 2024, 04:18:16 PM

Previous topic - Next topic

Butiks

How to display all nicknames for guests for a standard theme so that it is without the html tag A?

Now it displays to everyone like this:
<a href="https://forum.com/?action=profile;u=1" style="color: #FF0000;">Usernickname</a>
It should only display to guests like this:
<span style="color: #FF0000;">Usernickname</span>
SMF: 2.1.3
Mods: Optimus, Hide Content, Quick Spoiler, Avatars Display Integration, Similar Topics, Simple Colorizer

Kindred

You would have to modify source files and template files

It is currently FAD...
Слaва
Украинi

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

Arantor

Better question: why?

If it's about privacy, remove the permission for guests to see profiles. SMF emits the correct status code to search engines to tell them not to attempt to index such links when requesting them, meaning that this is also not an SEO change.

If it's about bandwidth saving, waste of time, the gzipping the server will do will do better with longer strings.

So... why?
Holder of controversial views, all of which my own.


Advertisement: