Advertisement:

Author Topic: Display msg= to user x on his next login  (Read 651 times)

Offline SMiFFER

  • Jr. Member
  • **
  • Posts: 357
Display msg= to user x on his next login
« on: April 02, 2018, 07:51:03 AM »
Is there a mod doing the following?

Have a simple csv-file such as
USERID, MSGID

So when user "#USERID" logs in next time, he is shown message "msg=#MSGID"

I would find that very practical!


Is there such a mod?

If not, would anyone like to do such a mod?

If not, would anyone advise to get that achieved?


Cheers!
...coming from VB, using SMF since 2012, now hosting it myself, currently SMF 2.0.15 on PHP 5.6.32
QUOTE OF Aleksi "Lex" Kilpinen: "That version is old enough to go to school itself."

Offline br360

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,228
    • GenXcommunity
Re: Display msg= to user x on his next login
« Reply #1 on: April 02, 2018, 02:18:58 PM »

Offline SMiFFER

  • Jr. Member
  • **
  • Posts: 357
Re: Display msg= to user x on his next login
« Reply #2 on: April 02, 2018, 02:47:27 PM »
No. That thing does not match to my description.
...coming from VB, using SMF since 2012, now hosting it myself, currently SMF 2.0.15 on PHP 5.6.32
QUOTE OF Aleksi "Lex" Kilpinen: "That version is old enough to go to school itself."

Offline SMiFFER

  • Jr. Member
  • **
  • Posts: 357
Re: Display msg= to user x on his next login
« Reply #3 on: May 12, 2018, 05:51:51 AM »
Let me make an example of what I tried to describe in post #01:

Have a simple csv-file such as
USERID, MSGID

So when user "#USERID" logs in next time, he is shown message "msg=#MSGID"

Example with names instead of userIDs for the sake of the argument:

SMiFFER, 1000
br360, 43
Arantor, 0

So SMiFFER gets msg=1000 displayed on next login, br360 gets msg=43 and Arantor gets no msg displayed.

Can somebody help me achieving this please?
...coming from VB, using SMF since 2012, now hosting it myself, currently SMF 2.0.15 on PHP 5.6.32
QUOTE OF Aleksi "Lex" Kilpinen: "That version is old enough to go to school itself."

Offline Sh@mbles

  • SMF Hero
  • ******
  • Posts: 4,894
  • Gender: Male
    • i30 Owners Club
Re: Display msg= to user x on his next login
« Reply #4 on: May 12, 2018, 05:54:43 AM »
So this is required immediately after a successful login?

If the member stays logged in and never logs out, when would this message appear?

Offline SMiFFER

  • Jr. Member
  • **
  • Posts: 357
Re: Display msg= to user x on his next login
« Reply #5 on: May 12, 2018, 07:07:21 AM »
Hey Shambles.

Only once directly after loggin in.
The entry could then even be removed from that CSV-list, but that can come later.
...coming from VB, using SMF since 2012, now hosting it myself, currently SMF 2.0.15 on PHP 5.6.32
QUOTE OF Aleksi "Lex" Kilpinen: "That version is old enough to go to school itself."