Firstly, it was the happiest day of my life when I dropped upon Advanced Guestbook! Such an excellent piece of work and for free. Got to be worth $100 of anyone's money!
I would like to add a new field to cature some extra data but I am such a complete novice at PHP that I have had no luck and now have run out of ideas.
Anyone know which files to edit and what the code to insert would be for say "newfield" to be included as a new field?
Many thanks for anyone's help.
13/09/2003 07:29:20
Subject:
oavs
Beginner
Joined: 12/09/2003 05:43:48
Messages: 9
Offline
I like to know as well. Whichtemplate needs to be edited to include additional fields?
17/09/2003 19:48:47
Subject:
Anonymous
It can be done. It is a lot of work though, and it is not as easy as you might think. It involves modifing almost every php file and adding new tables to the database.
once you figure the jist of that out, then it is not a problem. I have added a custom field, plus the yahoo and msn mods, and also the anti-spam mods as well as the human verification mod.
I also changed all the post methods in the addentry.php file because of remote spammers, but that was before I put the human verification mod in place
also lastly, I don't use the templates that come with advanced GB. they don't allow for parsing anything...so I just added my includes and template straight into the main files..
I'm totally new to php and only familiar with html code, but have gotten past the basics. I used the advanced guestbook script but want to edit some of the wording at the header. I noticed some of you have done that but I cant seem to find the html files that include this messaging. Ive seen the added fields...nice...but have a hard time figuring out what you did! Also, I noticed the pull-down menu when viewing posted messages. Mine only shows guestbook...how do you add other selections? I'd like to be able to add the main page. I'm pretty resourceful...but i could use some help. Anyone?
22/09/2003 00:44:11
Subject:
oavs
Beginner
Joined: 12/09/2003 05:43:48
Messages: 9
Offline
As regards to adding other sections - you don't.
Guset book adds when it reaches 10 + messages
and changing wording etc. you really need to go every file in templates and the root dir of the guest file to see which files and what word you need to change.
It's a start... but this forum has helped tremendously! I've found the messages...with that and figuring out which gifs are displayed...i can find the exact php file that i can edit and make changes to.