News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

On / Off Avatar Frame

Started by Suki, January 07, 2009, 12:41:41 AM

Previous topic - Next topic

matasanos

#40
Quote from: xrunner on January 15, 2009, 09:57:19 PM
I have 65x65 avatars and this is the scaling I used to get the frames sized right -

<tr>
      <td rowspan="3">
         <img src="' . $settings['images_url'] . '/avatar_' . ($message['member']['online']['is_online'] ? 'on' : 'off') . '/01.png" width="13" height="86" alt="" /></td>
      <td colspan="2">
         <img src="' . $settings['images_url'] . '/avatar_' . ($message['member']['online']['is_online'] ? 'on' : 'off') . '/02.png" width="78" height="8" alt="" /></td>
   </tr>
   <tr>
      <td>
         <img src="' . $message['member']['avatar']['href'] . '" width="65" height="66" alt="" /></td>
      <td rowspan="2">
         <img src="' . $settings['images_url'] . '/avatar_' . ($message['member']['online']['is_online'] ? 'on' : 'off') . '/03.png" width="13" height="78" alt="" /></td>
   </tr>
   <tr>
      <td>
         <img src="' . $settings['images_url'] . '/avatar_' . ($message['member']['online']['is_online'] ? 'on' : 'off') . '/04.png" width="65" height="12" alt="" /></td>
   </tr>


thank you so much!!!

only one more thing
<table width="87" ???



EDIT: ok, 90 is the correct width!

thanks

ɔɔɔɔɔɔuɥoɾ

Hi, i have the mod working perfectly thanks, its great :)

one thing though, the offline status images, they have an outer white border, it don't look good on my dark gray background.
Is there anyway you could upload some images that have a transparent background?
I'm not good at editing the images I tried already, I cant get it right

Thanks
JohnCcCcCc


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Garry1953

Nice Mod.
I used the edits for my 65x65 Avatars

Works fine on my forum v2.0 RC1

victoryrock

Can someone fix my Display.Template.php so that this Mod can work for me...?

Thanks!

victoryrock

MaryLouW

I installed this mod tonight but all it did was make my avatars larger.  There was no box around it.  Is there something else that I need to change?

Rhyme

I've just installed this mod manually to a different theme other then the default.  I've already checked the images and they are all in place, I've checked the mods coding on the template and there is no directory listed in the code but just in case I had placed the images in both the skins directory and the default skins directory.  I'm not exactly sure what's missing.  I'm almost thinking it has to do with the size? The avatars being used on my sight are 100x100.  Do I have to change the sizing in the code or the images for the on/off myself to make the sizes work?

Anpu

Hi all.
First, let me say this mod looks fantastic! Thanks a lot for it.

Now, little problem:
when I tried to install it in other theme, I found one problem: theme doesnt have Display.template.php. Ok I didnt panic and browsed for specific code parts in other php files I have there, but I didnt find anything.

Any idea how to solve this problem?
Theme is Tolkien

Thank you very much!

Dallape

Can you create a red frame for hidden users, like busy status on Windows Live Messenger?

grafitus

I can do that. But I'll this modification not develop anymore. I'm sorry...

!RFAN

i was able to apply this mod on my prev theme but i cant on new theme which has some different code and i cant modify them that is why i need your help..here is display.template.php file of the theme


Anpu

Quote from: ♪ JohnCcCcCc ♫ on January 20, 2009, 09:59:40 PM
Hi, i have the mod working perfectly thanks, its great :)

one thing though, the offline status images, they have an outer white border, it don't look good on my dark gray background.
Is there anyway you could upload some images that have a transparent background?
I'm not good at editing the images I tried already, I cant get it right

Thanks
JohnCcCcCc
Fix of images in attach.

KensonPlays

Just like MSN Messenger avatar border!!!!!

Owner of Mesozoic Haven

ɔɔɔɔɔɔuɥoɾ

Quote from: Anpu on July 09, 2010, 05:15:48 PM
Quote from: ♪ JohnCcCcCc ♫ on January 20, 2009, 09:59:40 PM
Hi, i have the mod working perfectly thanks, its great :)

one thing though, the offline status images, they have an outer white border, it don't look good on my dark gray background.
Is there anyway you could upload some images that have a transparent background?
I'm not good at editing the images I tried already, I cant get it right

Thanks
JohnCcCcCc
Fix of images in attach.

Thanks!


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

inter

Sorry for my English

grafitus

Sorry, this modification will not be developed anymore...

Suki

This mod is now updated for SMF 2.0

Changelog

08/08/2011  version 2.0

-Complete rewrite of the mod.
-No more template edits
-Cleaner code
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

inter

Sorry for my English

Suki

define "error"  I can't and won't help if you don't provide enough details...


Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

^HeRaCLeS^

Hi Miss.

I downloaded the mod to see the improvements and I realized that you have a small bug

If you set different sizes: External avatars and Uploadable avatars
Only take the size of the External.

I attached images

Regards
^HeRaCLeS^
*¤×• Ni te molestes en enviarme un Mp porque el soporte lo doy solo por el foro •×¤*


SMFPersonal

NHWD

Thank you! I was looking for something like this

Advertisement: