Author |
Topic |
Hamlin
Advanced Member
United Kingdom
2386 Posts |
Posted - 08 January 2003 : 15:17:31
|
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 |
|
devaskar
Starting Member
31 Posts |
Posted - 21 January 2003 : 00:19:48
|
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? |
|
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 21 January 2003 : 09:10:35
|
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 |
|
|
devaskar
Starting Member
31 Posts |
Posted - 21 January 2003 : 12:23:32
|
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 |
|
|
Hamlin
Advanced Member
United Kingdom
2386 Posts |
Posted - 21 January 2003 : 12:52:30
|
Then you need to check the readme again to make sure you did not miss anything. |
|
|
devaskar
Starting Member
31 Posts |
Posted - 21 January 2003 : 13:00:01
|
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? |
|
|
Hamlin
Advanced Member
United Kingdom
2386 Posts |
Posted - 21 January 2003 : 13:05:43
|
You will have to save the settings at least once, from the Avatar Settings page. |
|
|
devaskar
Starting Member
31 Posts |
Posted - 21 January 2003 : 13:12:01
|
I've done that, a few times. |
|
|
Hamlin
Advanced Member
United Kingdom
2386 Posts |
Posted - 21 January 2003 : 13:37:45
|
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. |
|
|
devaskar
Starting Member
31 Posts |
Posted - 21 January 2003 : 13:53:15
|
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
|
|
|
Hamlin
Advanced Member
United Kingdom
2386 Posts |
Posted - 21 January 2003 : 14:05:38
|
Do you have any other mods installed before you added the avatars? |
|
|
devaskar
Starting Member
31 Posts |
Posted - 21 January 2003 : 14:06:27
|
Yeah, I have several other mods. Do I need to go into inc_func_common.asp and change something? |
|
|
Hamlin
Advanced Member
United Kingdom
2386 Posts |
Posted - 21 January 2003 : 14:10:00
|
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. |
|
|
devaskar
Starting Member
31 Posts |
Posted - 21 January 2003 : 14:13:38
|
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. |
|
|
Hamlin
Advanced Member
United Kingdom
2386 Posts |
Posted - 21 January 2003 : 14:14:47
|
Can you post a link to a text version of your topic.asp? |
|
|
Topic |
|