News:

Wondering if this will always be free?  See why free is better.

Main Menu

Custom Profile Field Mod

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

Previous topic - Next topic

bane32

Ok here is my epic saga...I installed Custom Profile Fields and it was working great..I was able to select the type of box I wanted and so on and so forth...I then installed a few more packages and such and found that I can only select text boxes now..I immediately uninstalled EVERYTHING I had installed after installing this module and still nothing. I have gone through and reloaded fresh copies of all the php files and it still does not let me select a type of box...Now here is the kicker..when I do make text fields, it shows me the data I had previously put in from the first selection boxes...just two fields..I made a selection box with a choice of 9 things and it shows me my selection in my profile on a totally new box that i just named Test and then an Unnamed field below shows me another selection I made...What could be wrong with this? I am really upset that it's doing this and that I can't fix it...please help...this package is exactly what I wanted...

hayley2007

This has prob been answered but i was wondering if theres a way to get them under avatars and not on top of them?

Kindred

it has been answered. Please use search next time.

modify display.template.php
Сл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."

hayley2007

well ive searched this topic for 'under avatars' and  display.template.php and the only results i get are our posts...

Gavin Webb

Hello

I was advised that this is probably the mod to use to have a 'Membership Number' box on the 'Register - Required Information' page when new members sign up.

I've installed the mod but can find no tabs which take me to a page to create such a text box for the Registration page.

Thanks

Gavin.

Kindred

once again...
a- are you running the default theme?
b- are you running in English (not english utf-8, but plain old english)?
Сл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."


Kindred

Quote from: googleminigames.com on February 03, 2008, 01:18:45 PM<br />Fields Show twice :S<br />

you installed the mod twice.

You will have to manually go through the code and remove the duplicates
Сл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."

hayley2007

Quote from: hayley2007 on February 02, 2008, 03:36:10 PM
This has prob been answered but i was wondering if theres a way to get them under avatars and not on top of them?

Ive searched everywhere with different words and still cant find the answer im looking for.

Anyone out there with an answer please, or is it one of them "wait till v2" things?

Kindred

the answer is: Edit display.template.php.
You will have to move the install mod code within that file to appear after the avatar display.
Сл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."

Lord Anubis

#1730
I am using the Ultimate Profile mod and using this to add a few extra fields,  I was wondering is there a way to display say options 1 and 2 in a certain place using something like
DisplayFieldsProfile(1,2)

And display other fields in another area using

DisplayFieldsProfile(3,4,5)

This didn't work, but is there a way to work around that?

EDIT:


I read through 45 pages, and searched for SSI.php and didn't get too good of results...

My current code is this:

I changed the memberlist.php according to this post
http://www.simplemachines.org/community/index.php?topic=92854.msg608875#msg608875


and this is the code I am trying in a section of the Profile

global $sourcedir, $user_info;
   require_once('/path to my/SSI.php');
   require_once($sourcedir . '/CustomProfile.php');
   loadThemeOptions($context['user']['id']);
               $member['options']['1'];


Where 1 denotes the name I have set to the Field Id for this setting

Any idears on how to get this to work?

hayley2007

Quote from: Kindred on February 03, 2008, 04:41:34 PM
the answer is: Edit display.template.php.
You will have to move the install mod code within that file to appear after the avatar display.

im a girl, im blonde and no idea what that means hence why i was looking for a simpler answer e.g which code, where.

Thanks though

SunilDVR

Hi Gavin,

Quote from: Gavin Webb on February 03, 2008, 09:35:22 AM
I was advised that this is probably the mod to use to have a 'Membership Number' box on the 'Register - Required Information' page when new members sign up.

Yep - it works very well for this, and I use it for this purpose. In the case of the organisation I use it for, we collect a compulsory Name and Membership Number - Name is publicly viewable (and displayed by each post), and Membership Number only viewable by Admins, who check against the latest membership list before approving the member on the forum.

Quote from: Gavin Webb on February 03, 2008, 09:35:22 AM
I've installed the mod but can find no tabs which take me to a page to create such a text box for the Registration page.

First of all - you need to be using the default theme for this mod to show up. If you're not, you need to edit your theme files. I can't help you much here as I use the default theme, but in this thread editing the theme files has been discussed several times (I'd advise starting at p1 and working through it...)

When you're logged in as an administrator, click on the Admin tab. Then click on Packages (under "Main" on the left hand menu). This opens the Package Manager. Click on Installed Packages to view your installed packages - you should see "Custom Profile Field Mod" there.

Assuming it's already installed (if not, click "install" on the right hand side), click on Features and Options (on the left hand side underneath "Configuration"), then on the Custom Profile Fields tab - on my installation this is between "Layout and Options" and "Karma".

This tab allows you to define custom profile fields, and the settings for each one.

Sunil

jmayne

I'm creating separate fields for City and State and Country.  I want them to appear both on the registration field and in the users profile.  All three show up on the registration page, but only State and Country show up (and are editable) in the member's profile.  Show In Profile box is ticked in all three custom profile field settings.  Other than the Field Name, all of these 3 are the same (have all the same settings).

Any ideas on what could be going on?  FYI, I am running mod version 3.1.6.

Inque187

How would I include the forum account username in a link in a dropdown menu box link?

Example:
[url=http://www.somewebsite.com/somedata.php?value=forum_account_name]View Data Page[/url]

jmayne

I tried asking this a few days ago (see above), but I'll give it another shot.

I've added 3 new Custom Profile fields, City, State and Country.  They are set to appear on the registration page - and they do.  For the members who have signed up since these fields were added, they work - i.e, the members enter the info upon registration and it is displayed just fine in their profiles and their posts.

However, the members who signed up before these fields were added, can only edit the State and Country in their profile on their Forum Profile Information page.  Also, even the new members - the ones who signed up after I added the 3 new Custom fields can only edit the State and Country fields in their profile.

The settings for the 3 new Custom Profile fields are all exactly the same.

Any ideas?

perplexed

Quote from: jmayne on February 05, 2008, 08:30:23 AM
I'm creating separate fields for City and State and Country.  I want them to appear both on the registration field and in the users profile.  All three show up on the registration page, but only State and Country show up (and are editable) in the member's profile.  Show In Profile box is ticked in all three custom profile field settings.  Other than the Field Name, all of these 3 are the same (have all the same settings).

Any ideas on what could be going on?  FYI, I am running mod version 3.1.6.

there were some problems with 3.16, can you try upgrading to 3.17 ?

Otherwise I would have said that maybe you have the Admin Edit field checked but if you say they are all the same, then that's not it.


myaicons

ive been getting this error in my error log:

8: Undefined variable: memberID
File: /home/content/html/sforum/Sources/Register.php
Line: 172



line 172 is:

makeCustomFieldsChanges($memberID);


any ideas how to resolve this?
i scratch your back you scratch my back...
funny thing about my back is its located on my...

jamesk

QuotemakeCustomFieldsChanges($memberID);

I don't think that function is from this mod. 

myaicons

pretty sure it is

require_once($GLOBALS['sourcedir'] . '/CustomProfile.php');
verifyCustomFieldsInput();

makeCustomFieldsChanges($memberID);
i scratch your back you scratch my back...
funny thing about my back is its located on my...

Advertisement: