Show Posts - Diego Andrés

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 - Diego Andrés

Pages:
1234 ... 26»
1
index.template.php
Code: (search) [Select]
global $context, $settings, $options, $txt;
Code: (replace) [Select]
global $context, $settings, $options, $txt, $user_info, $scripturl;

Code: (search) [Select]
/* Set the following variable to true if this theme requires the optional theme strings file to be loaded. */
$settings['require_theme_strings'] = true;
Code: (add after) [Select]
$context['subaccount_dropdown'] = '';
if (!empty($user_info['subaccounts']))
{
$context['subaccount_dropdown'] = '
<form style="display: inline; margin-left: 5px;" class="smalltext" action="' . $scripturl . '?action=switchsubaccount" method="post" name="subaccount_drop" id="subaccount_drop" enctype="multipart/form-data">
<select style="margin-top:5px;" name="subaccount" size="1" onchange="document.subaccount_drop.submit()">
<option selected="selected">' . $txt['change_subaccount'] . '</option>';
foreach($user_info['subaccounts'] as $id => $subaccount)
$context['subaccount_dropdown'] .= '
<option value="' . $id . '">' . $subaccount['name'] . '</option>';
$context['subaccount_dropdown'] .= '
</select>
<input type="hidden" name="' . $context['session_var'] . '" value="' . $context['session_id'] . '" />
</form>';
}

Code: (search) [Select]
<ul class="dropdown">
<li>
<a href="', $scripturl, '?action=profile" class="dropdown-toggle" data-toggle="dropdown" role="button" id="user-menu" aria-haspopup="true" aria-expanded="true">
<span class="welcome">', $txt['hello_guest'], '</span><br>
', $context['user']['name'], ' <span class="fa fa-chevron-down"></span>
</a>
<ul class="dropdown-menu" aria-labelledby="user-menu">
<li><a href="', $scripturl, '?action=profile;area=forumprofile"><span class="fa fa-user"></span> ', $txt['forumprofile'], '</a></li>
<li><a href="', $scripturl, '?action=profile;area=account"><span class="fa fa-cog"></span> ', $txt['account'], '</a></li>
<li><a href="', $scripturl, '?action=unread"><span class="fa fa-comments"></span> ', $txt['unread_topics_visit'], '</a></li>
<li><a href="', $scripturl, '?action=unreadreplies"><span class="fa fa-commenting"></span> ', $txt['unread_replies'], '</a></li>
<li class="divider"></li>
<li><a href="', $scripturl, '?action=logout;', $context['session_var'], '=', $context['session_id'], '"><span class="fa fa-sign-out"></span> ', $txt['logout'], '</a></li>
</ul>
</li>
</ul>
Code: (replace) [Select]
<ul class="dropdown">
<li>
<a href="', $scripturl, '?action=profile" class="dropdown-toggle" data-toggle="dropdown" role="button" id="user-menu" aria-haspopup="true" aria-expanded="true">
<span class="welcome">', $txt['hello_guest'], '</span><br>
', $context['user']['name'], ' <span class="fa fa-chevron-down"></span>
</a>
<ul class="dropdown-menu" aria-labelledby="user-menu">
<li><a href="', $scripturl, '?action=profile;area=forumprofile"><span class="fa fa-user"></span> ', $txt['forumprofile'], '</a></li>
<li><a href="', $scripturl, '?action=profile;area=account"><span class="fa fa-cog"></span> ', $txt['account'], '</a></li>
<li><a href="', $scripturl, '?action=unread"><span class="fa fa-comments"></span> ', $txt['unread_topics_visit'], '</a></li>
<li><a href="', $scripturl, '?action=unreadreplies"><span class="fa fa-commenting"></span> ', $txt['unread_replies'], '</a></li>
<li class="divider"></li>
<li><a href="', $scripturl, '?action=logout;', $context['session_var'], '=', $context['session_id'], '"><span class="fa fa-sign-out"></span> ', $txt['logout'], '</a></li>
</ul>
</li>
</ul>
', $context['subaccount_dropdown'], '

2
Alright I've been working on it.
Did you installed it on Army theme with the error?
Otherwise you should use the mod parse to get the other changes: https://custom.simplemachines.org/mods/index.php?action=parse;mod=2264;attach=160463;smf_version=2.0_RC4
Profile.template.php
Display.template.php
Army/css/index.css (indicated for the default theme, should be done as well)

I would only work on the Index.template.php changes as they are not compatible by default, will have it done soon

3
I'll try to get it done by the afternoon :P

4
Yeah, I'll take a look and see what's the best place to display it :)

5
Done :P

6
It should be better, I will change it tomorrow :)

7
Premium Themes / Re: Aide Theme
« on: May 01, 2017, 01:50:12 PM »
Use the support board for the theme if you need help with it :)
http://smftricks.com/index.php?board=98.0

8
General Discussion / Re: Howdy all
« on: April 16, 2017, 09:51:05 AM »
It was pretty sad when DzinerStudio came to an end, they where almost since the beginning with great themes, it's a shame.
Please be welcome, and thank you for your comment, very appreciated.

9
Premium Themes / Responsive/Colpick Army - ArmaIII Style
« on: March 26, 2017, 10:02:03 PM »


Theme by Diego Andrés
Theme Settings
  • color picker
  • Custom Logo URL
  • Custom statistic blocks
  • Moderation Alerts with time delay
  • Recent PM's
  • Disable FontAwesome
  • Disable theme effetcs
  • Add tooltips to titles
  • Select the dropdown menu animations
  • Remove menu items
  • Community button with exlude items option
  • Separate Sticky Topics
  • Avatars on boards, message index, topic list and recent posts
  • Carousel
    • Images for each slider
    • Titles
    • Text and descriptions
    • Add links to the sliders
  • Custom sidebar
  • Top links
  • Social networks in menu
  • Back to top feature


10
Feedback / Re: Does smftricks also install themes for customers?
« on: March 26, 2017, 09:31:19 PM »
You would have to ask the theme author in the theme support board once you buy it, in this case Pipe.

Regards  :D

11
Theme Ask / Re: en busca de este theme
« on: March 14, 2017, 10:57:45 PM »
Es el theme Redsy con algunas modificaciones visuales simplemente.

12
Support for SMF Tricks Themes & Mods / Re: Gaming Nation Fonts
« on: March 13, 2017, 09:32:37 PM »
I thin it's the Open Sans Condensed, just change it to another one  O:-)

13
Premium Themes / Re: Materialistic - Responsive Colorpicker theme
« on: March 08, 2017, 06:30:58 PM »
Is there a way to set the max width of the theme?

Please use the Materialistic support board for specific doubts.
The theme doesn't have a width setting by default because of the side menu, it could look bad with small width.

14
Mods / Re: ST Recent Post
« on: February 19, 2017, 10:38:17 AM »
Sorry, this mod is a bit outdated.
It might be updated later this year, in the meanwhile you should try other alternatives.

15
Premium Themes / Re: Materialistic - Responsive Colorpicker theme
« on: February 02, 2017, 11:05:20 PM »
It does not have a dark mode or similar atm.
I think it should work just fine with simple portal, perhaps a minor fix would be needed if anything (on sp side).
If the mod works well I don't see why it wouldn't add the items, the theme just adds the icons to the menu, that's the only thing that would require a manual fix for each item (by editing the FA CSS).

Pages:
1234 ... 26»