Dear All
In an earlier message I asked:
Quote:
3. Is there a module that can be used for easily maintaining a members address list (name, contact details etc). Ideally, this would be based on an adapted "register" page to avoid having to enter details more than once. Alternatively, what files other than register.php would have to me changed so that register page could include address, postcode etc and these feed through into the database? Inside XOOPs and looking at the Members list, it may be possible to change ICQ, AIM, YIM etc for other headings?
Fritz kindly responded with some ideas and you will note from my edit, the "Click here to register" problem is now solved.
On point 3, I tried editing the Addresses 1.7 module and did reasonably well, but asked whether it would be possible to use this as the registration. rabideau commented this would probably take some programming.
Not being a programmer, I have come up with a half-way house based on my original message that serves my needs.
I have edited the files serving the user pages. Rather than going through and recoding, I have tried to keep it simple by changing the use of existing fields (ICQ, AIM etc) which were beyond the needs on my site. I have amended the following:
1. In ../language/english/user.php change
define('_US_ICQ','Organisation');
define('_US_AIM','Department');
define('_US_YIM','Address');
define('_US_MSNM','City');
define('_US_LOCATION','County');
define('_US_OCCUPATION','Post Code');
define('_US_INTEREST','Phone');
2. In .. /modules/system/language/english/admin
users.php
findusers.php
change
define("_AM_ICQ","Organisation");
define("_AM_AIM","Department");
define("_AM_YIM","Address");
define("_AM_MSNM","City");
define("_AM_LOCATION","County");
define("_AM_OCCUPATION","Postcode");
define("_AM_INTEREST","Phone");
3. In ../user.php
define('_US_ICQ','Organisation');
define('_US_AIM','Department');
define('_US_YIM','Address');
define('_US_MSNM','City');
define('_US_LOCATION','County');
define('_US_OCCUPATION','Post Code');
define('_US_INTEREST','Phone');
4. in ../edituser.php
Find
if ($op == 'editprofile') {
About 23 lines after this, a line begins $icq_text
From (and including) that line, change the first and second number in brackets to increase the size of the text box appearing for users (I have used 40, 100 as default for all).
5. In MySQL, in xoops_users edit the field size to 100 (or whatever you set at maximum in 4 above) for ICQ, AIM, YIM etc. that you have amended (to allow for more text to be entered)
There you go - it is rough and ready but it does the job for registration and is already linked into the core XOOPS system.
Hope this helps someone else.
MisterB