Author |
Topic |
|
Ghassan
Starting Member
18 Posts |
Posted - 26 May 2006 : 08:26:22
|
Is there an updated MOD to add custom fields in the profile or should I change the fields manually ?
ty.G< |
|
Soar
Junior Member
USA
197 Posts |
Posted - 26 May 2006 : 16:45:57
|
I don't believe there is an update, so modifying an existing field would be the best bet.
Alternatively, I once created a mod to add a new field to one of my boards. I never "released" it since it was of limited use (it added a field for users to enter the year of their graduation for a high school reunion board). It includes all the files that have to be modified, the changes to the database, etc. If you'd like to look at it to see if you can modify it for your needs, you can get it HERE.< |
|
|
Ghassan
Starting Member
18 Posts |
Posted - 26 May 2006 : 19:19:03
|
I have downloaded your MOD. Nice job. It gave me lots of info I was trying to dig out.. thanks I presume you have used all the available fields that's why you had to add one. Well, in my case, it's just a matter of ammending the existing ones. I have already started working on them manually, thanks for the tip/pushI guess I needed to hear it
ty.G< |
|
|
Soar
Junior Member
USA
197 Posts |
Posted - 26 May 2006 : 21:32:57
|
Glad you liked it and that it helps.
Actually, no, I hadn't used all the fields. Since the site was for alumni of a high school, and there are members who haven't seen each other for 20, 30, 40 years, I wanted to leave all the fields as they were so that users could provide as much personal information as possible. But, since it wasn't restricted to just one class, or even just a few classes, I wanted some way to allow a member of, say, the Class of 75 to know that the person posting something was a member of, say, the Class of 95. Adding a field seemed to be the best way - I had already modded it to make it mandatory for users to enter their first and last names and to display the real name rather than the user name (after all, it's a site for people who know each other personally). The mod you downloaded permits you to display "Class of XX" (where XX is the last two numbers of the graduating year) under the poster's name.< |
|
|
Ghassan
Starting Member
18 Posts |
Posted - 27 May 2006 : 05:04:19
|
Oooh..
I have started working on changing the fields, it is turning out well. Not as nuch time consuming as I thought. Once you've done one field, the rest are easy.
I think I am going to use your mod but I would need it to amend to to be from 01 to 60.
tx again.!G< |
|
|
rasure
Junior Member
289 Posts |
|
Ghassan
Starting Member
18 Posts |
Posted - 27 May 2006 : 08:17:16
|
that's pretty cool... I am downloading and going through it
tx!G< |
|
|
jiga
Starting Member
21 Posts |
Posted - 14 June 2006 : 11:27:29
|
I've downloaded it, im running my forum on MySQL, and there is this error
quote: Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[MySQL][ODBC 3.51 Driver][mysqld-4.1.15-standard]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IDENTITY (1, 1) NOT NULL , USR_LABEL varchar (40) NULL , USR_FIE
/writeitreadit/boards/myupdate.asp, line 13
I've looked at the line but do not know what to change. In PHPMYADMIN the table that i have named BOARDS_MEMBERFIELDS shows the error as "no index defined"
How do i change this? I think the server im using is running mysqld 4.1.15 standard. What should the code be from the quote i have given?
J< |
|
|
|
Topic |
|