1st off tnx mssarath for your nice module,
this is my first patch that i submit so if you could review it that would be nice...
ive created a extra option that adds "send own ecard" permission to let ppl email only their own added content...
also i extended the form with extra if statement:
- the send form doesn't shown when the message is set (when viewing a ecard)
- the send form doesn't show when they have no permission to send
I needed this functionality with a real life game where people after the game could upload their own pictures and send them as a ecard to their friends... and i didn't like the idea of ppl sending pictures of someone else.
I was also thinking of a extra option at the ecard form to let the people choose for themselves but have to spend some time on other parts of the site
Maybe later if there is more time and more ppl are interested ;)
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | own_ecard_perm-6x-1.1.patch | 2.49 KB | mroots |
| #2 | own_ecard_perm-v2.patch | 1.7 KB | mroots |
| own_ecard_perm.patch | 1.5 KB | mroots |
Comments
Comment #1
mssarath commentedactually i designed it as admin as sole owner of content, ie, the like a greeting card site, it seems like many ppl like to extend it to the community , i will go through the patch and also try to extend it with the user selected from his buddylist. hopefully i will get some free time by the end of this month to do these coding.
thanks for the suggestions.
sarath
free birthday ecards
Comment #2
mroots commentedDOH! didn't create the correct patch... i had forgotten to include the global user in the ecard_form so it didn't work correctly
so here is an update
Comment #3
kars-t commentedIs this still pending?
Comment #4
kjackson commentedLove this idea. What part of the patch can I pull so that the send form does not ever show on the view page for any user? I owe you guys a donation! Thanks!
Comment #5
mroots commentedIve ported this functionality to the 6.x-1.1 version
I haven't fully tested the changes I've made yet!! so you are warned
what's new is that you can set the appearance of the ecard form when showing the message.
You can find a checkbox in the misc field group in the admin/ecard settings
so if someone likes to try it out now and give some feedback that would be nice ;-)
---
UPDATE:
tested some more and fixed some issues... all seems to be working now. give it a try ;-)
Comment #6
mroots commentedStarted new thread, go to #340314: Ecard extend send access and altering form when viewing