Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - replikacep

1
EhPortal Support / Re: Eh portal v1.24 proplem
February 09, 2019, 11:11:53 am
you need to update the portal over php 7.0
2
EhPortal Support / Re: Eh portal v1.24 proplem
February 06, 2019, 01:05:34 pm
http://21.sahibinibulal.tk/index.php?action=sitemap;xml

Error when the style file is loaded: An XSLT-Stylesheet parse error has occurred. 

sitemap does not work when you install portal mode.
3
EhPortal Support / Re: Eh portal v1.24 proplem
February 06, 2019, 07:55:33 am
Is there a mode update ?
4
EhPortal Support / Re: Eh portal v1.24 proplem
February 02, 2019, 10:03:51 am
only calendar and Blocks are broken in mibil.

take a good phone in your hand and see the site I think
5
EhPortal Support / Re: Eh portal v1.24 proplem
February 02, 2019, 09:59:36 am
Mobile celendar
6
EhPortal Support / Re: Eh portal v1.24 proplem
February 01, 2019, 01:25:56 pm
not mobile compatible
samsung s8 +
7
EhPortal Support / Eh portal v1.24 proplem
February 01, 2019, 01:22:53 pm
Mobile
8
General Code/Script Inquiries / Re: Eh portal
January 25, 2019, 07:40:44 am

My downloaded portal is incompatible with mobile
Can you give the portal to your site
9
General Code/Script Inquiries / Eh portal
January 25, 2019, 07:35:37 am
Could you give a portal to your site
10
Quote from: Chen Zhen on January 24, 2019, 10:56:55 am
Code Select
$x = 0;
foreach ($context['latest_posts'] as $post){
$x++;
if ($x > 4)
{break;}

was Thank you
11
total 4 no more
12
give me an example
13
smf 2.1

Number of recent posts to display on board index  :  how to do manual limit 4

I need to add a fixed limit of 4

need to work independently from the theme panel

Code Select
/**
 * This actually displays the board index
 */
function template_main()
{
 global $context, $txt, $scripturl, $memberContext;
echo '<div class="row text-center">';
 /* 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){
 $last_poster = $post['poster']['id'];
 if($last_poster!=0) {
 // Get The Avatar the easy Way
 loadMemberData($last_poster);
 loadMemberContext($last_poster);
 
 $ava = !empty($memberContext[$last_poster]['avatar']['image']) ? $memberContext[$last_poster]['avatar']['href'] : $settings['theme_url'].'/images/default_avatar.png';
 } else {
 $ava = $settings['theme_url'].'/images/default_avatar.png';
 }
 echo'
 <div class="col-xl-3 col-md-6 col-12">
 <div class="info-box">
 <div class="blog-meta">
 <span class="day">',timeformat($post['timestamp'], '%d'), '</span>
 <span class="month">',timeformat($post['timestamp'], '%b'), '</span>
     </div>
 <div class="title">
 <header class="entry-header">
   <h6 class="inverse-font">', $post['link'], '</h6>
 <div class="entry-meta">
 <span class="jp-views"><img class="avatar" src="', $ava, '" />&nbsp;-&nbsp;By&nbsp;', $post['poster']['link'], '</span>
 </div>
 </header>
 </div>
 <div class="content-post">
   <p>', $post['board']['link'], '</p>
 </div>
 </div>
 </div>';
 }
 echo'
 </div><!-- #recent_posts_content -->';


Option fixed 4 on the home page do not want to limit

NOD : I want to do this from the code.

see picture e : http://demo.replikacepsatis.com/index.php

see the following picture

sshot-1.png
14
EhPortal Support / Re: Eh Portal v1.23
November 24, 2018, 04:38:17 pm
Screenshot_20181125-003701_Samsung Internet.jpg
15
EhPortal Support / Re: Eh Portal v1.23
November 24, 2018, 04:34:56 pm
Burada sorunlu

Screenshot_20181125-003333_Samsung Internet.jpg