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 ;)

Comments

mssarath’s picture

actually 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

mroots’s picture

StatusFileSize
new1.7 KB

DOH! 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

kars-t’s picture

Is this still pending?

kjackson’s picture

Version: 5.x-1.3 » 6.x-1.1
Status: Needs review » Active

Love 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!

mroots’s picture

Status: Active » Needs review
StatusFileSize
new2.49 KB

Ive 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 ;-)

mroots’s picture

Status: Needs review » Closed (fixed)