avatar_orhan

Endless [SMF 2.1 RC2] Responsive Theme

Başlatan orhan, Ksm 24, 2019, 03:59 ös

« önceki - sonraki »







DEMO

Light & Dark Templates
. One click Dark & Light Switch Template
. Font Awesome 5
. Bootstrap 4.3.1
. Jquery 3.3.1
Download
https://yadi.sk/d/FC1yygYDK3QfBg

çok başarılı tema olmuş elinize saglık

kardeşim emegine saglık cok güzel olmuş

Very nice and impressive theme! I've downloaded it and probably use this theme for my site in the near future!
Thank you!

I've installed this theme on my localhost with lastest SMF2.1 on Github. It shows error when viewing a topic:
AlıntıFatal error: Uncaught Error: Call to undefined function template_quickbuttons() in C:\Program Files\VertrigoServ\www\layphat\Themes\default\Display.template.php on line 865

I checked the problem and found the file index.template.php missing the "function template_quickbuttons()". So we need to add it to solve problem:

Edit index.template.php file
Find:
/**
 * The upper part of the maintenance warning box
 */
function template_maint_warning_above()
{

Add Before:
/**
 * Generate a list of quickbuttons.
 *
 * @param array $list_items An array with info for displaying the strip
 * @param string $list_class Used for integration hooks and as a class name
 */
function template_quickbuttons($list_items, $list_class = null, $output_method = 'echo')
{
 global $txt;

 // Enable manipulation with hooks
 if (!empty($list_class))
 call_integration_hook('integrate_' . $list_class . '_quickbuttons', array(&$list_items));

 // Make sure the list has at least one shown item
 foreach ($list_items as $key => $li)
 {
 // Is there a sublist, and does it have any shown items
 if ($key == 'more')
 {
 foreach ($li as $subkey => $subli)
 if (isset($subli['show']) && !$subli['show'])
 unset($list_items[$key][$subkey]);

 if (empty($list_items[$key]))
 unset($list_items[$key]);
 }
 // A normal list item
 elseif (isset($li['show']) && !$li['show'])
 unset($list_items[$key]);
 }

 // Now check if there are any items left
 if (empty($list_items))
 return;

 // Print the quickbuttons
 $output = '
 <ul class="quickbuttons' . (!empty($list_class) ? ' quickbuttons_' . $list_class : '') . '">';

 // This is used for a list item or a sublist item
 $list_item_format = function($li)
 {
 $html = '
 <li' . (!empty($li['class']) ? ' class="' . $li['class'] . '"' : '') . (!empty($li['id']) ? ' id="' . $li['id'] . '"' : '') . (!empty($li['custom']) ? $li['custom'] : '') . '>';

 if (isset($li['content']))
 $html .= $li['content'];
 else
 $html .= '
 <a' . (!empty($li['href']) ? ' href="' . $li['href'] . '"' : '') . (!empty($li['javascript']) ? $li['javascript'] : '') . '>
 ' . (!empty($li['icon']) ? '<span class="main_icons ' . $li['icon'] . '"></span>' : '') . (!empty($li['label']) ? $li['label'] : '') . '
 </a>';

 $html .= '
 </li>';

 return $html;
 };

 foreach ($list_items as $key => $li)
 {
 // Handle the sublist
 if ($key == 'more')
 {
 $output .= '
 <li class="post_options">' . $txt['post_options'] . '
 <ul>';

 foreach ($li as $subli)
 $output .= $list_item_format($subli);

 $output .= '
 </ul>
 </li>';
 }
 // Ordinary list item
 else
 $output .= $list_item_format($li);
 }

 $output .= '
 </ul><!-- .quickbuttons -->';

 // There are a few spots where the result needs to be returned
 if ($output_method == 'echo')
 echo $output;
 else
 return $output;
}

I'll test more on this theme! And thank to the design team, again!


bu temayı kuramıyorum hata alıyorum yardımcı olurmusunuz
The uploaded file exceeds the upload_max_filesize directive in php.ini.
hata bu

temayi localhost tami kuruyorsunuz tema uplot limitinin uzerindeymis init php yi düzenleyin diyor.

Alıntı yapılan: orhan - Şub 24, 2020, 09:12 öötemayi localhost tami kuruyorsunuz tema uplot limitinin uzerindeymis init php yi düzenleyin diyor.
hayır normal hosting kullanıyorum ve siteme yönetimden yüklerken alıyorum o hatayı

avatar_orhan Can you check the Endless theme to fix an error? I can't post new topic with this theme, it shows me a white page!
Thanks!

Hello, there is no problem with the theme, you can try it here.

You Can Use Demo as Registered User :
user:wt pass:1234

Demo