|
|
Joined: May 2006
Posts: 579
addict
|
|
addict
Joined: May 2006
Posts: 579 |
Where do I find the text of the birthday emails for 7.2? Thanks 
|
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
/languages/english/cfrm.php fyi, coulda used cpanel, languages, language editor, search 'Birthday'  oh, and glad to see you back 
|
|
|
|
|
Joined: May 2006
Posts: 579
addict
|
|
addict
Joined: May 2006
Posts: 579 |
Thanks SD! 
|
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
|
Joined: Jul 2006
Posts: 4,057 |
what's the trigger for this to be sent? Yeh the date, but is there an opt in opt out?
When does the e-mail get sent? Midnight? Or after someone posts on that day ?
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
|
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
|
Joined: Jul 2006
Posts: 4,057 |
yes what? lol
< Me Checks SD hasn't edited in the answer before i post >
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
lol.. hahahaaha... you got me.. dammit i was going to edit it, just to fool with you... damn... note to self: Mark S is onto me  oh and your answer is that cfrm does it and technically it's on the first time that cfrm notes that the birthdays haven't been sent for the current day. specifically:
$today = $html->convert_time($cachenow,$config['TIME_OFFSET'],"j",1,0);
if ($today != $birthdays_sent && $config['BIRTHDAY_NOTICE']) {
include("libs/triggers.inc.php");
trigger_birthday_notifications($birthdays_sent,$cachenow,$today);
}
|
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
|
Joined: Jul 2006
Posts: 4,057 |
I don't wear these shades to just look good  < Now i edit to keep up with the above edit lol > So when someone hits the index page, e-mails are sent on that day. So if the first person looks at 2am that's when the e-mails are sent ?
Last edited by Mark S; 07/21/2007 5:15 PM. Reason: SD changed his post again
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
when cfrm is loaded.. sooooooo, that could be like the first user to login and do a ubbthreads?ubb=cfrm to your forum, when the b'days need sending out. technically that could be 1 second after midnite or longer... you get the drift though 
|
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
damn..your edit foold me!!!
|
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
|
Joined: Jul 2006
Posts: 4,057 |
< SD has taste of own medicine lol >
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
|
Joined: May 2006
Posts: 579
addict
|
|
addict
Joined: May 2006
Posts: 579 |
There's only one bummer about the birthday email. I wanted the email to be "from" my website name, not my forum name. And I looked forever last night how to change it without changing the forum name, but I couldn't. 
|
|
|
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150 |
RE: Sending - Yeh, first time main forum page is loaded; if you get hit by bots it's likely you'll get it sent right at midnight. RE: Not allowing - I think, but may be wrong, that it requires users to select the option to recieve forum mailings. RE: Name - I'm sure you can request a mod over @ ubbdev rosie 
|
|
|
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150 |
@SD and Mark; you guys mess with eachother almost as often as I mess with both of you individually!
|
|
|
|
|
Joined: Nov 2006
Posts: 3,097 Likes: 1
Carpal Tunnel
|
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,097 Likes: 1 |
You saying there is some Broke Back Mountain mood icon needed here?
|
|
|
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150 |
Perhaps, if you enjoy wearin that dress...
|
|
|
|
|
Joined: Jun 2006
Posts: 811
old hand
|
|
old hand
Joined: Jun 2006
Posts: 811 |
I have a formatting question... I've noticed the birthday email users receive for my site come through like this: The team at 'mydomain.com', [http://www.mydomain.com/ubbthreads/ubbthreads.php], would
like to wish you a Happy Birthday!, The ending bracket and comma are hotlinked, thus screwing up the link. Here is what is in my language file: Hi %s,\n\n The team at %s would like to wish you a Happy Birthday! How should I change it to eliminate the brackets and comma in the link?
|
|
|
|
|
Joined: Jun 2006
Posts: 811
old hand
|
|
old hand
Joined: Jun 2006
Posts: 811 |
Any tips on the language file edits? Thanks.
|
|
|
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150 |
Well, the link isn't an HTML link (AFAIK) so it'd be the email client which is converting it to a link... When it's converting, it's converting the full URL, and assuming ], are a part of it.
I'm unsure of where it is however, I am sure it's in the code itself and not the wordlet.
|
|
|
|
|
Joined: Jun 2006
Posts: 811
old hand
|
|
old hand
Joined: Jun 2006
Posts: 811 |
Anyone know what file the ], might be in? Thanks.
|
|
|
|
1 members (Gizmo),
156
guests, and
110
robots. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
|