AvatarOnBoard

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

Previous topic - Next topic

ccbtimewiz

Could you show us that line on your template?

Bulakbol

@ccbtimewhiz
He probably mean this line
', $board['last_post']['member']['avatar'], '


Quote from: yume_kokoro on May 13, 2008, 10:46:52 AM
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?

To get rid of the error, in MessageIndex.template.php
Code (look for) Select
', $board['last_post']['member']['avatar'], '


Code (replace with) Select
', isset($board['last_post']['member']['avatar']) ? $board['last_post']['member']['avatar'] : '', '
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

yume_kokoro

Apologies for the delayed reply.

Thanks, JohnyB - that seems to have done the trick :)
wtf-anime.com [nofollow]
Looking for Anime/Manga sites to Affiliate with.
Contact via http://wtf-anime.com/index.php?action=contact [nofollow]

Bulakbol

Quote from: yume_kokoro on May 14, 2008, 08:58:01 AM
Apologies for the delayed reply.

Thanks, JohnyB - that seems to have done the trick :)

Apology accepted. Wait, you don't have to apologize. You reply faster than I do.  :P
You're welcome BTW. 'Glad to be of help.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Marcus Forsberg

Could u help me install this on Kelo-lt?

Bulakbol

Do you still need assistance MTF95?
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

tatore

Hi, JohnyB.
I'm not finding a way to customize a VisionMc theme.
When you have  a chance...
*Salvo*




Quote from: RumbaarI wont jump to conclusion, but you might be hacked?

Bulakbol

Hi Tatore. I'll get back to you.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

tatore

Quote from: JohnyB on May 29, 2008, 03:29:44 PM
Hi Tatore. I'll get back to you.
You're great.
The mod is already installed. Just troubles to find the right place to put your code  :P
*Salvo*




Quote from: RumbaarI wont jump to conclusion, but you might be hacked?

Sheila * R

#209
SMF version: 1.1.5

Theme: CS Classic / serv Ramadhan

Default Forum Language: English


After installation of this mod it appears that under "Features and Options - Layout and Options" there is a sixth section added. There are two check boxes and two fill-in boxes (1st has "35" in it and the 2nd has "0"), however, there is no text next any of them to indicate what they are for.


Bulakbol

#210
@tatore.
Try the attached BoardIndex.template.php and MessageIndex.template.php. Let me know if they are ok.

@Mother's Luv.
You could be using english-utf8. Go to Admin panel -> Server Settings -> Core Configuration. Check the "Default Forum Language" if it is not english-utf8.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

tatore

It works great.
I've just changed and/or uncommented an echo'
replacing:

    // Here's where the "Info Center" starts...(modified)
//    echo '
//    <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
echo '<tr>
            <td class="catbg" colspan="2">', $txt[685], '</td>
        </tr>';


with
// Here's where the "Info Center" starts...(modified)
    echo '
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tr>
            <td class="catbg" colspan="2">', $txt[685], '</td>
        </tr>';


That was breaking a bit the layout of the info center-


Great job, really. Thank you a lot for your fast support. ;)
*Salvo*




Quote from: RumbaarI wont jump to conclusion, but you might be hacked?

Sheila * R

Quote from: JohnyB on May 30, 2008, 12:32:57 AM
@Mother's Luv.
You could be using english-utf8. Go to Admin panel -> Server Settings -> Core Configuration. Check the "Default Forum Language" if it is not english-utf8.

I am on English, not english-utf8

ccbtimewiz

Quote from: A Mother's Luv on May 30, 2008, 01:58:33 PM
Quote from: JohnyB on May 30, 2008, 12:32:57 AM
@Mother's Luv.
You could be using english-utf8. Go to Admin panel -> Server Settings -> Core Configuration. Check the "Default Forum Language" if it is not english-utf8.

I am on English, not english-utf8

Are you using a different language other than English for your own account? If not, please attach your modifications.english.php file.

Bulakbol

@tatore.
Glad to know you got everything sorted out. :)

@Mother's Luv.
Language strings are missing. If you have access to your SMF files, I'll tell you which files and what strings to add.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

sorosh1

can you please help me i have a little problem:

I have installed the mod and edit for Diber MC theme and the mod works but i have the fallowing problem.

There is a large grey line on the right side like you see in the attach image.

Can someone please help me with resolving this?

Thanks, sorosh

Bulakbol

Attach your MessageIndex.template.php sorosh1 and I'll see what I can do.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

sorosh1

WOW thanks for your quick repley :D

This is my MessageIndex.template.php of my diber mc theme.

Bulakbol

#218
@Sorosh1.  There's nothing wrong with your MessageIndex.template.php. Can you post a link to your forum?

EDIT: wait, I'll double check it again.


EDIT@: Try this one sorosh1.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

sorosh1

Yes Thanks it works! ;D

Thank you for your time and help!

Advertisement: