Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 remove column
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

coldclimbs
Starting Member

32 Posts

Posted - 23 November 2004 :  19:35:43  Show Profile  Visit coldclimbs's Homepage
I need to remove the moderator column from the forum i have unchecked it in the admin but the column is still there all be it very narrow but i want gone altogether any help on where to find this column code would be great
thanks

Jezmeister
Senior Member

United Kingdom
1141 Posts

Posted - 23 November 2004 :  19:46:19  Show Profile  Visit Jezmeister's Homepage
if you've unchecked it then normal members shouldn't see the column at all.
Go to Top of Page

hellind
Junior Member

Singapore
123 Posts

Posted - 23 November 2004 :  22:47:40  Show Profile
AFAIK, when you login as an admin, you will still be able to see it, but normal users won't.

Correct me if I'm wrong.

And I dont' see a "Snitz Forums 2000" link at the bottom of the page, which is required as part of the copyright. It is only 3 words.

Edited by - hellind on 23 November 2004 22:55:29
Go to Top of Page

coldclimbs
Starting Member

32 Posts

Posted - 24 November 2004 :  02:58:19  Show Profile  Visit coldclimbs's Homepage
I am not logged in and the column is still there someone must know
Go to Top of Page

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 24 November 2004 :  07:56:48  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
Re-check your configuration: Admin Options -> Feature Configuration -> Show Moderators (set to off). As said, only Admins and Moderators will be able to see the column now.

eXtremeGossip
Go to Top of Page

coldclimbs
Starting Member

32 Posts

Posted - 24 November 2004 :  10:21:01  Show Profile  Visit coldclimbs's Homepage
I know what it is now, it is the column that the icons appear in is there any way to remove this column
Go to Top of Page

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 24 November 2004 :  10:44:38  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
You mean when people are logged in or when they're not logged in?

I understand why you'd want it gone while you're not logged in, because it makes for kind of a strange empty column on the far right. I don't exactly know how to do it, but you'll have to modify default.asp to only display it when you are logged in.

eXtremeGossip
Go to Top of Page

coldclimbs
Starting Member

32 Posts

Posted - 24 November 2004 :  10:51:08  Show Profile  Visit coldclimbs's Homepage
mmm thanks for the reply but i do not want it there when logged in or not basicly when the user post the topic thats it no going back to change it or anything is what i want (down with the icons I say)
Go to Top of Page

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 24 November 2004 :  11:01:39  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
If you completely remove it, where would you have the moderator and administrator icons display

eXtremeGossip
Go to Top of Page

Jezmeister
Senior Member

United Kingdom
1141 Posts

Posted - 24 November 2004 :  14:36:10  Show Profile  Visit Jezmeister's Homepage
you could just extend it so that the 'if (mLev = 4)' (or something like that) covers the beginning and end of that column aswell, instead of deleting the entire column. I don't have the code handy right now, i'll have a look tomorrow for you if no-one else has by then.
Go to Top of Page

coldclimbs
Starting Member

32 Posts

Posted - 24 November 2004 :  15:16:40  Show Profile  Visit coldclimbs's Homepage
That would be great if you could do that. Thanks for taking the time to look at this for me :)
Go to Top of Page

Jezmeister
Senior Member

United Kingdom
1141 Posts

Posted - 26 November 2004 :  19:20:06  Show Profile  Visit Jezmeister's Homepage
after looking at the code i rechecked my forum after logging out, i think the column you want to get rid of is the archive forum one, not the moderator one. if you do get rid of the column people wont have any link to any archived topics unless you manually put it there.
anyway to remove that column from normal member view find this in default.asp around line 315:
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 
	Response.Write	"                <td align=""center"" bgcolor=""" & strHeadCellColor & """>"
if (mlev = 4 or mlev = 3) or (lcase(strNoCookies) = "1") then

And change it to this:
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
if ModerateAllowed = "Y" or (lcase(strNoCookies) = "1") then  
	Response.Write	"                <td align=""center"" bgcolor=""" & strHeadCellColor & """>"
End If
if (mlev = 4 or mlev = 3) or (lcase(strNoCookies) = "1") then


Then find this around line 541:

							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 
							Response.Write	"                <td bgcolor=""" & strForumCellColor & """ align=""center"" valign=""top"" nowrap>"
							if ModerateAllowed = "Y" or (lcase(strNoCookies) = "1") then 
								call ForumAdminOptions
							else
								call ForumMemberOptions
							end if
							Response.Write	"</td>" & vbNewline
							Response.Write	"              </tr>" & vbNewline

Change it to this:

							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 
		if ModerateAllowed = "Y" or (lcase(strNoCookies) = "1") then 
Response.Write	"                <td bgcolor=""" & strForumCellColor & """ align=""center"" valign=""top"" nowrap>"
			
								call ForumAdminOptions
								"</td>" & vbNewline
                                                        End If
							Response.Write	"              </tr>" & vbNewline

That should do it.

Edited by - Jezmeister on 26 November 2004 19:23:02
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 4.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07