Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - 2 Problems with Avatars
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

2 Problems with Avatars

 Post Reply Post Reply
Author
Brett VanKirk View Drop Down
Newbie
Newbie


Joined: 28 November 2004
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote Brett VanKirk Quote  Post ReplyReply Direct Link To This Post Topic: 2 Problems with Avatars
    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
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Brett VanKirk View Drop Down
Newbie
Newbie


Joined: 28 November 2004
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote Brett VanKirk Quote  Post ReplyReply Direct Link To This Post 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?

Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post 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="" />



Back to Top
Brett VanKirk View Drop Down
Newbie
Newbie


Joined: 28 November 2004
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote Brett VanKirk Quote  Post ReplyReply Direct Link To This Post Posted: 28 November 2004 at 4:01pm
Thannks dj air! It worked perfectly!

Thanks again,
Brett VanKirk
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.