AvatarOnBoard

Started by Bulakbol, February 18, 2008, 10:39:03 PM

Previous topic - Next topic

romper

Can you help me put (if possible) avatars on board on BLues Mc.
Here is my board.index

Patriot89

Some instances they do not have an image at all for their avatars, why is this? I know I don't have an avatar but it shows a silhouette image but others don't have any..

JBantha

The problem I got is that whit the avatar in board the column names doesn't fit whit the real column fuction

it looks like:




Colum Name as show:Forum NameMessagesTopicsLast Message-No Name-
Colum Actual Function:Shows the forum's NameShow the number of MessagesHere is the problem, Here is where the Avatar Is show Here is show the number of topicsHere's where the last message is show

Here's how it looks like:


SO, can you please help me to rename the columns or something like that?
It's nothing tragical, but i just don't like the way it looks.

The Theme Name is Calypso and here's the forum address: http://kakkoii-cr.com/foro/index.php

Thank you! ^^
And there would be balance in the world... if we bring half of the Chinese and Indian population into America
-JBantha! ^^-

Bulakbol

@romper
I can't find the custom theme you mentioned. A link to the theme will help. I can't do edits for now until I have your theme for testing.

@Patriot89
This mod will not detect if there's problem with your members avatar. It will only use a shadow avatar for those who does not have avatar.

@JBantha
There might be a problem with colspan attribute on one of the td tags.  Attach your BoardIndex.template.php and link to your custom theme so I can install the theme and check your file.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines


Bulakbol

I got it. Where do you want the "last poster's avatars" to be displayed?
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

ოկtђ

Great Mod. I've enjoyed

romper

Quote from: Bulakbol on May 31, 2009, 03:07:31 AM
I got it. Where do you want the "last poster's avatars" to be displayed?

Whell, here is a look on my forum: www.zboriste.com so I guess right side, like in default theme is the best place.

Bulakbol

@Mythcomeback | Burak
Thanks for the compliment.  ;)

@romper
Hmnn it's kind of weird to see avatars on the left side of post count.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

romper

Yes, I agree. I placed your mod on default theme and Dilber....it looks great there, and users can pick those two themes as well.

Manu.G

Hi Bulakbol,

I don't know since when we use your mod, till today it wasn't a problem for me to add your mod to the forum themes we had, but this time I don't get it to work.  :'(
That's why I ask for your help.
We want to use the theme Redx http://custom.simplemachines.org/themes/index.php?lemma=1657 and I really don't know how and where I have to add the codes at the BoardIndex.template.php.  :'(
I will add the BoardIndex.template.php to this post.
Can you please add the codes for me???  :)

Thanks in advance
Manu
Version SMF 2.0.8
SimplePortal 2.3.5

Bulakbol

@Manu0372
Sorry for the late reply. Here's your edited BoardIndex.template.php. Use this file after installing this mod. Keep a backup file though.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Manu.G

Quote from: Bulakbol on June 24, 2009, 03:10:04 AM
@Manu0372
Sorry for the late reply. Here's your edited BoardIndex.template.php. Use this file after installing this mod. Keep a backup file though.

Thanks a lot for your help and don't worry, you weren't late. ;)
Version SMF 2.0.8
SimplePortal 2.3.5

Tezca

Hi everyone

I used this great mod in my forum and works perfectly!! I translated this one to (latin american) spanish, here are my translations:

./Themes/default/languages/ModSettings.spanish_latin.php


$txt['disable_avatar'] = '¿Ocultar avatar en Foro?';
$txt['board_avatar_width'] = 'Ancho del avatar en Foro.';
$txt['board_avatar_height'] = 'Altura del avatar en Foro.';
$txt['display_childboards'] = '¿Ocultar los subforos?';


./Themes/default/languages/ModSettings.spanish_latin-utf8.php


$txt['disable_avatar'] = '¿Ocultar avatar en Foro?';
$txt['board_avatar_width'] = 'Ancho del avatar en Foro.';
$txt['board_avatar_height'] = 'Altura del avatar en Foro.';
$txt['display_childboards'] = '¿Ocultar los subforos?';


./Themes/default/languages/Help.spanish_latin.php

$helptxt['disable_avatar'] = 'Esta opción te permite activar o desactivar la visualización de avatares en el Índice de Foro.';
$helptxt['board_avatar_width'] = 'Esta opción te permite insertar el ancho del avatar a ser visusalizado en el Índice de Foro. Inserta 0 (cero) para usar el ancho máximo de la configuración de avatares externos.';
$helptxt['board_avatar_height'] = 'Esta opción te permite insertar la altura del avatar a ser visualizado en el Índice de Foro. Inserta 0 (cero) para usar la altura máxima de la configuración de avatares externos.';
$helptxt['display_childboards'] = 'Esta opción te permite activar o desactivar la visualización de subforos en el Índice de Foro.';


./Themes/default/languages/Help.spanish_latin-utf8.php


$helptxt['disable_avatar'] = 'Esta opción te permite activar o desactivar la visualización de avatares en el Índice de Foro.';
$helptxt['board_avatar_width'] = 'Esta opción te permite insertar el ancho del avatar a ser visusalizado en el Índice de Foro. Inserta 0 (cero) para usar el ancho máximo de la configuración de avatares externos.';
$helptxt['board_avatar_height'] = 'Esta opción te permite insertar la altura del avatar a ser visualizado en el Índice de Foro. Inserta 0 (cero) para usar la altura máxima de la configuración de avatares externos.';
$helptxt['display_childboards'] = 'Esta opción te permite activar o desactivar la visualización de subforos en el Índice de Foro.';


That's all. Sorry for my awful english :P Greetings!!

Bulakbol

@Manu0372
You are welcome.

@Tezca
Thanks for the translation. I'll add them soon.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

GravuTrad

#375
French translation joined. same thing for utf8:

./Themes/default/languages/ModSettings.french.php
./Themes/default/languages/ModSettings.french-utf8.php

Find:

$txt['who_enabled'] = 'Activer "Qui est en ligne ?"';

Add After:

$txt['disable_avatar'] = 'Cacher l'avatar du forum?';
$txt['board_avatar_width'] = 'Largeur de l'avatar du forum.';
$txt['board_avatar_height'] = 'Hauteur de l'avatar du forum.';
$txt['display_childboards'] = 'Cacher les sous-sections?';



./Themes/default/languages/Help.french.php
./Themes/default/languages/Help.french-utf8.php

Find:

$helptxt['who_enabled'] = 'Cette option vous permet d'activer ou non la possibilité de voir qui est en ligne sur le forum et ce qu'il y fait.';

Add After:

$helptxt['disable_avatar'] = 'Cette option vous permet d'activer ou de désactiver l'affichage des avatars sur l'index du forum.';
$helptxt['board_avatar_width'] = 'Cette option vous permet d'entrer la taille de l'avatar à afficher sur l'index du forum. Entrer 0 (zéro) pour utiliser la taille maximale des paramètres des avatars externes.';
$helptxt['board_avatar_height'] = 'Cette option vous permet d'entrer la hauteur de l'avatar à afficher sur l'index du forum. Entrer 0 (zéro) pour utiliser la taille maximale des paramètres des avatars externes.';
$helptxt['display_childboards'] = 'Cette option vous permet d'activer ou de désactiver l'affichage des sous-sections dans l'index du forum.';
On a toujours besoin d'un plus petit que soi! (Petit!Petit!)


Think about Search function before posting.
Pensez à la fonction Recherche avant de poster.

Bulakbol

#376
@GravuTrad
Thanks. I appreciated the translation. I will update the package soon.

<edit>
Can't update today. Something came up important.

Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

GravuTrad

On a toujours besoin d'un plus petit que soi! (Petit!Petit!)


Think about Search function before posting.
Pensez à la fonction Recherche avant de poster.

meehan09

Heres the error from admin panel - error log


http://www.exoticforums.co.uk//index.php?yshout&amp;board=15&amp;sort=subject&amp;desc=
Undefined index: avatar
File: /home/reptiles/public_html/Themes/default/MessageIndex.template.php
Line: 266


Thanks in advance, i hope somones able to help me out.


Thanks,
Paul


meehan09

here is line 266

                           echo '<div style="float: left; margin-right: 4px;">', $topic['last_post']['member']['avatar'], '</div>';
                        echo '


And my MessageIndex.template.php attachted below :)

Advertisement: