forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: vegascoug on February 17, 2006, 07:08:05 pm

Title: Registration
Post by: vegascoug on February 17, 2006, 07:08:05 pm
I would like to have the users name appear on their profile, if I set this up for registration, is it as simple as changing the optional fields?

Is there any way to make that a required field?  Or is it only for the optional fields?
Title: Re: Registration
Post by: Joachim Müller on February 17, 2006, 07:09:28 pm
I don't understand, rephrase your question, using more words and maybe some screenshots as examples.
Title: Re: Registration
Post by: vegascoug on February 17, 2006, 07:57:10 pm
Sorry

When a user registers, the only information that shows up on his/her profile is the user ID and date added, etc.  My client would like me to add in an option for the person's actual name, like Mike Smith

Username  MikeSmith02
Joined  Feb 12, 2006 
Files uploaded  1
Name Mike Smith

Does that make sense?  She just wants to be able to know who's who on her gallery, because some people use usernames like JazzyDude or something like that, she wants to be able to recognize who's posting pics to her gallery.

Let me know if that is clearer.

Mike
Title: Re: Registration
Post by: Joachim Müller on February 17, 2006, 08:51:50 pm
OK, now I understand - you want to make some fileds mandatory. The easiest method is to use some JavaScript that checks the form before it actually gets sent, similar to the mod How can I force a title to be entered when uploading? (http://forum.coppermine-gallery.net/index.php?topic=26759.0)
Title: Re: Registration
Post by: vegascoug on February 17, 2006, 08:54:54 pm
Cool, thank you.

And if they are just going to be optional, I can change the name of the Optional field right?  So instead of Occupation I could change that to Name?

That way they can answer it if they want.
Title: Re: Registration
Post by: vegascoug on February 18, 2006, 12:05:22 am
I changed one of the Optional User Profile fields to read "Name" instead of Interests

However it doesn't show up on the Profile page.  How to I make these viewable by other users, or in the very least an Admin?
Title: Re: Registration
Post by: lordprodigy on February 18, 2006, 07:49:47 pm
you need to go back into that profile and fill in the fields. That worked for me. if there is no values in those fields, they dont show up.
Title: Re: Registration
Post by: vegascoug on February 18, 2006, 11:34:02 pm
I did do that, for two different users, but nothing shows up.  I am sure this is my stupid error, but it's driving me nuts!

If you want to log in, go for it

http://mermaidtears.net/user_gallery/

User ID: testtest

Pword test1

Let me know what I am doing wrong, I cannot view anything other than the user ID and date registered.
Title: Re: Registration
Post by: Nibbler on February 18, 2006, 11:36:16 pm
Update your gallery.
Title: Re: Registration
Post by: vegascoug on February 19, 2006, 05:13:11 am
To 1.4.3?

or Update Database under Admin Tools?
Title: Re: Registration
Post by: Nibbler on February 19, 2006, 05:14:24 am
Yes, you have a bug that is fixed in that version.
Title: Re: Registration
Post by: vegascoug on February 19, 2006, 05:16:14 am
Sorry if this is a stupid question, but is it as simple as just overwriting the files?
Title: Re: Registration
Post by: Nibbler on February 19, 2006, 05:19:44 am
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#14
Title: Re: Registration
Post by: vegascoug on February 19, 2006, 06:00:33 am
Sorry, guess I could have looked at the docs first!

Okay, everything went fine, on version check it lists anycontent.php as a red file and being part of 1.4.2, is that okay?

I also didn't copy/overwrte the waterdrop theme since that was heavily modified.  That doesn't seem to make any differnce, my theme is working swimingly (water theme, get it?)

Mike
Title: Re: Registration
Post by: Joachim Müller on February 19, 2006, 12:00:09 pm
Okay, everything went fine, on version check it lists anycontent.php as a red file and being part of 1.4.2, is that okay?
yes