Author |
Topic  |
|
littlemute
Starting Member
Reunion Island
6 Posts |
Posted - 18 March 2004 : 19:00:33
|
I have the avatar mod installed and it works EXCEPT when a user goes in to modify their profile. Upon submit it resets the avatar, whether they messed with the avatar selection or not, to none. Not even the blank.gif I have set up but none. I assume this was my error somehow copying code to pop_profile or whatever page submits the data from pop_profile to the database.
When a profile is created the avatars work fine.
Thanks for your time.
littlemute |
|
masterao
Senior Member
   
Sweden
1678 Posts |
|
littlemute
Starting Member
Reunion Island
6 Posts |
Posted - 22 March 2004 : 09:45:10
|
I just did this weekend and fixed the problem.
Is there any way for the width and height of the avatar to be determined by the avatar image size itself rather than an arbitrary size set by the database? |
 |
|
masterao
Senior Member
   
Sweden
1678 Posts |
Posted - 22 March 2004 : 10:59:59
|
You have to edit inc_avatar.asp and topic.asp for that, look for intAvatarHeight and intAvatarWidth. Doing so can change the layout of topic.asp, though. One avatar who is wider than the others will make the table cell that the avatars show up in wider, which will be very noticeably for those who have a less wide avatar image (and cause a lot of empty space). |
Jan =========== FR Portal Forums | Active Users 4.0.20 Mod |
Edited by - masterao on 22 March 2004 11:00:41 |
 |
|
littlemute
Starting Member
Reunion Island
6 Posts |
Posted - 22 March 2004 : 18:06:53
|
Yep, I know it could cause problems, but let's see what happens, I commented out the old code in case the whole thing gets ruined. Thanks for your time!
|
 |
|
krienser
Starting Member
4 Posts |
Posted - 23 March 2004 : 06:11:30
|
hi all
can someone help me with the 7 modifyed files because every time i upload my modifyed files i've got script failures in the topic.asp ???
can someone post the files here or send me an email with them ? (config.asp,topic.asp,pop_profile.asp,inc_profile.asp,register.asp, admin_home.asp)
thanks for your help ! |
 |
|
cripto9t
Average Member
  
USA
881 Posts |
Posted - 23 March 2004 : 09:03:35
|
quote: Originally posted by krienser
hi all
can someone help me with the 7 modifyed files because every time i upload my modifyed files i've got script failures in the topic.asp ???
can someone post the files here or send me an email with them ? (config.asp,topic.asp,pop_profile.asp,inc_profile.asp,register.asp, admin_home.asp)
thanks for your help !
kreinser, it would be better if you start your own topic. 
Anyway, post your error messages and give us some links to .txt versions of your modified files, start with the topic.asp. example: topic.txt This will help us help you . |
_-/Cripto9t\-_ |
 |
|
krienser
Starting Member
4 Posts |
Posted - 23 March 2004 : 09:19:57
|
ok thanks a lot for your reply cripto9t ...
i'll try once again ... if i dont reach my target, i' ll make a new topic with the error messages and links to the textfiles ...
cheers and THANKS again ! |
 |
|
masterao
Senior Member
   
Sweden
1678 Posts |
Posted - 23 March 2004 : 17:52:46
|
quote: Originally posted by littlemute
Yep, I know it could cause problems, but let's see what happens, I commented out the old code in case the whole thing gets ruined. Thanks for your time!
You're welcome. I hope it works out to your satisfaction.  |
Jan =========== FR Portal Forums | Active Users 4.0.20 Mod |
 |
|
|
Topic  |
|