Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Suggestion: Login Notice Feature

Quote Reply
Suggestion: Login Notice Feature
Hi,

It would be cool if there was a feature in the admin area to write a notice and have it displayed to users as they go through the login process - similar to the way the "mailbox full" notice currently works.

It could be used for more urgent or important notices that all users MUST read, rather than just mailing their mailbox.

What do you think?

Cheers,
R.



Quote Reply
Re: Suggestion: Login Notice Feature In reply to
Some suggestions:

1) Create another table called tbl_Announcements. In this table, you could have the following fields/columns:

AnnounceID
Announce_Abstract
Announce_Description
Date_AnnounceAdded
Date_AnnounceEdited

2) Create a .def file for this table.

3) Then hack the admin script that accesses this table.

4) Then you can create global tags to reference data from the tbl_Announcements. Basically, you could write a query that pulls the top 2 or 3 announcements or whatever using LIMIT function. Also, you'll need to create another template file(s) to show the announcement. Then you can post the announcements in any of your template files.

Good luck....

Regards,

Eliot Lee Wink
http://anthrotech.com/
Quote Reply
Re: Suggestion: Login Notice Feature In reply to
It would probably be better to make a plugin rather than start hacking the code, especially as Gossamer-Mail is continually being upgraded. I'm not sure how easy it would be though, or even if possible.

Installations:http://www.wiredon.net/gt/

Quote Reply
Re: Suggestion: Login Notice Feature In reply to
Uh...the above logic can be used as a plugin!

Regards,

Eliot Lee Wink
http://anthrotech.com/
Quote Reply
Re: Suggestion: Login Notice Feature In reply to
I never said it couldn't.

I was pointing out to ryel01 that making a plugin would be a good way to go about what you suggested.

Installations:http://www.wiredon.net/gt/