Üyeliğin hakkında sorunlar👨🏼‍🔧yaşıyorsanız bunu bizimle paylaşa bilirsiniz
Forum içeriğine ve tüm hizmetlerimize erişim sağlamak için foruma kayıt olmalı ya da giriş yapmalısınız.
  • Sitemiz Bir Webmaster forumu ve tartışma platformu dur webmaster forumu dışındaki konular yasaktır direkt silinecektir.
  • Our site is a Webmaster forum and discussion platform. Topics outside the webmaster forum are prohibited and will be deleted immediately.

Webtiryaki Anasayfa forum ve ileti adetleri

Welcome to our site, Guest

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

limeleon

Yeni Üye
Joined
Jun 10, 2021
Messages
8
Reaction score
0
Points
1
Age
1020
Merhabalar arkadaşlar webtiryaki forumundaki gibi ekteki resimde işaretlediğim kısmı nasıl yapabilirim , teşekkürler şimdiden
 

Attachments

  • Adsız.webp
    Adsız.webp
    10.4 KB · Views: 7
limeleon said:
Merhabalar arkadaşlar webtiryaki forumundaki gibi ekteki resimde işaretlediğim kısmı nasıl yapabilirim , teşekkürler şimdiden

Merhaba temayı kodlayan arkadaş uzun zamandır online değil geldiğinde paylaşır diye düşünüyorum genede smf forumlarından yârdim almayı deneyin?
 
Aslında resmî sitede 2.0 için benzer bir mod var, incelemek lazım. 2.1 için değiştirilebilir. Bilgisayar başına geçebilirsem bende bakarım.
 
limeleon said:
Merhabalar arkadaşlar webtiryaki forumundaki gibi ekteki resimde işaretlediğim kısmı nasıl yapabilirim , teşekkürler şimdiden

Merhaba ben size mantığını anlatayım kendinize göre editleyin

örnek BoardIndex.template.php

bu kodu bulun
Code:
/**
 * Outputs the board icon for a standard board.
 *
 * @param array $board Current board information.
 */
function template_bi_board_icon($board)
{
	global $context, $scripturl;

	echo '
		<a href="', ($context['user']['is_guest'] ? $board['href'] : $scripturl . '?action=unread;board=' . $board['id'] . '.0;children'), '" class="board_', $board['board_class'], '"', !empty($board['board_tooltip']) ? ' title="' . $board['board_tooltip'] . '"' : '', '></a>';
}

değiştirin

Code:
/**
 * Outputs the board stats for a standard board.
 *
 * @param array $board Current board information.
 */
function template_bi_board_stats($board)
{
	global $txt;

	echo '
		<dl class="pairs pairs--rows">
			<dt>', $txt['posts'], '</dt>
			<dd>', comma_format($board['posts']), '</dd>
        </dl>
		<dl class="pairs pairs--rows">
              <dt>', $txt['board_topics'], '</dt>
			 <dd>', comma_format($board['topics']), '</dd>
		 </dl>';
}

index.css dosyasına
bu kodlari ekleyin
Code:
.board_stats>dl.pairs.pairs--rows:first-child {
    padding-left: 0;
}
.board_stats>dl.pairs.pairs--rows {
    border-right: 1px solid #d9d9d9;
}
.board_stats>dl.pairs.pairs--rows {
    width: 50%;
    float: left;
    margin: 0;
    padding: 0 5px;
}

.board_stats .pairs {
    display: flex;
    flex-direction: column;
}
.board_stats>dl.pairs.pairs--rows:last-child {
    padding-right: 0;
    border-right: 0;
}
.board_stats dl.pairs:nth-child(1) dd:before {
    content: '\f086';
}
.board_stats dl.pairs:nth-child(2) dd:before {
    content: '\f27a';
}
.board_stats dl.pairs dd:before {
    font-family: 'Font Awesome 5 Free';
    font-size: inherit;
    font-style: normal;
    font-weight: 300;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-right: .5em;
    position: relative;
    font-size: 13px;
}
.pairs.pairs--rows>dt {
    display: table-row;
    font-size: 80%;
}
.pairs>dt {
    padding: 0;
    margin: 0;
}
 
orhan said:
limeleon said:
Merhabalar arkadaşlar webtiryaki forumundaki gibi ekteki resimde işaretlediğim kısmı nasıl yapabilirim , teşekkürler şimdiden

Merhaba ben size mantığını anlatayım kendinize göre editleyin

örnek BoardIndex.template.php

bu kodu bulun
Code:
/**
 * Outputs the board icon for a standard board.
 *
 * @param array $board Current board information.
 */
function template_bi_board_icon($board)
{
	global $context, $scripturl;

	echo '
		<a href="', ($context['user']['is_guest'] ? $board['href'] : $scripturl . '?action=unread;board=' . $board['id'] . '.0;children'), '" class="board_', $board['board_class'], '"', !empty($board['board_tooltip']) ? ' title="' . $board['board_tooltip'] . '"' : '', '></a>';
}

değiştirin

Code:
/**
 * Outputs the board stats for a standard board.
 *
 * @param array $board Current board information.
 */
function template_bi_board_stats($board)
{
	global $txt;

	echo '
		<dl class="pairs pairs--rows">
			<dt>', $txt['posts'], '</dt>
			<dd>', comma_format($board['posts']), '</dd>
        </dl>
		<dl class="pairs pairs--rows">
              <dt>', $txt['board_topics'], '</dt>
			 <dd>', comma_format($board['topics']), '</dd>
		 </dl>';
}

index.css dosyasına
bu kodlari ekleyin
Code:
.board_stats>dl.pairs.pairs--rows:first-child {
    padding-left: 0;
}
.board_stats>dl.pairs.pairs--rows {
    border-right: 1px solid #d9d9d9;
}
.board_stats>dl.pairs.pairs--rows {
    width: 50%;
    float: left;
    margin: 0;
    padding: 0 5px;
}

.board_stats .pairs {
    display: flex;
    flex-direction: column;
}
.board_stats>dl.pairs.pairs--rows:last-child {
    padding-right: 0;
    border-right: 0;
}
.board_stats dl.pairs:nth-child(1) dd:before {
    content: '\f086';
}
.board_stats dl.pairs:nth-child(2) dd:before {
    content: '\f27a';
}
.board_stats dl.pairs dd:before {
    font-family: 'Font Awesome 5 Free';
    font-size: inherit;
    font-style: normal;
    font-weight: 300;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-right: .5em;
    position: relative;
    font-size: 13px;
}
.pairs.pairs--rows>dt {
    display: table-row;
    font-size: 80%;
}
.pairs>dt {
    padding: 0;
    margin: 0;
}
çok teşekkür ederim orhan hocam
 
Back
Top Bottom