Jump to content

Photo
* * * * * 1 votes

User Banner for Profile


  • Please log in to reply
32 replies to this topic

#31 AsianX

AsianX

    Level 1

  • Members
  • Level
  • 6 points
  • 7 posts

Posted 26 January 2012 - 05:39 AM

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


JC, I havent used this mod or looked at the code, but I had similar issues with something else I was working on. Try Replacing the target path with this and let me know if it works.
$target = substr($url->url_userdir($user->user_info[user_id]), 2)."/"."banner_".$user->user_info[user_id].".jpg";

Cha

#32 jara

jara

    Level 2

  • Members
  • Level
  • 3 points
  • 30 posts

Posted 12 March 2013 - 11:42 AM

Hi everyone,

I installed the files but i got a prob, the image is resizing to 262 x 120, and when i refresh it doesn't show up anymore can someone help me fix that bug thanks
A :wacko:

#33 kehnxiu

kehnxiu

    Basic Developer

  • Members
  • Level
  • 18 points
  • 133 posts
    • Gender:Not Telling

Posted 18 May 2015 - 10:15 PM

Its working perfectly to my site but I cant figure out the dimension of the image.

 

How to set default width and height of the banner after upload? 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


All the resources listed here are just for testing purpose and they shouldn't be used at any commercial environment without a valid license.
Those are for users who wants to try them before buy. Help the developer to build it better by purchasing them from original authors.