Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Customize "New Registration" Email

Customize "New Registration" Email 14 years 10 months ago #6460

  • mrdavis
  • mrdavis's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
I'd really like to see the feature to customize the email, myself. We have quite a few custom fields and need the information to be formatted in the same manner as the forms filled out manually (you know... with a pen) for quick reference of emergency contact info and such. The one column vertical list of fields just won't do it. It would be nice to format the email as I need it and just print that when it is recieved, with no complications to the processing workflow.

For now, my thought is to get by with a link in the email with the confirmation number in the URL that I can use for a query, and format the results as I link. Get the email>click the confirmation number>the form I want to print opens in the browser and it can be printed.

The only problem is I can't find where the email I'm getting is generated. In dtregister.php I found a line (1137) searching for DT_CONFIRMATION_NUMBER that looked promising but adding text to the table cell didn't show up in the email. I couldn't find anything else like that.

Where might I find what I need?

Please Log in or Create an account to join the conversation.

Customize "New Registration" Email 14 years 10 months ago #6520

  • mrdavis
  • mrdavis's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Nevermind, found the line I needed in common.php. I modified the line so the confirmation number was in a hyperlink to a file that ran a query with the confirmation number and formatted the results as I needed it. That should do the trick for us.

Being able to format the admin email still would be slightly more convenient, as we could just print the email. I also wouldn't have to maintain core changes across upgrades :) . Though, one line isn't bad I suppose.

Your DT MyScript plugin might be a cleaner way to accomplish my goal at my end, depending on the answer to lexx's unanswered post in the MyScript forum.

At any rate, I'm appeased and have the function I need at the moment.

Please Log in or Create an account to join the conversation.

Customize "New Registration" Email 14 years 8 months ago #7381

  • rjrosamond
  • rjrosamond's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0
I echo everyone's comments on this so far, and this really would be a nice modification for the next version of DT Register. Mainly:

1. Allow custom subjects using tags specific to the event. This will make setting e-mail rules much easier if you're the admin, and makes the message subjects that more meaningful.

2. Allow custom formulation of the confirmation code. The number itself is fine, but the "DC-" means nothing to us. I suppose allowing different prefixes could get messy, but I could also see how that might be handy depending on various event types. But for the time being, just substituting DC with your own would be good.

Another vote for this... please add to the next version if possible. I've been making these code changes after every release, and can't imagine I'm the only one!

Many thanks.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Time to create page: 0.533 seconds