HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Old users stuck in View modeOld users stuck in View mode
Previous
 
Next
New Post
2/24/2008 4:50 AM
 

Hi Rodney,

This setting is stored in the DNN Personalization system. It is the Profile table in the DB.

Part of what is happening in your case is controlled by settings for the site.
If you go to Admin > Site Settings > Advanced Settings > Usability you will see some settings for how the control panel is displayed and who (what roles) it is displayed to.
Some history here:
http://www.snapsis.com/DotNetNuke/Support/tabid/560/forumid/12/postid/5485/view/topic/Hide-Mode--View---Edit.aspx

What happened in your case is that these were changed over a few versions because people didn't like seeing that Mode bar pop up all of the sudden on pages that had a module with edit permissions.
Anyway, you can reset your old users to edit mode in the Profile table, or you can cahnage the site setting to allow that bar to be seen by module editors.

Let me know if that isn't correct.


DotNetNuke Modules from Snapsis.com
 
New Post
2/24/2008 12:41 PM
 

John Mitchell wrote

Hi Rodney,

This setting is stored in the DNN Personalization system. It is the Profile table in the DB.

Part of what is happening in your case is controlled by settings for the site.
If you go to Admin > Site Settings > Advanced Settings > Usability you will see some settings for how the control panel is displayed and who (what roles) it is displayed to.
Some history here:
http://www.snapsis.com/DotNetNuke/Support/tabid/560/forumid/12/postid/5485/view/topic/Hide-Mode--View---Edit.aspx

What happened in your case is that these were changed over a few versions because people didn't like seeing that Mode bar pop up all of the sudden on pages that had a module with edit permissions.
Anyway, you can reset your old users to edit mode in the Profile table, or you can cahnage the site setting to allow that bar to be seen by module editors.

Let me know if that isn't correct.

Thanks for the lead - I'll check out the profile table now and see if I can clear this setting for all users (only Admins can ever see the control panel on my set up). I'll report back with the results...


Thanks,
Rodney
Smart-Thinker - Home of SmartSocial - the 100% Free DotNetNuke Social Networking Product Suite
Do use DNN a lot? Try the DotNetNuke Toolbar to save you time!
PokerDIY - Example Implementation of DNN Social Network
 
New Post
2/24/2008 1:20 PM
 

Yes, that was it! I'm sure a lot of other people have this problem (although it wont be noticable until someone reports it, and no one ever does!) - it is likely that if you have an older DNN 4.4.x version (when the control panel appeared for all users who had edit rights on a module (e.g. for creating items/groups etc) and then upgraded to 4.6.x and changed the new system setting to "Page Editors Only" then you may have an issue. Any users who were left in View mode would be stuck in it.

If you suspect you may have this problem (I've had several users report this on Smart-Thinker thinking it was a module-specific problem), you can adapt and run the query below to fix it (this is specific to my DNN install):

Firstly, I did a query on that table to find the rogue records:

SELECT *
FROM Profile
--Find users where the value of "Usability:UserMode6" is set to View
WHERE ProfileData like '%<item key="Usability:UserMode6" type="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"><string>View</string></item>%'
--exclude Admins
AND UserID NOT IN (1,2)

I am not sure if "Usability:UserMode6" is dynamically generated per DNN install or if it is always called this. The Admins (Page Editiors) can still choose their view, so I excluded them. My query returned 33 users which means 33 users could not post new content on any module that required Edit rights.

I examined the ProfileData and there was nothing very important that was being stored (Text Editor view etc.) so I decided to take the easy approach and wipe these records:

DELETE FROM Profile
--Find users where the value of "Usability:UserMode6" is set to View
WHERE ProfileData like '%<item key="Usability:UserMode6" type="System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"><string>View</string></item>%'
--exclude Admins
AND UserID NOT IN (1,2)

And that fixed the problems - my users can now post content again...

In a future version of DNN, tt may be worth running a (better) script when the site setting is changed to prevent this issue (clear out the old settings in the Profile table).

 


Thanks,
Rodney
Smart-Thinker - Home of SmartSocial - the 100% Free DotNetNuke Social Networking Product Suite
Do use DNN a lot? Try the DotNetNuke Toolbar to save you time!
PokerDIY - Example Implementation of DNN Social Network
 
New Post
2/24/2008 4:11 PM
 

Thanks for posting the followup Rodney. I didn't have any users with the problem, but could have had, so I went for a wander through my profiles and resest a few of them.

Rob

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Old users stuck in View modeOld users stuck in View mode


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me
DotNetNuke Store

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Telerik JustCode Free
DotNetNuke DNN Hosting
Exact Target Exec Alert

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.