2 Problems with Avatars
Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=12734
Printed Date: 11 April 2026 at 4:20pm Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: 2 Problems with Avatars
Posted By: Brett VanKirk
Subject: 2 Problems with Avatars
Date Posted: 28 November 2004 at 10:43am
I just setup a brand new form Web Wiz forum using a MS SQL database. I am having 2 problems with avatars. First I disabled avatar uploading, but users are still able to upload, and the upload box shows up in their profile. Also I deleted all of the avatars that came with, and I uploaded my own. Why does it still show the old avatars and not my new ones? I want to setup my forums so users can't upload their own, and can only use my custom avatars. Here is a link to my forums http://www.labonteonline.com/forum/
Thanks,
Brett VanKirk
|
Replies:
Posted By: dj air
Date Posted: 28 November 2004 at 10:47am
to add your own you need to edit the avatar file in the includes file.
regarding uploading, you should only have to disable oin the forum configuration page.
also make sure the updating happen . check to see if it changes
|
Posted By: Brett VanKirk
Date Posted: 28 November 2004 at 1:00pm
Thanks dj air. I just downloaded the dynamic_avatar_list and that fixed my problem with new avatars. When I stated about users being able to upload their own avatars I was mistaken. I want to get ride of the box that allows users to link in their own images. I think I found the code in the register.asp file, but when I delete that the edit profile page gets screwed up. How can I disable users from being able to bring in their own avarats via the web?
|
Posted By: dj air
Date Posted: 28 November 2004 at 2:14pm
to delete the section that allows them to add there own change the code below
<tr>
<td width="168">
<input
type="text" name="txtAvatar" size="30" maxlength="95" value="<%
'If the avatar is the persons own then display the link
If InStr(1, strAvatar, "http://") > 0 Then
Response.Write(strAvatar)
Else
Response.Write("http://")
End If
%>" onChange="oldAvatar.value=''" />
</td>
<td width="122">
<input
type="button" name="preview" value="<% = strTxtPreview %>"
onClick="avatar.src = txtAvatar.value" />
</td>
</tr>
|
for
<input
type="hidden" name="txtAvatar" size="30" maxlength="95" value="" />
|
|
Posted By: Brett VanKirk
Date Posted: 28 November 2004 at 4:01pm
Thannks dj air! It worked perfectly!
Thanks again,
Brett VanKirk
|
|