Author |
Topic |
|
severian
Starting Member
USA
12 Posts |
Posted - 24 March 2006 : 13:06:22
|
I am using (or rather; trying to) the Avatar Mod for 3.4 written by adapted by Hamlin. Under the instructions for modifying the topic.asp there are instructions for 3.4.01 - 3.4.03, but I am using neither. Again what about 3.4.05? |
Severian
Entertaining Neurologists Free of Charge Since 2000 |
Edited by - severian on 24 March 2006 13:09:23 |
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
Posted - 24 March 2006 : 13:19:25
|
Should be almost identical installing the avatar mod for 3.4.05 as it would be installing it to 3.4.03.
There may be some slight discrepancies in line numbers so always make sure that the code you are pasting is in the correct place. |
Bandlink.net - http://www.bandlink.net/ Bandlink Music Forums - http://www.bandlink.net/forum/ |
|
|
severian
Starting Member
USA
12 Posts |
Posted - 24 March 2006 : 17:52:54
|
Mostly, it was. But the end modifications depend on what version you are modifying. I am guessing (literally) that the changes would differ for 3.4.05 and yes line munbers were a bit off. BTW, thanks for the reply. I was trying to save readers this experience, (heck, really just being lazy) but I will quote the mod instructions...
quote: ########################################################
For snitz 3.4.0.3 follow this step
Look for this code arond line 584
if strCountry = "1" and trim(Reply_MemberCountry) <> "" then Response.Write " <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & Reply_MemberCountry & "</small></font><br />" & vbNewLine end if
Directly above that add this code
if Reply_MemberAvatar <> "noavatar.gif" then response.write" <img src=""" & Reply_MemberAvatar & """ width=""" & intAvatarWidth & """ height=""" & intAvatarHeight & """ border=""" & intAvatarBorder & """>" end if
########################################################
########################################################
For snitz 3.4, 3.4.0.1 and 3.4.0.2 follow this step
Look for this code around line 789
Response.Write " </p>" & vbNewLine & _ " <p><font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & Member_Country & "</small></font><br />" & vbNewLine & _
Replace that with the following code
Response.Write " </p>" & vbNewLine if Member_Avatar <> "noavatar.gif" then response.write" <img src=""" & Member_Avatar & """ width=""" & intAvatarWidth & """ height=""" & intAvatarHeight & """ border=""" & intAvatarBorder & """>" end if
response.write " <p><font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & Member_Country & "</small></font><br />" & vbNewLine & _
########################################################
########################################################
For snitz 3.4.0.3 follow this step
Look for this code arond line 796
if strCountry = "1" and trim(Member_Country) <> "" then Response.Write " <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & Member_Country & "</small></font><br />" & vbNewLine end if
Directly above that add this code
if Member_Avatar <> "noavatar.gif" then response.write" <img src=""" & Member_Avatar & """ width=""" & intAvatarWidth & """ height=""" & intAvatarHeight & """ border=""" & intAvatarBorder & """>" end if
########################################################
As Is, I have made all modifications, except the ones above. The files are still on my machine, (once I started the modification process and got stuck there, I changed nothing on the server, so no error msgs, but no avatars either... |
Severian
Entertaining Neurologists Free of Charge Since 2000 |
Edited by - severian on 24 March 2006 17:54:37 |
|
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
|
severian
Starting Member
USA
12 Posts |
Posted - 26 March 2006 : 12:15:24
|
OK, done and nothing blew up, rofl. However, The profiles to dot allow one to select an avatar, as none have been added (that was easy to think of). I do get an error if I try to use the mass add option: quote: Microsoft VBScript runtime error '800a004c'
Path not found
/forum/admin_avatar_mass_add.asp, line 88
the FTP path is to a "www" folder with a "forum" folder inside and I created 2 new folders and tried to use them, "avatarFolderNew" and "avatarFolderMain". So path I entered under admin options is "www/forum/avatarFolderNew/" and "www/forum/avatarFolderMain". Also I looked and "admin_avatar_mass_add.asp is in the "forum" folder.
I am clueless what this means. Any ideas? |
Severian
Entertaining Neurologists Free of Charge Since 2000 |
Edited by - severian on 27 March 2006 16:00:28 |
|
|
muzishun
Senior Member
United States
1079 Posts |
Posted - 27 March 2006 : 18:33:34
|
I think you need to begin and end the folder name in your settings with "/". Just looking through the MOD (don't have it installed), there should be an error message if you don't have that set right. But try going back into your admin section and beginning and ending the path to the folder with "/". |
Bill Parrott Senior Web Programmer, University of Kansas Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com) Personal Website (www.chimericdream.com) |
|
|
severian
Starting Member
USA
12 Posts |
Posted - 27 March 2006 : 19:22:04
|
I Tried That, no joy. But you are correct, the admin section does an error msg if the "/" is not there. |
Severian
Entertaining Neurologists Free of Charge Since 2000 |
|
|
severian
Starting Member
USA
12 Posts |
|
severian
Starting Member
USA
12 Posts |
Posted - 29 March 2006 : 19:06:47
|
OK I think I've used all the color options. Stilll waiting to get the answer...
BTW this color seems too hard to read (FYI). |
Severian
Entertaining Neurologists Free of Charge Since 2000 |
|
|
severian
Starting Member
USA
12 Posts |
Posted - 02 April 2006 : 19:32:06
|
I was wrong, yellow is much harder to read.
New problem now. got new avatars to add but get a broken link picture. Umm, wazzup with this? Example can be seen at http://www.muffinandstuff.com/forum/topic.asp?TOPIC_ID=15 |
Severian
Entertaining Neurologists Free of Charge Since 2000 |
Edited by - severian on 02 April 2006 19:34:35 |
|
|
Zuel
Average Member
USA
540 Posts |
Posted - 06 April 2006 : 13:59:47
|
All you need to do is create a folder with new images for you Mass Uploading.
Say like "New Avatars". You put this in the first text box.
Second text box is the folder where you keep all of your current avatars.
Say like "Avatars"
Then just hit run and the File System Object does the rest.
When I tried to create a user in your registration page I noticed the avatars in the drop down are broken. Where are you keeping the images? |
My Completed Mods: News Mod | Zuel's Avatar Add-on In Development: World of Warcraft Member Roster | [C# Based Forum]
Note - I may take a few days to recieve your email. Hotmail filters all new emails as junk. Would be best to post all questions, concerns in a forum topic to catch my immediate attention. This way others can assist and also correct any similar mistakes.
MSN / E-Mail: ucyimDa_Ruler@Hotmail.com
Personal Bookmarks: How to work a DBS File
|
|
|
severian
Starting Member
USA
12 Posts |
Posted - 06 April 2006 : 15:20:02
|
OK I am an idiot. Nothing new there.
I have already done your suggestion, (I think the readme file said I needed folders and suggested the names.) folders are named avatarFolderMain and avatarFolderNew. I think I am not telling something to look for them in correct spot. Both are www/forum/avatarFolderMain(or avatarFolderNew), both are there and both have a couple avatars in them in case that mattered, which you are saying it does....
I used the mass upgrade function and all the avatars from that are in the main forum folder, just like the admin option said was going to happen. I then moved a few into the avatarFolderMain folder JIC that was the problem.
Again guessing here, but like I said, I tend towardy idiocy at times, It took many tries to get that broken image there, probably because the massupgrade option wants me to name folders. Not at all sure how the data I was supposed to input was supposed to look, I started the path big, and went smaller (Example; http://www.thisnoworkie.com/www/forum/avatarFolderNew/ and eventually got to where I tried the simplest (which worked, no error msgs shown anyway) and eventaully tried just /avatarFolderNew/). I can FTP more avatars into avatarFolderMain, but my thinking is all will be the same broken avatar.
What did I miss?
BTW Thanks for the help. Any help is appreciated. |
Severian
Entertaining Neurologists Free of Charge Since 2000 |
Edited by - severian on 06 April 2006 15:37:43 |
|
|
severian
Starting Member
USA
12 Posts |
Posted - 07 April 2006 : 15:54:42
|
I think I am on to something here!!!!!!!!!!!!!!!!!!!!!!!! I actually got one to work. Do not misunderstand me, 1, uno, ein, un, hanah. It is not one i added, but one (see above if anyone misunterstands that numerical value) is working. In the admin options I had to add it as new, so I am trying a few others also.
The path to the folder (mind you, I used the names given in the readmefile to keep it simple: "/forum/avatarFolderNew/" (the "/"'s are vital otherwise you will get an error saying just that).
ALSO in (heck maybe just one of these fixes problem, I did both) the admin_avatar_mass_add.asp the folder it's looking for is named incorrect, so I changed it from "NewAvatarFolder" to "avatarFolderNew" . same line, of course exactly where would matter what else you may have already done to change stuff. Mine went from this: Set filesys = CreateObject("Scripting.FileSystemObject")
newAvatarFolder = Server.MapPath(Request.Form("avatarFolderNew"))
Set imagesFolder = filesys.GetFolder(newAvatarFolder)
set filesObj = imagesFolder.Files
to this: Set filesys = CreateObject("Scripting.FileSystemObject")
avatarFolderNew = Server.MapPath(Request.Form("avatarFolderNew"))
Set imagesFolder = filesys.GetFolder(avatarFolderNew)
set filesObj = imagesFolder.Files
Nope gotta think this over, the solution did not work for all, but the one avatar still works...
OK, I give up, what am I doing wrong now? |
Severian
Entertaining Neurologists Free of Charge Since 2000 |
Edited by - severian on 09 April 2006 03:21:54 |
|
|
severian
Starting Member
USA
12 Posts |
Posted - 12 April 2006 : 11:49:33
|
Ok, problem solved, perhaps.
I now have several that work, after some intial failures.
The problem (for me anyway) was the path name in the admin section (many times I have typos) which should be (using again my data) select add new avatar, the URL to Avatar should be /forum/avatarFolderNew/whatever.gif Either gifs or jpgs worked unless they were too large or animated. Avatar Display Name is basically anything you what the immage to be known as, no extension needed.
Images can be croped or resized to work, animated; well, err, dunno what the problem there is...
FTP the immage into correct folder, then select Review/Edit Avatars and next page should show them. THEN they should show up when a new user creates or edits the profile as an option.
|
Severian
Entertaining Neurologists Free of Charge Since 2000 |
|
|
|
Topic |
|