profile error message when logged out?

Why does the following message display on the profile, when logged out:

Error: no profile form exists. You must create at least one profile form to use the flexprofile plugin.

I realize that all of my fields are set to "Logged in users", but I still don't think that is the appropriate message for the profile, when logged out. It would be better if it just returned nothing, instead of that message. Is there a fix for this?

  • Yakiv, you haven't answered my question. I realise that you are seeing those links on your server.

    I want you to turn off flexprofile and check to see if you still see those links.

  • Ah, your point is that the links appear on the extended profile page (which uses the pg/flexprofile path - I had forgotten about that).

    I thought you were referring to the main profile page.

    The links don't actually do anything but yes that is a bug.

    For now I suggest that you turn the extended profile feature off.

     

  • Yes, if I turn off flexprofile, it actually redirects to the home page. So, no, the links are not seen then.

    ...Yes, you are correct, the links don't actually do anything, but it's not pretty. :-)))  ...Yes, I'll turn off the extended profile.

  • It turned out that the bad links were added by the core profile plugin starting in Elgg 1.7.x.

    Apparently they are there to support some profile subpage system (possibly a commercial Curverider product)  - not sure.

    Anyway, I have recoded the flexprofile plugin to delete them.

    The fix will be in the next release.

  • Correction - they were added in Elgg 1.7.x to show on the edit profile and edit icon pages.

    Curverider assumed those were the only profile pages with a sidebar and so did not check to see if the person viewing those links was actually logged in as the page owner.

    I have changed my code to delete the links if the user is not logged in as the page owner or an admin.

  • Good catch, Kevin. But, do you think this is a potential problem with core? Core needs to be fixed then?

  • I have posted this issue to Trac in case any other plugin developer is caught by it:

    http://trac.elgg.org/ticket/2429

  • I read your ticket. Good job. Hope it gets fixed.

Form and related plugins

Form and related plugins

User-generated content, flexible user and group profiles, registration forms, custom file forms