The PokéCommunity

We are still working on a better slogan!

Visit Index

Advertise here

Go Back   The PokéCommunity Forums > Official Forums > Community Feedback and Support

Community Feedback and Support This is the place for your concerns, praises or help relating to the PokéCommunity. Unsure of how to post a thread (though you should find out pretty quickly)? How do you get a blog? Maybe you don’t like a certain feature. Make a thread here and get responses from your fellow members and staff.

Post Reply
Click here to go to the first staff post in this thread.  
Thread Tools
Old October 30th, 2012, 07:49 PM
Team Fail's Avatar
Team Fail
The fine line between in|sanity
Community Supporter
Join Date: May 2009
Age: 19
Gender: Male
Nature: Brave

Advertise here
I was in my User CP, when I saw this under "Your Avatar:"

An avatar is a small (130x130 pixels or less) image that's shown next to your username in posts; it should be something that defines you. If you're not sure what image you want to use, there are several hundred pre-set avatars here on PokéCommunity that you can choose from.
What I noticed is that the amount of pixels the avatar is, is not set per usergroup through some kind of variable, but rather, it's set as plain text with the default registered usergroup dimensions in the description.

Would it be possible to have this display on a per-usergroup basis, by checking the currently logged in user and their usergroup, then displaying that in the description, or make it more usergroup-neutral? Or am I just being too much for details?

Kevin, Echidna
Follow me on Twitter! @TeamFail
Alt 1, リザードン
Pokémon Hackers Online
Alt 2: Jack Cayman

[04:20.45] <@GoGo> shut it Bela

[05:41.55] <Team_Fail> Blue Spider is interesting, but #MEHMasterRace
[05:42.20] <diegoisawesome> Team_Fail: Sounds like a bunch of unmotivated people that still want to try to take over the world
Old October 30th, 2012, 07:59 PM
Echidna's Avatar
Community Supporter
Join Date: Aug 2010
Location: Vaniville Town
Age: 20
Gender: Male
Nature: Brave
Nice catch ;O
Well this is actually more than possible, it's quite easy. All you'd need to do is find $maxnote in ...### EDIT AVATAR ###... in profile.php.

It's actually right here:
$maxnote = '';
		if ($permissions['avatarmaxsize'] AND ($permissions['avatarmaxwidth'] OR $permissions['avatarmaxheight']))
			$maxnote = construct_phrase($vbphrase['note_maximum_size_x_y_or_z'], $permissions['avatarmaxwidth'], $permissions['avatarmaxheight'], $permissions['avatarmaxsize']);
		else if ($permissions['avatarmaxsize'])
			$maxnote = construct_phrase($vbphrase['note_maximum_size_x'], $permissions['avatarmaxsize']);
		else if ($permissions['avatarmaxwidth'] OR $permissions['avatarmaxheight'])
			$maxnote = construct_phrase($vbphrase['note_maximum_size_x_y_pixels'], $permissions['avatarmaxwidth'], $permissions['avatarmaxheight']);
		$show['maxnote'] = (!empty($maxnote)) ? true : false;
There's your variable right in there :3 (Actually I think it's under that segment cause this is the text variable, the actual dimensions would have to be declared before/after this part :/ - sorry too tired to think right now :/)

Last edited by Echidna; October 30th, 2012 at 08:04 PM.
Old October 30th, 2012, 08:04 PM
Ausaudriel's Avatar
Chief Mechanic
Join Date: May 2005
Location: San Francisco
Age: 23
Gender: Male
Nature: Gentle
I removed the dimensions from that page. It's not important enough to worry about looking for the actual usergroup settings. :P
x paired with sylphiel x
x I am a magnet for all kinds of deeper wonderment x
x changelog x
Old October 30th, 2012, 08:06 PM
Echidna's Avatar
Community Supporter
Join Date: Aug 2010
Location: Vaniville Town
Age: 20
Gender: Male
Nature: Brave
Lol, Jordan was just telling me over msn: "He's in ACP WHAT IS HE DOING?"

I guess this is resolved ;-;

Post Reply
Quick Reply

Sponsored Links

Advertise here
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25

All times are UTC -8. The time now is 08:26 AM.

About Us
© 2002 - 2014 The PokéCommunity™, Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.

All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / Poké PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator. Header artwork by Jordanice of deviantART.

Social Media
If you would like to stay up-to-date with us on the go, when we're down, or other such things, follow us on social media sites--most notibly Twitter, Facebook, and Google Plus--by clicking on the links provided.

Design presented by Peitharchia. Special thanks to Hiroshi Sotomura and Ausaudriel.