Log in

View Full Version : Memberinfo Template selection


Konstantinos
09-25-2007, 10:43 AM
Lets say i wanna give my members the option to select memberinfo template. I create the memberinfo2 template for example . what to do next ? How to achieve the goal ? if it can be done with custom profile field plz make a detailed example

thanx

EnIgMa1234
09-25-2007, 10:57 AM
Guess you could add a field to the user table. Then have an option to select either template one or two. Edit the member.php file and set it to a variable.

Then edit the part that says fetch_template at the bottom with you var

so like replace:
eval('print_output("' . fetch_template(MEMBERINFO) . '");');

with:
eval('print_output("' . fetch_template(" . $userinfo['memberinfo'] . ") . '");');

not tested at all^^ just off the top of my head

Konstantinos
09-25-2007, 11:00 AM
well i cant code , maybe someone could make a product for this :D