Advertisement:

Different fields enable due to different membergroup

Aloittaja lordtron, maaliskuu 08, 2008, 03:30:17 IP

« edellinen - seuraava »

lordtron


I am running a modeling forum and models/photographers/mua can register. So I was wondering if it is possible on the Register page to allow them to select which one they are. And by doing so there profile changes.

I am using the Custom Profile Field Mod and I was wondering, is it possible to set it up or use another mod to make it so only certain fields are on depending on what membergroup you are on.

For models, fields: Rates, There Stats, Etc are on.
For photographer, fields: Rates, Worked With and Equipment and so on.
For MUA, fields: Rates, Worked With, Etc and so on

Each of them will be in there own group, photographers will be in the photographer group and so on. So is this possible?

VainSoftGames.com - New Design To Gaming

Neorics

I can hard code it so that the fields are membergoup specific but they can only edit after they have registered not during registration

but making a mod for it, no... i can do the codings but i haven't found the time to read up on how to actually convert them to a mod
[For Hire] I can help you with anything regarding Simple Machines Forum  ~ My Portfolio

lordtron

I don't mind applying them to a membergroup after they register. I just want it so that certain fields are on for certain membergroups.

If it has to be hard coded thats perfectly fine.

VainSoftGames.com - New Design To Gaming

Neorics

you can start with this:
http://www.unknownbrackets.com/tutorials/custom-profile

then search SMF for my previous posts discussing how to set up the membergroup permission for the fields

http://www.w3schools.com/php/php_operators.asp
that might help too
[For Hire] I can help you with anything regarding Simple Machines Forum  ~ My Portfolio

lordtron

Alright, well I already have a custom fields mod installed on my forum, so thats already taken care of.


But yeah I can't find your previous posts discussing this topic.

VainSoftGames.com - New Design To Gaming

Neorics

If you used the custom profile field mod then this might not work for you. I haven't done it using custom profile fields. All my fields right now are manually coded.

I can't find it too...
[For Hire] I can help you with anything regarding Simple Machines Forum  ~ My Portfolio

Jalkson


lordtron

I don't need to know how to turn my code into a mode.

I need to know how to get certain fields to be active(on) with certain membergroups.

VainSoftGames.com - New Design To Gaming

Jalkson

Lainaus käyttäjältä: Neorics - maaliskuu 08, 2008, 05:07:11 IPI can hard code it so that the fields are membergoup specific but they can only edit after they have registered not during registration<br /><br />but making a mod for it, no... i can do the codings but i haven't found the time to read up on how to actually convert them to a mod


Neorics

Lainaus käyttäjältä: Jalkson - maaliskuu 09, 2008, 04:15:39 IP
Turning your code into a mod isn't difficult.  This should help you get started.

http://www.simplemachines.org/community/index.php?topic=20319.0



thanks, i should have been clearer.

I have all the resources that I can read to learn how to make mods including security checks etc but I just don't have the time as of yet to actually browse through the whole thing cause there is no motivation on my end to making mods.

Maybe I'll start after my A-level exams and if I find a feature I wanna share.
[For Hire] I can help you with anything regarding Simple Machines Forum  ~ My Portfolio

Advertisement: