Forums

DMSGuestbook
[resolved] Custom fields with DMSGuestbook (6 posts)

  1. sporez
    Member
    Posted 8 months ago #

    Is it possible to have totally custom fields with DMSGuestbook? for example instead of having, Name, Email etc. I could wipe those out and put my own fields instead.

    Is this possible, and if so how would I go about doing that?

    http://wordpress.org/extend/plugins/dmsguestbook/

  2. DanielSchurter
    Member
    Posted 8 months ago #

    Hi sporez

    Only an additional selectbox can be added, this option can be found on the "Extended" section.

    Other custom fields needs to have PHP programming and MySQL database skills.

    Dani

  3. sporez
    Member
    Posted 8 months ago #

    Thanks for the response! Sorry to hear it won't work. I think i've found a solution in using Fast secure contact form plugin along with Contact Form 7 to Database Extension.

  4. m266
    Member
    Posted 8 months ago #

    Hallo Daniel,

    ist es möglich, die IP-Adresse nicht abzufragen bzw. nicht in der Datenbank zu speichern? Es gibt beim Speichern der IP-Adressen mittlerweile rechtliche Probleme in Deutschland.
    Als Quick&Dirty-Lösung habe ich die Spalte IP in der DB auf 3 Zeichen gesetzt, so dass nur ein der Anfang der IP gespeichert wird. Dies ist natürlich nur eine provisorische Lösung. Besser wäre es, im Plugin die Speicherung der IP fallweise abzuschalten oder die IP zu anonymisieren.

    Gruß Hans

  5. DanielSchurter
    Member
    Posted 8 months ago #

    Hi Hans

    Dies ist möglich.
    Dazu muss unter dmsguestbook.php die Variable $ip = getenv('REMOTE_ADDR'); (Zeile 277) gelöscht, oder mittels substr
    http://ch2.php.net/manual/en/function.substr.php auf eine bestimmte Anzahl Zeichen zurecht geschnitten werden.

    Gruss,
    Dani

  6. m266
    Member
    Posted 8 months ago #

    Hallo Daniel,

    ich habe die Zeile 277 nun auskommentiert und die IP wird nicht mehr angezeigt. Weil das Thema Datenschutz immer sensibler wird würde ich vorschlagen, die Ünterdrückung der IP als Option im Plugin einzubauen. Es bringt zumindest den deutschen Webmastern mehr Rechtssicherheit. Ansonsten muss bei jedem Update die Zeile 277 erneut auskommentiert werden.

    Gruß Hans

Reply

You must log in to post.

About this Plugin

About this Topic