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

Kimmie

#120
COOL!! AWESOME! Cant wait to try it out!! Thanks JohnyB.. I will try it out and let you know how it goes... I am SO excited!! (can ya tell..lol)

Edit: Just installed 2.0: No errors on install, no errors in log, and all avatars are now showing up!!  :D I wont be 100% sure until a few posts are made by those members that had the issues, but I will let you know in a day or so. THANKS AGAIN for all your help and hard work! 
==============================================

EDIT: OK I the noavatar issue I think is resolved but I am still getting the error below when someone posts/views two specific areas on my site and I have narrowed down why:

8: Undefined index: avatar
File: /home/patriotg/public_html/Themes/default/MessageIndex.template.php (main sub template - eval?)
Line: 58


OK I just did some checking and what I found out is, I dont think your mod is the problem now that you fixed the noavatar issue..lol. I removed the mod and checked the boards that are 3 levels deep - which is the ones that error is happening on - (Main board > child board > child board inside the 1st childboard). There is an issue on every one of those lowest level childboards where the last post wont show at all. It wont show up on that boards view, and it wont show up on the main page view. With your mod installed, it was also trying to pull the avatar of the last person that posted there and it couldnt because the last post wouldnt pull.

I dont know if that means there is an issue with the smf software and its just not set up to hav child boards inside child boards or if there is something wrong with "my" software...lol. At any rate, thats why its happening.

Now I have NO clue as to even where to start trying to figure out THAT one..lol. I know it has nothing to do with your mod, so I thank you again for all your help and I will now take THIS issue to a new topic and see if someone knows the answer.  :)

Bulakbol

Wow Kimmie. That's heavy.  ;D Thanks for helping me find the bug.  Good luck.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

amdisuk

I have to say this mod really looks good. Well done.

Al
Big Al
www.thaiconnections.co.uk

Bulakbol

#123
Quote from: amdisuk on March 16, 2008, 06:24:50 AM
I have to say this mod really looks good. Well done.

Al

Thanks Al. It's one of my favorite mods.  ;D
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

wilsy

Hi guys,

I am getting "The package you tried to upload either is not a valid package or has become corrupted."

Can the author re-upload the files?

Regards,

Wilsy.



Busy RewindBikers offered to Good Home! 1000+ members, loads of mods, SMF Gallery PRO, TinyPortal installed with great use of blocks, ultimate profiles, PAID SUBSCRIPTIONS (works flawlessly), great theme, 1,500 posts per month - PM or email me if interested.

Bulakbol

Hi Wilsy. I tried to download the mod and no problem. However, I reuploaded the mod for you. Thanks for trying this mod.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Eliana Tamerin

wilsy, you're using 1.1.4, right?
Do NOT PM me for support.

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

Apllicmz

can explain about that cod
Quote<operation><!-- 77 -->
iam try to translate but she not work   


<!-- default/languages/ModSettings.portuguese.php  -->
<file name="$languagedir/ModSettings.portuguese.php">
<operation><!-- 77 -->
<search position="before"><![CDATA[$txt['who_enabled'] = 'Activar lista quem esta online ';]]></search>
<add><![CDATA[
$txt['disable_avatar'] = 'Ocultar avatar no quadro?';
$txt['board_avatar_width'] = 'Largura do avatar no quadro.';
$txt['board_avatar_height'] = 'Altura do avatar no quadro.';
$txt['display_childboards'] = 'Ocultar os sub-quadro?';]]></add>
</operation>
</file>



wilsy

Quote from: Eliana Tamerin on March 19, 2008, 10:53:55 AM
wilsy, you're using 1.1.4, right?

Yes, on 1.1.4

Quote from: JohnyB on March 19, 2008, 08:54:22 AM
Hi Wilsy. I tried to download the mod and no problem. However, I reuploaded the mod for you. Thanks for trying this mod.

Thanks Johny,

Still getting the error though :(

Regards,

Wilsy.



Busy RewindBikers offered to Good Home! 1000+ members, loads of mods, SMF Gallery PRO, TinyPortal installed with great use of blocks, ultimate profiles, PAID SUBSCRIPTIONS (works flawlessly), great theme, 1,500 posts per month - PM or email me if interested.

ccbtimewiz

Not sure if anyone has done this before, but I made it so the avatar links back to the profile rather then just be a image.

Code (boardindex.template.php or install.xml) Select

if ($modSettings['board_avatar_width'] == 0)
$board_avatar = $row_board['avatar'] == '' ? ($row_board['ID_ATTACH'] > 0 ?
'<a href="'.$scripturl.'?action=profile;u='.$topic['last_post']['member']['id'].'>
<img src="' . (empty($row_board['attachmentType']) ? $scripturl . '?action=dlattach;attach=' . $row_board['ID_ATTACH'] . ';type=avatar' :
$modSettings['custom_avatar_url'] . '/' . $row_board['filename']) . '" alt="" width="'. $modSettings['avatar_max_width_external'].'" height="'. $modSettings['avatar_max_height_external'].'" align="middle" border="0" />
</a>' : '



Eliana Tamerin

I was thinking of doing that, but then I thought against it. I'd probably wind up clicking on them far too often.
Do NOT PM me for support.

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

Bulakbol

#131
@Joomlamz
The <!-- 77 --> is a line number as a reference when I am testing the mod. It's commented-out so it's not part of the code. Are you going to translate the "Help" too?  I will add your translation later. Thanks.


@Wilsy.
Don't know what is wrong. There were 7 downloads already since I re-uploaded the package so, it might be working and the problem might be at your end. Use another browser and try to download it again.


@ccbtimewiz.
Cool. Thanks. I was thinking about it too but I always forget. :P Thanks for posting the code. It's a very good tip.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Bulakbol

Quote from: Eliana Tamerin on March 19, 2008, 04:00:55 PM
I was thinking of doing that, but then I thought against it. I'd probably wind up clicking on them far too often.

What about using other info instead of user profile? Something like PM or number of posts.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

ccbtimewiz

Hm....why not:

- Link to their profile
- Link to their recent posts
- Link to the actual post they made.

Apllicmz

translate help

<!-- default/languages/Help.portuguse.php -->
<file name="$languagedir/Help.portuguese.php">
<operation><!-- 330 -->
<search position="before"><![CDATA[$helptxt['who_enabled'] = ' Esta opção permite ligar ou desligar a capacidade para os utilizadores para ver quem está navegando no fórum e aquilo que estão a fazer.';]]></search>
<add><![CDATA[
$helptxt['disable_avatar'] = 'Esta opção permite ligar ou desligar a exibição de avatares em Board index.';
$helptxt['board_avatar_width'] = 'Esta opção permite que você digite a largura do avatar para serem exibidos no quadro  índice. Digite 0 (zero) a utilizar o máximo de largura externa avatar configurações.';
$helptxt['board_avatar_height'] = 'Esta opção permite que você digite a altura do avatar para serem exibidos no quadro índice. Digite 0 (zero) a utilização max altura do avatar externo configurações.';
$helptxt['display_childboards'] = 'Esta opção permite a você ligar ou desligar o monitor da sub-quadro do Board index.';]]></add>
</operation>
</file>



wilsy

Quote from: JohnyB on March 19, 2008, 06:02:52 PM


@Wilsy.
Don't know what is wrong. There were 7 downloads already since I re-uploaded the package so, it might be working and the problem might be at your end. Use another browser and try to download it again.


Hi Johny,

I can download the zip from the mod site - I get the error when I try to apply it via the package manager?

Regards,

Wilsy.



Busy RewindBikers offered to Good Home! 1000+ members, loads of mods, SMF Gallery PRO, TinyPortal installed with great use of blocks, ultimate profiles, PAID SUBSCRIPTIONS (works flawlessly), great theme, 1,500 posts per month - PM or email me if interested.

Bulakbol

@Joomlamz. Thanks for the Portuguese language translation. Package updated.


@Wilsy. What was the error that you get? Attach the file in question and I'll edit them for you.


@SMF 2.0 Beta 3 Public users. The mod is now updated to work with the new SMF version. It is called AvatarOnBoard2.0.2.zip

Thanks for using/trying this mod.  ;)
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

LiteSpeed

#137
after i applied this mod im having w3c markup validation errors :

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.myaltis.com%2Fforum%2Findex.php&charset=%28detect+automatically%29&doctype=Inline&group=0 [nofollow]


This page is not Valid XHTML 1.0 Transitional!

#  Line 273, column 137: value of attribute "align" cannot be "center"; must be one of "top", "middle", "bottom", "left", "right"

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

The value of the attribute is defined to be one of a list of possible values but in the document it contained something that is not allowed for that type of attribute. For instance, the "selected" attribute must be either minimized as "selected" or spelled out in full as "selected="selected""; a value like "selected="true"" is not allowed.


any coder here on how to fix this ?
MyAltis.com [nofollow] - Malaysia Toyota Corolla Altis Owners Club
website : http://www.myaltis.com/ [nofollow]

Bulakbol

Hi LiteSpeed. You must have the first old version. Download the new one and find out if it still give you error. But if you want to fix the old version, then, open the file in Sources folder, BoardIndex.php and MessageIndex.php and change any occurences of "center" to "middle".

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

LiteSpeed

Quote from: JohnyB on March 24, 2008, 01:29:18 PM
Hi LiteSpeed. You must have the first old version. Download the new one and find out if it still give you error. But if you want to fix the old version, then, open the file in Sources folder, BoardIndex.php and MessageIndex.php and change any occurences of "center" to "middle".



thanks it worked perfectly .. thanks for this great mod :D
MyAltis.com [nofollow] - Malaysia Toyota Corolla Altis Owners Club
website : http://www.myaltis.com/ [nofollow]

Advertisement: