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 - Daniel

:
31
Support for SMF Tricks Themes & Mods / Re: Exodus Display
« on: August 14, 2015, 05:25:46 PM »
Display.template.php
Search:
Code: [Select]
if (!$message['member']['is_guest'])Replace with:
Code: [Select]
if (!empty($message['member']['is_guest']))

32
Free Themes / Exodus
« on: August 12, 2015, 05:36:18 PM »

33
Premium Themes / LOL for SMF 2.0
« on: August 09, 2015, 06:01:46 PM »


Theme by Daniiel. Designed by Raphisio



  • HTML5 & Bootstrap v3.3.4
  • FontAwesome v4.3.0
  • Responsive theme
  • Custom background
  • Custom copyright
  • Add your own links
  • Social icons
  • Avatar on boards, topics and recent post




http://smftricks.com/index.php?action=store;sa=view&id=16

34
Hello, sorry for not having replied before, here u have:
BoardIndex.template.php
Button on tab
Search:
Code: [Select]
<li role="presentation" class="active">
<a href="#users" aria-controls="users" role="tab" data-toggle="tab">
<i class="fa fa-users"></i>
<span>&nbsp;', $txt['online_users'], '</span>
</a>
</li>
Add after:
Code: [Select]
<li role="presentation" class="active">
<a href="#nameofthetab" aria-controls="nameofthetab" role="tab" data-toggle="tab">
<i class="fa fa-users"></i>
<span>&nbsp;', $txt['nameofthetab'], '</span>
</a>
</li>

You have to change nameofthetab for the name what you want, and fa-users for the icon, you can search icons here: http://fontawesome.io/icons/

Content
Search:
Code: [Select]
// 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 '
Add after:
Code: [Select]
<div class="tab-pane" id="nameofthetab" role="tabpanel">
The content here
</div>
You have to change nameofthetab, It must be equal to the button.
ThemeString.english.php (themes/Redsy/languages)
Add before ?>:
Code: [Select]
$txt['nameofthetab'] = 'Name of the tab';Change nameofthetab and "Name of the tab".

35
Premium Themes / Re: zGames
« on: July 19, 2015, 10:25:05 PM »
How come this theme is now for free?

I got it in that month of when you guys released it.

Isn't free, just that you bought it, now show that is free but is not.

36
Support for SMF Tricks Themes & Mods / Re: Redsy - how to log off??
« on: June 18, 2015, 05:16:44 PM »
Soon I will put some modifaciones on the theme, which will add that and other things.

37
If its this mod: http://custom.simplemachines.org/mods/?mod=346 , do this:
Display.template.php
Search:
Code: [Select]
// Show the member's gender icon?
if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '' && !isset($context['disabled_fields']['gender']))
echo '
<li class="gender">', $txt['gender'], ': ', $message['member']['gender']['image'], '</li>';
Add before:
Code: [Select]
//Start SMF Trader System
global $sourcedir;
include_once $sourcedir . '/Trader2.php';

GetTraderInformation($message['member']['id']);


$context['neturalcount'] = 0;
$context['pcount'] = 0;
$context['ncount'] = 0;
foreach($context['trader_mem_data'] as $row)
{
if ($row['salevalue'] == 0)
{
$context['pcount'] = $row['total'];
}
else if ($row['salevalue'] == 2)
{
$context['ncount'] = $row['total'];
}
else if ($row['salevalue'] == 1)
{
$context['neturalcount'] = $row['total'];
}

}



if ($modSettings['trader_use_pos_neg'])
$tradecount = ($context['pcount'] - $context['ncount']);
else
$tradecount = $context['pcount'] + $context['ncount'] + $context['neturalcount'];



// Show the trader info
echo '<li>
<b>' . $txt['smftrader_profile'] . ' </b>
(<a href="' . $scripturl .  '?action=trader&id=' . $message['member']['id'] . '">', $modSettings['trader_use_pos_neg'] ? ($tradecount > 0 ? '+' . $tradecount : $tradecount)  : $tradecount  , '</a>)</li>';

//END SMF Trader System


38
1 question
BoardIndex.template.php
Search:
Code: [Select]
// If the board or children is new, show an indicator.
if ($board['new'] || $board['children_new'])
echo '
<img src="', $settings['images_url'], '/', $context['theme_variant_url'], 'on', $board['new'] ? '' : '2', '.png" alt="', $txt['new_posts'], '" title="', $txt['new_posts'], '" />';
// Is it a redirection board?
elseif ($board['is_redirect'])
echo '
<img src="', $settings['images_url'], '/', $context['theme_variant_url'], 'redirect.png" alt="*" title="*" />';
// No new posts at all! The agony!!
else
echo '
<img src="', $settings['images_url'], '/', $context['theme_variant_url'], 'off.png" alt="', $txt['old_posts'], '" title="', $txt['old_posts'], '" />';
Replace with:
Code: [Select]
// If the board or children is new, show an indicator.
if ($board['new'] || $board['children_new'])
echo '
<i class="fa fa-comment fa-3x" style="color:#222;"></i>';
// Is it a redirection board?
elseif ($board['is_redirect'])
echo '
<i class="fa fa-chain fa-3x" style="color:#222;"></i>';
// No new posts at all! The agony!!
else
echo '
<i class="fa fa-comment fa-3x" style="color:#ddd;"></i>';
MessageIndex.template.php
Search:
Code: [Select]
// If the board or children is new, show an indicator.
if ($board['new'] || $board['children_new'])
echo '
<img src="', $settings['images_url'], '/' .$context['theme_variant_url'], 'on', $board['new'] ? '' : '2', '.png" alt="', $txt['new_posts'], '" title="', $txt['new_posts'], '" />';
// Is it a redirection board?
elseif ($board['is_redirect'])
echo '
<img src="', $settings['images_url'], '/' .$context['theme_variant_url'], 'redirect.png" alt="*" title="*" />';
// No new posts at all! The agony!!
else
echo '
<img src="', $settings['images_url'], '/' .$context['theme_variant_url'], 'off.png" alt="', $txt['old_posts'], '" title="', $txt['old_posts'], '" />';
Replace with:
Code: [Select]
// If the board or children is new, show an indicator.
if ($board['new'] || $board['children_new'])
echo '
<i class="fa fa-comment fa-3x" style="color:#222;"></i>';
// Is it a redirection board?
elseif ($board['is_redirect'])
echo '
<i class="fa fa-chain fa-3x" style="color:#222;"></i>';
// No new posts at all! The agony!!
else
echo '
<i class="fa fa-comment fa-3x" style="color:#ddd;"></i>';

2 question
What icons on posts you mean?

39
Free Themes / Re: Redsy
« on: June 18, 2015, 12:36:31 PM »
Hi all,

how do I change the font of Redsy theme?
The default font in Redsy does not show Slavic characters "čćžđš" correctly.
The fonts are distorted everywhere (menu text, post message, topic name etc) so I would like to change them everywhere.

SMF default theme font shows them correctly, so I would love to change it to the proper font setting.
See this: http://www.simplemachines.org/community/index.php?topic=535335.msg3803874#msg3803874

40
1. Board icons is programmed like theme reseller, just that when you have already installed modifications, you have to uninstall and reinstall to execute modifications to the theme or you can make changes manually looking for the parse of the mod. PD: Not for all mods, you have to do that. It depends if there changes in the theme.
2.  Do this:
Display.template.php
Search:
Code: [Select]
// Show the member's gender icon?
if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '' && !isset($context['disabled_fields']['gender']))
echo '
<li class="gender">', $txt['gender'], ': ', $message['member']['gender']['image'], '</li>';

Replace with:
Code: [Select]
// Begin SMFShop 2.3 (Build 11) code
echo '
<li>', $modSettings['shopCurrencyPrefix'], $message['member']['money'], $modSettings['shopCurrencySuffix'], '</li>
<li><a href="', $scripturl, '?action=shop;do=invother2;member=', $message['member']['username'], '">', $txt['shop_display_view_inventory'], '</a></li>
<li><a href="', $scripturl, '?action=shop;do=sendmoney;member=', $message['member']['username'], '">', $txt['shop_display_send_money'], ' ', $message['member']['name'], '</a></li>';
//END SMFShop code

// Show the member's gender icon?
if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '' && !isset($context['disabled_fields']['gender']))
echo '
<li class="gender">', $txt['gender'], ': ', $message['member']['gender']['image'], '</li>';

41
You have to undo the previous change. Do this:
Reseller.css
Search:
Code: [Select]
.nextlinks, .nextlinks_bottom{
margin-bottom: 15px;
}
Replace with:
Code: [Select]
.nextlinks, .nextlinks_bottom{
margin-bottom: 15px;overflow:hidden;
}
Add to the end:
Code: [Select]
.nextlinks a:last-of-type, .nextlinks_bottom a:last-of-type
{
float: right;
}

42
Sorry i forget this.
1 error
Reseller.css

Search:
Code: [Select]
.nextlinks_bottom{
clear: both !important;
}
Replace with:
Code: [Select]
.nextlinks_bottom{
clear: both !important;
padding-top: 15px;
}

a question
Reseller.css

Search:
Code: [Select]
.display-info
{
text-align: center;
overflow: hidden;
}
.display-info h1
{
font-size: 36px;
background: #E1E1E1;
border-radius: 5px;
border: 1px solid #CCC;
padding: 15px;
}
Replace with:
Code: [Select]
.display-info
{
overflow: hidden;
}
.display-info div
{
font-size: 36px;
text-align: center;
background: #3498db;
border-radius: 5px;
padding: 15px;
margin: 0 auto;
color: #FFF;
font-weight: bold;
display: table;
}
Display.template.php
Search:
Code: [Select]
<div class="display-info">
<h1>
', $context['subject'], '
</h1>
Replace with:
Code: [Select]
<div class="display-info">
<div>
', $context['subject'], '
</div>

Greetings!!

43
a) You mean something like this: http://prntscr.com/79skjl ?

b) Index.css
Search:
Code: [Select]
/* The navigation list (i.e. linktree) */
.navigate_section
{
padding: 0;
margin: 0 0 20px;
background: #FFF;
}
Replace with:
Code: [Select]
/* The navigation list (i.e. linktree) */
.navigate_section
{
padding: 0;
margin: 20px 0;

}
#crumbs {
padding: 7px 0px;
}

#crumbs ul {
list-style: none;
/*display: inline-table;*/
display: table-row;
}
#crumbs ul li {
display: inline;
}

#crumbs ul li a {
display: block;
float: left;
height: 12.5px;
background: #34495e;
text-align: center;
padding: 7.5px 10px 23px 20px;
position: relative;
margin: 0 1px 0 0;
font-size: 12px;
text-decoration: none;
color: #ecf0f1;
}

#crumbs ul li a:after {
content: ""; 
border-top: 15px solid transparent;
border-bottom: 15px solid transparent;
border-left: 10px solid #34495e;
position: absolute; right: -10px; top: 0;
z-index: 1;
}

#crumbs ul li a:before {
content: ""; 
border-top: 15px solid transparent;
border-bottom: 15px solid transparent;
border-left: 10px solid #d4f2ff;
position: absolute; left: 0; top: 0;
}

#crumbs ul li:first-child a {
border-top-left-radius: 7px;
border-bottom-left-radius: 7px;
}
#crumbs ul li:first-child a:before {
display: none;
}

#crumbs ul li:last-child a {
padding-right: 20px;
border-top-right-radius: 7px;
border-bottom-right-radius: 7px;
background-color: #8e44ad;
}
#crumbs ul li:last-child a:after {
display: none;
}

#crumbs ul li a:hover {
background: #3498db;
}
#crumbs ul li a:hover:after {
border-left-color: #3498db;
}
Index.template.php
Search:
Code: [Select]
// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree($force_show = false)
{
global $context, $settings, $options, $shown_linktree;

// If linktree is empty, just return - also allow an override.
if (empty($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))
return;

echo '
<div class="navigate_section">
<div class="container">
<div class="row">
<ol class="breadcrumb">';

// Each tree item has a URL and name. Some may have extra_before and extra_after.
foreach ($context['linktree'] as $link_num => $tree)
{
echo '
<li', ($link_num == count($context['linktree']) - 1) ? ' class="active"' : '', '>';

// Show something before the link?
if (isset($tree['extra_before']))
echo $tree['extra_before'];

// Show the link, including a URL if it should have one.
echo $settings['linktree_link'] && isset($tree['url']) ? '
<a href="' . $tree['url'] . '"><span>' . $tree['name'] . '</span></a>' : '<span>' . $tree['name'] . '</span>';

// Show something after the link...?
if (isset($tree['extra_after']))
echo $tree['extra_after'];

echo '
</li>';
}
echo '
</ol>
</div>
</div>
</div>';

$shown_linktree = true;
}
Replace with:
Code: [Select]
// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree($force_show = false)
{
global $context, $settings, $options, $shown_linktree;

// If linktree is empty, just return - also allow an override.
if (empty($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))
return;

echo '
<div class="container">
<div class="row">
<div class="navigate_section" id="crumbs">
<ul>';

// Each tree item has a URL and name. Some may have extra_before and extra_after.
foreach ($context['linktree'] as $link_num => $tree)
{
echo '
<li', ($link_num == count($context['linktree']) - 1) ? ' class="active"' : '', '>';

// Show something before the link?
if (isset($tree['extra_before']))
echo $tree['extra_before'];

// Show the link, including a URL if it should have one.
echo $settings['linktree_link'] && isset($tree['url']) ? '
<a href="' . $tree['url'] . '"><span>' . $tree['name'] . '</span></a>' : '<span>' . $tree['name'] . '</span>';

// Show something after the link...?
if (isset($tree['extra_after']))
echo $tree['extra_after'];

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

$shown_linktree = true;
}

44
BoardIndex.template.php
Search:
Code: [Select]
<li role="presentation">
<a href="#recent" aria-controls="recent" role="tab" data-toggle="tab">
Replace with:
Code: [Select]
<li role="presentation" class="active">
<a href="#recent" aria-controls="recent" role="tab" data-toggle="tab">
Search:
Code: [Select]
<li role="presentation" class="active">
<a href="#users" aria-controls="users" role="tab" data-toggle="tab">
Replace with:
Code: [Select]
<li role="presentation">
<a href="#users" aria-controls="users" role="tab" data-toggle="tab">
Search:
Code: [Select]
<div class="hslice tab-pane" id="recent" role="tabpanel">Replace with:
Code: [Select]
<div class="hslice tab-pane active" id="recent" role="tabpanel">Search:
Code: [Select]
<div class="tab-pane active" id="users" role="tabpanel">Replace with:
Code: [Select]
<div class="tab-pane" id="users" role="tabpanel">

45
BoardIndex.template.php (Themes/Redsy)
Search:
Code: [Select]
<div class="hslice tab-pane" id="recent_posts_content recent" role="tabpanel">Replace with:
Code: [Select]
<div class="hslice tab-pane" id="recent" role="tabpanel">

: