Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumUser SettingsUser Settings
Previous
 
Next
New Post
5/24/2009 5:54 PM
 

For our dnn site all registered users can hover near the Forum title (i.e. when displayed in a container only) and access the user settings, my post, search etc where as Host/ admin users can see this only at EDIT mode. How do I restrict registered users from hovering over near the title and accessing these settings. We have created a Text/HTML near by which has the same links as user settings, search and prefer to use a container to display the DNN forum module.

 

 

 
New Post
5/26/2009 5:48 PM
 

How are the settings worked for the Forums module, you find it in the user manual which you can download from the project download page on FORGE.

A split of the Forum Feature to a TXT/HTML Module didn't work probertly.  If you want to restrict users to use "My Settings", "My Post" ect. you have to change the forum source.

 
New Post
5/26/2009 10:29 PM
 

Hi Matthias,

When a normal user creates a new post or replies to an exisiting one or quote etc there is an Add/Edit Post text label found on top of the page which has an action dropdown menu next to it. I just want to get rid of the drop down from that label, similarily if I add a container to the entire forum normal users have the same action dropdown menu next to the title of the forum module. These drop down arent available for a admin/host user and I would like the same functionality for normal registered users.

You were right about not working properly in Txt/Html module. We haven't figured out on how to obtain the user post but rest all work as its supposed to and the links have been made relative.

Just this drop down is kinda a disturbing the consistent pattern of our website.

 
New Post
5/27/2009 1:59 PM
Accepted Answer 

The dropdown menu is only for administration availible. To change this you have modified the source code and add permission settings and the features you want to the dropdown menu.  At time the dropdown menu is restrict to the edit permission in the module settings.  You need then a new permission for the dropdown features for your users.

 

 
New Post
5/27/2009 10:24 PM
 

Thanks for that Matthias, found this code in ForumUtil.vb and changed the permissions such that normal users can't see the drop down.

 

 If (mLoggedOnUserID > 0) And (Security.IsModerator) Then
                Actions.Add(ModBase.GetNextActionID, Services.Localization.Localization.GetString("Moderate.Text", ModBase.LocalResourceFile), Entities.Modules.Actions.ModuleActionType.ContentOptions, "", "../" & ForumConfig.GetActionImageURL("ma_moderate.") & ForumConfig.ImageExtension, ContainerModerateQueueLink(ModBase.TabId, False), False, SecurityAccessLevel.View, True, False)
            End If

            If (Security.IsForumAdmin) Then
                Actions.Add(ModBase.GetNextActionID, Services.Localization.Localization.GetString("Administration.Text", ModBase.LocalResourceFile), Entities.Modules.Actions.ModuleActionType.ContentOptions, "", "../" & ForumConfig.GetActionImageURL("ma_admin.") & ForumConfig.ImageExtension, ForumAdminLink(ModBase.TabId, ModBase.ModuleId), False, SecurityAccessLevel.View, True, False)
            End If

            If ForumConfig.EnablePMSystem And mLoggedOnUserID > 0 Then
                Dim objForumUser As ForumUser
                objForumUser = ForumUserController.GetForumUser(mLoggedOnUserID, False, ModBase.ModuleId)
                If objForumUser.EnablePM Then
                    Actions.Add(ModBase.GetNextActionID, Services.Localization.Localization.GetString("Inbox.Text", ModBase.LocalResourceFile), Entities.Modules.Actions.ModuleActionType.ContentOptions, "", "../" & ForumConfig.GetActionImageURL("ma_inbox.") & ForumConfig.ImageExtension, PMInboxLink(ModBase.TabId, ModBase.ModuleId), False, SecurityAccessLevel.View, False, False)
                End If
            End If

            If ForumConfig.EnableMemberList And mLoggedOnUserID > 0 Then
                Actions.Add(ModBase.GetNextActionID, Services.Localization.Localization.GetString("MemberList.Text", ModBase.LocalResourceFile), Entities.Modules.Actions.ModuleActionType.ContentOptions, "", "../" & ForumConfig.GetActionImageURL("ma_memberlist.") & ForumConfig.ImageExtension, MemberListLink(ModBase.TabId, ModBase.ModuleId), False, SecurityAccessLevel.View, False, False)
            End If

            If mLoggedOnUserID > 0 Then
                Actions.Add(ModBase.GetNextActionID, Services.Localization.Localization.GetString("MySettings.Text", ModBase.LocalResourceFile), Entities.Modules.Actions.ModuleActionType.ContentOptions, "", "../" & ForumConfig.GetActionImageURL("ma_mysettings.") & ForumConfig.ImageExtension, MySettingsLink(ModBase.TabId, ModBase.ModuleId), False, SecurityAccessLevel.View, False, False)
                Actions.Add(ModBase.GetNextActionID, Services.Localization.Localization.GetString("MyPosts.Text", ModBase.LocalResourceFile), Entities.Modules.Actions.ModuleActionType.ContentOptions, "", "../" & ForumConfig.GetActionImageURL("ma_myposts.") & ForumConfig.ImageExtension, ContainerMyPostsLink(ModBase.TabId, mLoggedOnUserID), False, SecurityAccessLevel.View, False, False)
            End If

            Actions.Add(ModBase.GetNextActionID, Services.Localization.Localization.GetString("Search.Text", ModBase.LocalResourceFile), Entities.Modules.Actions.ModuleActionType.ContentOptions, "", "../" & ForumConfig.GetActionImageURL("ma_search.") & ForumConfig.ImageExtension, SearchPageLink(ModBase.TabId, ModBase.ModuleId), False, SecurityAccessLevel.View, False, False)

            Actions.Add(ModBase.GetNextActionID, Services.Localization.Localization.GetString("ForumHome.Text", ModBase.LocalResourceFile), Entities.Modules.Actions.ModuleActionType.ContentOptions, "", "../" & ForumConfig.GetActionImageURL("ma_forumhome.") & ForumConfig.ImageExtension, ContainerForumHome(ModBase.TabId), False, SecurityAccessLevel.View, False, False)

            If ForumConfig.AggregatedForums Then
                Actions.Add(ModBase.GetNextActionID, Services.Localization.Localization.GetString("Aggregate.Text", ModBase.LocalResourceFile), Entities.Modules.Actions.ModuleActionType.ContentOptions, "", "../" & ForumConfig.GetActionImageURL("ma_aggregate.") & ForumConfig.ImageExtension, ContainerViewForumLink(ModBase.TabId, -1, False), False, SecurityAccessLevel.View, False, False)
            End If

 

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumUser SettingsUser Settings


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out