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 
modify Gender  XML
Forum Index » Advanced Guestbook Modifications
Author Message
admin2
Newbie

Joined: 03/03/2015 13:00:49
Messages: 3
Offline

I want to modify Gender
applied
Gender: Male , Male2 , Female , Female2 , Female3
modify code How do step
thankyou
Carbonize
Master
[Avatar]

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

It's easy but why so many?

Carbonize
I am not the maker of the Advanced Guestbook

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

Joined: 03/03/2015 13:00:49
Messages: 3
Offline

I'm not the expert, but I'll try
Carbonize
Master
[Avatar]

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

1 - edit templates/form_gender.php to add the new inputs. Make sure they all have a value that is a single letter.

2 - Open lib/gb.class.php and find



replace with



Adding more elseif to include the new options you added.

Carbonize
I am not the maker of the Advanced Guestbook

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

Joined: 03/03/2015 13:00:49
Messages: 3
Offline

thankyou Carbonize
 
Forum Index » Advanced Guestbook Modifications
Go to:   
Based on the open source JForum