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 Help Adding New Fields  XML
Forum Index » Support Forum
Author Message
Anonymous



I have been able to convert the Gender field to read Navy MSO Association Member and the buttons are Yes & No. I can't how ever get the entry to submit the same thing when I view them. I have gone into a lot of the directories and changed the "gender" to NMSOA_Member" and even changed the code to the picture. No matter what I choose "Yes" or "No" I get the Male symbol. Is there a simple way to change or add a field to the Advanced Guestbook 2.3.1?
Rick
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

You need to edit lib/gb.class.php. Open it up and look forthis is what turns the answer into the relevant images. If you don't know PHP it basically says if you are allowing them to specify a gender then check what ender they submitted. if gender is f (female) then make $gender the female image else make it the male image.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



Thanks... I have everything working just the way I want it to now...
Rick
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum