inherit
194230
0
Nov 21, 2015 5:56:42 GMT -8
Alan Vende
4,215
May 2013
l1o2u3i4s5
|
Post by Alan Vende on Jan 27, 2015 18:55:30 GMT -8
Forum URL: psychic-psyghtings.proboards.comWould it be possible to code an automatic PM that sends to members on their birthdays? If so, how would you go about this? Thanks!
|
|
Former Member
inherit
guest@proboards.com
188474
0
Nov 30, 2024 13:18:43 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jan 27, 2015 20:39:26 GMT -8
I'm almost positive that PMs have to be sent manually.
|
|
inherit
194230
0
Nov 21, 2015 5:56:42 GMT -8
Alan Vende
4,215
May 2013
l1o2u3i4s5
|
Post by Alan Vende on Jan 27, 2015 20:40:21 GMT -8
There's one for a welcome PM, so I didn't know if one could be programmed for birthdays. Thanks, @vip!
|
|
#eb7100
1480
0
1
Nov 29, 2024 4:58:40 GMT -8
Craig
209,202
September 2001
cmdynasty
|
Post by Craig on Jan 28, 2015 1:12:34 GMT -8
To the best of my knowledge, that wouldn't be possible.
|
|
inherit
194230
0
Nov 21, 2015 5:56:42 GMT -8
Alan Vende
4,215
May 2013
l1o2u3i4s5
|
Post by Alan Vende on Jan 28, 2015 7:49:00 GMT -8
I just thought it would, Craig, because of the automatic Welcome PM. That's what made me think of an automatic birthday one. Thank you
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jan 28, 2015 10:02:24 GMT -8
Although not a PM, you COULD have it pop-up a birthday message to someone and use a cookie to store they have seen it
|
|
inherit
194230
0
Nov 21, 2015 5:56:42 GMT -8
Alan Vende
4,215
May 2013
l1o2u3i4s5
|
Post by Alan Vende on Jan 28, 2015 11:13:15 GMT -8
Wormopolis: So it could be a popup box? That'd be great! Thank you for that, Wormopolis. Could this be used for it? <script> function our_function(){ alert("This is my text that displays on the popup"); } </script> <input type="button" value="Important Message" onclick="our_function()" />
Or is it something else?
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jan 28, 2015 11:48:28 GMT -8
well yes, you COULD go with an alert... but experience tells me people would rather have something they could style themselves and add whatever content to. then use the built-in dialog function to display it.
|
|
inherit
194230
0
Nov 21, 2015 5:56:42 GMT -8
Alan Vende
4,215
May 2013
l1o2u3i4s5
|
Post by Alan Vende on Jan 28, 2015 12:04:05 GMT -8
Could you explain that a bit more? What do you mean style themselves? The only problem I see, now, with the above code is it doesn't have a variable or what have you to do it only on the birthday of the members.
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jan 28, 2015 15:38:03 GMT -8
pb_data contains the birthday of the user. if you look at the page source you should see it in there. you could have it check a members birthday from that, see if its the same as the day, see if a cookie value has already been set (so they wont keep getting the alert every pageload), then have it display some HTML onto the page that the admin customized in a plugin setting.
|
|
inherit
194230
0
Nov 21, 2015 5:56:42 GMT -8
Alan Vende
4,215
May 2013
l1o2u3i4s5
|
Post by Alan Vende on Jan 28, 2015 15:39:32 GMT -8
So a Plugin has to be created for it?
Thank you!
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jan 28, 2015 15:40:51 GMT -8
Yeah thats what I was alluding to as a way to make it happen if admins dont agree to making it an actual feature.
|
|
inherit
194230
0
Nov 21, 2015 5:56:42 GMT -8
Alan Vende
4,215
May 2013
l1o2u3i4s5
|
Post by Alan Vende on Jan 28, 2015 15:42:19 GMT -8
Would you be able to have this be a Plugin Request? Or should I go into the Plugin Request area and put in a separate thread?
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jan 28, 2015 15:49:01 GMT -8
I thought you were writing plugins? I could help you write it if you want.
|
|
inherit
194230
0
Nov 21, 2015 5:56:42 GMT -8
Alan Vende
4,215
May 2013
l1o2u3i4s5
|
Post by Alan Vende on Jan 28, 2015 15:56:10 GMT -8
Sorry, I was thinking of feature request, not Plugin request. And I am. And yeah, I would like that; thank you for the offer. I was on a social-network-type website creator that had the code that I put above, and it was a popup box. That's why I thought that that could be used. <script> function our_function(){ alert("Happy birthday, $[user.name]! Hope it's a great one!"); } </script> <input type="button" value="Important Message" onclick="our_function()" />
Where's the page for the PB Data? You talked about checking the source, but I can't access the page. Or am I thinking wrong?
|
|