QUICK NEWS

{NEW} - A new css video is up.

{OLD} - New video courtesy of Skhilled, Thanks for posting it up.

Video of the moment:


Internal Links

SMF Sites

Quick Info

smf 2.1 in-sheet readings and responses

Started by replikacep, May 13, 2019, 05:30 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

replikacep

SMF 2.1 RC  FOR

NOTE: You need to have fontawesome on your site to get icon out


Display.template.php bul .:
// Are there any custom profile fields for below the signature?
 if (!empty($message['custom_fields']['below_signature']))
 {
 echo '
 <div class="custom_fields_below_signature">
 <ul class="nolist">';

 foreach ($message['custom_fields']['below_signature'] as $custom)
 echo '
 <li class="custom ', $custom['col_name'], '">', $custom['value'], '</li>';

 echo '
 </ul>
 </div>';
 }

 echo '
 </div><!-- .moderatorbar -->
 </div><!-- .post_wrapper -->
 </div><!-- $message[css_class] -->
 <hr class="post_separator">';
}

degiştir :

// Are there any custom profile fields for below the signature?
 if (!empty($message['custom_fields']['below_signature']))
 {
 echo '
 <div class="custom_fields_below_signature">
 <ul class="nolist">';

 foreach ($message['custom_fields']['below_signature'] as $custom)
 echo '
 <li class="custom ', $custom['col_name'], '">', $custom['value'], '</li>';

 echo '
 </ul>
 </div>';
 }
 if ($message['id'] == $context['topic_first_message'])
 {
 echo '
 <div class="post_styling">
 <ul>
   <li><span><i class="fas fa-chart-bar"></i><i style="padding-left: 5px;">', $txt['views'], '&nbsp;', $context['num_views'], '&nbsp;', '</i></span></li>
   <li><span><i class="fas fa-calendar-check"></i><i style="padding-left: 5px;">', $context['jump_to']['board_name'], '</i></span></li>
   <li><span><i class="fas fa-sms"></i><i style="padding-left: 5px;">',$context['num_replies'],'&nbsp;', $txt['replies'], '</i></span></li><br><br><hr></div>';
 
 }

 echo '
 
 </div><!-- .moderatorbar -->
 </div><!-- .post_wrapper -->
 </div><!-- $message[css_class] -->
 <hr class="post_separator">';
}

index.css ye   en  sona  ekle

div.post_styling > ul{margin:auto;padding:0;width: 100%; text-align: center;}
div.post_styling > ul > li{background:#f5f5f5 repeat-x left bottom;float:left;list-style:none;color:#334466;font-weight:bold;border:1px solid #AFB8BE;text-shadow:1px 1px #fff;margin-right:10px;border-radius:4px; width: auto;}
div.post_styling ul li span{display:block;height:20px;margin:5px; text-align: center;}
div.post_styling {margin-top: auto; margin-left: auto;padding: 4px; width: auto;}
i.fas.fa-chart-bar::before {content: "\f080";font-size: 18px;color: #195fad;}
i.fas.fa-sms::before {content: "\f7cd";font-size: 18px;color: #195fad;}
i.fas.fa-calendar-check::before {content: "\f274";font-size: 18px;color: #195fad;}





mobilde gizlemek için

bu :
/* Entry level phones */
@media (max-width: 480px) {
degiştir :
/* Entry level phones */
@media (max-width: 480px) {
 div.post_styling > ul{display: none;}
 div.post_styling > ul > li{display: none;}
div.post_styling ul li span{display: none;}
div.post_styling {display: none;}


You cannot view this attachment.

Bigguy

What does it say inside the box in the screenshot. :ques
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

lesmond

According to google translate
gösterim = presentation
yanit = response
 no translation for the middle one

The only person who got all his work done by Friday was Robinson Crusoe

Bigguy

Middle one looks like the name of a smart phone or something.
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

LandyVlad

I wonder if its from a script which identifies the device the user is logged in from (as opposed to, say, the IP)


It's pretty difficult when someone submits non English mod code with no English explanation.
Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Bigguy

Quote from: LandyVlad on May 14, 2019, 07:13 PMI wonder if its from a script which identifies the device the user is logged in from (as opposed to, say, the IP)
That might be it...
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

replikacep

shows the number of response and demonstration and the section title

Bigguy

Responses, views and title. ??
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

Skhilled

That's how I see it. Like views, likes, etc.