Advertisement:

Author Topic: Number of member instead of nickname visible  (Read 371 times)

Offline Portugal

  • Jr. Member
  • **
  • Posts: 219
Number of member instead of nickname visible
« on: November 13, 2019, 05:10:54 PM »
Hi all,

Its possibile to change for default mode, the visible nickname was the number of registration instead of real nickname? If member wants must go to profile and chose their nickname be public!
I think thats a good option, for sure makes members participate even more!

Thanks
Portugal

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: Number of member instead of nickname visible
« Reply #1 on: November 13, 2019, 05:17:41 PM »
That's actually quite a big change assuming you want to do it everywhere?
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Portugal

  • Jr. Member
  • **
  • Posts: 219
Re: Number of member instead of nickname visible
« Reply #2 on: November 14, 2019, 08:13:37 AM »
Thanks for your support,

Well, if that change be effective just on posts and replly thats good for me! Ive used one mod to make some boards anonimous, but i want some identification, and the number of member was the best for my situation.


That's actually quite a big change assuming you want to do it everywhere?

Offline Dzonny

  • Localizer
  • SMF Super Hero
  • *
  • Posts: 12,006
  • Gender: Male
  • No sleep...
    • dzontra.nikola on Facebook
    • Dzonny on GitHub
    • dzontranikola on LinkedIn
    • @opusteniforum on Twitter
    • Samo opusteno
Re: Number of member instead of nickname visible
« Reply #3 on: November 14, 2019, 09:26:47 AM »
I believe that something like changing themes/your_theme/Display.template.php file with:
Code: [Select]
$message['member']['id']Wherever you find username or name is taken, like:
Code: [Select]
$message['member']['username']
or
$message['member']['name']
Or something alike.

But as Arantor said, it's quite big change if you want to anonymize users, for example their avatars, profile links etc.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: Number of member instead of nickname visible
« Reply #4 on: November 14, 2019, 10:50:46 AM »
Yes but that doesn’t do the “user sets an option to show their name” option...
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Portugal

  • Jr. Member
  • **
  • Posts: 219
Re: Number of member instead of nickname visible
« Reply #5 on: November 15, 2019, 07:06:39 AM »
Thanks,

Well, i think your code can solve in part my problem, in fact i just want to makes it possibile for my members, its a forum for legal questions (Laws) and for my public its interesant to permit to chose... and by default anonimize the nick name!
Other situation and very usegul for forums (my opinion) its to anonimize the nickname for visitors! When member get registred and part of forum, it can see the nicknames! What you think on that second situation?


Very thanks for your help!

Regards
Portugal


I believe that something like changing themes/your_theme/Display.template.php file with:
Code: [Select]
$message['member']['id']Wherever you find username or name is taken, like:
Code: [Select]
$message['member']['username']
or
$message['member']['name']
Or something alike.

But as Arantor said, it's quite big change if you want to anonymize users, for example their avatars, profile links etc.

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,583
Re: Number of member instead of nickname visible
« Reply #6 on: November 15, 2019, 07:11:21 AM »

Offline Portugal

  • Jr. Member
  • **
  • Posts: 219
Re: Number of member instead of nickname visible
« Reply #7 on: November 18, 2019, 08:51:53 AM »
Thanks, i will go to try your sugestion Illori!