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 
Adding new fields or changing field names.  XML
Forum Index » Support Forum
Author Message
LOTL
Newbie

Joined: 04/08/2005 12:28:18
Messages: 2
Offline

Hi All,
I want to change the field name for Homepage to Home Group and eliminate the http://. Or create a new field name altogether called Home Group.
Doesnt look as easy as it sounds. Im running the latest version 2.3.3 of GB.
I did find this one post: http://proxy2.de/forum/viewtopic.php?t=2782&highlight=change+field+name
But its not that clear to me exactly what needs to be done and if it would work with the latest version of GB.
I was able to get into phpmyadmin through C-Panel but i am new to all this and im hoping there might be an easier way.

Thanks
Carbonize
Master
[Avatar]

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

You couldn't use the homepage field as this gets checked for a valid URL on posting. You could use the AIM or location fields though. Just change the text in the templates and language file.

Carbonize
I am not the maker of the Advanced Guestbook

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

Joined: 04/08/2005 12:28:18
Messages: 2
Offline

Thanks Carb,
A couple of problems here. I have edited english.php, aim.php and form_aim.php and added a new gif file to the image folder.
Im getting this error after clicking submit: "One of the input fields does not seem to be valid"
Im assuming its looking for a valid AIM screen name?
The changes i made are as follows:
aim.php - Changed gif name to new gif name, deleted <a href="aim:goim?screenname=$row[aim]&message=Hello"> to eliminate attempted launching of AIM when icon was clicked.
form_aim.php - changed gif name to new gif name, changed AIM to Home Group, deleted name="gb_aim"
englsih.php - changed $LANG["AltAim"] = "Instant Messenger"; to $LANG["AltAim"] = "Home Group";

I also edited an entry in the guest book and i see that there are different templates for those pages. Ill have to change those as well if i really want to clean things up. For some reason the new icon shows up after entering in text in the AIM field but nothing shows up in the AIM (Home Group) field after submitting changes.

Any help would be appreciated if it would help i can send you the URL.
Carbonize
Master
[Avatar]

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

If you are using 2.3.3 it may be worht reading this thread - http://proxy2.de/forum/viewtopic.php?t=4881

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum