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/Code)
 MOD: Avatar MOD (version 2.0)
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 12

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 30 June 2001 :  22:42:48  Show Profile
Do they just not display on the topic page?
Go to Top of Page

bonkers
Junior Member

United Kingdom
122 Posts

Posted - 01 July 2001 :  06:35:48  Show Profile  Visit bonkers's Homepage
quote:

Do they just not display on the topic page?


I select an avatar it then updates the profile.
But if i go back the no avatar is selected again therefore i dont have an avatar displayed in the topic,forum or anywhere
bonkers

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 01 July 2001 :  06:45:34  Show Profile
Sounds like pop_profile.asp might not have been edited correctly.
Go to Top of Page

maggiau
New Member

96 Posts

Posted - 01 July 2001 :  17:04:06  Show Profile  Visit maggiau's Homepage
sameproblem for me ...

Go to Top of Page

bonkers
Junior Member

United Kingdom
122 Posts

Posted - 01 July 2001 :  20:03:38  Show Profile  Visit bonkers's Homepage
quote:

Sounds like pop_profile.asp might not have been edited correctly.


All my files were edited correctly and i`m pleased to report i have avatars in my forum
I dont quite know why they have started working the only thing i have changed is some settings in admin/main.
Its these bangs and whistles that make a forum individual even if everybody has it

Thank you for the mod and your time.
bonkers



Go to Top of Page

maggiau
New Member

96 Posts

Posted - 02 July 2001 :  03:25:36  Show Profile  Visit maggiau's Homepage
could you remember us what needs to be done in the pop_profile.asp ?

Thank you

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 02 July 2001 :  03:32:21  Show Profile
Just go back through the instructions and make sure that you made all of the modifications to pop_profile.asp that were indicated.
Go to Top of Page

maggiau
New Member

96 Posts

Posted - 02 July 2001 :  04:27:12  Show Profile  Visit maggiau's Homepage
in fact my problem is different ...
It works when I change the avatar from the user profile itself ... But When I change it from the admin profile ... for another user than admin, it accept the input but do no set it in the DB

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 02 July 2001 :  06:34:31  Show Profile
If you e-mail me your pop_profile.asp file, I'll fix it for you.
Go to Top of Page

maggiau
New Member

96 Posts

Posted - 02 July 2001 :  08:06:16  Show Profile  Visit maggiau's Homepage
I sent it... I hope you received it ...

Thank you Richard

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 02 July 2001 :  08:13:30  Show Profile
Yes, I got it, but the not as an attachement. The code is in the text area of the message.

Can you put your pop_profile.asp in a .zip file and then e-mail it to me?
Go to Top of Page

maggiau
New Member

96 Posts

Posted - 02 July 2001 :  08:45:01  Show Profile  Visit maggiau's Homepage
better now ??

Go to Top of Page

Ribkick
Junior Member

USA
296 Posts

Posted - 02 July 2001 :  23:31:15  Show Profile
Hi Richard, in your mod, you offer 3 different size settings. How difficult would it be to add a fourth option or change an existing size option to one that would actively adjust the avatar space under the ID line to the size of the chosen avatar? Kind of like what you suggested for the message icon mod of yours.

Often the avatars are not exactly the sizes allowed so they're either squished or a lot of resizing is needed for each added avater. I also use the user supplied addition so when a member adds their own, it could really be a mess.

Any ideas on how to accomplish this?

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 03 July 2001 :  00:52:37  Show Profile
ok, ribkick, you asked for it...

in admin_avatar_settings.asp change: (Lines 127 - 143)

		      <tr>
<td>
<font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>">
<select name="AvatarHSize" size=1>
<option value=32<% if rs("A_HSIZE") = "32" then Response.Write(" selected") %>>32</option>
<option value=48<% if rs("A_HSIZE") = "48" then Response.Write(" selected") %>>48</option>
<option value=64<% if rs("A_HSIZE") = "64" then Response.Write(" selected") %>>64</option>
</select></font></td>
<td><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><b>X</b></td>
<td>
<font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>">
<select name="AvatarWSize" size=1>
<option value=32<% if rs("A_WSIZE") = "32" then Response.Write(" selected") %>>32</option>
<option value=48<% if rs("A_WSIZE") = "48" then Response.Write(" selected") %>>48</option>
<option value=64<% if rs("A_WSIZE") = "64" then Response.Write(" selected") %>>64</option>
</select></font></td>
</tr>


to this:

		      <tr>
<td>
<font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>">
<select name="AvatarHSize" size=1>
<option value=0<% if rs("A_HSIZE") = "0" then Response.Write(" selected") %>>None</option>
<option value=32<% if rs("A_HSIZE") = "32" then Response.Write(" selected") %>>32</option>
<option value=48<% if rs("A_HSIZE") = "48" then Response.Write(" selected") %>>48</option>
<option value=64<% if rs("A_HSIZE") = "64" then Response.Write(" selected") %>>64</option>
</select></font></td>
<td><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><b>X</b></td>
<td>
<font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>">
<select name="AvatarWSize" size=1>
<option value=0<% if rs("A_WSIZE") = "0" then Response.Write(" selected") %>>None</option>
<option value=32<% if rs("A_WSIZE") = "32" then Response.Write(" selected") %>>32</option>
<option value=48<% if rs("A_WSIZE") = "48" then Response.Write(" selected") %>>48</option>
<option value=64<% if rs("A_WSIZE") = "64" then Response.Write(" selected") %>>64</option>
</select></font></td>
</tr>



in admin_review_avatar.asp change: (Line #113)

        <td bgcolor="<% =CColor %>" valign="center" align="center" nowrap><img src="<% =rs("A_URL") %>" height=<% =rsav("A_HSIZE") %> width=<% =rsav("A_WSIZE") %> border=<% =rsav("A_BORDER") %> hspace=0 alt="<% =rs("A_NAME") %>"></td>


to:

        <td bgcolor="<% =CColor %>" valign="center" align="center" nowrap><img src="<% =rs("A_URL") %>" <% if rsav("A_HSIZE") <> 0 then %>height="<% =rsav("A_HSIZE") %>"<% end if %> <% if rsav("A_WSIZE") <> 0 then %>width="<% =rsav("A_WSIZE") %>"<% end if %> border="<% =rsav("A_BORDER") %>" hspace=0 alt="<% =rs("A_NAME") %>"></td>



in inc_avatar.asp change: (Line #110)

	<td width="65%" valign="top" align="left"><img name="URL" src="<% if IsNull(rs("M_AVATAR_URL")) or rs("M_AVATAR_URL") = "" or rs("M_AVATAR_URL") = " " or Request.QueryString("mode") = "Register" then %>noavatar.gif<% else %><% =rs("M_AVATAR_URL")%><% end if %>" border=<% =rsavx("A_BORDER") %> width=<% =rsavx("A_WSIZE") %> height=<% =rsavx("A_HSIZE") %>></td>


to:

	<td width="65%" valign="top" align="left"><img name="URL" src="<% if IsNull(rs("M_AVATAR_URL")) or rs("M_AVATAR_URL") = "" or rs("M_AVATAR_URL") = " " or Request.QueryString("mode") = "Register" then %>noavatar.gif<% else %><% =rs("M_AVATAR_URL")%><% end if %>" border="<% =rsavx("A_BORDER") %>" <% if rsavx("A_WSIZE") <> 0 then %>width="<% =rsavx("A_WSIZE") %>"<% end if %> <% if rsavx("A_HSIZE") <> 0 then %>height="<% =rsavx("A_HSIZE") %>"<% end if %>></td>



in topic.asp change the line that looks like this:

        <img src="<% =rsReplies("M_AVATAR_URL") %>" align="absmiddle" width=<% =rsav("A_WSIZE") %> height=<% =rsav("A_HSIZE") %> border=<% =rsav("A_BORDER") %> hspace="0" ><% set rsav = nothing %><% end if %>


to this:

        <img src="<% =rsReplies("M_AVATAR_URL") %>" align="absmiddle" <% if rsav("A_WSIZE") <> 0 then %>width="<% =rsav("A_WSIZE") %>"<% end if %> <% if rsav("A_HSIZE") <> 0 then %>height="<% =rsav("A_HSIZE") %>"<% end if %> border="<% =rsav("A_BORDER") %>" hspace="0" ><% set rsav = nothing %><% end if %>



in topic.asp change the line that looks like this:

        <img src="<% =rsTopic("M_AVATAR_URL") %>" align="absmiddle" width=<% =rsav("A_WSIZE") %> height=<% =rsav("A_HSIZE") %> border=<% =rsav("A_BORDER") %> hspace="0" ><% set rsav = nothing %><% end if %>


to this:

        <img src="<% =rsTopic("M_AVATAR_URL") %>" align="absmiddle" <% if rsav("A_WSIZE") <> 0 then %>width="<% =rsav("A_WSIZE") %>"<% end if %> <% if rsav("A_HSIZE") <> 0 then %>height="<% =rsav("A_HSIZE") %>"<% end if %> border="<% =rsav("A_BORDER") %>" hspace="0" ><% set rsav = nothing %><% end if %>
Go to Top of Page

Ribkick
Junior Member

USA
296 Posts

Posted - 03 July 2001 :  13:45:22  Show Profile
Richard! Beautiful, just beautiful! This worked better than I hoped. Thank you so very much!!!

(anybody else, watch that you remove all the line numbers when/if you use this edit)

Go to Top of Page
Page: of 12 Previous Topic Topic Next Topic  
Previous Page | Next Page
 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.22 seconds. Powered By: Snitz Forums 2000 Version 3.4.07