RE:New features added to the guestbook module
hard-art - June 6, 2005 - 21:27
| Project: | Guestbook |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | hba |
| Status: | closed |
Description
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
| Attachment | Size |
|---|---|
| guestbook.zip | 3.82 KB |

#1
Thanks. Arne. I'll look into your code, and consider adding it to CVS.
#2
I 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
#3
I'm still considering to commit the extra field, don't give up hope.
#4
Just 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.
#5
small fix for above code:
change:
$bookowner= l($account->name, "user/view/$account->uid");
to:
$bookowner= l($account->name, "user/$account->uid");
#6
Email 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!
#7
#8
#9
#10
Is 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.