1 (edited by druvans 2005-05-28 14:41)

Topic: Forward or "Send to your friend" posts

I created 'forward' post functionality - still in beta mode

If anyone interested to see how it looks,or suggestions how it should be, here is the code: http://www.gotoguide.org/forward.zip

2 (edited by druvans 2005-05-27 19:27)

Re: Forward or "Send to your friend" posts

Demo: http://jobs.gotoguide.org

Login using: uid=gTg and pwd=gotoguide

see the forward link near Report|Quote so on


Known issue: There is no validation on email address, as I am not sure how to do it.

Now uses is_valid-email function from email.php

Re: Forward or "Send to your friend" posts

Interesting modifcation. *downloads*

Re: Forward or "Send to your friend" posts

Download: http://www.gotoguide.org/forward.zip

Re: Forward or "Send to your friend" posts

Sorry, the *'s were an action. tongue

Re: Forward or "Send to your friend" posts

What do you mean by "Forward"? Is it what's called "Sent to a friend" in some forums?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Forward or "Send to your friend" posts

Yeah.. it sends the link of the topic to an email address I guess

Re: Forward or "Send to your friend" posts

Rickard wrote:

What do you mean by "Forward"? Is it what's called "Sent to a friend" in some forums?

Yes.  for e-mails, you normally forward mails.

Re: Forward or "Send to your friend" posts

OK. Cool smile

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Forward or "Send to your friend" posts

I opened the forwarding functionality for Guests also.
Restricted guests from editing message and title with readonly tag,  tested with IE and mozilla latest versions. hope that will work with older versions also

11

Re: Forward or "Send to your friend" posts

we must be careful with that kind of functin because it's really appreciated by spamers.
They post their spam on the forum and they send to people who are not their friends...

Ludo,

Re: Forward or "Send to your friend" posts

Whatever we do, there is always a way for spammers.

They cld post spam and then cut and paste the link and send to people who are not their friends.

Re: Forward or "Send to your friend" posts

It looks like guests like this functionality.

My log files shows 1000 forwards for the month of June. more than what I expected. (expectation was max 100 /month).

Re: Forward or "Send to your friend" posts

druvans wrote:

I opened the forwarding functionality for Guests also.
Restricted guests from editing message and title with readonly tag,  tested with IE and mozilla latest versions. hope that will work with older versions also

Installed the mod, works great. How can I enable forwarding for guests too, like you did?

Looking for a certain modification for your forum? Please take a look here before posting.

Re: Forward or "Send to your friend" posts

pogenwurst wrote:
druvans wrote:

I opened the forwarding functionality for Guests also.
Restricted guests from editing message and title with readonly tag,  tested with IE and mozilla latest versions. hope that will work with older versions also

Installed the mod, works great. How can I enable forwarding for guests too, like you did?

Sorry, I was sleeping for a while.

There is two lines like as follows in the top of forward.php -

   if ($pun_user['is_guest'])
        message($lang_forward['No permission']);

comment out that.

I can send you modified forward.php file [in case you dont want to change the php file urself]

Re: Forward or "Send to your friend" posts

Anyone have this kicking about? Link for download not working anymore.

17 (edited by druvans 2006-05-17 13:07)

Re: Forward or "Send to your friend" posts

http://www.gotoguide.org/dnld/forward.zip

if you run into any issues with it, let me know

18 (edited by StevenBullen 2006-05-17 13:25)

Re: Forward or "Send to your friend" posts

druvans wrote:

http://www.gotoguide.org/dnld/forward.zip

if you run into any issues with it, let me know

Will do...

Will try it out tonight. Its a good feature, surprised I had not found it before. Any reason its not on punres.org? (Apologies if it is and I missed it)

Anyway thanks again mate.

19 (edited by druvans 2006-05-17 17:03)

Re: Forward or "Send to your friend" posts

StevenBullen wrote:

Any reason its not on punres.org? (Apologies if it is and I missed it)

1 Laziness
2 Dint see lot of followers and thgt it is not that useful