I want to disable the messages and the notifications options of the USER theme object. I have searched the doc and have found nothing on this subject. Only the list of parameters of the theme object. Nothing in the settings menu seems to manage this.
I've tried deleting the activity feed page (which I don't need in our case) and it does not help. I've tried deleting the associated items of the list found in the user.ascx file, but this causes an error in DNN. There is surely an option to deactivate this. I'm using DNN 9.6. Where is it? This is driving me crazy Thank you in advance!
Did you try
< dnn:USER ID="dnnUser" runat="server" LegacyMode="false" />
ok sorry, did you try it with LegacyMode = true?
Bernard,
have a look at the DnnBootsterV2 theme by Geoff Barlow, the file /layouts/topbar-user-functions.ascx could lead in the right direction.
[...]
{dnn:USER ID="dnnUserNotifications" runat="server" LegacyMode="false" CssClass="notifications" /}
{dnn:USER ID="dnnUserMessages" runat="server" LegacyMode="false" CssClass="messages" /}
{dnn:USER ID="dnnUserProfile" runat="server" LegacyMode="false" CssClass="profile" /}
Replace { by < and } by >.
Happy DNNing! Michael
Michael TobischDNN★MVP
Follow up information. I just saw that this is also the solution in the dnn booster theme. I found this in the dnnbooster.css file https://github.com/dnncon...nnbootster.css .dnnbooster header .topbar .general-functions li .message-holder .buttonGroup .userDisplayName {display: none; } .dnnbooster header .topbar .general-functions li .message-holder .buttonGroup .userProfileImg {display: none; } .dnnbooster header .topbar .general-functions li .message-holder .buttonGroup .userNotifications {display: none; }
Posted By Bernard Ouellet on 24 Nov 2020 08:20 PM Oh! I had skipped Timo's reply. Thanks you for making me notice Joe! Sorry Timo! :) You were right, it worked! With legacymode="true", the notifications, messages and avatar divs do not appear. Thank you all for you help!
You should never skip my replies ;-) Just kidding, glad it helped
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.