Page 1 of 2
"Tell a friend" box
Posted: Thu 26. Jan 2006, 15:58
by macaronesico
I know this post is not really phpwcms support, is an experiment i like to get. Would like to give visitors the posibility to "tell a friend" about the site. For this i get the user mail, user name, friends mail adresses. User should be able to write a little text or let a standar one. Don't know if someone could help me a little bit to go on
Hi,
im trying to make a "tell a friend" function box... but i got a little bit lost. Someone made already something in this direction?
I'm not as experienced programming ... the actual version of the module is under
http://www.mediartistes-asso.fr/tellafriend.html. I don't know how to continue...
1 should eb able to add mails without loosing previous
2 should communicate with the phpmail for sending
I hope someone is also interested on that feature and knows a little bit better. Thks in advance,
Juan Alberto
Posted: Fri 27. Jan 2006, 04:37
by Pappnase
hello
please take a look into the hacks section!
Re: "Tell a friend" box
Posted: Wed 6. Feb 2008, 11:02
by fopulu
Gibt es zu diesem Thema eigentlich Neuigkeiten in Vers > 1.3.3?
Oder gibt es einen Mod dafür? Oder andere Tipps, wie man so etwas einbauen könnte?
Danke!

Re: "Tell a friend" box
Posted: Wed 6. Feb 2008, 12:13
by rushclub
sollte jetzt mit dem neuen kontakformular möglich sein laut o.g..
meine sowas mal hier im forum gelesen zu haben.
gruesse
rush
Re: "Tell a friend" box
Posted: Wed 6. Feb 2008, 12:17
by fopulu
das klingt gut... kann das jemand bestätigen?
ich probier mal....
Re: "Tell a friend" box
Posted: Wed 6. Feb 2008, 12:32
by update
Ja, OG hat vor ein paar Tagen so was erwähnt - finde das Posting allerdings gerade nicht.
Sollte also gehen...
Re: "Tell a friend" box
Posted: Wed 6. Feb 2008, 14:07
by fopulu
hm, habe nichts gefunden.....

Re: "Tell a friend" box
Posted: Wed 6. Feb 2008, 14:17
by update
Re: "Tell a friend" box
Posted: Wed 6. Feb 2008, 14:26
by fopulu
Ah, ok, danke Claus!
Jetzt stellt sich nur die Frage, wie geht das?

Re: "Tell a friend" box
Posted: Wed 6. Feb 2008, 14:39
by update
Was willst Du denn dem friend tellen?
EDIT: AAHH BTW we are in the english section aha aha ...
Re: "Tell a friend" box
Posted: Wed 6. Feb 2008, 14:57
by fopulu
Ahhh, english, sorry guys....
uh, i just want to tell:
Hey, just have a look at this picture on the site xyz, isn't it great?
The user should be able to send a mail to a friend in which the url of/to the actual content part is shown.... better it is, when the recipient get's an email like an e-card. The "tell-a-friend"-button will be placed at the bottom of the preview image of a gallery....
Is this possible? And if yes, how?
Re: "Tell a friend" box
Posted: Wed 6. Feb 2008, 15:08
by update
Fiddle together the following:
Subject: text field
Name: text field
Email: email field
Notice: text area field
Captcha-Img:...
Captcha-input: ...
Send: ...
You will see: You can select from = form-email, subject= form-subject...
at the bottom you choose the place holders for the email content...
If you want to have the page title sent as subject:
http://forum.phpwcms.org/viewtopic.php? ... e+in+email
endless possibilities

Perhaps you can even choose a hidden field and send {CONTENT} (never tried...)
Re: "Tell a friend" box
Posted: Wed 6. Feb 2008, 15:23
by fopulu
Yes, that's right.
If done this a lot of times.... but where do I get the current url from the site, I want to tell a friend.....???

Re: "Tell a friend" box
Posted: Wed 6. Feb 2008, 15:38
by update
At the very bottom you can put together your mail content - look at the pulldown boxes with the placeholders and then you'll get something like that:
Die Anfrage wurde über die Adresse
http://domain.de/index.php?supershow am 08/02/06 05:18:37 gemacht.
Die IP des Anfagenden war zu diesem Zeitpunkt xxx.xxx.xxx.xxx
Re: "Tell a friend" box
Posted: Wed 6. Feb 2008, 16:47
by fopulu
Correct!
But isn't
the link to the contact side where the user put's in his data?
It must be "
http://domain.de/index.php?link_to_wher ... nt_to_show"