PDA

View Full Version : "Reminder" in notification email!


trafix
04-15-2003, 02:35 AM
I could probibly do this but more than likely i would stuff it up...

*****EDIT ******

I think I can do the hack myself.

Sorry

Erwin
04-15-2003, 02:45 AM
You can do this as a template mod (although Admin CP is also not hard at all to do).

Just using templates:

1) Open phpinclude template.

2) At the bottom, at:

$emailmessage = "This weekend is.... blah blah blah";

3) Open email_notify template and add $emailmessage wherever you want it to show.

This is a quick and dirty way to do it without hacking. :)

Btw, you can now add $emailmessage anywhere in any template, and your message will show too. :)

trafix
04-15-2003, 02:57 AM
yeah, thats why i edited my request.... thanks Erwin

I will add a text box in email options in the "vBulletin Options".

Give me a little time and it should be done ready for realease as it could be quite handy

trafix
04-15-2003, 07:30 AM
Ok i got it worked out...will pack and release soon

Logician
04-15-2003, 08:21 AM
I say put your annoucement in a template, then call it as


eval("\$MyAnnouncement= \"".gettemplate("MyAnnouncement")."\";");

whereever you need it. Then you can add variable "$My Announcement" to your notifications (don't forget to make it global) or any other place you like.

This will save using the phpinclude template..

trafix
04-15-2003, 08:39 AM
Its done!

i have added a section for it in the "email options" in the "vBulletin Options "

I am packing it ready for release

trafix
04-15-2003, 09:21 AM
Today at 08:15 PM Logician said this in Post #5 (https://vborg.vbsupport.ru/showthread.php?postid=382405#post382405)
I say put your annoucement in a template, then call it as


eval("\$MyAnnouncement= \"".gettemplate("MyAnnouncement")."\";");

whereever you need it. Then you can add variable "$My Announcement" to your notifications (don't forget to make it global) or any other place you like.

This will save using the phpinclude template..


RELEASED! damn I love a chalenge...lol

Erwin
04-15-2003, 09:25 AM
Adding it to a template will add one query if you call it...

Logician
04-16-2003, 11:59 AM
Yesterday at 12:25 PM Erwin said this in Post #8 (https://vborg.vbsupport.ru/showthread.php?postid=382412#post382412)
Adding it to a template will add one query if you call it...
Not if you add it to $templatesused variable. ;)

trafix
04-16-2003, 12:13 PM
keep going guys...lol..im learning from this argument :)

trafix
04-16-2003, 12:15 PM
Admin Vs Mod

Love it ... lol :)