
User Banner for Profile
Started by Mamaiuke, Jul 18 2010 04:02 PM
32 replies to this topic
#14
Posted 23 July 2010 - 09:39 PM
Its not working 100%, at least for me.
I run 3.20
A user uploaded no problem, then another cant. The image seems to upload, but then the upload bar and buttons dont go away, if refreshed, the banner doesnt show, only the upload banner link. If you click it, the path of the banner is still in there, and again seems to upload, but doesnt.
Anyone else doing this? Any fix?
I run 3.20
A user uploaded no problem, then another cant. The image seems to upload, but then the upload bar and buttons dont go away, if refreshed, the banner doesnt show, only the upload banner link. If you click it, the path of the banner is still in there, and again seems to upload, but doesnt.
Anyone else doing this? Any fix?
#15
Posted 23 July 2010 - 09:54 PM
Okay, I found out why its not working, but dont know how to fix it.
As coded right now, ONLY the first 1000 users or better said, first 1000 IDs will work. Anyone with ID over 1000 wont.
The code is:
$target = "uploads_user/1000/".$user->user_info[user_id]."/"."banner_".$user->user_info[user_id].".jpg";
Maybe removing the /1000 would work? Got to run right now, but maybe someone can fix it? Maybe it works just removing the /1000 part. Will try later.
JC
As coded right now, ONLY the first 1000 users or better said, first 1000 IDs will work. Anyone with ID over 1000 wont.
The code is:
$target = "uploads_user/1000/".$user->user_info[user_id]."/"."banner_".$user->user_info[user_id].".jpg";
Maybe removing the /1000 would work? Got to run right now, but maybe someone can fix it? Maybe it works just removing the /1000 part. Will try later.
JC
#20
Posted 21 August 2010 - 03:39 PM
I was unable to successfuly make this work for accounts with IDs over 1000. Anyone got it working correctly? I posted the line which needs fixing a few posts up.
Can anyone with php knowledge take a look at it please?
Its mighty interesting for those of us who have people members and business as members.
Can anyone with php knowledge take a look at it please?
Its mighty interesting for those of us who have people members and business as members.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users