Author |
Topic |
Hamlin
Advanced Member
United Kingdom
2386 Posts |
Posted - 26 August 2002 : 17:03:03
|
Avatar Mod
Original Author: Richard Kinser, adapted by Hamlin for 3.4. Tested On: 3.4.01
Background: It’s basically a complete rip off of the avatar mod 2 made by Richard Kinser. I did not add really add anything new, no upload support etc just fiddled with the old mod so it worked for 3.4.
As it is the avatar mod 2 re-done it should find all your old avatars if you have any.
Changes From Original
- Now have the option to show avatar in profile
Download
27/08/02 - The zip has been updated so that if an admin edits the avatar URL the change is reflected in the members table.
Files changed - admin_edit_avatar.asp
28/08/02 - There was an error in the readme, it has been updated.
Change to make - topic.asp
Line 531 approx
rR_LAST_EDITBY = 18
to
rR_LAST_EDITBY = 19 |
Edited by - Hamlin on 28 August 2002 07:02:33 |
|
MotoX
Junior Member
201 Posts |
Posted - 26 August 2002 : 17:23:15
|
Possibly a bad zip file? I cannot open it and have downloaded it 2 times... |
|
|
Aaron S.
Average Member
USA
985 Posts |
Posted - 26 August 2002 : 17:23:47
|
I have adapted this also... and got Richard's blessing to become its new author (I guess we were thinking the same thing Hamlin).
It will have a few new features including upload, but will basically be the same as Avatar 2.
--Aaron
|
DOWNLOAD GREAT NEW MODS HERE |
|
|
Hamlin
Advanced Member
United Kingdom
2386 Posts |
Posted - 26 August 2002 : 17:31:42
|
quote: Originally posted by MotoX
Possibly a bad zip file? I cannot open it and have downloaded it 2 times...
Try it now.
quote:
It will have a few new features including upload, but will basically be the same as Avatar 2.
No need for this one then |
|
|
MotoX
Junior Member
201 Posts |
Posted - 26 August 2002 : 17:36:23
|
quote: Try it now.
"No Files to Extract" Using Win-XP built in ZIP utility... |
|
|
MotoX
Junior Member
201 Posts |
Posted - 26 August 2002 : 17:42:19
|
I just downloaded winzip and it works fine. Thanks.
Figures. Microsoft... |
|
|
ClanRegister
Starting Member
United Kingdom
21 Posts |
Posted - 27 August 2002 : 04:23:20
|
I've also modified the avatar mod 2 to work with 3.4.01, a fairly simple exercise.
Has anyone adapted it to allow members to specify there own avatar URL's?
My members are increasingly fed up with the limited options they have as members, it seems that most of the functionality is only available to Admins. I can appreciate the security and content aspects, however options would be nice. |
Regards, Sy
http://www.clanregister.com |
|
|
Aaron S.
Average Member
USA
985 Posts |
|
Grandmaster
Starting Member
Brazil
46 Posts |
Posted - 27 August 2002 : 13:19:23
|
Hamlin,
I installed it on my test forum, and start doing sometest.
My first test was: I put the wrong link to the Image, and went to my Profile and selectec that Avatar. As the URL to the image is wrong, it worked fine, showing a image error. Then I went back to admin page and corrected the avatar Image URL, but the Image still shows as wrong on a topic. I deleted the avatar and it still there. Looking at SQL Member table, you are using the Image URL on members table. Isn't it better to store the ID of the avatar??? Because If someone changes where the avatar images are, every body will have to select again the avatar. |
-- Renato "Grandmaster" CobiT Foundation 4.1 Certified ID: 90391725 http://www.renato.henriques.nom.br
|
|
|
Hamlin
Advanced Member
United Kingdom
2386 Posts |
Posted - 27 August 2002 : 14:44:35
|
It would be better yes
I will change it so that if you edit the avatar the members table will be updated, I know thats not the same as storing the ID but it keeps it simple .
That to me seems the simple way of doing it, then you don't have to change anything other than the admin_edit_avatar.asp page. It wont however help if you move your avatars to a new folder for example.
EDIT - I will see if I can get it to work using avatar id's instead as well tho.
I originally had it set up so the admin could specify a avatar folder, in the same way you specify the images folder in the main feature configuration. Then you only have to specify the image name, and if the folder changes you can just change it in one place. That would have stopped this problem....I cant remember why I changed it back |
Edited by - Hamlin on 27 August 2002 15:53:49 |
|
|
ClanRegister
Starting Member
United Kingdom
21 Posts |
Posted - 27 August 2002 : 17:25:10
|
I've now modified the avatar 2, to allow members to select `Custom' from the avatar list, if they do this they can then type in a custom url for the avatars.
This works well, if anyone wants to see it or would like the code which is fully compatible with 3.4.01 let me know...forum is at http://www.clanregister.com/forum |
Regards, Sy
http://www.clanregister.com |
|
|
Grandmaster
Starting Member
Brazil
46 Posts |
Posted - 27 August 2002 : 17:32:28
|
Great Hamlin
I said to use the Avatar ID, because it's smaller ehaueha and if you change the avatar it will not be necessary to update the members table. You just update the avatar's table.
I will be waiting :) |
-- Renato "Grandmaster" CobiT Foundation 4.1 Certified ID: 90391725 http://www.renato.henriques.nom.br
|
|
|
ovi
Starting Member
Denmark
30 Posts |
Posted - 27 August 2002 : 20:10:43
|
I get the following error when I browse some topics (there is no link......!)
Microsoft VBScript runtime error '800a0006' Overflow: 'cLng'
/forum/inc_func_secure.asp, line 50
the asp-file at line 50 says: strSql = strSql & " WHERE MEMBER_ID = " & cLng(fUser_Number)
I dont get the error when i use the original topic.asp
i've only installed the avatar mod and i use v. 3.4.01
Could you help me here? |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
|
Lydecker
Junior Member
United Kingdom
297 Posts |
Posted - 29 August 2002 : 08:34:43
|
Love the Mod - but is it possible to upload in bulk? |
|
|
Hamlin
Advanced Member
United Kingdom
2386 Posts |
Posted - 29 August 2002 : 08:48:37
|
Not in this version
Aaron S. is releasing a Avatar PLUS mod soon with more features, maybe with his version you can
You mean on the admin_add_avatar.asp page right?
|
|
|
Topic |
|