Go Back   The PokéCommunity Forums > Community Square > City Hall: 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.

City Hall: 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 (7:49 PM).
Team Fail's Avatar
Team Fail Team Fail is offline

burning passion

ModeratorCS
 
Join Date: May 2009
Location: yes
Age: 21
Gender: Male
Nature: Brave
Posts: 12,454

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?

__________________
CONTENTS
001
  THE LAB
002
  VISITOR MESSAGE
003
  PRIVATE MESSAGE
004
  PUSHING BUTTONS
005
  PUSHING BUTTONS BLOG
006
  ALT
007
  PHO
008
  PAIR 1
009
  PAIR 2
010
  TWITTER
011
  TF'S MUSIC STUDIO
012
  PC DISCORD - #GENERAL
SEEN
151

OWN
151
DATA
CRY
AREA
QUIT
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: 22
Gender: Male
Nature: Brave
Posts: 1,963

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
i'll take two
Administrator BSCS
 
Join Date: May 2005
Location: Stardew Valley
Gender: Male
Nature: Gentle
Posts: 10,450

I removed the dimensions from that page. It's not important enough to worry about looking for the actual usergroup settings. :P

__________________
-450 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: 22
Gender: Male
Nature: Brave
Posts: 1,963

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
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 6:27 PM.