![]() |
I'm having a problem with my avatars not uploading from the usercp. I have no problem uploading from the admin screen. I'm looking at this code in the member.php file to find the bug
PHP Code:
|
*superbump*.. please?
|
Like I said, I can upload a user's avatar from the Admin Screen but not the usercp. I compared the update avatar codes from user.php and member.php and they're downright the same but for some reason when I attempt to update from the usercp I keep getting the error_avatarbadurl template.
Somebody should have some ideas as to what may be going on here. |
Do you happen to have my avatar on homepage / welcome panel hack installed? I remember (Sinecure?) having a problem with this as well, because of collision with the $avatarurl variable.
|
actually, yes I do. How was this problem remedied?
|
Ok then in whatever hack you got replace $avatarurl with $hackavatarurl (in both files and templates), so it won't ruin the $avatarurl used for uploading avatars. :)
|
Thanks. The only avatar hack I have installed is the Welcome Panel one. I changed the root/index.php file to read
PHP Code:
|
1 Attachment(s)
do this:
01. replace the code with this: PHP Code:
03. run tplavhm.php (made specially for you :)) in /root/forum/admin. it will install the 2 templates. your problem is solved. ;) NOTE: Firefly, maybe you should include this mod into your hack. it works better and it will not conflict with any script mod in index.php.... let me know what you think. |
Nakkid, I appreciate the help. But still no go. I still keep getting the error-url message :( :(
I changed the code in root/index.php to the one given above. Ran the template php file, templates were installed but still no luck on uploading the avatars. Has me wondering where this error is coming from... |
hmmm i see that you run 2.2.1. i know the index.php was not changed in 2.2.2. i would do this:
backup the database and run a clean install of 2.2.2 my believe is that your database is corrupted somehow. it's impossible the code mentionned above won't work. so far there are only 2 people who runned into this prob: you and sinecure? hmmm wierd. let me know... |
All times are GMT. The time now is 10:28 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|