Avatars @ Index

Started by 4LP3RUZ1, November 08, 2006, 10:12:31 AM

Previous topic - Next topic

4LP3RUZ1

Quote from: progenic on November 13, 2006, 10:19:22 PM
Dostum güzel eklenti ama olmadı :(.Temam default değil ve elle girdim ancak sadece konuyu başkaltanın nick'ini ortaladı.Avatar çıkmadı.

progenic, lütfen Türkçe soruları bu konuda toplayalım.
progenic, please keep the Turkish posts to this topic.
Frozen frogs are back :(

[tiktaktok]

#21
MANUAL Theme INSTALL:
Make a COPY of /Themes/default/MessageIndex.template.php
UPLOAD to /Themes/urThemeFolderDir/ and EDIT >>> search this part
echo '
<small id="pages' . $topic['first_post']['id'] . '">', $topic['pages'], '</small>
</td>
<td class="windowbg2" valign="middle" width="14%">
', $topic['first_post']['member']['link'], '
</td>
<td class="windowbg' , $topic['is_sticky'] ? '3' : '' , '" valign="middle" width="4%" align="center">

REPLACE WITH
echo '
<small id="pages' . $topic['first_post']['id'] . '">', $topic['pages'], '</small>
</td>
<td class="windowbg2" style="padding: 0px;" align="center"  valign="middle" width="17%">';
if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($modSettings['enable_mini_avatars']))
echo '<table width="100%" cellpadding="0" cellspacing="2px" border="0"><tr><td class="windowbg2" width="30%" align="left">
', $topic['first_post']['member']['avatar'],'</td><td class="windowbg2" width="70%">';
echo'
', $topic['first_post']['member']['link'], '</td>';

if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($modSettings['enable_mini_avatars']))
echo '</td></tr></table>';

echo'
<td class="windowbg' , $topic['is_sticky'] ? '3' : '' , '" valign="middle" width="4%" align="center">

CLOSE and SAFE :p

Thx for this great mod
http://savegaia.de [nofollow]

diegolyanky

My theme ( Helios_Multi ) don't have that code ... :(
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

4LP3RUZ1

#23
for Helios MC:

Open MessageIndex.template.php and find:
<td class="windowbg2" valign="middle" width="14%">
                                                ', $topic['first_post']['member']['link'], '
                                        </td>

replace:
<td class="windowbg2" style="padding: 0px;" align="center"  valign="middle" width="17%">';
if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($modSettings['enable_mini_avatars']))
echo '<table width="100%" cellpadding="0" cellspacing="2px" border="0"><tr><td class="windowbg2" width="30%" align="center">
', $topic['first_post']['member']['avatar'],'</td><td class="windowbg2" width="70%">';
echo'
', $topic['first_post']['member']['link'], '</td>';

if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($modSettings['enable_mini_avatars']))
echo '</tr></table></td>';

echo'


Tell me if it works nicely ;)
Frozen frogs are back :(

diegolyanky

alperuzi:

Thanks for reply, but not work ... Here is the error:

-------------------------------------------------------------------

Parse error: syntax error, unexpected '<' in ...Themes/helios_multi11rc2/MessageIndex.template.php on line 198

189:                 echo '
190:                   <span class="smalltext" id="pages' . $topic['first_post']['id'] . '">', $topic['pages'], '</span>
191:                                         </td>
192:                                         <td class="windowbg2" style="padding: 0px;" align="center"  valign="middle" width="17%">';
193:          if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($modSettings['enable_mini_avatars']))
194:             echo '<table width="100%" cellpadding="0" cellspacing="2px" border="0"><tr><td class="windowbg2" width="30%" align="center">               
195:                      ', $topic['first_post']['member']['avatar'],'</td><td class="windowbg2" width="70%">';
196:          echo'
197:                   ', $topic['first_post']['member']['link'], '</td>';

198:                                         <td class="windowbg" valign="middle" width="4%" align="center">

199:                                                 ', $topic['replies'], '
200:                                         </td>
201:                                         <td class="windowbg" valign="middle" width="4%" align="center">
202:                                                 ', $topic['views'], '
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

4LP3RUZ1

#25
ok, sorry I forgot about the last part, I think this should work, fixed the code above.
Frozen frogs are back :(

diegolyanky

Yeah !!!!!!!!!!!..........................


IT WORKS !!! IT WORKS !!!!!!!


YOU ARE A GENIUSSSS !!!

MANY MANY THANKS ALPERUZI  !!
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

lemur21

#27
I am using the AMBER theme, and I followed the instruction for the Hellios theme (since I found the same text), but still no luck...

Here is the messageindex.template.php file that I currently have...any idea why it wouldn't be working? [REMOVED WHEN PROBLEM SOLVED]

Thanks!!!

Chris

diegolyanky

Have you enabled it into Admin panel ? ;)
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

lemur21

Of course not...why would I do that? You think I want it to work??? :o

Yeah, well - I'm glad I made the right change...NOT glad my head is so up my *** that I missed the most obvious thing! :)

Thanks for helping!!!

Chris

4LP3RUZ1

Update: v1.1
- Better UTF-8 support (mainly for Turkish users)
- Installs on 1.1 Final (yay!)
Frozen frogs are back :(

Greek

I like very much this mod, but how can it works for Babylon theme?

Spike2

Excelent MOD i have in my forum Thanks!!!!!

Some one can help me to understand how to do this:



http://www.simplemachines.org/community/index.php?topic=79075.msg528371#msg528371




4LP3RUZ1

Quote from: Greek on December 03, 2006, 12:30:57 PM
I like very much this mod, but how can it works for Babylon theme?

I added this request to my to-do list, babylon and classic theme will get it on the next version, which will come this week I'm guessing.
Frozen frogs are back :(

THE BRA1N

I'm trying to install this on cerberus but there's no messageIndex.template.php file. Any suggestions?

4LP3RUZ1

If the theme does not have a messageindex.template.php, then it uses the default themes file and therefore should be okay without any further modification.

Note: new version uploaded, babylon and classic support added
Frozen frogs are back :(

THE BRA1N

#36
Quote from: alperuzi on December 12, 2006, 02:30:50 AM
If the theme does not have a messageindex.template.php, then it uses the default themes file and therefore should be okay without any further modification.

Note: new version uploaded, babylon and classic support added

Hmm, wonder why it's not working with Cerberus then? I enabled it and it works with smf default and other themes that i manually edited but not that one.

BTW, I'm using 1.1 final in case that helps.

EDIT: nevermind, I think i figured it out. I copied messageindex.template.php from default into the cerberus folder and it suddenly worked! Thanks for the great mod.

Syndel

#37
Ok... HELP! *L*
I absolutely LOVE LOVE your Mod... but... since the upgrade to 1.1, after redownloading the Mod and reinstalling (without errors, mind you) I have this thing on the top of my board and hell.. I do not find it to get rid of it... I looked at the index.template... at the display.template... at the messages.index... I looked everywhere before coming to pester... but... I need your help...


Quote
Quote// Avatars at Index Mod By alperuzi $txt['enable_mini_avatars'] = 'Enable displaying mini avatars at message index'; $txt['miniAvatarHeight'] = 'Avatar height (pixels)'; $txt['miniAvatarWidth'] = 'Avatar width (pixels)'; // End Of Avatars at Index Mod // [Who Voted What?] $txt['poll_view_voters_expand_to_view'] = 'Expand to view:'; $txt['poll_view_voters_expanded_help1'] = 'Select a name to view'; $txt['poll_view_voters_expanded_help2'] = 'the member\'s profile...'; $txt['cannot_poll_view_voters'] = 'Sorry, you\'re not allowed to view which members voted for what option in the poll.'; $txt['permissionname_poll_view_voters'] = 'View voters'; $txt['permissionhelp_poll_view_voters'] = 'This permission allows people to see which members voted for what option in a poll.'; // Avatars at Index Mod By alperuzi $txt['enable_mini_avatars'] = 'Enable displaying mini avatars at message index'; $txt['miniAvatarHeight'] = 'Avatar height (pixels)'; $txt['miniAvatarWidth'] = 'Avatar width (pixels)'; // End Of Avatars at Index Mod


My board is www.khaotikdezirez.com  if you wanna see it live ;)

Oh yeah... and I have nothing to set it up in Layout in the Admin area... so... definately... HELP!

Syndel

http://www.simplemachines.org/community/index.php?topic=134294

Was fixed... was in the Languages> Modifications.English.php  the problem...

Spike2

Quote from: spike2 on December 10, 2006, 05:08:34 PM
Excelent MOD i have in my forum Thanks!!!!!

Some one can help me to understand how to do this:



http://www.simplemachines.org/community/index.php?topic=79075.msg528371#msg528371

Sorry but, no one can help me whit this?
I thin that this is similar to the avatars mode whit some changes, no?

PLEAS SOMEONE HELP ME, I REALLY NEED THIS MOD? AND IF IS NECESARY I WANT TO LEAR HOW MAKE IT...

sorry for my english.

Advertisement: