Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Profile Picture
#31
(2017-03-31, 10:27 PM)Starpaul20 Wrote: Are you referring to the profile picture on the User CP profile picture page? If so that's by design (to prevent large pictures from breaking the layout). They should be the right size in the profile proper.

So no matter what, the image will always be resized to 200x200 (if larger)?
just a noob.
Reply
#32
(2017-03-31, 10:56 PM)nollidnosnhoj Wrote:
(2017-03-31, 10:27 PM)Starpaul20 Wrote: Are you referring to the profile picture on the User CP profile picture page? If so that's by design (to prevent large pictures from breaking the layout). They should be the right size in the profile proper.

So no matter what, the image will always be resized to 200x200 (if larger)?

Yes, on the User CP page it'll always size down to 200 px.
My GitHub | Galaxies Realm

Please do not PM me for support; use the forum instead
Reply
#33
(2017-04-01, 12:04 AM)Starpaul20 Wrote:
(2017-03-31, 10:56 PM)nollidnosnhoj Wrote:
(2017-03-31, 10:27 PM)Starpaul20 Wrote: Are you referring to the profile picture on the User CP profile picture page? If so that's by design (to prevent large pictures from breaking the layout). They should be the right size in the profile proper.

So no matter what, the image will always be resized to 200x200 (if larger)?

Yes, on the User CP page it'll always size down to 200 px.

Is the uploaded profile picture automatically resized down to 200px or do you mean it's uploaded at its original size and styled down to 200px?
Hello I'm Wally, the administrator of Sharree.com
Reply
#34
(2017-04-01, 01:30 AM)Sharree Wrote:
(2017-04-01, 12:04 AM)Starpaul20 Wrote:
(2017-03-31, 10:56 PM)nollidnosnhoj Wrote:
(2017-03-31, 10:27 PM)Starpaul20 Wrote: Are you referring to the profile picture on the User CP profile picture page? If so that's by design (to prevent large pictures from breaking the layout). They should be the right size in the profile proper.

So no matter what, the image will always be resized to 200x200 (if larger)?

Yes, on the User CP page it'll always size down to 200 px.

Is the uploaded profile picture automatically resized down to 200px or do you mean it's  uploaded at its original size and styled down to 200px?

It's uploaded at it's original size and styled down to 200px (only on the User CP page, in profiles they will appear at original size).
My GitHub | Galaxies Realm

Please do not PM me for support; use the forum instead
Reply
#35
Any chance of getting it, so it works like this?

[Image: 452332e706e67.png]
Reply
#36
There are many tutorials, user search. It is doable with custom profile fields and default MyBB settings
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#37
(2017-04-03, 05:12 PM)DaNnIbOi Wrote: Any chance of getting it, so it works like this?

[Image: 452332e706e67.png]

Go to the Profile picture template, remove the thead and tborder and just leave the variable in the template. Then go to your member profile template and create a cover sized background-image div box with the profile picture variable in the background-image url.
Hello I'm Wally, the administrator of Sharree.com
Reply
#38
Plugin has been updated to 1.3.

- Sanitized usernames
- Ability to disallow remote profile pictures
- Use my_validate_url function
- Renamed profilepic to profilepicture
- Changed description input box to textarea
- Parse badwords in description
- Removed PHP closing tags
- Use THIS_SCRIPT for template caching
- Miscellaneous cleanup

To update, you must first deactivate the plugin (do not uninstall), upload all new files and reactivate.
My GitHub | Galaxies Realm

Please do not PM me for support; use the forum instead
Reply
#39
Thank you!
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#40
Can you help me?

Fatal error: Call to undefined function my_validate_url() in .../www/inc/plugins/profilepic.php on line 805

I have MyBB 1.8.7, PHP Version 5.4.16 and Profile Picture 1.3

Edit:
I replaced my_validate_url($url) by filter_var($url, FILTER_VALIDATE_URL) and now it works, but I do not know if it's the right thing.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)