News:

Wondering if this will always be free?  See why free is better.

Main Menu

AvatarOnBoard

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

Previous topic - Next topic

Scferg

#180
I uploaded your BoardIndex.template.php, but nothing changes =/

The mod is installed, but the avatars aren't showing up. I've gone into the Admin interface and see if it was turned off, but it's turned on...

<Edit>
If you need to see where my forum is, it's http://thesimsnews.com/forum or http://forums.thesimsnews.com

Bulakbol

Hi scferg. Try this one. Maybe I copied the wrong one. Sorry about that.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Scferg

#182
Works perfect! Thanks

And is it possible for the image to link to that user's profile? I've tried something like this:

<a href="?action=profile;u=', $topic['last_post']['member']['ID'], '">', $topic['last_post']['member']['avatar'], '</a>

I know the ', $topic['last_post']['member']['ID'], ' part isn't right because i just made the ['ID'] up. So any ideas?

<Edit>
Nevermind, I got. All I had to do was make the ID lowercase ...wow...

Bulakbol

Do you want to link the avatar to the last poster's profile?
<a href="?action=profile;u=', $board['last_post']['member']['id'], '">', $board['last_post']['member']['avatar'], '</a>

<edit> ah ok :) </edit>
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Alan S

Quote from: JohnyB on April 26, 2008, 04:29:53 PM
@AlanS. I'll check your template files. I'll get back to you of course.  :)

@scferg. I'll attach your template files after I finish editing them.

@MTF95. Thanks for the translation. I'll update the package later.


<EDIT>
@AlanS. Can you check something for me because the first version has a bug.  In Sources/Message.php, look for
att.ID_ATTACH, att.attachmentType, att.filename, meml.avatar,
and make sure that the last field is meml.avatar and not memf.avatar.

@scferg. Your theme use the default/MessageIndex.template.php so you don't have to edit that one. Here's your edited BoardIndex.template.php. Make sure you install the mod before using this template.

@MTF5. Package is updated. Thanks.
</EDIT>

I assumed you ment MessageIndex.php , And yes it is meml.avatar in it.
Quote from: Eliana Tamerin on August 23, 2008, 04:10:10 PM
SMF 7 is where it gets good. That has time travel. You can go back and post before the guy who flamed you. :P

Bulakbol

Hi AlanS. Oppsss sorry. Yes, I meant MessageIndex.php. It's ok then.

There's a line of code in both your BoardIndex.template.php and MessageIndex.template.php that isn't part of the mod. It displays blank space instead of the "noavatar.gif" to guests.
', $context['user']['is_guest'] ? '' : $board['last_post']['member']['avatar'], '

Not sure if that's the cause of displaying blank avatar. Try removing it and see if that fix the problem.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Irmy

Me aparecern unos textos con letras como chinas al abrir directamente el archivo instal  y aque me aparecen errores ???

http://modparser.dev.dansoftaustralia.net/index.php

Eliana Tamerin

Please post in English outside of the localized support boards.
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

Bulakbol

@Irmy.
    Sorry, I don't speak your language.  :( If you can, please post in English and I'll try to fix the error.


@Eliana.
    Thanks for the reminder.  ;) And oh, congratz! 
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Irmy

Thank you, and I install it works very well

(I do not speak English)

Bulakbol

Quote from: Irmy on May 02, 2008, 04:07:56 PM
Thank you, and I install it works very well

(I do not speak English)

That's good to know it works.  Well, you just did speak English. :D If you need assistance, let me know. Thanks for using this mod.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Eliana Tamerin

Quote from: Irmy on May 02, 2008, 04:07:56 PM
Thank you, and I install it works very well

(I do not speak English)

It doesn't matter if you speak English or not. There are online translators to convert your language to English. But you must speak English outside of the localized support boards.

@JohnyB, thanks!
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

ccbtimewiz

Quote from: Eliana Tamerin on May 02, 2008, 04:24:54 PM
Quote from: Irmy on May 02, 2008, 04:07:56 PM
Thank you, and I install it works very well

(I do not speak English)

It doesn't matter if you speak English or not. There are online translators to convert your language to English. But you must speak English outside of the localized support boards.

... she spoke Spanish. One of the most easiest and recognizable languages in the world next to English.

Personally, I find giving support easier when it's given in the user's native language. That's why I help out with most of the Spanish people. :P

Also, online translators suck horribly. I put in "How are you?" to translate into Polish then translated it back and I got back "Why am me?" I wouldn't rely on them. ^^;

Eliana Tamerin

Yes, but I don't speak Spanish. And, actually, according to statistics, the most recognizable language in the world (just going by the number of people who speak it) next to English is Hindi. Spanish is just after that, though.

Anyways, there's a reason that there are localized boards for support in people's native languages. It's so the people that don't know someone's language aren't confused or unable to assist.

Oh, and there are some good translators for Spanish online. I forget where, but some people have gone to long lengths to make sure there is a good translation matrix.
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

humbleworld

Hi JohnyB,

Avatar on Board is not a valid XHTML in DilberMC theme. 23 errors for 23 boards with this note from validator.w3.org

Line 261, Column 143: value of attribute "align" cannot be "center"; must be one of "top", "middle", "bottom", "left", "right".

... width="35" height="35" align="center" border="0" />

Bulakbol

Hi Humbleworld. You probably have the very first version. Download the new package and try it again. It's been fixed couple of days after its first release. If the problem still exist, please let me know. I thank you for trying/using this mod.  ;)
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Bulakbol

Quote from: Irmy on May 02, 2008, 12:19:35 PM
Me aparecern unos textos con letras como chinas al abrir directamente el archivo instal  y aque me aparecen errores ???

http://modparser.dev.dansoftaustralia.net/index.php

Let me do the translation heh.

It appear that the first letter is in chinese and won't open directly upon installation and with errors.  :P

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

humbleworld

Quote from: JohnyB on May 04, 2008, 09:54:56 PM
Hi Humbleworld. You probably have the very first version. Download the new package and try it again. It's been fixed couple of days after its first release. If the problem still exist, please let me know. I thank you for trying/using this mod.  ;)

Thank you Johnny. Do I need to delete the previous version before I install the latest one?

Bulakbol

Hi humbleworld.  Sorry for the delayed reply. Yes, uininstall the old one and install the new one. Let me know how things goes.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

yume_kokoro

#199
Awesome mod - I recently installed on SMF 1.1.5 and I've been getting this error in my log:

QuoteUndefined index: avatar
in ... /MessageIndex.template.php
Line: 58

From reading earlier posts, I understand why the error is occurring
... I was just wondering if there's a solution?
wtf-anime.com [nofollow]
Looking for Anime/Manga sites to Affiliate with.
Contact via http://wtf-anime.com/index.php?action=contact [nofollow]

Advertisement: