Jump to content

Recommended Posts

Posted

Dear All:

I was thinking about an idea and would like to share it with you

because 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.Net

What do you think!?

Posted (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.php

Now 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.

post-34-1162162310.gif

But you surely could customize it. :P

I know I'm going to make one for Lunarsoft.net as an optimized png. :)

Edited by Tarun
Guest beemarin
Posted
Good work Tarum

Maybe have it say Wincert n00b or w00by for short

Uh oh!

*Runs out and gets an avatar, quickly* :)

Posted

I planned to put this mod on WinCert forum but I've decided to wait for a new version of IPB 2.2

With 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..

Posted
I planned to put this mod on WinCert forum but I've decided to wait for a new version of IPB 2.2

With 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 :D

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...