< >
Hello, guest! Please log in or register.

The PokéCommunity

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

Notices

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 Post Reply
 
Thread Tools
  #1    
Old October 30th, 2012 (7:49 PM).
Team Fail's Avatar
Team Fail Team Fail is online now
fun in the sun
Platinum Tier
 
Join Date: May 2009
Location: yes
Age: 20
Gender: Male
Nature: Brave
Posts: 11,422
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?


Maintenant, je joue GTA V, Skyrim, Borderlands et Pocket Monsters Gin/Kin/Crystal

Also, check out my new site, Pushing Buttons, and its blog!
Reply With Quote

Relevant Advertising!

  #2    
Old October 30th, 2012 (7:59 PM). Edited October 30th, 2012 by Echidna.
Echidna's Avatar
Echidna Echidna is offline
i don't care what's in your hair
Platinum Tier
 
Join Date: Aug 2010
Location: Illinois
Age: 21
Gender: Male
Nature: Brave
Posts: 1,960
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 :/)
but my taste in music is your face
Reply With Quote
  #3    
Old October 30th, 2012 (8:04 PM).
Ausaudriel's Avatar
Ausaudriel Ausaudriel is offline
What are we running for?
Administrator BSCS
 
Join Date: May 2005
Location: Pacific Northwest
Gender: Male
Nature: Gentle
Posts: 9,990
I removed the dimensions from that page. It's not important enough to worry about looking for the actual usergroup settings. :P
10 posts until level up
Reply With Quote
  #4    
Old October 30th, 2012 (8:06 PM).
Echidna's Avatar
Echidna Echidna is offline
i don't care what's in your hair
Platinum Tier
 
Join Date: Aug 2010
Location: Illinois
Age: 21
Gender: Male
Nature: Brave
Posts: 1,960
Lol, Jordan was just telling me over msn: "He's in ACP WHAT IS HE DOING?"
looool

I guess this is resolved ;-;
but my taste in music is your face
Reply With Quote
Reply Post Reply
Quick Reply

Sponsored Links
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 GMT -8. The time now is 10:26 PM.


Contact Us Archive Privacy Statement Terms of Service Top