My punbb currently uses the same feature except its a graphic not text
http://www.guitaraudio.com

will this resize the image in proportion IE if its 40x20 will it make it 60x60(incorrect ratio) or 60x30(correct ratio)

good point however this is just going to have to do until i learn to code php. I have no idea how to use gd and such, however I do think those would be good features also, we'll see what happens i guess, but for now this will work fine for me.

see my own little mod in action here

wow, nevermind i figured out how to do it myself HEH im amazed.

I dont know PHP but here is the basic mathematical idea

smaller dimension divided by larger dimension = variable
variable multiplied by 60 (largest dimension wanted in pixels) = outputted smaller dimension
outputted larger dimension equals 60

EX
an image 724 width by 528 height

528 / 724 = 0.729
0.729 * 60 = 44

Therefore the larger side (724) will be shown at 60 pixels
and the smaller side (528) will be shown at 44 pixels

Plug these numbers into an <img> html tag and you have a resized image that isnt stretched or distorted.

If someone could put this function into PHP for me I may be able to do the rest myself... MUCH appreciated

It would be really neat to have it so that you can upload an avatar of any size height or width, but have it sized down according to its large size so it doesnt look stretched. You could keep the image the same size but use html to do like <img height="" width="">. It would take some sort of math function to figure out what a good height and width to show so that it isnt stretched and is still small enough for the box there.

Then an addon to this mod that could be cool is to make it so when you click on the avatar it opens a full sized picture in a separate window (Very neat idea for a chatting forum)

An example of a site that does this is YouThink

I am using PunBB for a guitar/musicians website and this is a feature that would be very nice in the atmosphere of all these artists smile

thank you very useful

This may exist but I havent seen it yet... possibly an online now! message in their profile or a little image by their name in the posts that is green when online and red when offline, something of the sort. Any ideas?

10

(8 replies, posted in PunBB 1.2 bug reports)

haha, well if I figure anything out i'll let you know. I dont have much experience with PHP but Ive been programming C C++ and some perl for as long as I can remember so if i find something I can probably give you a pretty detailed report smile I love wht you've got going here, keep up the awesome work

11

(8 replies, posted in PunBB 1.2 bug reports)

well heh i know it for sure wasnt working, but i also know it for sure is working now so hey, if it aint broke dont fix it.

12

(8 replies, posted in PunBB 1.2 bug reports)

WOW very strange, now it works, only two things have changed since it absolutely wouldnt work:

1. Added another Administrator
2. Uploaded and Avatar

One of the two things seems to have fixed the issue...
strange.

13

(8 replies, posted in PunBB 1.2 bug reports)

ok well i figured out that when you are a normal user it updates fine, however as an administrator, when I attempt to change settings such as full name and such it says that name already exists, (I think it could be the fact that administrators can change the name [instead of just text its a textbox] so maybe its checking that textbox against the old name expecting you to change it)

14

(8 replies, posted in PunBB 1.2 bug reports)

I know I know Im using 1.1.1 which is old

and the problem has been adressed in the new version, but...
I need to use the old version so i can use the Attachment mod...

When you go into your profile and try to update, it says: That username already
exists. Not only that, if i change my username in there it creates a second user, same name as me and whenever i log on, according to the first page, myself and the other user is on...

Can you help me fix this in my old version so I can keep the attachment mod?

Thanks!