| Avatar System | |
|---|---|
| Tweet Topic Started: Aug 14 2008, 10:58 PM (1,640 Views) | |
| feartec | Sep 1 2008, 03:22 PM Post #11 |
|
yes it has to be in the includes folder, because if you do it in an other folder, it will give an error. I dont know why. It gives an error if you add ../images/avatar . |
![]() |
|
| JakkyD | Sep 1 2008, 03:37 PM Post #12 |
|
also in process function edit account do you have to add this: function procEditAccount(){ global $session, $form; /* Account edit attempt */ $retval = $session->editAccount($_POST['user'], $_POST['pass'], $_POST['email'], $_FILES['avatar']['name'], $_FILES['avatar']['size'], $_FILES['avatar']['type'], $_FILES['avatar']['tmp_name']); |
![]() |
|
| feartec | Sep 1 2008, 03:38 PM Post #13 |
|
ow sorry, forget to post that , thanks!
|
![]() |
|
| JakkyD | Sep 1 2008, 03:43 PM Post #14 |
|
right its now working, but it wont display on userinfo, it gets to /avatar/[username]/ then stops, doesnt give the file name helpz
Edited by JakkyD, Sep 1 2008, 03:56 PM.
|
![]() |
|
| feartec | Sep 1 2008, 03:59 PM Post #15 |
|
do you have an url ? |
![]() |
|
| JakkyD | Sep 1 2008, 04:00 PM Post #16 |
|
http://dbjdtutorials.co.uk/test/userinfo.php?user=avatar The avatar image URL = http://dbjdtutorials.co.uk/test/include/avatar/avatar/ I dont know how to get the end
Edited by JakkyD, Sep 1 2008, 04:00 PM.
|
![]() |
|
| feartec | Sep 1 2008, 05:18 PM Post #17 |
|
this code is the good one,
|
![]() |
|
| JakkyD | Sep 1 2008, 05:37 PM Post #18 |
|
Hmm when I register the name doesnt change, stays as the number: http://dbjdtutorials.co.uk/test/include/avatar/tester/1220290547 Its weird because the right file is in the folder :/ Edited by JakkyD, Sep 1 2008, 05:40 PM.
|
![]() |
|
| feartec | Sep 1 2008, 05:46 PM Post #19 |
|
it save the time not the name of the avatar, weird ?! |
![]() |
|
| feartec | Sep 1 2008, 05:47 PM Post #20 |
|
change the addnewuser function to this :
|
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · Other · Next Topic » |





, thanks!
12:49 AM Jul 11