Go Back   The PokéCommunity Forums > Official Forums > Community Feedback & Support
Reload this Page Suggestion: I just saw this and it is now bugging the crap out of me.

Notices
For all updates, view the main page.

Community Feedback & 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.



Reply
 
Thread Tools
  #1    
Old October 30th, 2012 (07:49 PM).
Team Fail's Avatar
Team Fail Team Fail is offline
fun in the sun
Platinum Tier
 
Join Date: May 2009
Age: 20
Gender: Male
Nature: Brave
Posts: 10,523
I was in my User CP, when I saw this under "Your Avatar:"

Quote:
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?
__________________
Pair 1 Pair 2 Twitter Alt 1 Alt 2 PHO Image Source Avatar Source

"On my business card, I am a corporate president.
In my mind, I am a game developer.
But in my heart, I am a gamer."

- Satoru Iwata, 1959 - 2015
Reply With Quote
  #2    
Old October 30th, 2012 (07:59 PM). Edited October 30th, 2012 by Echidna.
Echidna's Avatar
Echidna Echidna is offline
Platinum Tier
 
Join Date: Aug 2010
Location: Vaniville Town
Age: 21
Gender: Male
Nature: Brave
Posts: 1,959
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:
Code:
$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 :/)
__________________






Reply With Quote
  #3    
Old October 30th, 2012 (08:04 PM).
Ausaudriel's Avatar
Ausaudriel Ausaudriel is offline
tempus fugit
Administrator BSCS
 
Join Date: May 2005
Location: The Frozen North
Gender: Male
Nature: Gentle
Posts: 9,564
I removed the dimensions from that page. It's not important enough to worry about looking for the actual usergroup settings. :P
__________________
into this wild abyss
the womb of nature
and perhaps her grave
of neither sea nor shore nor air nor fire
but all these in their pregnant causes mixed confusedly
and which thus must ever fight
unless the almighty maker them ordain his dark materials to create more worlds
into this wild abyss the wary fiend stood on the brink of hell
and looked a while
pondering his voyage
Reply With Quote
  #4    
Old October 30th, 2012 (08:06 PM).
Echidna's Avatar
Echidna Echidna is offline
Platinum Tier
 
Join Date: Aug 2010
Location: Vaniville Town
Age: 21
Gender: Male
Nature: Brave
Posts: 1,959
Lol, Jordan was just telling me over msn: "He's in ACP WHAT IS HE DOING?"
looool

I guess this is resolved ;-;
__________________






Reply With Quote
Reply
Quick Reply

Sponsored Links

You may also like.. (Beta)
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

Forum Jump


All times are UTC -8. The time now is 04:48 AM.