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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Avatar Mod
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

gardi
New Member

65 Posts

Posted - 16 August 2004 :  21:23:13  Show Profile
Hi guyz
Can we make a mod that ony admins are allowed to use avatars..

I mean i dont want any avatar table to appear at users profiles or registration. Only Admins can have this option???
thanks

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 17 August 2004 :  05:21:05  Show Profile
Crack open inc_avatar.asp and find the following beginning on approximately line 57:
Response.Write	"	<tr>" & vbNewLine & _
		"       <td align=""center"" bgcolor=""" & strCategoryCellColor & """ colspan=""2"">" & vbNewLine & _
		"        <b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """> Avatar Selection </font></b></td>" & vbNewLine & _
		"       </tr>" & vbNewLine & _
and immediately before it add the following:
if mlev <> 4 then
	response.write	"	<input type=""hidden"" name=""Avatar_URL"" value=""noavatar.gif"" />
else
In the same file, find the following at the very and of the file, beginning approximately at line 146:
Response.Write	"	</td>" & vbNewLine & _ 
		"	</tr>" & vbNewLine & _
		"</table>"

Response.Write	"       </td></tr>" & vbNewLine
and on the next line add an end if.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

gardi
New Member

65 Posts

Posted - 17 August 2004 :  10:33:28  Show Profile
It worked successfully
how ever could we make another change so e dont have to select our avatar on REGISTER.asp
Because its like. Ur registering with your avatar but it turns out you cannot use them

Edited by - gardi on 17 August 2004 19:43:09
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 18 August 2004 :  07:45:48  Show Profile
Not sure I understand you, Gardi. Do you want to pre-assign avatars for admins and moderators or did I completely misundersatnd your original query and you want admins to be able to assign avatars to all members just not allow the members to change their own avatars?


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
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 0.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07