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)
 Avatar Mod : Avatar Upload (admins only)
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 08 January 2003 :  15:17:31  Show Profile
I could not update the original topic (found here), but this is an update for that mod.

Update 1.3

This update allows the admin to upload 5 avatars at a time, to their selected avatar folder.

The avatar information will automatically be added to your database.

Demo

Not really a demo as its all on the admin side, but a little screen shot instead




Usage

Example, my forum is at http://www.ian-hamlin.com/forum, my avatar folder is at http://www.ian-hamlin.com/forum/avatars...so in the
Avatar Destination shown above I would enter avatars, the overwrite existing files options, will delete a file of the same name (if one exists) if yes is ticked.

New Files

admin_avatar_upload.asp
avatar_upload.asp

Changed Files

admin_avatar_home.asp

Installation

If you already have the avatar mod then just unzip the changed/new files to your forum folder.

Special Requirements

You may need to ask your host to set the correct permissions on you avatar folder, if that is where you choose to upload files to.

Download

Download
Download

Heynow
Junior Member

374 Posts

Posted - 08 January 2003 :  16:13:16  Show Profile  Visit Heynow's Homepage  Send Heynow an AOL message  Send Heynow a Yahoo! Message
Very nice..Thanks Hamlin.


Political Forums
:::Stay n Chat
Go to Top of Page

devaskar
Starting Member

31 Posts

Posted - 21 January 2003 :  00:19:48  Show Profile
I added this mod to my forum but one problem: the avatars aren't showing up under people's posts. What do I need to do?
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 21 January 2003 :  09:10:35  Show Profile  Visit masterao's Homepage
Each member must choose an avatar in their profile. Until they have done that, they will not show any avatar in their posts.

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

devaskar
Starting Member

31 Posts

Posted - 21 January 2003 :  12:23:32  Show Profile
quote:
Originally posted by masterao

Each member must choose an avatar in their profile. Until they have done that, they will not show any avatar in their posts.



Some people have chosen avatars but they are still not showing up.

Edited by - devaskar on 21 January 2003 12:23:46
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 21 January 2003 :  12:52:30  Show Profile
Then you need to check the readme again to make sure you did not miss anything.
Go to Top of Page

devaskar
Starting Member

31 Posts

Posted - 21 January 2003 :  13:00:01  Show Profile
I checked it a couple times...I don't think I'm missing anything. Does anything need to be configured through the admin home or anything?
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 21 January 2003 :  13:05:43  Show Profile
You will have to save the settings at least once, from the Avatar Settings page.
Go to Top of Page

devaskar
Starting Member

31 Posts

Posted - 21 January 2003 :  13:12:01  Show Profile
I've done that, a few times.
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 21 January 2003 :  13:37:45  Show Profile
Then it you have followed the instructions it "should" work fine...

Can you check the database to make sure the values are being saved in the config_new table.
Go to Top of Page

devaskar
Starting Member

31 Posts

Posted - 21 January 2003 :  13:53:15  Show Profile
Hamlin:

I got the avatar to appear but now I'm having a different problem. If a topic posted in my forum has no replies, there's no problem, but if someone has replied to it, I get this error:

The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.

--------------------------------------------------------------------------------

Please try the following:

Click the Refresh button, or try again later.

Open the www.the49erway.com home page, and then look for links to the information you want.
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services

--------------------------------------------------------------------------------

Technical Information (for support personnel)

Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: '[string: ""]'
/goniners/inc_func_common.asp, line 610


Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

Page:
GET /goniners/topic.asp

Time:
Tuesday, January 21, 2003, 11:46:25 AM


More information:
Microsoft Support

Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 21 January 2003 :  14:05:38  Show Profile
Do you have any other mods installed before you added the avatars?
Go to Top of Page

devaskar
Starting Member

31 Posts

Posted - 21 January 2003 :  14:06:27  Show Profile
Yeah, I have several other mods. Do I need to go into inc_func_common.asp and change something?
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 21 January 2003 :  14:10:00  Show Profile
quote:

Do I need to go into inc_func_common.asp and change something?


Nope, unless you have been messing around with the code in that file.

Check this block of code in topic.asp...


		rM_NAME = 0
		rM_RECEIVE_EMAIL = 1
		rM_AIM = 2
		rM_ICQ = 3
		rM_MSN = 4
		rM_YAHOO = 5
		rM_TITLE = 6
		rMEMBER_ID = 7
		rM_HOMEPAGE = 8
		rM_LEVEL = 9
		rM_POSTS = 10
		rM_COUNTRY = 11
		rM_Avatar = 12
		rREPLY_ID = 13
		rFORUM_ID = 14
		rR_AUTHOR = 15
		rTOPIC_ID = 16
		rR_MESSAGE = 17
		rR_LAST_EDIT = 18
		rR_LAST_EDITBY = 19
		rR_SIG = 20
		rR_STATUS = 21
		rR_DATE = 22
		if CanShowSignature = 1 then
			rM_SIG = 23
		end if

Check that you did not overwrite any old values you entered for previous mods.
Go to Top of Page

devaskar
Starting Member

31 Posts

Posted - 21 January 2003 :  14:13:38  Show Profile
The only thing I had in that block different than the code you provided was the private message mod (PM) and I didn't overwrite it. So I don't think the problem is there.
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 21 January 2003 :  14:14:47  Show Profile
Can you post a link to a text version of your topic.asp?
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
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.28 seconds. Powered By: Snitz Forums 2000 Version 3.4.07