I added 2 new fields
first field for e-mail of the guest
and second one for link to the website of the guest
after posting the guest info its possible to click the links.
i hope some one like this.
greetings
Arne
ps: the guestbook module works without problem in Drupal 4.6.0
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | guestbook_4.module | 12.55 KB | andre1 |
| #2 | guestbook.module | 11.79 KB | arne@dbyte.nl |
| guestbook.zip | 3.82 KB | arne@dbyte.nl |
Comments
Comment #1
hba commentedThanks. Arne. I'll look into your code, and consider adding it to CVS.
Comment #2
arne@dbyte.nl commentedI have a update of my version of the code
fix:
when displaying the guestbook the e-mail of the guestbook entrys will not show to normal users only to the admin users
and i made some text translatable by the localization module.
greets
Arne
Comment #3
hba commentedI'm still considering to commit the extra field, don't give up hope.
Comment #4
andre1 commentedJust merged the extra features with your latest version of guestbook for 4.6.0 (27.02.06).
Also fixed some xhtml warnings and added a table for the formfield.
Comment #5
andre1 commentedsmall fix for above code:
change:
$bookowner= l($account->name, "user/view/$account->uid");
to:
$bookowner= l($account->name, "user/$account->uid");
Comment #6
hba commentedEmail and web fields are available in the 4.7 version I just submitted to CVS (tagged with DRUPAL-4-7). Thanks goes to tenrapid for the rewrite!
Comment #7
hba commentedComment #8
hba commentedComment #9
(not verified) commentedComment #10
MishelM commentedIs there any way to add something that would allow the Admin to approve comments before they went live. We are being harrassed by a person who keeps posting under a different IP address and don't want to take down the guestbook.