@@ -59,13 +59,6 @@ protected override void OnLoad(EventArgs e)
59
59
{
60
60
base . OnLoad ( e ) ;
61
61
62
- this . SocialGroupId = - 1 ;
63
- if ( this . Request . QueryString [ Literals . GroupId ] != null && SimulateIsNumeric . IsNumeric ( this . Request . QueryString [ Literals . GroupId ] ) )
64
- {
65
- this . SocialGroupId = Convert . ToInt32 ( this . Request . QueryString [ Literals . GroupId ] ) ;
66
- }
67
- this . SetupPage ( ) ;
68
-
69
62
#if DEBUG
70
63
//ForumsConfig.Install_Upgrade_CreateForumDefaultSettingsAndSecurity_080200();
71
64
//new DotNetNuke.Modules.ActiveForums.Controllers.PermissionController().RemoveUnused(this.ForumModuleId);
@@ -84,6 +77,11 @@ protected override void OnLoad(EventArgs e)
84
77
this . ForumModuleId = this . ModuleId ;
85
78
}
86
79
80
+ this . SocialGroupId = - 1 ;
81
+ if ( this . Request . QueryString [ Literals . GroupId ] != null && SimulateIsNumeric . IsNumeric ( this . Request . QueryString [ Literals . GroupId ] ) )
82
+ {
83
+ this . SocialGroupId = Convert . ToInt32 ( this . Request . QueryString [ Literals . GroupId ] ) ;
84
+ }
87
85
string ctl = this . DefaultView ;
88
86
string opts = string . Empty ;
89
87
@@ -130,6 +128,7 @@ protected override void OnLoad(EventArgs e)
130
128
}
131
129
132
130
this . currView = ctl ;
131
+ this . SetupPage ( ) ;
133
132
this . GetControl ( ctl , opts ) ;
134
133
135
134
if ( this . Request . IsAuthenticated )
@@ -142,6 +141,7 @@ protected override void OnLoad(EventArgs e)
142
141
}
143
142
else
144
143
{
144
+ this . ShowToolbar = false ;
145
145
string ctlPath = Globals . ModulePath + "controls/_default.ascx" ;
146
146
ForumBase ctlDefault = ( ForumBase ) this . LoadControl ( ctlPath ) ;
147
147
ctlDefault . ID = "ctlConfig" ;
0 commit comments