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

Comments

hba’s picture

Assigned: arne@dbyte.nl » hba

Thanks. Arne. I'll look into your code, and consider adding it to CVS.

arne@dbyte.nl’s picture

Version: 4.5.x-1.x-dev » 6.x-2.x-dev
StatusFileSize
new11.79 KB

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

hba’s picture

Version: 6.x-2.x-dev » 4.6.x-1.x-dev

I'm still considering to commit the extra field, don't give up hope.

andre1’s picture

Title: New features added to the guestbook module » RE:New features added to the guestbook module
Status: Needs review » Reviewed & tested by the community
StatusFileSize
new12.55 KB

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.

andre1’s picture

small fix for above code:
change:
$bookowner= l($account->name, "user/view/$account->uid");
to:
$bookowner= l($account->name, "user/$account->uid");

hba’s picture

Version: 4.6.x-1.x-dev » 6.x-2.x-dev

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!

hba’s picture

Status: Reviewed & tested by the community » Fixed
hba’s picture

Version: 6.x-2.x-dev » 4.7.x-1.x-dev
Anonymous’s picture

Status: Fixed » Closed (fixed)
MishelM’s picture

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.