21 Haz 2021 06:35 Yeni Konu Oluştur

Haberler:

Üye kayıt esnasında E-posta adresinizin doğru olduğuna ve Aktivasyon Mailinize bakmayı unutmayın.


Smf tablı Bilgi merkezi

Başlatan snrj, 18 May 2014 04:27

« önceki - sonraki »

0 Üye ve 7 Ziyaretçi konuyu incelemekte.

*

  1. 3,084

  2. 584

  3. 973
18 May 2014 04:27 Son düzenlenme: 18 Oca 2015 02:28 snrj


Alıntı yapanlar lütfen bu konuyu kaynak gösterin tşk
ekte vermiş olduğum js dosyarını default temanızın script klasörüne (not:Smf Teknoromi Ultimate Profile kurduysanız gerek yok)
ekteki resim dosyalarını temanızın images klasörüne
index.css de en alta ekle (not:Smf Teknoromi Ultimate Profile kurduysanız gerek yok )
.profile_left{text-align: left;font-size: 100%;color: rgb(66, 66, 66);width: 28%;margin-bottom: 10px; padding: 0px 5px;height: auto;}
.profile_right{text-align: left;color: rgb(66, 66, 66);margin: 0px 0px 0px 0px;width: 100%;display: block;}
#teknosnrj{text-align:left;font-size:100%;color:#424242;width:100%;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-box-shadow:-2px 2px 2px #c8c8c8;-webkit-box-shadow:-2px 2px 2px #c8c8c8;box-shadow:-2px 2px 2px #c8c8c8;background-color:#E4E4E4;border:1px solid #c1c1c1;margin-bottom:10px;padding:0 5px 10px 5px;height:auto;}
#teknosnrjavatar img{border:3px solid #FFF;outline:1px solid #dadada;max-width:110px;height:auto;}
#teknosnrjad{text-align:center;font-size:120%;font-weight:700;padding:10px;}
#teknosnrjtable{padding:0 5px;color:#333;background-color:#fafafa;border:1px solid #A6A6A6;border-radius:5px;}




#vtab {
  margin: auto;
  height: 100%;
}
#vtab > ul > li {
  width: 65px;
  height: 65px;
  list-style-type: none;
  display: block;
  text-align: center;
  margin: auto;
  padding-bottom: 10px;
  position: relative;
  opacity: .3;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=30);
  margin-left: 10px;
}

#vtab > ul > li.selected {
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  z-index: 10;
  position: relative;
  list-style-type: none;
  
}
#vtab > ul {
  float: left;
  width: 65px;
  text-align: left;
  display: block;
  margin: auto 0;
  padding: 0;
  position: relative;
}
#vtab > div {
  margin-left: 65px;
  height: auto;
  padding: 12px;
  overflow: auto;
  position: relative;
  z-index: 9;
  width:auto;
}
#vtab > div > h4 {
  color: #800;
  font-size: 1.2em;
  border-bottom: 1px dotted #800;
  padding-top: 5px;
  margin-top: 0;
}
.innerframe {
  clear: both;
  display: block;
}

BoardIndex.template.php  burdan
function template_info_center()buraya kadar
// ]]></script>';
}
olan kısmı sil muhtemelen sayfa sonu
bunu ekle
function template_info_center()
{
 global $context, $settings, $options, $txt, $scripturl, $modSettings;

 // Here's where the "Info Center" starts...
 echo '
 <span class="clear upperframe"><span></span></span>
 <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/skm_2.js"></script>
 <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/skm.js"></script>
 <div class="roundframe"><div class="innerframe">
 <div class="cat_bar">
 <h3 class="catbg">
 <img class="icon" id="upshrink_ic" src="', $settings['images_url'], '/collapse.gif" alt="*" title="', $txt['upshrink_description'], '" style="display: none;" />
 ', sprintf($txt['info_center_title'], $context['forum_name_html_safe']), '
 </h3>
 </div>
 <div id="upshrinkHeaderIC"', empty($options['collapse_header_ic']) ? '' : ' style="display: none;"', '>';

 // This is the "Recent Posts" bar.
 if (!empty($settings['number_recent_posts']) && (!empty($context['latest_posts']) || !empty($context['latest_post'])))
 {
 echo '
 <div id="vtab">
   <ul>
 <li class="messages"><img class="icon"  src="', $settings['images_url'], '/message.png" alt="" /></li>
 <li class="stats"><img class="icon"  src="', $settings['images_url'], '/Stat.png" alt="" /></li>
 <li class="online_users selected"><img class="icon"  src="', $settings['images_url'], '/Usr.png" alt="" /></li>
   </ul><div style="display: none;"><div class="title_barIC">
 <h4 class="titlebg">
 <span class="ie6_header floatleft">
 <a href="', $scripturl, '?action=recent"><img class="icon" src="', $settings['images_url'], '/post/xx.gif" alt="', $txt['recent_posts'], '" /></a>
 ', $txt['recent_posts'], '
 </span>
 </h4>
 </div>
 <div class="hslice" id="recent_posts_content">
 <div class="entry-title" style="display: none;">', $context['forum_name_html_safe'], ' - ', $txt['recent_posts'], '</div>
 <div class="entry-content" style="display: none;">
 <a rel="feedurl" href="', $scripturl, '?action=.xml;type=webslice">', $txt['subscribe_webslice'], '</a>
 </div>';

 // Only show one post.
 if ($settings['number_recent_posts'] == 1)
 {
 // latest_post has link, href, time, subject, short_subject (shortened with...), and topic. (its id.)
 echo '
 <strong><a href="', $scripturl, '?action=recent">', $txt['recent_posts'], '</a></strong>
 <p id="infocenter_onepost" class="middletext">
 ', $txt['recent_view'], ' &quot;', $context['latest_post']['link'], '&quot; ', $txt['recent_updated'], ' (', $context['latest_post']['time'], ')
 </p>';
 }
 // Show lots of posts.
 elseif (!empty($context['latest_posts']))
 {
 echo '
 <dl id="ic_recentposts" class="middletext"><table width="100%" ><tbody>';

 /* Each post in latest_posts has:
 board (with an id, name, and link.), topic (the topic's id.), poster (with id, name, and link.),
 subject, short_subject (shortened with...), time, link, and href. */
 foreach ($context['latest_posts'] as $post)
 echo '
 <tr><td width="40%"><strong>', $post['link'], '</strong></td><td width="20%"> ', $txt['by'], ' ', $post['poster']['link'], ' </td><td width="25%">(', $post['board']['link'], ')</td><td width="15%">
 ', $post['time'], '</td></tr>';
 echo '
 </tbody></table></dl>';
 }
 echo '
 </div></div>';
 }

 // Show information about events, birthdays, and holidays on the calendar.
 if ($context['show_calendar'])
 {
 echo '
 <div style="display: none;"><div class="title_barIC">
 <h4 class="titlebg">
 <span class="ie6_header floatleft">
 <a href="', $scripturl, '?action=calendar' . '"><img class="icon" src="', $settings['images_url'], '/icons/calendar.gif', '" alt="', $context['calendar_only_today'] ? $txt['calendar_today'] : $txt['calendar_upcoming'], '" /></a>
 ', $context['calendar_only_today'] ? $txt['calendar_today'] : $txt['calendar_upcoming'], '
 </span>
 </h4>
 </div>
 <p class="smalltext">';

 // Holidays like "Christmas", "Chanukah", and "We Love [Unknown] Day" :P.
 if (!empty($context['calendar_holidays']))
 echo '
 <span class="holiday">', $txt['calendar_prompt'], ' ', implode(', ', $context['calendar_holidays']), '</span>';

 // People's birthdays. Like mine. And yours, I guess. Kidding.
 if (!empty($context['calendar_birthdays']))
 {
 echo '
 <span class="birthday">', $context['calendar_only_today'] ? $txt['birthdays'] : $txt['birthdays_upcoming'], '</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'] ? '<strong>' : '', $member['name'], $member['is_today'] ? '</strong>' : '', isset($member['age']) ? ' (' . $member['age'] . ')' : '', '</a>', $member['is_last'] ? '' : ', ';
 }
 // Events like community get-togethers.
 if (!empty($context['calendar_events']))
 {
 echo '
 <span class="event">', $context['calendar_only_today'] ? $txt['events'] : $txt['events_upcoming'], '</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'] . '" title="' . $txt['calendar_edit'] . '"><img src="' . $settings['images_url'] . '/icons/modify_small.gif" alt="*" /></a> ' : '', $event['href'] == '' ? '' : '<a href="' . $event['href'] . '">', $event['is_today'] ? '<strong>' . $event['title'] . '</strong>' : $event['title'], $event['href'] == '' ? '' : '</a>', $event['is_last'] ? '' : ', ';
 }
 echo '
 </p>';
 }

 // Show statistical style information...
 if ($settings['show_stats_index'])
 {
 echo '
 <div style="display: none;"><div class="title_barIC">
 <h4 class="titlebg">
 <span class="ie6_header floatleft">
 <a href="', $scripturl, '?action=stats"><img class="icon" src="', $settings['images_url'], '/icons/info.gif" alt="', $txt['forum_stats'], '" /></a>
 ', $txt['forum_stats'], '
 </span>
 </h4>
 </div>
 <p>
 ', $context['common_stats']['total_posts'], ' ', $txt['posts_made'], ' ', $txt['in'], ' ', $context['common_stats']['total_topics'], ' ', $txt['topics'], ' ', $txt['by'], ' ', $context['common_stats']['total_members'], ' ', $txt['members'], '. ', !empty($settings['show_latest_member']) ? $txt['latest_member'] . ': <strong> ' . $context['common_stats']['latest_member']['link'] . '</strong>' : '', '
 ', (!empty($context['latest_post']) ? $txt['latest_post'] . ': <strong>&quot;' . $context['latest_post']['link'] . '&quot;</strong>  ( ' . $context['latest_post']['time'] . ' )' : ''), '
 <a href="', $scripturl, '?action=recent">', $txt['recent_view'], '</a>', $context['show_stats'] ? '
 <a href="' . $scripturl . '?action=stats">' . $txt['more_stats'] . '</a>' : '', '
 </p>';
 }

 // "Users online" - in order of activity.
 echo '</div><div style="display: none;">
 <div class="title_barIC">
 <h4 class="titlebg">
 <span class="ie6_header floatleft">
 ', $context['show_who'] ? '<a href="' . $scripturl . '?action=who' . '">' : '', '<img class="icon" src="', $settings['images_url'], '/icons/online.gif', '" alt="', $txt['online_users'], '" />', $context['show_who'] ? '</a>' : '', '
 ', $txt['online_users'], '
 </span>
 </h4>
 </div>
 <p class="inline stats">
 ', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', comma_format($context['num_guests']), ' ', $context['num_guests'] == 1 ? $txt['guest'] : $txt['guests'], ', ' . comma_format($context['num_users_online']), ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users'];

 // Handle hidden users and buddies.
 $bracketList = array();
 if ($context['show_buddies'])
 $bracketList[] = comma_format($context['num_buddies']) . ' ' . ($context['num_buddies'] == 1 ? $txt['buddy'] : $txt['buddies']);
 if (!empty($context['num_spiders']))
 $bracketList[] = comma_format($context['num_spiders']) . ' ' . ($context['num_spiders'] == 1 ? $txt['spider'] : $txt['spiders']);
 if (!empty($context['num_users_hidden']))
 $bracketList[] = comma_format($context['num_users_hidden']) . ' ' . $txt['hidden'];

 if (!empty($bracketList))
 echo ' (' . implode(', ', $bracketList) . ')';

 echo $context['show_who'] ? '</a>' : '', '
 </p>
 <p class="inline 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 '
 ', sprintf($txt['users_active'], $modSettings['lastActive']), ':', implode(', ', $context['list_users_online']);

 // Showing membergroups?
 if (!empty($settings['show_group_key']) && !empty($context['membergroups']))
 echo '
 [' . implode(']&nbsp;&nbsp;[', $context['membergroups']) . ']';
 }

 echo '
 </p>
 <p class="last smalltext">
 ', $txt['most_online_today'], ': <strong>', comma_format($modSettings['mostOnlineToday']), '</strong>.
 ', $txt['most_online_ever'], ': ', comma_format($modSettings['mostOnline']), ' (', timeformat($modSettings['mostDate']), ')
 </p>';

 // If they are logged in, but statistical information is off... show a personal message bar.
 if ($context['user']['is_logged'] && !$settings['show_stats_index'])
 {
 echo '
 <div class="title_barIC">
 <h4 class="titlebg">
 <span class="ie6_header floatleft">
 ', $context['allow_pm'] ? '<a href="' . $scripturl . '?action=pm">' : '', '<img class="icon" src="', $settings['images_url'], '/message_sm.gif" alt="', $txt['personal_message'], '" />', $context['allow_pm'] ? '</a>' : '', '
 <span>', $txt['personal_message'], '</span>
 </span>
 </h4>
 </div>
 <p class="pminfo">
 <strong><a href="', $scripturl, '?action=pm">', $txt['personal_message'], '</a></strong>
 <span class="smalltext">
 ', $txt['you_have'], ' ', comma_format($context['user']['messages']), ' ', $context['user']['messages'] == 1 ? $txt['message_lowercase'] : $txt['msg_alert_messages'], '.... ', $txt['click'], ' <a href="', $scripturl, '?action=pm">', $txt['here'], '</a> ', $txt['to_view'], '
 </span>
 </p>';
 }

 echo '
 </div></div></div>
 </div></div>
 <span class="lowerframe"><span></span></span>';

 // Info center collapse object.
 echo '
 <script type="text/javascript"><!-- // --><![CDATA[
 var oInfoCenterToggle = new smc_Toggle({
 bToggleEnabled: true,
 bCurrentlyCollapsed: ', empty($options['collapse_header_ic']) ? 'false' : 'true', ',
 aSwappableContainers: [
 \'upshrinkHeaderIC\'
 ],
 aSwapImages: [
 {
 sId: \'upshrink_ic\',
 srcExpanded: smf_images_url   \'/collapse.gif\',
 altExpanded: ', JavaScriptEscape($txt['upshrink_description']), ',
 srcCollapsed: smf_images_url   \'/expand.gif\',
 altCollapsed: ', JavaScriptEscape($txt['upshrink_description']), '
 }
 ],
 oThemeOptions: {
 bUseThemeSettings: ', $context['user']['is_guest'] ? 'false' : 'true', ',
 sOptionName: \'collapse_header_ic\',
 sSessionVar: ', JavaScriptEscape($context['session_var']), ',
 sSessionId: ', JavaScriptEscape($context['session_id']), '
 },
 oCookieOptions: {
 bUseCookie: ', $context['user']['is_guest'] ? 'true' : 'false', ',
 sCookieName: \'upshrinkIC\'
 }
 });
 // ]]></script>';
}



  1. 632

  2. 251
denedim ama olmadı hata yok sadece göstermiyor :)

*

  1. 3,084

  2. 584

  3. 973
js dosyalarınızı doğru yere attınız mı



  1. 632

  2. 251

Bu istatistiği nasıl üste alabiliriz?

*

  1. 3,084

  2. 584

  3. 973
BoardIndex.template.php de bul
echo '
<div id="boardindex_table">

ilk mesajdaki verdiğimiz BoardIndex.template.php eklemen gereken kodları öncesine ekle


MENU ×