News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Latest Members

Started by Bulakbol, January 04, 2009, 02:26:23 PM

Previous topic - Next topic

willerby

Now I'm confused...

Fresh install has neither the space or the extra shading on the memberlist.

I can only assume previous install conflicted with some other mod on my test-site at the time? I didn't imagine the screen image I copied but whatever, thanks for looking at. Sorry to bug you.

All looking good now...

Willerby.
What type of washing machine is September?

An autumnatic. :)

Bulakbol

It could be the cache or yeah, could be caused by a conflict with other mods. Glad to know it is looking good now.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

willerby

It came back. Its browser specific IE6 on XP...

Fine on IE7, Google Chrome and Firefox but leaves the line gap on IE6. No problem as users should upgrade but thought you might want to know.
What type of washing machine is September?

An autumnatic. :)

Bulakbol

@willerby
I see. I thought everyone's using IE7 now. They should upgrade their browser to the latest version.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Sandmansa

I liked seeing what this mod looks like on DilberMC but I was wondering if it could be installed on Helios Multi theme?

Bulakbol

I apologize for the delay.

@Sandmansa
You have to edit the BoardIndex.template.php manually. You can attach to your next post and I'll edit it after I updated all my mods.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Sandmansa

Thanks but a little to late.  I wound up barrowing some snips for other themes and came up with something that worked for helios.  I even intergraded the code to the installer so it will look for helios_multi11final and it works like a charm.  I could attach my updated version of this plugin if your interested?

Bulakbol

@Sandmansa
hehe it's easy isn't it. Good to know you did it yourself.  8)

This mod is now updated for 2.0 RC1 only.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Sandmansa

Well then, for anyone who want's it, here is the code I put together, that works on helios_multi11final.  Just add this to the install-1.xml or pick through the code and add it to the boardindex.template manually.

<!--Themes/helios_multi11final/BoardIndex.template.php -->
<file name="$boarddir/Themes/helios_multi11final/BoardIndex.template.php" error="skip">
<operation><!-- 390 -->
<search position="replace"><![CDATA[<td class="catbg" colspan="2">', $txt[645], '</td>]]></search>
<add><![CDATA[<td class="catbg" colspan="2">', latestMembersOnBoard(), ($settings['show_latest_member'] && $context['member_limit'] > 1) ? '<div style="float: right; padding-right: 145px;">
' . $context['member_limit'] . ' ' . $txt['latest_members'] . '</div>' : '', $txt[645], '
</td>]]></add>
</operation>
<operation><!-- 391 -->
<search position="replace"><![CDATA[<table border="0" width="90%"><tr>
                                <td class="smalltext">]]></search>
<add><![CDATA[<table border="0" width="100%"><tr>
<td width="50%" class="smalltext">]]></add>
</operation>
<operation><!-- 392 -->
<search position="replace"><![CDATA[<a href="', $scripturl, '?action=recent">', $txt[234], '</a>', $context['show_stats'] ? '<br />
                                        <a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', ']]></search>
<add><![CDATA[<a href="', $scripturl, '?action=recent">', $txt[234], '</a>',
(isset($modSettings['show_more_stats']) && $modSettings['show_more_stats'] && $context['show_stats']) ? '<br /><a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', ']]></add>
</operation>
<operation><!-- 393 -->
<search position="replace"><![CDATA[', $txt[488], ': <b><a href="', $scripturl, '?action=mlist">', $context['common_stats']['total_members'], '</a></b><br />
                                        ', $txt[656], ': <b>', $context['common_stats']['latest_member']['link'], '</b><br />';]]></search>
<add><![CDATA[', $txt[488], ': <b>', $context['show_member_list'] ? '<a href="' . $scripturl . '?action=mlist">' . $context['common_stats']['total_members'] . '</a>' : $context['common_stats']['total_members'], '</b><br />',
$context['member_limit'] > 1 ? '' : ($settings['show_latest_member'] ? $txt[656] . ': <b>' . $context['common_stats']['latest_member']['link'] . '</b><br />' : '');
]]></add>
</operation>
<operation><!-- 394 -->
<search position="replace"><![CDATA[echo '
                                </td>
                        </tr></table>]]></search>
<add><![CDATA[echo '
</td>
', ($settings['show_latest_member'] && $context['member_limit'] > 1) ? '<td width="250" valign="middle" class="smalltext" align="left">' . implode($context['latest_members_dated'], '<br />') . '</td>' : '', '
</tr></table>]]></add>
</operation>
</file>

Bulakbol

Thanks for the code Sandmansa. Helios_multi theme users can use it.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Eclipse16V

Is there any Update for SMF 2.0 RC2 ?
Thx
I worked with:
SMF 2 in German

Shop:
SID Giessen

Eclipse16V

I worked with:
SMF 2 in German

Shop:
SID Giessen

Eclipse16V

Nice Mod

Please update it for SMF 2.0RC3  ;)

Thanks
I worked with:
SMF 2 in German

Shop:
SID Giessen

Advertisement: