• [MOD] Contact Form 5 0 5 1
Currently:  

Author Topic: [MOD] Contact Form  (Read 369346 times)

0 Members and 1 Guest are viewing this topic.

Offline Amosnet

  • Full Member
  • ***
  • Posts: 104
    • View Profile
    • Bilder verkaufen
Re: [MOD] Contact Form
« Reply #105 on: June 01, 2006, 07:05:42 PM »
I want to add more fields including a radiobutton, is that possible, and how?

Ich möchte gerne noch einige Felder und Radiobuttons hinzufügen, ist das möglich, und wie?

Vielen Dank
Gruss Amos
I love 4images! http://www.fotos-verkaufen.de Fotos verkaufen online Tips und Tricks und http://www.fotoskaufen.de

Offline True4

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: [MOD] Contact Form
« Reply #106 on: June 06, 2006, 10:57:50 PM »
hallo,

wenn jemand über mein kontakformular eine nachricht schreibt bekomme ich die nachricht komplett als html, also so (und dazwischen irgendwo die eigentliche nachricht):

<table width="100%" class="box">
<thead>
<tr>
<th class="head2">Kont@kt hoer-bar.de</th>
</tr>

</thead>
<tr>
<td><div style="position:relative;">
<table width="100%" cellpadding="6" cellspacing="2" border="0">
<FORM name="contactForm" action="{url_contact}" METHOD="POST">
<tr>
<td align="right" valign="middle"><b>Your Name:</b></td>
<td align="left"><input name="sender_name" type="text" id="sender_name"
tabindex="1" value="{sender_name}" size="40" maxlength="50">
</td>
</tr>
<tr>
<td align="right" valign="middle"><b>Your Email:</b></td>
<td align="left"><input name="sender_email" type="text" id="sender_email"
tabindex="2" value="{sender_email}" size="40" maxlength="50">
</td>
</tr>
<tr>
<td align="right" valign="middle"><b>{lang_subject}</b></td>
<td align="left"><input name="subject" type="text" id="subject" tabindex="3"
value="{subject}" size="40" maxlength="50"></td>
</tr>
<tr>
<td align="right" valign="top"><b>{lang_message}</b></td>
<td align="left" valign="top"><textarea name="message" cols="60" rows="10"
wrap="VIRTUAL" id="message" tabindex="4">afasf</textarea>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td align="left"><input type="hidden" name="action" value="emailSiteOwner"
/>
<input type="hidden" name="user_id" value="{user_id}" /> <input tabindex="5"
type="submit" name="submit" value="{lang_submit}" class="button"
style="margin-right:10px; ">
<input tabindex="6" type="reset" name="reset" value="{lang_reset}"
class="button">
</td>
</tr>
<script type="text/javascript">
// set focus to form field
cForm = document.getElementById("contactForm");
cForm.sender_name.focus();
</script>
</form>
</table>

</div>
</td>
</tr>
</table>


Was ist falsch, was mache ich falsch?
Die Dateien habe ich schon mal auf CHMOD 755 gesetzt, die eMail Adresse ist auch drin im contact.php, was ist falsch  :roll:
DANKE
True4

Offline TIMT

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: [MOD] Contact Form
« Reply #107 on: June 08, 2006, 11:25:55 PM »
Hi everybody

How can I implement additional fields in the contact form (e.g. company name)?

Thanks for helping me.

Offline beach-baer

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: [MOD] Contact Form
« Reply #108 on: July 09, 2006, 08:42:17 PM »
Moin Moin,

Ich habe den Mod "contact" integriert, mit dem man auf meiner www.minibild.de Homepage eine Kontaktanfrage zu einem Bild an mich richten kann. Das ganze funktioniert soweit auch ganz gut. Ich hätte aber gerne, dass der Bildtitel gleich als Betrefftext in das Kontaktformular übergeben wird. Leider werden aber nur zufällige Bildtitel übergeben, die mit dem eigentlichen Foto aber nix zu tun haben.

Da ich nicht so der php-Crack bin, hoffe ich nun, dass jemand hier im Forum eine Lösung hierzu hat und mir etwas unter den Quellcode greifen kann. :D

Viele Grüsse aus Hamburg

Kay

EDIT am 23.07.2006

Moin Moin, nun habe ich es rausgefunden, mit ein wenig STRG-C und STRG-V hat sich das Problem gelöst... :mrgreen:
« Last Edit: July 23, 2006, 03:02:54 PM by beach-baer »

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] Contact Form
« Reply #109 on: August 17, 2006, 08:33:02 PM »
Hi i installed this i am just wondering it says this on top of the contact form Überschrift für Kontaktformular << how can i change this to english

Offline tansamalaja

  • Full Member
  • ***
  • Posts: 185
    • View Profile
Re: [MOD] Contact Form
« Reply #110 on: August 28, 2006, 01:18:47 PM »
I've got the same problem as beach-baer, can anybody help me.
Perhaps beach-bear? Can you tell me/us how you did it?

Kann beach-bear vielleicht den Lösungsweg posten, damit auch andere davon profitieren können... Büdde büdde...

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] Contact Form
« Reply #111 on: August 29, 2006, 02:36:19 AM »
Hi i installed this i am just wondering it says this on top of the contact form Überschrift für Kontaktformular << how can i change this to english

Can someone please tell me this

Offline tansamalaja

  • Full Member
  • ***
  • Posts: 185
    • View Profile
Re: [MOD] Contact Form
« Reply #112 on: August 29, 2006, 08:53:00 AM »
Look in contact.php line 38:

[qcode]$txt_clickstream = "Your text in here";[/qcode]

Offline paburmester

  • Full Member
  • ***
  • Posts: 244
    • View Profile
Re: [MOD] Contact Form
« Reply #113 on: September 20, 2006, 09:03:04 AM »
Hello

i have this erreur
Quote
DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.user_name FROM 4images_images i, 4images_categories c LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id IN (0, 45, 54, 47, 38, 1, 42, 41, 46, 53, 36, 44, 37, 52, 35, 40, 51, 34, 39, 48, 50, 33, 49, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 3) AND i.image_date >= 1148116045 ORDER BY RAND() LIMIT 4
Unknown column 'i.user_id' in 'on clause'

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/23/d161190330/htdocs/4images/includes/db_mysql.php on line 116


you can see the erreur at this url
http://www.tunisiaplus.com/4images/contact.php

thanks for your help



Hi, my contact form has the same problem. How can I solve that?
Regards

Offline honda2000

  • 4images Guru
  • *******
  • Posts: 3.263
    • View Profile
    • Wir machen Internet!
Re: [MOD] Contact Form
« Reply #114 on: September 20, 2006, 09:07:15 AM »
hi @ paburmester

Error: Template Error: Couldn't open Template ./templates/default/contact_mailform.html


in youre file: templates/default are not the file: contact_mailform.html

as atachement the file

Offline paburmester

  • Full Member
  • ***
  • Posts: 244
    • View Profile
Re: [MOD] Contact Form
« Reply #115 on: September 20, 2006, 09:42:40 AM »
thanks honda2000, but it stills not working  :(

Offline honda2000

  • 4images Guru
  • *******
  • Posts: 3.263
    • View Profile
    • Wir machen Internet!
Re: [MOD] Contact Form
« Reply #116 on: September 20, 2006, 11:33:06 AM »
can i see your website?? URL??

Offline paburmester

  • Full Member
  • ***
  • Posts: 244
    • View Profile
Re: [MOD] Contact Form
« Reply #117 on: September 20, 2006, 04:37:42 PM »
thanks men, i think i solve it. im using php5 so i made some changes.

if someone has the same problem you can look this post: http://www.4homepages.de/forum/index.php?topic=14704.msg79121#msg79121

Offline havanna28

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: [MOD] Contact Form
« Reply #118 on: September 22, 2006, 11:24:26 AM »
Hy

Es wäre wirklich super, wenn für dieses Kontaktformular ein Captcha angeboten werden würde, da
viele Leute mit Spam zu kämpfen haben über dieses Formular.
Hat jemand eine Idee?


Offline havanna28

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: [MOD] Contact Form
« Reply #119 on: September 22, 2006, 01:03:02 PM »
Hy Ivan

Danke für deine Info, jedoch ist dieser Beitrag für die Kommentare gedacht und nicht für die Kontakt Funktion.
Cappucino hatte diese Frage auch schon mal gestellt.Wir haben Probleme das Script so anzupassen, das es auch für das Kontaktformular zu nutzen ist.

Dirk