News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Custom Profile Field Mod

Started by winrules, March 30, 2006, 02:21:25 PM

Previous topic - Next topic

Auctioneer

#3000
OK guys, I apologize in advance if this is already answered.  I've seen it asked in here, but never found a solution that applied to my situation.

I've applied the mod and "Installed Packages" shows that I'm running "Profile Field Mod 3.20"

I'm running SMF 1.1.11

I'm running the Default Theme & I'm running "English," not "EnglishUT8" or anything else.  Just "English."

The mod installed, but when I go to Admin > Features and Options all I have is "Basic Features," "Layout and Options," and "Karma."  The "Custom Profile Fields" does not exist.

I'm experienced as board mod and admin and have been solving people's tech issues in other areas for years, but I'm very new to Linux and what goes on under the hood, so I guess it's time for me to ask for help instead of giving it.  Therefore if there is any tweaking to be done via FTP and a text editor, please don't assume I know how to do any of it.

Thanks for your help.

P.S.  Just noticed that "CustomProfile.php" in "./Sources", and "CustomProfile.english.php" in "./Themes/default/languages" both have a file size of 0.  Not sure if that's relevant, but thought I'd add it.

P.P.S.  If I try to Uninstall  get an error telling me not to proceed unless I really know what I'm doing.

RESOLVED:

During installation none of the listed files were modified and the two files I mentioned above were added with a file size of 0.  This led me to believe we had a rights issue on installation.  To resolve I changed all files to writable, forced the uninstall, then reinstalled and set the rights back to normal.  The menu items now appear, and I've created a custom field named "Occupation" just like I have at another board running this mod, however the field is not appearing in the user profiles. 

Kindred

it would seem that your server prevented the upload of the files... and probably stopped the edits from happening as well.   Check the files to see if edits were actually made.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Auctioneer

#3002
You're right on the mark Kindred.  I deleted the two 0 byte files, forced the uninstall, reinstalled and the mod now appears. 

Thanks.

Ada069

Ok, I am unsure if this has been answered. And I would like you to be warned that my experience with SMF is limited atm. Also I am not the root admin for the site.


Anyway, I downloaded the file and uploaded it. Installed it. Checked features and options And it didn't work.
So I tried once more just to be sure, It didn't work.
I realized that our forum was not updated, I updated, Installed it to try it and it didn't work BUT instead this time it gave me an error when I tried to enter the 'Features and Options' section.

Just so you know, SITE NAME is just me replacing our URL.
QuoteFatal error: Cannot redeclare modifyprofilesettings() (previously declared in /home/ambitwe1/public_html/SITE NAME.com/Sources/ModSettings.php:314) in /home/ambitwe1/public_html/SITE NAME.com/Sources/ModSettings.php on line 324

So I uninstalled the custom fields script, and this appeared when opening up any thread on the forum

Quote
Fatal error: require_once() [function.require]: Failed opening required '/home/ambitwe1/public_html/SITE NAME.com/Sources/CustomProfile.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ambitwe1/public_html/SITE NAME.com/Sources/Load.php(1733) : eval()'d code on line 318

I have since reinstalled the script, which allows threads to be viewed. but not the Feature's and options page.

Current things installed are
   Mod Name    Version    
1.    Custom Profile Field Mod    3.20    [ Uninstall ] [ List Files ] [ Delete ]
2.    Another URL Popup    1.0    [ Uninstall ] [ List Files ] [ Delete ]
3.    SMF 1.0.20 / 1.1.12 Update    1.0    [ Uninstall ] [ List Files ] [ Delete ]


I have a gut feeling the custom theme could be the problem but doubtful cause I don't know to much on forums.

I haven't had a chance to try anything as of yet, as the forums are sort of in it's peak hour so to speak, And prefer to do it at a time that noone is on.  So I decided to post here, see if the error has happened before. I'm sorry I coulden't check through the last 151 pages as my time is short atm :P

Kindred

are you using smf 1.1.x with a custom theme?   If so, you would have to manually install the mod into those template files.

Since you double installed, there is no easy way to get it out...   you will have to manually check all of the edited files for any remaining code.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Ada069

Quote from: Kindred on November 09, 2010, 04:59:07 PM
are you using smf 1.1.x with a custom theme?   If so, you would have to manually install the mod into those template files.

Since you double installed, there is no easy way to get it out...   you will have to manually check all of the edited files for any remaining code.

The theme I believe is custom installed.

I don't understand the second part (double install and how to get out of it) can you please elaborate on that for me?

Kindred

A custom theme is any theme other than "default" (mods generally only install in the default theme for the 1.1.x series)


When you did the double install (evidenced by the "can not redeclare" error SOME code got duplicated and some didn't. So, when you uninstalled, you only uninstalled some portion of the edits...

you are going to have to use the package parser (on the mod download page), find what each edit was and then check each files which was edited to confirm that the code has been removed.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

auntof6

I hope this isn't a repeat -- I tried searching and didn't see anything that matched.

We just upgraded to 1.1.12. There was a problem with the install through the SMF admin area because we didn't have enough space, so we had to install by FTPing the "large upgrade package". We're now up and running, but it looks like this mod isn't working for us now. I tried re-uploading it, and that seemed to work, but we aren't seeing the custom fields on our registration page. I've tried to find a place to configure the mod, but don't see it. Any ideas what I'm not doing/doing wrong?

If I've left out any pertinent info, just let me know.

Thanks in advance.

Kindred

using the large upgrade package will basically remove all mods  from the code. They will have to be reinstalled
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

auntof6

Yes, sorry, I should have said that I upgraded it and installed it. It shows as active on our site, but it apparently needs configuring and I'm not seeing where to do that.

sharks

When checking the settings for each custom profile field that i have created, i have noticed that the permissions as to who is allowed to edit those fields, are very limited, as i see only the admin can be allowed otherwise all other membergroups are allowed to edit that field. Can a complete permissions system be made available for this mod? For example, i want my admins, moderators and global moderators to be able to edit those custom fields, but no other membergroups should be able to edit those fields. This should be possible. Can someone please explain how to do it? I think an upgrade for this mod would be most welcome. :)

Also, i found a bug, albeit an annoying one, when selecting the settings for any created custom field, i put nothing in the Name and Field Description blanks, as i want to display only a small image for that custom field in some of my members' profiles. But when the image is shown, it starts with ":" (minus the double hyphens) followed by the image, which should be corrected to display only the image without ":" in front of it. Please fix it!

stefane

Hello,
I just find this nice Mod. But doesn't work very well with SMF 1.1.12
It's only possible to create field name. Impossible to create TextArea or ckack box or Selection box.
The Add horizontal rule doesn't work either.

I try with the default Theme core also. I also check all the file with the Parse example, everything is in the good place but... doesn't work.

Any idea ? Or I don't understand something in the configuration  ???

Thanks.
Stéphane

Kindred

well, my bets suggestion is: upgrade to 2.0 RC4.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

stefane

That's an idea. But is the 2.0 RC4 is stable enough ?

Illori

many people use it live, others wish to wait till it goes gold. you could always setup a test install and check it out for yourself before making it live.

stefane

Yes I will try that. Is SMF 2 is much better ?

Thanks.

Neular

Ok, i hate to post cause im sure its on these forums somewhere, but ive been looking for hours and browsed most of these pages and still havnt found my issue.  this mod installed correctly, i can adjust all the fields and everything. However i want to be able to view what they input on the member summary.. i see where it would be and everything is blank.. even though i inputed stuff on registration.. I have "show in profile" checked. i dont know if im missing something or if there is an issue with the mod.. I know the maker is long gone, but i know alot of you users are alot smarter then me ;) if anyone could help me out that would be great. This is a great mod if i could get it working. Im running SMF 1.1.11 you think maybe if i upgrade to 1.1.12 it would get it working??

stefane

Hello,
I think there is some problem with this MOD in SMF 1.1.12.
When I tested it it was only possible to add field text.
Like Kindred suggest it I change for SMF 2 RC4 and this mod is already include in it. Everything is working well in SMF 2.
Excepted the setting layout made with float div in % that mess up all the fields if we change the browser size.

SLAG

Hello.

1. How can I deny user to register if he didn't input the text I want? For example, I want him to solve an equation or choose the correct answer from the selection box.
2. If the 1st one is feasible, how can I randomize these "tasks" (randomly choose one of several questions) during the registration?
The forum is 1.1.12.
Thanks in advance.

Kindred

this is not the correct mod to use for anti-bot/spam...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: