Can I restrict access to members profile
Thanks…
Jay
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
April 01, 2011 5:35am
Subscribe [3]#1 / Apr 01, 2011 5:35am
Can I restrict access to members profile
Thanks…
Jay
#2 / Apr 01, 2011 9:19am
No being rude here - but that is not very descriptive and gives no idea of what you are wanting to do.
Restrict it to who, restrict it how? Which license do you have? Turn it off completely? Just to that member?
In short, look at member preferences in the control panel and see if those settings help you.
If not check tags for members id, or username, or is logged in and modify as required.
#3 / Apr 01, 2011 5:43pm
Hi, JusTyMe.
Can we get a bit more information from you? Are you trying to keep non-logged in users from seeing member info, or what exactly?
Thanks for the assist, Nevsie.
#4 / Apr 02, 2011 8:36am
Sorry for keeping it general. I want it to be totally not accessible by anyone. I think that would explain everything.
Thanks for the assist Sue and Nevsie…. It was a great help from you guys.
Jay
#5 / Apr 02, 2011 8:40am
OKay, i am with you - yes, there is no way to turn it off completely! Annoying.
What i do is set it up so anyone trying to register is dropped into the banned group. And then change the URL trigger word for the members section from “member” to somehting random and never guessed like “-_turn-off-members-123456”
In other words - it is still there, but completely impossible to be guessed by bot or man. And even if they do, they get stuffed into the banned group when registering.
N
#6 / Apr 05, 2011 3:46am
Hi Nevsie!
Sorry. My weekend was extended. I really appreciate your help.
How can I set up the system so that registering will be dropped into the banned group?
Where can I find the URL trigger fort he members section?
This is cool workaround. Hope to hear from you again… Thank you so much…
Jay
#7 / Apr 05, 2011 5:28am
Not being rude - but all of these questions could easily have been answered by looking at the userguide - that is what it is there for after all.
Anyhow. Login to control panel, click on the members button, and choose member preferences. All options are there.
#8 / Apr 05, 2011 5:50am
Sorry dude. I think I need to go through the EE’s core to do it. I never thought it is that dynamic.
Million thanks for your help.
Jay
#9 / Apr 05, 2011 5:52am
you do not need to modify the core to do what i suggest above. But if this is not secure enough for you, then that is your choice. But note when you make updates this will cause you a problem.
#10 / Apr 05, 2011 6:00am
But note when you make updates this will cause you a problem.
Thanks for the advice.
By the way, can I be rude for the last time 😊 I want to start kickin with my CI knowledge with EE. I want to create a web-app with CI on top of EE. The app would be a billing system. I can achieve this with purely CI but how can I do it on top of EE? The User guide is a bit overwhelming. Is there a place to start a foundation?
cheers and thanks for your help…
Jay
#11 / Apr 05, 2011 6:06am
Your like many people in this situation, and i agree a slightly more complete example of this would be good.
It really does depend on what your trying to do with this billing application - i personally have built my entire accounts app through CI and then just created a payment screen which could be used through a number of formats. At the end of the day - i wanted it separate and secure, rather than dependent on others software.
However, that aside - you can try this:
http://www.gregaker.net/2011/mar/13/lets_build_an_expressionengine_module/
Greg is one of the EE team, and started blogging on the above, but only step 1 is complete of the three. But it might give you the type of intro you need.
If not, i would suggest finding some free addons over at devot-ee and just having at look at how they do things. That is the only way really for now. That i know of at least.
#12 / Apr 05, 2011 6:28am
i personally have built my entire accounts app through CI and then just created a payment screen which could be used through a number of formats. At the end of the day - i wanted it separate and secure, rather than dependent on others software.
This is also my concern whether I will build my web-app purely with CI. The advantage that I can see would be maintainable and it is independent with EE. I have simple web-components in CI like login and registration already and I can easily query EE’s members table so that I can login with my CI-app. But the user’s login SESSION cannot be synchronized with EE. I don’t know if there is a work-around with it and I don’t know if this plan is the right idea.
#13 / Apr 05, 2011 4:30pm
JusTyMe - the conversation in this thread has veered way off what it was originally intended to do. How about you post this over on the Dev forum for other community members to assist you?
I have another work around to not allowing logged in members to see the members list -
Under Membership Preferences, set Can view public profiles to No for each of your member groups including Guest.
See the attached screen shot.
#14 / Apr 06, 2011 3:31am
Thanks Sue!
That would be useful…
Jay
#15 / Apr 06, 2011 4:02am
Here is a workaround that I did. I still need to give access to some groups to the member’s profile. I added some codes to member_page.html. As you can see, I declared explicitly the groups that can access the member_page. If not, I am redirecting them to an error page.
I want to know if this won’t be affected if there will be an update. The file is under /themes/profile_themes/my_prof_theme/member_page.html
{include:html_header}
{if show_headings}
{include:page_header}
{include:page_subheader}
{/if}
<div id="page_content">
<div id="content">
{if member_group==1 || member_group==7 || member_group==8}
{include:member_manager}
{if:else}
{redirect='/errors/error_403'}
{/if}
</div>
</div>
{include:html_footer}Jay