The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
Is it possible to have the column on the default.asp page that shows the list of moderators veiwable by only the super Administrator?
At present it is not shown to non-members and members but is shown to moderators and admins. Because of the number of moderators we have, when logged in as a moderator or administrator the layout looks cluttered.
I know there is the option in 'Feature Configuration' to not show moderators to normal users ....
It would be ideal if I could extend this to moderators and normal administrators as well as
Many thanks in advance
At present it is not shown to non-members and members but is shown to moderators and admins. Because of the number of moderators we have, when logged in as a moderator or administrator the layout looks cluttered.
I know there is the option in 'Feature Configuration' to not show moderators to normal users ....
What does Show Moderators do?
Basically, if this function is on, it shows the name of the moderator beside the forum that they moderate on the main default page. If it is off, however, visitors won't see who is moderating the forum they are posting in.
It would be ideal if I could extend this to moderators and normal administrators as well as
Many thanks in advance
Posted
Look for this line (appx 100):
Change it to say:
Code:
if (strShowModerators = "1") or (mlev = 4 or mlev = 3) thenChange it to say:
Code:
if mlev = 4 then
Posted
That's what I thought but it just removes the moderators names and leaves the column
There's 3 instances of:
if (strShowModerators = "1") or (mlev = 4 or mlev = 3) then
and one instance of:
if (strShowModerators = "1") or (mlev > 0 ) then
relating to the moderators names being diplayed and setting the columns in the tables but editing the code upsets the layout
There's 3 instances of:
if (strShowModerators = "1") or (mlev = 4 or mlev = 3) then
and one instance of:
if (strShowModerators = "1") or (mlev > 0 ) then
relating to the moderators names being diplayed and setting the columns in the tables but editing the code upsets the layout
Last edited by Webbo on 04 August 2013, 15:17
Posted
Most likely you will need to repeat the advice for those entries as well. I would double-check the surrounding code to make sure they are referring to displaying the moderator's column.
Posted
I misunderstood, thought you only wanted to eliminate the list of moderators. I'll take another look.
Posted
OK - here's what you need to do:
Code:
Look for these lines (appx 536-538):
if (strShowModerators = "1") or (mlev = 4 or mlev = 3) then
Response.Write " <td bgcolor=""" & strForumCellColor & """ align=""left"" valign=""top""><font face=""" & strDefaultFontFace & """ color=""" & strForumFontColor & """ size=""" & strFooterFontSize & """><span class=""spnMessageText"">" & listForumModerators(ForumID) & "</span></font></td>" & vbNewline
end if
Comment them out (put an apostrophe in front of each) or delete them.
Look for these lines (appx 321-325):
if (strShowModerators = "1") or (mlev > 0 ) then
Response.Write "6"
else
Response.Write "5"
end if
Change them to say:
Response.Write "5"
Look for these lines (appx 307-309):
if (strShowModerators = "1") or (mlev = 4 or mlev = 3) then
Response.Write " <td align=""center"" bgcolor=""" & strHeadCellColor & """ nowrap valign=""top""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>Moderator(s)</font></b></td>" & vbNewline
end if
Comment them out (put an apostrophe in front of each) or delete them.
Posted
Hi Carefree if I remove the reference to 'mlev = 3' from lines 307-9 and 536-8 I get the following:
Before change to code:
After change to code:
Changing 321-5 from 6 to 5 doesn't make any difference to the number of columns in the category name row.
Before change to code:
After change to code:
Changing 321-5 from 6 to 5 doesn't make any difference to the number of columns in the category name row.
Posted
See all instances of this:
sGetColspan(6,5)
Change them to this:
sGetColspan(5,4)
sGetColspan(6,5)
Change them to this:
sGetColspan(5,4)
Email Member
Message Member
Post Moderation
FileUpload
If you're having problems uploading, try choosing a smaller image.
Preview post
Send Topic
Loading...