News:

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

Main Menu

PaperClip

Started by Yağız..., June 16, 2007, 05:25:08 PM

Previous topic - Next topic

Yağız...

Link to the theme


A PaperClip Theme By ghg
Live Demo


Türkçe Butonlar Icin Turkish Buttons.zip'i Indirip images/buttons Klasorune Atin.


For Translations You Must Edit Language Files,Buttons and Signature Image.

Changelog
Fixed An Image Error.
Changed The Logo.
Added An Admin Button
Added A Login Box.
Fixed A Grand Error.
Quick Link&Search Are Removed.

Gecmis
Resim Hatasi Giderildi
Logo Degistirildi.
Admin Butonu Eklendi.
Giris Kutusu Eklendi.
Cok Büyük Bir Hata Giderildi.
Hizli Linkler&Arama Cikartildi.

N3lson

I´m Portuguese Yeah

samames

Firefox 3 user. Mac user. Pc user.

Yağız...


kanariya

kardeş sorun var temada yardım et
Themes is error

Yağız...

Can you send the error to me via PM?(in turkish :) )

samames

Firefox 3 user. Mac user. Pc user.

~Kikoish~


stoecki

#8
nice, but where is the "user now online" stuff?

edit: i also miss the search in the navi.

Yağız...

I did not put. If you want it find in BoardIndex.template.php:
// Show information about events, birthdays, and holidays on the calendar.
if ($context['show_calendar'])
{
echo '
<tr>

<td class="thead" colspan="2" style="padding: 1px;">', $context['calendar_only_today'] ? $txt['calendar47b'] : $txt['calendar47'], '</td>
</tr>
<td class="alt2">
<a href="', $scripturl, '?action=calendar"><img src="', $settings['images_url'], '/icons/calendar.gif" alt="', $txt['calendar24'], '" /></a>
</td>
<td class="windowbg2" width="100%">
<span class="smalltext">';

// Holidays like "Christmas", "Chanukah", and "We Love [Unknown] Day" :P.
if (!empty($context['calendar_holidays']))
echo '
<span style="color: #', $modSettings['cal_holidaycolor'], ';">', $txt['calendar5'], ' ', implode(', ', $context['calendar_holidays']), '</span><br />';

// People's birthdays. Like mine. And yours, I guess. Kidding.
if (!empty($context['calendar_birthdays']))
{
echo '
<span style="color: #', $modSettings['cal_bdaycolor'], ';">', $context['calendar_only_today'] ? $txt['calendar3'] : $txt['calendar3b'], '</span> ';
/* Each member in calendar_birthdays has:
id, name (person), age (if they have one set?), is_last. (last in list?), and is_today (birthday is today?) */
foreach ($context['calendar_birthdays'] as $member)
echo '
<a href="', $scripturl, '?action=profile;u=', $member['id'], '">', $member['is_today'] ? '<b>' : '', $member['name'], $member['is_today'] ? '</b>' : '', isset($member['age']) ? ' (' . $member['age'] . ')' : '', '</a>', $member['is_last'] ? '<br />' : ', ';
}
// Events like community get-togethers.
if (!empty($context['calendar_events']))
{
echo '
<span style="color: #', $modSettings['cal_eventcolor'], ';">', $context['calendar_only_today'] ? $txt['calendar4'] : $txt['calendar4b'], '</span> ';
/* Each event in calendar_events should have:
title, href, is_last, can_edit (are they allowed?), modify_href, and is_today. */
foreach ($context['calendar_events'] as $event)
echo '
', $event['can_edit'] ? '<a href="' . $event['modify_href'] . '" style="color: #FF0000;">*</a> ' : '', $event['href'] == '' ? '' : '<a href="' . $event['href'] . '">', $event['is_today'] ? '<b>' . $event['title'] . '</b>' : $event['title'], $event['href'] == '' ? '' : '</a>', $event['is_last'] ? '<br />' : ', ';

// Show a little help text to help them along ;).
if ($context['calendar_can_edit'])
echo '
(<a href="', $scripturl, '?action=helpadmin;help=calendar_how_edit" onclick="return reqWin(this.href);">', $txt['calendar_how_edit'], '</a>)';
}
echo '
</span>
</td>
</tr>';
}

Add after:
// "Users online" - in order of activity.
echo '
<tr>
<td class="thead" colspan="2">', $txt[158], '</td>
</tr><tr>
<td rowspan="2" class="windowbg" width="20" valign="middle" align="center">
', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', '<img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt[158], '" />', $context['show_who'] ? '</a>' : '', '
</td>
<td class="windowbg2" width="100%">';

echo '
', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', $context['num_guests'], ' ', $context['num_guests'] == 1 ? $txt['guest'] : $txt['guests'], ', ' . $context['num_users_online'], ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users'];

// Handle hidden users and buddies.
if (!empty($context['num_users_hidden']) || ($context['show_buddies'] && !empty($context['show_buddies'])))
{
echo ' (';

// Show the number of buddies online?
if ($context['show_buddies'])
echo $context['num_buddies'], ' ', $context['num_buddies'] == 1 ? $txt['buddy'] : $txt['buddies'];

// How about hidden users?
if (!empty($context['num_users_hidden']))
echo $context['show_buddies'] ? ', ' : '', $context['num_users_hidden'] . ' ' . $txt['hidden'];

echo ')';
}

echo $context['show_who'] ? '</a>' : '', '
<div class="smalltext">';

// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
if (!empty($context['users_online']))
echo '
', $txt[140], ':<br />', implode(', ', $context['list_users_online']);

echo '
<br />
', $context['show_stats'] && !$settings['show_sp1_info'] ? '<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
</div>
</td>
</tr>
<tr>
<td class="windowbg2" width="100%">
<span class="middletext">
', $txt['most_online_today'], ': <b>', $modSettings['mostOnlineToday'], '</b>.
', $txt['most_online_ever'], ': ', $modSettings['mostOnline'], ' (' , timeformat($modSettings['mostDate']), ')
</span>
</td>
</tr>';

puma07

yeah.
thank u.
are you a Vietnamese!!
so good!
[nofollow]

Yağız...


AdolfoS

Hola ghg, gracias por el theme.
Me da este error y no se como solucionarlo:

#
AdolfoS&nbsp; &nbsp;Hoy a las 01:06:37&nbsp;
190.49.134.86&nbsp; &nbsp; &nbsp;5b10637879d50ef130b1d1821b5a74c0&nbsp;
hxxp:www.adolfos.com.ar/smf/index.php&nbsp [nonactive];
8: Undefined index: pc1
Archivo: I:\FerozoWebHosting\adolfos.com.ar\public_html\smf\Themes\PaperClip\BoardIndex.template.php (main sub template - eval?)
Línea: 262
#
Gracias.
AdolfoS
[email protected]

Advertisement: