If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Need to add fields to the guest book, howto?  XML
Forum Index » Advanced Guestbook Modifications
Author Message
npereira
Newbie

Joined: 17/04/2006 17:11:42
Messages: 1
Offline

Hi,

Love the guest book.

Although i need the ability to add a few fields specificaly motorcycle Make/Model/year, years experience, and a few others.

I also want to replace AIM and ICQ with Hotmail account.

Is this possible and how do I do this?
yea
Newbie

Joined: 22/05/2006 21:37:56
Messages: 1
Offline

I want to add fields as well. I'm a novice at this and don't know how to do anything to the script. I can only do little things like change background color with html code.

I'd also like to change the aim and icq to something else.
Jam'n
Graduate
[Avatar]

Joined: 07/01/2003 17:31:39
Messages: 166
Location: Netherlands
Offline

I made this tutorial 2 years ago to add the extra fields
I know it works, the only problem at the moment is that when you preview the entry the extra field isn’t written away.

I don’t have any time at the moment and I stopped support for the guestbook.
So I never looked to fix this problem


To use it:

1. Import the table (with phpMyadmin).
2. Change “extra1” and “extra field:” with the name you want, “extra1 is the database name and “extra field:” is what the guestbook shows the guests.
3. Replace “Your_picture.gif"” with the image you want to see.
4. Just follow the instructions.



Import (with phpMyadmin) this table into your database:




Open index.php

Find:


Add after:




Open addentry.php

Find:


Add after:




Open templates/entry.php

Find:


Add after:



Open templates/form.php

Find:


Add after:



Open templates/previewentry.php

Find:


Add after:




Open admin/panel_edit.php

Find:

Add after:



Open admin/panel_easy.php

Find:

Add after:




Open lib/add.class.php

Find:


Add after:



Find:

Add after:


Find:


Add after:



Find:


And replace with:


Find:


Add after:



Find:


Add after:


Find:


Add after:




Open lib/admin.class.php

Find:


And replace with:




Open lib/comment.class.php



Add after:




Open lib/gb.class.php

Find:


Add after:

Jam'n


------------------------------------------------

Only the man who's truly educated
understands that he knows very little...

------------------------------------------------
[WWW]
 
Forum Index » Advanced Guestbook Modifications
Go to:   
Based on the open source JForum