MGadAllah Posted October 29, 2006 Share Posted October 29, 2006 Dear All:I was thinking about an idea and would like to share it with youbecause many members here do not set an avatar yet, I'd like to suggest using a default avatar for any member did not set a one yet,Also I'd like to suggest to let be forum or site slogan related... meaning that it could be the slogan exist in the top of the page for Wincert.NetWhat do you think!? Quote Link to comment Share on other sites More sharing options...
ricktendo Posted October 29, 2006 Share Posted October 29, 2006 Yes but what ava should it be???Maybe a Wincert Logo or something Quote Link to comment Share on other sites More sharing options...
MGadAllah Posted October 29, 2006 Author Share Posted October 29, 2006 (edited) Like this oneOr we can make a poll for it Edited October 29, 2006 by MGadAllah Quote Link to comment Share on other sites More sharing options...
Tarun Posted October 29, 2006 Share Posted October 29, 2006 (edited) There actually is supposed to be a default avatar, but it never displays properly.This works for 2.1.x. I am not sure that it can be done for a version so out-dated, but be sure to back up your TOPICS.PHP before you try: Open sources>action_public>topics.php. Find:function parse_member( $member=array() ) { $member['avatar'] = $this->ipsclass->get_avatar( $member['avatar_location'], $this->ipsclass->member['view_avs'], $member['avatar_size'], $member['avatar_type'] ); Directly beneath that, add: // Start default avatar hack if($member['avatar']=='') { $member['avatar']="<img src=\"style_images/<#IMG_DIR#>/noavatar.gif\" width=\"64\" height=\"64\">";} // End default avatar hack Save and upload topics.phpNow upload your chosen graphic to the skin images folder(s). This should be done for each skin that you use, and it has to be called noavatar.gif. If your want a different size than 64 sq., you can change the dimensions in the code. If you want a different default for each skin, then make one for each image set.Or you can make it a static location/size. Here's one I found that they used to use.But you surely could customize it. I know I'm going to make one for Lunarsoft.net as an optimized png. Edited October 29, 2006 by Tarun Quote Link to comment Share on other sites More sharing options...
ricktendo Posted October 29, 2006 Share Posted October 29, 2006 (edited) Good work TarumMaybe have it say Wincert n00b or w00by for short Edited October 29, 2006 by ricktendo64 Quote Link to comment Share on other sites More sharing options...
Guest beemarin Posted October 30, 2006 Share Posted October 30, 2006 Good work TarumMaybe have it say Wincert n00b or w00by for shortUh oh!*Runs out and gets an avatar, quickly* Quote Link to comment Share on other sites More sharing options...
ricktendo Posted October 30, 2006 Share Posted October 30, 2006 (edited) Uh oh!*Runs out and gets an avatar, quickly* :lol: :clap: :thumbsup: Edited October 30, 2006 by ricktendo64 Quote Link to comment Share on other sites More sharing options...
NIM Posted October 30, 2006 Share Posted October 30, 2006 I planned to put this mod on WinCert forum but I've decided to wait for a new version of IPB 2.2With the default avatar, I also plan to install the default signature, shoutbox and the download center.These mods are all related to the new skin, so it's useless to install them now.. Quote Link to comment Share on other sites More sharing options...
MGadAllah Posted October 30, 2006 Author Share Posted October 30, 2006 I planned to put this mod on WinCert forum but I've decided to wait for a new version of IPB 2.2With the default avatar, I also plan to install the default signature, shoutbox and the download center.These mods are all related to the new skin, so it's useless to install them now..I'm glad that you like the idea... more ideas on the way Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.