Advertisement:

Author Topic: Reseller  (Read 194943 times)

Offline Mstcool

  • Sr. Member
  • ****
  • Posts: 912
Re: Reseller
« Reply #60 on: August 21, 2014, 05:29:55 PM »
Why would you post that in a thread for theme support?

But to answer your question

You can try using BBC as well. What is the code that they provided to you?

Offline ChezTweedy

  • Newbie
  • *
  • Posts: 8
Re: Reseller
« Reply #61 on: August 23, 2014, 09:45:49 AM »
They provide to me these codes

<head>

<link rel="stylesheet" href="//releases.flowplayer.org/5.4.6/skin/minimalist.css" >
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="//releases.flowplayer.org/5.4.6/flowplayer.min.js"></script>


<body>

<div class="flowplayer" data-rtmp="rtmp://rtmp.flowplayer.org/cfx/st/" data-ratio="0.5625">
  <video>
    <source type="video/webm" src="hxxp:drive.flowplayer.org/193586/27095-CosyBoxFashionOneTVwithRollingStones2012CannesFIFYouTube720p.webm [nonactive]">
    <source type="video/mp4" src="hxxp:drive.flowplayer.org/193586/27095-CosyBoxFashionOneTVwithRollingStones2012CannesFIFYouTube720p.mp4 [nonactive]">
    <source type="video/flash" src="mp4:193586/27095-CosyBoxFashionOneTVwithRollingStones2012CannesFIFYouTube720p.mp4">
  </video>
</div>

Offline exabyte

  • Newbie
  • *
  • Posts: 6
Re: Reseller
« Reply #62 on: August 23, 2014, 11:15:58 AM »

hi daniiel,
First off, I want to congratulate(fuk i hope i spelled that right lmao) on a great theme. one of the best I've seen on any forum. I'm using it on my forum rn, and I was wondering how to have the avatar and user info next to the post, like it is on here.

Offline Jade Elizabeth

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,647
  • Gender: Female
  • Keep your enemies close and your friends closer ;)
    • jadetrainor on LinkedIn
    • @alundra on Twitter
    • Jades-World
Re: Reseller
« Reply #63 on: August 23, 2014, 11:36:45 PM »
THANK YOU so much for this theme, it is absolutely fantastic!!

I just have one request. I don't like having to click 100 times for replying to posts. Can the actions button by posts have a quote button beside it please? I think that would be easier for people to reply to posts with :).

Also in admin, packages, some of the text for other themes are white on white bars. And the little clicky things to get info on errors on install are not there so I can't find where the script breaks....EDIT: okay they are if I expand my screen a bit but they're scaling....they don't need to scale :/.
« Last Edit: August 24, 2014, 12:58:15 AM by Jade Elizabeth »
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Offline Daniiel

  • Semi-Newbie
  • *
  • Posts: 78
  • Gender: Male
    • SMFTricks on GitHub
    • SMFTricks
Re: Reseller
« Reply #64 on: August 25, 2014, 04:42:47 PM »
hi daniiel,
First off, I want to congratulate(fuk i hope i spelled that right lmao) on a great theme. one of the best I've seen on any forum. I'm using it on my forum rn, and I was wondering how to have the avatar and user info next to the post, like it is on here.
If you want to display as the default theme, you just have to grab the file and replace Display.template.php which brings the theme reseller.

THANK YOU so much for this theme, it is absolutely fantastic!!

I just have one request. I don't like having to click 100 times for replying to posts. Can the actions button by posts have a quote button beside it please? I think that would be easier for people to reply to posts with :).

Also in admin, packages, some of the text for other themes are white on white bars. And the little clicky things to get info on errors on install are not there so I can't find where the script breaks....EDIT: okay they are if I expand my screen a bit but they're scaling....they don't need to scale :/.
Index.template.php (Themes/Reseller)
Search:
Code: [Select]
// Generate a strip of buttons.
function template_button_strip($button_strip, $direction = 'top', $strip_options = array())
{
global $settings, $context, $txt, $scripturl;

if (!is_array($strip_options))
$strip_options = array();

// List the buttons in reverse order for RTL languages.
if ($context['right_to_left'])
$button_strip = array_reverse($button_strip, true);

// Create the buttons...
$buttons = array();
foreach ($button_strip as $key => $value)
{
if (!isset($value['test']) || !empty($context[$value['test']]))
$buttons[] = '
<li><a' . (isset($value['id']) ? ' id="button_strip_' . $value['id'] . '"' : '') . ' class="button_strip_' . $key . (isset($value['active']) ? ' active' : '') . '" href="' . $value['url'] . '"' . (isset($value['custom']) ? ' ' . $value['custom'] : '') . '><span>' . $txt[$value['text']] . '</span></a></li>';
}

// No buttons? No button strip either.
if (empty($buttons))
return;

// Make the last one, as easy as possible.
$buttons[count($buttons) - 1] = str_replace('<span>', '<span class="last">', $buttons[count($buttons) - 1]);

echo '
<div class="btn-group', !empty($direction) ? ' navbar-' . $direction : '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($strip_options['id']) ? ' id="' . $strip_options['id'] . '"': ''), '>
<button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown">
    Actions <span class="caret"></span>
  </button>
<ul class="dropdown-menu" role="menu">',
implode('', $buttons), '
</ul>
</div>';
}
Replace for:
Code: [Select]
// Generate a strip of buttons.
function template_button_strip($button_strip, $direction = 'top', $strip_options = array())
{
global $settings, $context, $txt, $scripturl;

if (!is_array($strip_options))
$strip_options = array();

// List the buttons in reverse order for RTL languages.
if ($context['right_to_left'])
$button_strip = array_reverse($button_strip, true);

// Create the buttons...
$buttons = array();
foreach ($button_strip as $key => $value)
{
if (!isset($value['test']) || !empty($context[$value['test']]))
$buttons[] = '
<li><a' . (isset($value['id']) ? ' id="button_strip_' . $value['id'] . '"' : '') . ' class="button_strip_' . $key . (isset($value['active']) ? ' active' : '') . '" href="' . $value['url'] . '"' . (isset($value['custom']) ? ' ' . $value['custom'] : '') . '><span>' . $txt[$value['text']] . '</span></a></li>';
}

// No buttons? No button strip either.
if (empty($buttons))
return;

// Make the last one, as easy as possible.
$buttons[count($buttons) - 1] = str_replace('<span>', '<span class="last">', $buttons[count($buttons) - 1]);

echo '
<div class="buttonlist', !empty($direction) ? ' float' . $direction : '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($strip_options['id']) ? ' id="' . $strip_options['id'] . '"': ''), '>
<ul>',
implode('', $buttons), '
</ul>
</div>';
}
Display.template.php (Themes/Reseller)
Search:
Code: [Select]
<div class="postarea">';

// If this is the first post, (#0) just say when it was posted - otherwise give the reply #.
if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'])
echo '
<div class="btn-group navbar-right">
<button type="button" class="btn btn-primary dropdown-toggle btn-sm" data-toggle="dropdown">Actions <span class="caret"></span></button>
<ul class="dropdown-menu" role="menu"">';

// Maybe we can approve it, maybe we should?
if ($message['can_approve'])
echo '
<li class="approve_button"><a href="', $scripturl, '?action=moderate;area=postmod;sa=approve;topic=', $context['current_topic'], '.', $context['start'], ';msg=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $txt['approve'], '</a></li>';

// Can they reply? Have they turned on quick reply?
if ($context['can_quote'] && !empty($options['display_quick_reply']))
echo '
<li class="quote_button"><a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';last_msg=', $context['topic_last_message'], '" onclick="return oQuickReply.quote(', $message['id'], ');">', $txt['quote'], '</a></li>';

// So... quick reply is off, but they *can* reply?
elseif ($context['can_quote'])
echo '
<li class="quote_button"><a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';last_msg=', $context['topic_last_message'], '">', $txt['quote'], '</a></li>';

// Can the user modify the contents of this post?
if ($message['can_modify'])
echo '
<li class="modify_button"><a href="', $scripturl, '?action=post;msg=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], '">', $txt['modify'], '</a></li>';

// How about... even... remove it entirely?!
if ($message['can_remove'])
echo '
<li class="remove_button"><a href="', $scripturl, '?action=deletemsg;topic=', $context['current_topic'], '.', $context['start'], ';msg=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '" onclick="return confirm(\'', $txt['remove_message'], '?\');">', $txt['remove'], '</a></li>';

// What about splitting it off the rest of the topic?
if ($context['can_split'] && !empty($context['real_num_replies']))
echo '
<li class="split_button"><a href="', $scripturl, '?action=splittopics;topic=', $context['current_topic'], '.0;at=', $message['id'], '">', $txt['split'], '</a></li>';

// Can we restore topics?
if ($context['can_restore_msg'])
echo '
<li class="restore_button"><a href="', $scripturl, '?action=restoretopic;msgs=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $txt['restore_message'], '</a></li>';

if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'])
echo '
</ul>
</div>
<ul class="reset floatright" style="margin: 5px 15px 0 7px;">';

// Show a checkbox for quick moderation?
if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && $message['can_remove'])
echo '
<li class="inline_mod_check" style="display: none;" id="in_topic_mod_check_', $message['id'], '"></li>';

echo'
</ul>
<div class="keyinfo">
<div class="messageicon">
<img src="', $message['icon_url'] . '" alt=""', $message['can_modify'] ? ' id="msg_icon_' . $message['id'] . '"' : '', ' />
</div>
<h5 id="subject_', $message['id'], '">
<a href="', $message['href'], '" rel="nofollow">', $message['subject'], '</a>
</h5>
<div class="smalltext">&#171; <strong>', !empty($message['counter']) ? $txt['reply_noun'] . ' #' . $message['counter'] : '', ' ', $txt['on'], ':</strong> ', $message['time'], ' &#187;</div>
<div id="msg_', $message['id'], '_quick_mod"></div>
</div>';
Replace for:
Code: [Select]
<div class="postarea">
<div class="flow_hidden">
<div class="keyinfo">
<div class="messageicon">
<img src="', $message['icon_url'] . '" alt=""', $message['can_modify'] ? ' id="msg_icon_' . $message['id'] . '"' : '', ' />
</div>
<h5 id="subject_', $message['id'], '">
<a href="', $message['href'], '" rel="nofollow">', $message['subject'], '</a>
</h5>
<div class="smalltext">&#171; <strong>', !empty($message['counter']) ? $txt['reply_noun'] . ' #' . $message['counter'] : '', ' ', $txt['on'], ':</strong> ', $message['time'], ' &#187;</div>
<div id="msg_', $message['id'], '_quick_mod"></div>
</div>';

// If this is the first post, (#0) just say when it was posted - otherwise give the reply #.
if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'])
echo '
<ul class="reset smalltext quickbuttons">';

// Maybe we can approve it, maybe we should?
if ($message['can_approve'])
echo '
<li class="approve_button"><a href="', $scripturl, '?action=moderate;area=postmod;sa=approve;topic=', $context['current_topic'], '.', $context['start'], ';msg=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $txt['approve'], '</a></li>';

// Can they reply? Have they turned on quick reply?
if ($context['can_quote'] && !empty($options['display_quick_reply']))
echo '
<li class="quote_button"><a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';last_msg=', $context['topic_last_message'], '" onclick="return oQuickReply.quote(', $message['id'], ');">', $txt['quote'], '</a></li>';

// So... quick reply is off, but they *can* reply?
elseif ($context['can_quote'])
echo '
<li class="quote_button"><a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';last_msg=', $context['topic_last_message'], '">', $txt['quote'], '</a></li>';

// Can the user modify the contents of this post?
if ($message['can_modify'])
echo '
<li class="modify_button"><a href="', $scripturl, '?action=post;msg=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], '">', $txt['modify'], '</a></li>';

// How about... even... remove it entirely?!
if ($message['can_remove'])
echo '
<li class="remove_button"><a href="', $scripturl, '?action=deletemsg;topic=', $context['current_topic'], '.', $context['start'], ';msg=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '" onclick="return confirm(\'', $txt['remove_message'], '?\');">', $txt['remove'], '</a></li>';

// What about splitting it off the rest of the topic?
if ($context['can_split'] && !empty($context['real_num_replies']))
echo '
<li class="split_button"><a href="', $scripturl, '?action=splittopics;topic=', $context['current_topic'], '.0;at=', $message['id'], '">', $txt['split'], '</a></li>';

// Can we restore topics?
if ($context['can_restore_msg'])
echo '
<li class="restore_button"><a href="', $scripturl, '?action=restoretopic;msgs=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $txt['restore_message'], '</a></li>';

// Show a checkbox for quick moderation?
if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && $message['can_remove'])
echo '
<li class="inline_mod_check" style="display: none;" id="in_topic_mod_check_', $message['id'], '"></li>';

if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'])
echo '
</ul>';

echo '
</div>';

For the white bars, do this:
Index.css
Search:
Code: [Select]
.titlebg, .titlebg2, tr.titlebg th, tr.titlebg td, tr.titlebg2 td,
.catbg, .catbg2, tr.catbg td, tr.catbg2 td, tr.catbg th, tr.catbg2 th
{
color: #fff;
font-size: 1em;
background: #27ae60;
font-weight: normal;
}
Replace with:
Code: [Select]
.titlebg, .titlebg2, tr.titlebg th, tr.titlebg td, tr.titlebg2 td
{
color: #fff;
font-size: 1em;
background: #27ae60 !important;
font-weight: normal;
}
.catbg, .catbg2, tr.catbg td, tr.catbg2 td, tr.catbg th, tr.catbg2 th
{
color: #fff;
font-size: 1em;
background: #34495e !important;
font-weight: normal;
}

Search:
Code: [Select]
div.title_barIC h4.titlebg
{
background: #2ecc71;
}

Replace with:
Code: [Select]
div.title_barIC h4.titlebg
{
background: #2ecc71 !important;
}

Offline -Captain Ghost-

  • Jr. Member
  • **
  • Posts: 110
  • Gender: Male
Re: Reseller
« Reply #65 on: August 25, 2014, 10:34:37 PM »
Hello daniiel

Once again i want to request you one thing that can you implement this Link in this theme.

Thanks

Offline exabyte

  • Newbie
  • *
  • Posts: 6
Re: Reseller
« Reply #66 on: August 27, 2014, 12:12:50 AM »
hi daniiel,
First off, I want to congratulate(fuk i hope i spelled that right lmao) on a great theme. one of the best I've seen on any forum. I'm using it on my forum rn, and I was wondering how to have the avatar and user info next to the post, like it is on here.
If you want to display as the default theme, you just have to grab the file and replace Display.template.php which brings the theme reseller.

THANK YOU so much for this theme, it is absolutely fantastic!!

I just have one request. I don't like having to click 100 times for replying to posts. Can the actions button by posts have a quote button beside it please? I think that would be easier for people to reply to posts with :).

Also in admin, packages, some of the text for other themes are white on white bars. And the little clicky things to get info on errors on install are not there so I can't find where the script breaks....EDIT: okay they are if I expand my screen a bit but they're scaling....they don't need to scale :/.
Index.template.php (Themes/Reseller)
Search:
Code: [Select]
// Generate a strip of buttons.
function template_button_strip($button_strip, $direction = 'top', $strip_options = array())
{
global $settings, $context, $txt, $scripturl;

if (!is_array($strip_options))
$strip_options = array();

// List the buttons in reverse order for RTL languages.
if ($context['right_to_left'])
$button_strip = array_reverse($button_strip, true);

// Create the buttons...
$buttons = array();
foreach ($button_strip as $key => $value)
{
if (!isset($value['test']) || !empty($context[$value['test']]))
$buttons[] = '
<li><a' . (isset($value['id']) ? ' id="button_strip_' . $value['id'] . '"' : '') . ' class="button_strip_' . $key . (isset($value['active']) ? ' active' : '') . '" href="' . $value['url'] . '"' . (isset($value['custom']) ? ' ' . $value['custom'] : '') . '><span>' . $txt[$value['text']] . '</span></a></li>';
}

// No buttons? No button strip either.
if (empty($buttons))
return;

// Make the last one, as easy as possible.
$buttons[count($buttons) - 1] = str_replace('<span>', '<span class="last">', $buttons[count($buttons) - 1]);

echo '
<div class="btn-group', !empty($direction) ? ' navbar-' . $direction : '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($strip_options['id']) ? ' id="' . $strip_options['id'] . '"': ''), '>
<button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown">
    Actions <span class="caret"></span>
  </button>
<ul class="dropdown-menu" role="menu">',
implode('', $buttons), '
</ul>
</div>';
}
Replace for:
Code: [Select]
// Generate a strip of buttons.
function template_button_strip($button_strip, $direction = 'top', $strip_options = array())
{
global $settings, $context, $txt, $scripturl;

if (!is_array($strip_options))
$strip_options = array();

// List the buttons in reverse order for RTL languages.
if ($context['right_to_left'])
$button_strip = array_reverse($button_strip, true);

// Create the buttons...
$buttons = array();
foreach ($button_strip as $key => $value)
{
if (!isset($value['test']) || !empty($context[$value['test']]))
$buttons[] = '
<li><a' . (isset($value['id']) ? ' id="button_strip_' . $value['id'] . '"' : '') . ' class="button_strip_' . $key . (isset($value['active']) ? ' active' : '') . '" href="' . $value['url'] . '"' . (isset($value['custom']) ? ' ' . $value['custom'] : '') . '><span>' . $txt[$value['text']] . '</span></a></li>';
}

// No buttons? No button strip either.
if (empty($buttons))
return;

// Make the last one, as easy as possible.
$buttons[count($buttons) - 1] = str_replace('<span>', '<span class="last">', $buttons[count($buttons) - 1]);

echo '
<div class="buttonlist', !empty($direction) ? ' float' . $direction : '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($strip_options['id']) ? ' id="' . $strip_options['id'] . '"': ''), '>
<ul>',
implode('', $buttons), '
</ul>
</div>';
}
Display.template.php (Themes/Reseller)
Search:
Code: [Select]
<div class="postarea">';

// If this is the first post, (#0) just say when it was posted - otherwise give the reply #.
if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'])
echo '
<div class="btn-group navbar-right">
<button type="button" class="btn btn-primary dropdown-toggle btn-sm" data-toggle="dropdown">Actions <span class="caret"></span></button>
<ul class="dropdown-menu" role="menu"">';

// Maybe we can approve it, maybe we should?
if ($message['can_approve'])
echo '
<li class="approve_button"><a href="', $scripturl, '?action=moderate;area=postmod;sa=approve;topic=', $context['current_topic'], '.', $context['start'], ';msg=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $txt['approve'], '</a></li>';

// Can they reply? Have they turned on quick reply?
if ($context['can_quote'] && !empty($options['display_quick_reply']))
echo '
<li class="quote_button"><a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';last_msg=', $context['topic_last_message'], '" onclick="return oQuickReply.quote(', $message['id'], ');">', $txt['quote'], '</a></li>';

// So... quick reply is off, but they *can* reply?
elseif ($context['can_quote'])
echo '
<li class="quote_button"><a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';last_msg=', $context['topic_last_message'], '">', $txt['quote'], '</a></li>';

// Can the user modify the contents of this post?
if ($message['can_modify'])
echo '
<li class="modify_button"><a href="', $scripturl, '?action=post;msg=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], '">', $txt['modify'], '</a></li>';

// How about... even... remove it entirely?!
if ($message['can_remove'])
echo '
<li class="remove_button"><a href="', $scripturl, '?action=deletemsg;topic=', $context['current_topic'], '.', $context['start'], ';msg=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '" onclick="return confirm(\'', $txt['remove_message'], '?\');">', $txt['remove'], '</a></li>';

// What about splitting it off the rest of the topic?
if ($context['can_split'] && !empty($context['real_num_replies']))
echo '
<li class="split_button"><a href="', $scripturl, '?action=splittopics;topic=', $context['current_topic'], '.0;at=', $message['id'], '">', $txt['split'], '</a></li>';

// Can we restore topics?
if ($context['can_restore_msg'])
echo '
<li class="restore_button"><a href="', $scripturl, '?action=restoretopic;msgs=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $txt['restore_message'], '</a></li>';

if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'])
echo '
</ul>
</div>
<ul class="reset floatright" style="margin: 5px 15px 0 7px;">';

// Show a checkbox for quick moderation?
if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && $message['can_remove'])
echo '
<li class="inline_mod_check" style="display: none;" id="in_topic_mod_check_', $message['id'], '"></li>';

echo'
</ul>
<div class="keyinfo">
<div class="messageicon">
<img src="', $message['icon_url'] . '" alt=""', $message['can_modify'] ? ' id="msg_icon_' . $message['id'] . '"' : '', ' />
</div>
<h5 id="subject_', $message['id'], '">
<a href="', $message['href'], '" rel="nofollow">', $message['subject'], '</a>
</h5>
<div class="smalltext">&#171; <strong>', !empty($message['counter']) ? $txt['reply_noun'] . ' #' . $message['counter'] : '', ' ', $txt['on'], ':</strong> ', $message['time'], ' &#187;</div>
<div id="msg_', $message['id'], '_quick_mod"></div>
</div>';
Replace for:
Code: [Select]
<div class="postarea">
<div class="flow_hidden">
<div class="keyinfo">
<div class="messageicon">
<img src="', $message['icon_url'] . '" alt=""', $message['can_modify'] ? ' id="msg_icon_' . $message['id'] . '"' : '', ' />
</div>
<h5 id="subject_', $message['id'], '">
<a href="', $message['href'], '" rel="nofollow">', $message['subject'], '</a>
</h5>
<div class="smalltext">&#171; <strong>', !empty($message['counter']) ? $txt['reply_noun'] . ' #' . $message['counter'] : '', ' ', $txt['on'], ':</strong> ', $message['time'], ' &#187;</div>
<div id="msg_', $message['id'], '_quick_mod"></div>
</div>';

// If this is the first post, (#0) just say when it was posted - otherwise give the reply #.
if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'])
echo '
<ul class="reset smalltext quickbuttons">';

// Maybe we can approve it, maybe we should?
if ($message['can_approve'])
echo '
<li class="approve_button"><a href="', $scripturl, '?action=moderate;area=postmod;sa=approve;topic=', $context['current_topic'], '.', $context['start'], ';msg=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $txt['approve'], '</a></li>';

// Can they reply? Have they turned on quick reply?
if ($context['can_quote'] && !empty($options['display_quick_reply']))
echo '
<li class="quote_button"><a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';last_msg=', $context['topic_last_message'], '" onclick="return oQuickReply.quote(', $message['id'], ');">', $txt['quote'], '</a></li>';

// So... quick reply is off, but they *can* reply?
elseif ($context['can_quote'])
echo '
<li class="quote_button"><a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';last_msg=', $context['topic_last_message'], '">', $txt['quote'], '</a></li>';

// Can the user modify the contents of this post?
if ($message['can_modify'])
echo '
<li class="modify_button"><a href="', $scripturl, '?action=post;msg=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], '">', $txt['modify'], '</a></li>';

// How about... even... remove it entirely?!
if ($message['can_remove'])
echo '
<li class="remove_button"><a href="', $scripturl, '?action=deletemsg;topic=', $context['current_topic'], '.', $context['start'], ';msg=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '" onclick="return confirm(\'', $txt['remove_message'], '?\');">', $txt['remove'], '</a></li>';

// What about splitting it off the rest of the topic?
if ($context['can_split'] && !empty($context['real_num_replies']))
echo '
<li class="split_button"><a href="', $scripturl, '?action=splittopics;topic=', $context['current_topic'], '.0;at=', $message['id'], '">', $txt['split'], '</a></li>';

// Can we restore topics?
if ($context['can_restore_msg'])
echo '
<li class="restore_button"><a href="', $scripturl, '?action=restoretopic;msgs=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $txt['restore_message'], '</a></li>';

// Show a checkbox for quick moderation?
if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && $message['can_remove'])
echo '
<li class="inline_mod_check" style="display: none;" id="in_topic_mod_check_', $message['id'], '"></li>';

if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'])
echo '
</ul>';

echo '
</div>';

For the white bars, do this:
Index.css
Search:
Code: [Select]
.titlebg, .titlebg2, tr.titlebg th, tr.titlebg td, tr.titlebg2 td,
.catbg, .catbg2, tr.catbg td, tr.catbg2 td, tr.catbg th, tr.catbg2 th
{
color: #fff;
font-size: 1em;
background: #27ae60;
font-weight: normal;
}
Replace with:
Code: [Select]
.titlebg, .titlebg2, tr.titlebg th, tr.titlebg td, tr.titlebg2 td
{
color: #fff;
font-size: 1em;
background: #27ae60 !important;
font-weight: normal;
}
.catbg, .catbg2, tr.catbg td, tr.catbg2 td, tr.catbg th, tr.catbg2 th
{
color: #fff;
font-size: 1em;
background: #34495e !important;
font-weight: normal;
}

Search:
Code: [Select]
div.title_barIC h4.titlebg
{
background: #2ecc71;
}

Replace with:
Code: [Select]
div.title_barIC h4.titlebg
{
background: #2ecc71 !important;
}
sorry i meant on mobile lol
lke on mbile, the avatar is above the post

Offline OCJ

  • Full Member
  • ***
  • Posts: 491
  • Gender: Male
Re: Reseller (Portal 'Home' link not work using Menu Editor mod)
« Reply #67 on: August 31, 2014, 09:46:48 AM »
If using the Menu Editor mod to add or change links then Reseller doesn't make the 'Home' link for Simple Portal active.

Same problem using the drop down menu for small screens.



« Last Edit: August 31, 2014, 10:24:06 AM by igirisjin »

Offline Jade Elizabeth

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,647
  • Gender: Female
  • Keep your enemies close and your friends closer ;)
    • jadetrainor on LinkedIn
    • @alundra on Twitter
    • Jades-World
Re: Reseller
« Reply #68 on: September 01, 2014, 10:23:36 AM »
Thank you SO MUCH Daniiel!! :D

Can I ask if quick editing posts works for you? It's not saving for me. If it's not your theme I will look into my mods. I can't imagine what broke it!
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Offline Daniiel

  • Semi-Newbie
  • *
  • Posts: 78
  • Gender: Male
    • SMFTricks on GitHub
    • SMFTricks
Re: Reseller
« Reply #69 on: September 01, 2014, 08:20:12 PM »
Hello daniiel

Once again i want to request you one thing that can you implement this Link in this theme.

Thanks
Well, try what you say but could not. When I have a little more time I'll try again.

Quote
sorry i meant on mobile lol
lke on mbile, the avatar is above the post
But it should not be? Well whatever, attach the file display.template.php

Thank you SO MUCH Daniiel!! :D

Can I ask if quick editing posts works for you? It's not saving for me. If it's not your theme I will look into my mods. I can't imagine what broke it!
It works for me.

Greetings!
PD: igirisjin I owe you, then I will help you.

Offline signaleleven

  • Newbie
  • *
  • Posts: 5
Re: Reseller
« Reply #70 on: September 03, 2014, 11:15:07 AM »
Hello Daniiel!
Great job! I tested it today. I think I have to try some of the tweaks listed on this thread, and add a few modifications specific to our usage, but it looks really promising!
The "mobile" version is still a bit weird for me, I'll try the tweaks and perhaps post questions here in the future.

In the mean time, have you thought about putting the theme on github? It would be easier to propose bugfixes.

Offline -Captain Ghost-

  • Jr. Member
  • **
  • Posts: 110
  • Gender: Male
Re: Reseller
« Reply #71 on: September 04, 2014, 02:58:58 AM »
Hello Daniiel

Can you do something to resize avatars

Thanks

Offline lifeguard81

  • Jr. Member
  • **
  • Posts: 112
Re: Reseller
« Reply #72 on: September 11, 2014, 12:42:05 PM »
Hello Daniiel

Can you do something to resize avatars

Thanks
I also like this
Avatars are way to big  :)
www.doenwenu.nl
Excuse me for my english. i am from holland :)

Offline swaggaderby

  • Jr. Member
  • **
  • Posts: 129
Re: Reseller
« Reply #73 on: September 17, 2014, 01:44:05 PM »
PLEASe i wish to change the blue background where Reseller is written?please help

Offline Daniiel

  • Semi-Newbie
  • *
  • Posts: 78
  • Gender: Male
    • SMFTricks on GitHub
    • SMFTricks
Re: Reseller
« Reply #74 on: September 18, 2014, 08:14:40 PM »
For the people who said that the avatar is too big, do this:
Index.css
Search and delete:
Code: [Select]
.poster li.avatar img
{
width: 100%;
}

PLEASe i wish to change the blue background where Reseller is written?please help
Search in Reseller.css:
Code: [Select]
header
{
background: #3498db;
box-shadow: 0 -3px #9fc6e0 inset;
padding: 20px 0;
}
And change #3498db for the color what you want.

Offline Jade Elizabeth

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,647
  • Gender: Female
  • Keep your enemies close and your friends closer ;)
    • jadetrainor on LinkedIn
    • @alundra on Twitter
    • Jades-World
Re: Reseller
« Reply #75 on: September 21, 2014, 01:45:31 AM »
Hey that JS bug where the quick edit doesn't work must be in this theme, line 399 display template has an added space that causes it to break on mine and I haven't edited that code at all :).

Info here:
http://www.simplemachines.org/community/index.php?topic=527883.msg3745047#msg3745047
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Offline lifeguard81

  • Jr. Member
  • **
  • Posts: 112
Re: Reseller
« Reply #76 on: September 21, 2014, 08:40:56 AM »
For the people who said that the avatar is too big, do this:
Index.css
Search and delete:
Code: [Select]
.poster li.avatar img
{
width: 100%;
}

PLEASe i wish to change the blue background where Reseller is written?please help
Search in Reseller.css:
Code: [Select]
header
{
background: #3498db;
box-shadow: 0 -3px #9fc6e0 inset;
padding: 20px 0;
}
And change #3498db for the color what you want.
thnx daniel!
www.doenwenu.nl
Excuse me for my english. i am from holland :)

Offline ATX1976

  • Semi-Newbie
  • *
  • Posts: 23
    • http://auctionstx.com/dallas-storage-auctions/
Re: Reseller
« Reply #77 on: October 01, 2014, 04:12:12 PM »
I realize this is a dumb question, but I can not seem to find the reply button in this theme. Where is it?  I'm probably looking right at it and missing it.

Offline ATX1976

  • Semi-Newbie
  • *
  • Posts: 23
    • http://auctionstx.com/dallas-storage-auctions/
Re: Reseller
« Reply #78 on: October 01, 2014, 04:54:57 PM »
I realize this is a dumb question, but I can not seem to find the reply button in this theme. Where is it?  I'm probably looking right at it and missing it.

Disregard that. I found it hidden in the green + box.

Offline ATX1976

  • Semi-Newbie
  • *
  • Posts: 23
    • http://auctionstx.com/dallas-storage-auctions/
Re: Reseller
« Reply #79 on: October 01, 2014, 05:05:58 PM »
One more question. The avatars are larger in this theme than the one I was previously using. Now, the images are distorted. Is there a way to fix this?