how to disable epostcard

marafa - December 30, 2007 - 10:35
Project:Forward
Version:5.x-1.12
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

hi
i want the forward functionality but without the epostcard functionality.

how do i disable postcard function of the forward module?

thanks

#1

promes - January 2, 2008 - 13:02

I like to be able to set the permissions for e-postcard functionality like the forward itself. So default off.
Personaly I don't see the added plus for this option, because it will result in being used by spammers, without leaving a trace where it actually comes from. With the added problem my sites are being blocked by projects like project honeypot: www.projecthoneypot.org. See the httpbl module that helps fighting the spammers of our world.

To marafa and others who have problems with this function: go to administer - menus and disable the menu-item.

#2

femrich - January 4, 2008 - 07:00

I second this. How can the e-postcard be disabled? If it takes disabling the entire Forward module, that's what I'll do. This should be a completely separate function.

#3

promes - January 4, 2008 - 09:45

See the last sentence of my reaction #1 to know how to disable the e-postcard functionality.

#4

femrich - January 7, 2008 - 05:22

... except that only disables the menu link that forward currently automatically adds to the menu. It does nothing to disable the function, so far as I can tell. Doesn't take a genius to type in the URL the menu item would have pointed to. Even a newbie can figure out that workaround, eh?

#5

promes - January 9, 2008 - 13:01

I totally agree with you. But for the short time it is an option.
The real solution is to be able to disable the option by setting a permission to use it and what role can use it.
I actually used it to send a message to a spammer (with as sender e-mail addres noreply@xxxxx) so not giving my personal address nor additonal info about my provider and so on. But for me, this is the rare occasion I see to use it, unless someone doesn't have a private/business e-mail address.

#6

mvc - February 19, 2008 - 16:58
Component:Documentation» Code
Category:support request» feature request
Status:active» patch (code needs review)

I also would like to give users access to just the 'email this page' link, and not the epostcard feature. I've created a very simple patch against version 5.x-1.12 which adds a new permission called 'access epostcard' which must be granted for users to be able to send epostcards. Apply this patch, then unless you grant that permission to a user, they will not be able to send epostcards. If you use this patch, please post a reply and change this issue's status to either 'code needs work' if you find a problem, or 'ready to be committed' if it does what you need.

Please note that user 1 will still be able to send epostcards and will still have the link present in the navigation menu.

AttachmentSize
epostcard.patch780 bytes

#7

fang2415 - February 21, 2008 - 01:34
Status:patch (code needs review)» patch (reviewed & tested by the community)

Worked a treat for me, thanks mvc. Changed the status.

#8

mr.j - April 2, 2008 - 06:45

Yes I third or fourth this one. I upgraded a bunch of modules a few days ago and only just noticed the link now. I was thinking WTF did that come from? Definitely make it permission-based and off by default.

#9

seanr - April 10, 2008 - 16:39
Status:patch (reviewed & tested by the community)» fixed

Fixed in CVS (DRUPAL-5) and will be in the next release. Thanks.

#10

Anonymous (not verified) - April 24, 2008 - 16:42
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.