MyBB Community Forums

Full Version: Allowing Non-Images
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
It would be useful to some people (me atleast lol) if you could allow links like the following: http://a.random-image.net/sweenster/avatar.jpg to be placed in the avatar box.

It displays a random image: [Image: avatar.jpg]
This is possible. Just add it as an avatar in the avatar URL box.
I use a PHP script for random avatars.
(2009-05-03, 03:45 PM)Imad Jomaa Wrote: [ -> ]This is possible. Just add it as an avatar in the avatar URL box.

I tried that and it gave me the error message.

Would the php script not present the same problem?

Quote:Please correct the following errors before continuing:

* The URL you entered for your avatar does not appear to be valid. Please ensure you enter a valid URL.
(2009-05-03, 04:55 PM)Brendan Wrote: [ -> ]Would the php script not present the same problem?

Well, clearly not, as it's what I have right now.
(2009-05-03, 04:58 PM)MattRogowski Wrote: [ -> ]
(2009-05-03, 04:55 PM)Brendan Wrote: [ -> ]Would the php script not present the same problem?

Well, clearly not, as it's what I have right now.

I was thinking something different from what i said :p. Communication breakdown.

Can you link me to a source of the script or something? Thanks for your help.
This is the one I use: http://community.mybboard.net/thread-457...#pid316732

Then you edit it to put the absolute path to the folder with the images, and it randomly does through them.
(2009-05-03, 05:08 PM)MattRogowski Wrote: [ -> ]This is the one I use: http://community.mybboard.net/thread-457...#pid316732

Then you edit it to put the absolute path to the folder with the images, and it randomly does through them.

So i could just upload that to home.html for example and link my avatar to home.html?
It needs to be kept as a PHP file, then just give the link to it in the UCP avatar settings.