Custom fields - نوشته شده در (769 Views)
Starting Member
Ghassan
مطلب: 18
18
Is there an updated MOD to add custom fields in the profile or should I change the fields manually ?
ty.G<
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Junior Member
Soar
مطلب: 197
197
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.<
نوشته شده در
Starting Member
Ghassan
مطلب: 18
18
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/pushbigsmileI guess I needed to hear it clown
ty.G<
نوشته شده در
Junior Member
Soar
مطلب: 197
197
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.<
نوشته شده در
Starting Member
Ghassan
مطلب: 18
18
Oooh.. smile
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 bigsmile but I would need it to amend to to be from 01 to 60.
tx again.!G<
نوشته شده در
Junior Member
rasure
مطلب: 289
289
You might find the uers fields mod of use...
http://www.shnforum.com/forum/topic.asp?TOPIC_ID=2232<
نوشته شده در
Starting Member
Ghassan
مطلب: 18
18
that's pretty coolcool... I am downloading and going through itsmile
tx!G<
نوشته شده در
Starting Member
jiga
مطلب: 21
21
I've downloaded it, im running my forum on MySQL, and there is this error

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?
Jbigsmile<
 
شما باید یک متن وارد کنید