public profile pages

Permalink
Public Profile Pages
I want to have Public Profile pages on my site for members but cant find anywhere that expains how to do this. I've ticked the box to allow public profile pages but nothing else. Does anyone know how to do this??? Please help>>>>

 
Tony replied on at Permalink Reply
Tony
try going to /profile/ or /profile/-/1/
where that number is the user's id.
dstew99 replied on at Permalink Reply
dstew99
/profile doesn't exist.

I cannot find a place in the dashboard to have a profile page created.

Also, in addition to having a profile page for each user, can a 'master' page be made to list all users?
dstew99 replied on at Permalink Reply
dstew99
finally figured out how to enable public profile.
I have user attributes set to show in the public profile.

The page is blank. When I view source code in the browser, it is blank.

What now?
okhayat replied on at Permalink Reply
okhayat
What version are you using?
Are you using a custom theme or the default one for profile page?
Can you attach a screenshot?
zoinks replied on at Permalink Reply
Since nobody else seems to have explained it anywhere, maybe you could let me know how you enabled public profile. You'd think it would be a checkbox or a selection from a dropdown, but no. Apparently it is some hidden multi-step bullcrap with no documentation. Love that.
LucasAnderson replied on at Permalink Reply
LucasAnderson
Well that tone is a bit unnecessary. In the future, you'll get more help from me with a better tone.

There IS a checkbox for it. In your Dashboard, click Users & Groups, then click the Login & Registration page. Check "Enable Public Profiles"

http://www.yoursite.com/index.php/dashboard/users/registration/...
zoinks replied on at Permalink Reply
The tone comes from plenty of experience being frustrated with C5's documentation. I know it's impractical and impolite to request help ANYWHERE with this attitude, but sometimes I simply must vent, knowing full well the consequences. I have created a list of such problems in the past that were only solved through this forum by people walking me through multi-step processes that were nowhere else explained and have been witness to several discussions about this or that issue I brought up where contributors apparently feel it should be explained somewhere but don't have the time and then it is suggested that I can help by adding to the wiki (or whatever). Me, a person who is fumbling around in the dark-- I should fix the documentation! Well, actually, I've done as best as I can by upping some tips to a webpage which is available through my profile.

Being knowledgeable in these matters, perhaps you don't realize just how frustrating it is to have to pick and sift this knowledge from the aether and be so thoroughly dependent on the generosity of whatever strangers happen to be hanging out in the forums on a particular day.
LucasAnderson replied on at Permalink Reply
LucasAnderson
Trust me, I've been there and I'm sure many in the community have as well. We're all frustrated by the documentation issues, but the core team is trying their best to make it easy for everyone without information overload. And we're all here in the forums trying to help each other out.

I only mentioned the tone (and again, I understand it) because I can guarantee that the people answering your question have been as frustrated as you are at some point, but are willing to help and would appreciate at least a neutral starting point.

The good news from all this is there are resources being created every day by people like us (and you) that eventually should and will be collected together for the good of the community. At least that's my hope, and goal.
Tony replied on at Permalink Reply
Tony
this is just a guess, but maybe you're missing one of the two profile page files?

check that both /concrete/single_pages/profile/view.php and /concrete/controllers/profile/controller.php are uploaded to your site.

also, if you're getting a blank page, make sure that your website is in development mode /dashboard/settings/debug/
it might just be suppressing an error.
dstew99 replied on at Permalink Reply
dstew99
It is a custom theme.

The files are listed in /concrete5/single_pags/profile folder.

tried it. no luck.

I copied the profile folder from the concrete/single_pages folder to single_pages folder.

tried it. no luck.
dstew99 replied on at Permalink Reply
dstew99
After I put the page in debug mode:
I get the following when going to /profile and /profile/-/6

In the following, i replaced the actual location with {sitefolder}

Warning: View::include({sitefolder}/themes/newtheme/view.php) [function.View-include]: failed to open stream: No such file or directory in {sitefolder}/concrete/libraries/view.php on line 738

Warning: View::include() [function.include]: Failed opening '{sitefolder}/themes/newtheme/view.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear:{sitefolder}/libraries/3rdparty:{sitefolder}/concrete/config/../libraries/3rdparty') in {sitefolder}/concrete/libraries/view.php on line 738
okhayat replied on at Permalink Reply
okhayat
I guess your theme doesn't include a view.php file.
dstew99 replied on at Permalink Reply
dstew99
Thanks Tony & Okhayat

I didn't know that a view.php was required in the theme. Right now I have a basic theme and all of the frontend uses default.php

Is there a way limit the profiles to only show users of a certain group?

Do I put the group check in the view.php?
Tony replied on at Permalink Reply
Tony
maybe it should throw an exception when installing a theme if it doesn't have a view.php file in there? it is pretty important.
ScottC replied on at Permalink Reply
ScottC
tony, the blog does that. check out the code in there.
dstew99 replied on at Permalink Reply
dstew99
Maybe it should check for view.php when public profiles are enabled.

As an aside, do all of the non-dashboard single pages need a view.php?
ScottC replied on at Permalink Reply
ScottC
that uses a themes/core/dashboard.php so a bit different
bjacobs replied on at Permalink Reply
Regarding the public profile, does anyone know how I would go about changing the link to a particular profile from /index.php/profile/3/ to /index.php/profile/username/ ?
bjacobs replied on at Permalink Reply
Nevermind.... its already set up to do so. Both links work just fine.
uswebdesigner replied on at Permalink Reply
uswebdesigner
I have read through this thread. I am trying to set-up private profile pages for a site and wonder if I could get some clarity on a few things. I will ask in such a way that might be helpful to others as well.

My site is currently just using the default theme and is located here:http://csik9.net - so custom theme issues should not pertain.

1. My site is being designed as a private member site. I want to allow those private members to view and edit their own profiles on the front-end/public facing site, but not view or edit anyone elses profile. Can this be done?

What I have done so far is this, which is as close as I could get, but cannot figure out how to only allow a logged in user to only view his own profile:

I have done the following:
- Dashboard>Users/Groups>Login/Registration - I enabled Public Profile.
- Dashboard>Users/Groups>User Attributes - Marked my custom attributes to display in public profiles and to be editable in public profiles.
- Went to site/index.php/profile and edited page permissions only for admin and the user group I created for the site members.

I can still go to site/index.php/profile/-/2 (2 being a profile number)and view other profiles and want that info only private for the person whose profile it is.

2. Could someone please tell me the proper way to add a link to ones profile on the front-end. In the sitemap it seems to be listed as a "System page", that is, only shows up on the sitemap when I tick the box to show system pages.

Thanks
uswebdesigner replied on at Permalink Reply
uswebdesigner
And as a side note, when not logged into the site, with the site in development mode, I get the following error when trying to go to a profile page (http://csik9.net/index.php/profile/-/1). Should I report this as a bug?

Error:

Warning: Missing argument 1 for LoginController::v() in /home/csik9/public_html/updates/concrete5.4.1.1/concrete/controllers/login.php on line 335

Warning: Cannot modify header information - headers already sent by (output started at /home/csik9/public_html/updates/concrete5.4.1.1/concrete/controllers/login.php:335) in /home/csik9/public_html/updates/concrete5.4.1.1/concrete/libraries/view.php on line 764
brendangriffin replied on at Permalink Reply
I too would like to know how this is done.
uswebdesigner replied on at Permalink Reply
uswebdesigner
FYI - I did not get any feedback here and started a new thread with some feedback here:http://www.concrete5.org/index.php?cID=137221&editmode=...
socalrescue replied on at Permalink Reply
I struggled with adding a login area to our site for quite a while trying to read through these threads. The "enable public profiles" appears to be hidden in the dashboard - maybe a quirk in this version of Concrete5? Finally found the easy solution here: http://www.concrete5.org/community/forums/customizing_c5/login-for-...