Registration is currently disabled.
Can somebody tell me
how to do:
Recommend this page
with two fields: Your email, Friend's email
It will be on every page. After
submitting I need to get e-mail with those two addresses and IP. All the
information must be stored in db.
Oh and by the way. Because
my blog is Multilanguage is it possible to change global setting depending on
March 6, 2005
I suggest you setup a form and use the PHP method of inserting the form code in your post/page template, see the Help! documentation on how to insert forms using PHP.
You can setup the form itself with just the two email fields, if you check both fields as "Is Email" make sure to put the "friends' email" field as the FIRST email field (this one will receive the auto confirmation message!).
Then configure a notification message (look for auto confirmation settings) that will go out to the first email address provided when submitting the form.
Multi-language: not sure what you're trying to do, but cforms is currently supporting Spanish and German (for the admin UI) and is dependent on the WP_LANG variable set in WP.
For example in options in Admin Panel you can specify the error messages shown in case something goes awry.
My blog (CMS) will be in 3 languages (using Gengo). When there will be an error it will show in every language the same information that I wrote in Admin Panel.
Normally in my template I do:
if (is_language('en')) echo "Try again";
elseif (is_language('pl')) echo "Sprobuj ponownie";
elseif (is_language('de')) echo "blabla";
Can I place such a code somewhere?
Most Users Ever Online: 959
Currently Browsing this Page:
Guest Posters: 3568
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6398)