Changes into "Display to Public" functionality

2 views
Skip to first unread message

Alexander Obuhovich

unread,
Nov 17, 2009, 12:01:19 PM11/17/09
to In-Portal Development
We have "Display to Public" and this is functionality, that allow to show/hide fields from user public profile. This is usually used in forums. To manage this we create one variable in persistent session per each user field, that can be displayed in it's profile (10 fields). This is not easy scalable way and takes more space in database. Besides, variable name in persistent session is not directly formed from field name it shows/hides and require additional mapping to be created (in UserProfileTagProcessor).

I propose to create new user field DisplayToPublic and store all field names, that should be visible there.

--
Best Regards,

http://www.in-portal.org
http://www.alex-time.com

Dmitry A.

unread,
Nov 18, 2009, 1:32:07 PM11/18/09
to In-Portal Development
This is a ood idea for improvement, but I had an impression that there
are some other user fields/data that are stored outside of PortalUser
table. If I am not mistaken those fields are preferencs or something
like it - stored in PersistentUserData table. I just think that we
need to make sure that if not all user fields are in PortUser table
and some are actually elsewhere.

Please correct me if I am wrong.

Alexander Obuhovich

unread,
Nov 18, 2009, 1:37:41 PM11/18/09
to in-por...@googlegroups.com
This change won't affected any other user preferences, stored in persistent session. This change doesn't provide any immediate benefit right now, but in future, in case we plan to extend user profile, then this could come in handy.

--

You received this message because you are subscribed to the Google Groups "In-Portal Development" group.
To post to this group, send email to in-por...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-de...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-dev?hl=en.


Dmitry A.

unread,
Nov 22, 2009, 1:49:52 PM11/22/09
to In-Portal Development
New "Feature Reguest" has been filed based on this discussion:

http://tracker.in-portal.org/view.php?id=427


Most likely this improvement will be developed shortly since required
by some other project, so solution will be available in the way of
patch and scheduled for some of the upcoming releases.



Cheers!
> > in-portal-de...@googlegroups.com<in-portal-dev%2Bunsu...@googlegroups.com>
> > .

Alexander Obuhovich

unread,
Nov 24, 2009, 10:38:46 AM11/24/09
to in-por...@googlegroups.com
Patch was attached to mentioned task. But I think, we need to remove processing of old style public profile templates. For now I've created processing for them, but that required to create additional code, that will be used only when old template will be used.

What you think about removing old template processing and converting template in "advanced" theme instead.

To unsubscribe from this group, send email to in-portal-de...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-dev?hl=.


Reply all
Reply to author
Forward
0 new messages