Well, I'm not sure I understood exactly what you want, but from what I got...
You could use Level 0 for the general members, open registration; and Level 1 would be the clients, paid members.
For the user galleries, I see, you're using the redirection s2Member allows for Login Welcome. Let me think...
OK, here's an idea that may work. Use a redirection with the replacement code for the member's level %%current_user_level%% and login name %%current_user_login%%.
The URL you'll use would be to a custom PHP file that'll redirect the person to the right login welcome depending on his level. If Level 1, he'll be redirected to his gallery page, customized with his login name.
The URL for the redirection would be something like
http://yourwebsite.com/loginwelcome.php?level=%%current_user_level%%&login=%%current_user_login%%
The code for loginwelcome.php could probably be something like
- Code:
<?php
if (isset($_GET['level']) && $_GET['level']) == '1' && isset($_GET['login']))
header('Location: /gallery/' . $_GET['login']);
else
header('Location: /welcome');
?>
If your user gallery URLs use member IDs, then change login to id.
Hope it helps!Statistics: Posted by Cristián Lávaque — February 9th, 2011, 12:02 am
]]>