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.

Topics - Diego Andrés

#81
Free Themes / Love Theme
February 02, 2014, 03:01:33 PM
Link to the theme


Free & Premium Responsive Themes for SMF




Love Theme
Developed by Diego Andrés

Features
  • Social Networks
  • Logo URL


Demo Online
GitHub
#83
Free Themes / BlueBird
February 02, 2014, 02:51:12 PM
Link to the theme


Free & Premium Responsive Themes for SMF




BlueBird
Developed by Diego Andrés

Features
  • Logo URL
  • Custom Links

Demo Online
GitHub
#85
Free Themes / MundoNet Theme
February 02, 2014, 02:46:18 PM
Link to the theme


Free & Premium Responsive Themes for SMF




MundoNet V2
Developed by Diego Andrés

Features
  • Logo URL
  • Custom Links


Demo Online
GitHub
#86
Free Themes / Habbingo
February 02, 2014, 02:44:39 PM
Link to the theme


Free & Premium Responsive Themes for SMF




Habbingo
Developed by Daniiel

Features
  • Social networks


Demo Online
GitHub
#88
Free Themes / HabboArt V1
February 02, 2014, 02:27:16 PM
Link to the theme


Free & Premium Responsive Themes for SMF




HabboArt V1
Developed by Diego Andrés
Designed by TheLastDark


Features
  • Custom Links
  • Logo URL


Demo Online
GitHub

Copyright
"HABBO" is a registered trademark of Sulake Corporation Oy in the European Union, the USA, Japan, the People's Republic of China and various other jurisdictions. All rights reserved.
#89
Free Themes / Aqua Style
February 02, 2014, 02:21:40 PM
Link to the theme


Free & Premium Responsive Themes for SMF




Aqua Style
Developed by Diego Andrés

Features
  • Logo URL


Demo Online
GitHub
#90
Free Themes / HabboMac
February 02, 2014, 02:20:13 PM
Link to the theme


Free & Premium Responsive Themes for SMF




HabboMac
Developed by Diego Andrés

Features
  • Logo URL


Demo Online
GitHub

Copyright
"HABBO" is a registered trademark of Sulake Corporation Oy in the European Union, the USA, Japan, the People's Republic of China and various other jurisdictions. All rights reserved.
#91
Free Themes / HabboLand
February 02, 2014, 02:18:32 PM
Link to the theme


Free & Premium Responsive Themes for SMF




HabboLand
Developed by Diego Andrés


Demo Online
GitHub

Copyright
"HABBO" is a registered trademark of Sulake Corporation Oy in the European Union, the USA, Japan, the People's Republic of China and various other jurisdictions. All rights reserved.
#94
Free Themes / Crushing
February 02, 2014, 01:09:51 AM
Link to the theme


Free & Premium Responsive Themes for SMF




Crushing
Developed by Diego Andrés

Features
  • Custom Links
  • Logo URL


Demo Online
GitHub
#95
Free Themes / Elegant Mind
February 02, 2014, 01:08:48 AM
Link to the theme


Free & Premium Responsive Themes for SMF




Elegant Mind
Developed by Diego Andrés

Features
  • Dropdown User Menu
  • Logo URL


Demo Online
GitHub
#96
Free Themes / Red Shadow
February 02, 2014, 01:06:22 AM
Link to the theme


Free & Premium Responsive Themes for SMF




Red Shadow
Developed by Daniiel

Features
  • Social networks
  • Logo URL

Languages



Demo Online
GitHub
#98
Free Themes / Astonished
February 02, 2014, 12:54:56 AM
Link to the theme


Free & Premium Responsive Themes for SMF




Astonished
Developed by Diego Andrés
Designed by Marcus 'Nas' Forsberg


Features
  • Social networks
  • Logo URL
  • Collapsible header


Demo Online
GitHub
#99
Hace un tiempo que pidieron este tutorial, aquí se los dejo  ;D
Recuerden que el tutorial como siempre, está basado en el theme default.



Index.template.php:

Buscar:
// 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="last"' : '', '>';


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


Buscar:
// Don't show a separator for the last one.
if ($link_num != count($context['linktree']) - 1)
echo ' »';

echo '
</li>';

Reemplazar con:
// Don't show a separator for the last one.
if ($link_num != count($context['linktree']) - 1)
echo '';

echo '
</div><div class="lt_first"></div></div></li>';





Index.css

Buscar:
/* The navigation list (i.e. linktree) */
.navigate_section
{
padding: 0.5em;
margin: 0 0 0 0;
}
.navigate_section ul
{
display: block;
margin: 0;
font-size: 0.9em;
padding: 1em 0 0.5em 0;
border-top: 1px solid #ccc;
overflow: hidden;
list-style: none;
clear: both;
width: 100%;
}
.navigate_section ul li
{
float: left;
padding: 0 0.5em 0 0;
font-size: 0.95em;
}
.navigate_section ul li a
{
white-space: pre;
}

Reemplazar con:
/* The navigation list (i.e. linktree) */
.lt_wrapper
{
    float: left;
    margin-left: -12px;
}
.lt_first
{
    background: url("../images/theme/linktree.png") no-repeat scroll right -66px transparent;
    float: left;
    height: 25px;
    margin: 0;
    width: 18px;
    margin: 0;
}
.lt_midle
{
    background: url("../images/theme/linktree.png") repeat-x scroll 0 -4px transparent;
    float: left;
    height: 25px;
    margin: 0;
    margin: 0;
    padding-left: 7px;
    padding-right: 4px;
    line-height: 24px;
    color: #bbb;
}
.lt_last
{
    background: url("../images/theme/linktree.png") no-repeat scroll left -66px transparent;
    height: 25px;
    margin: 0;
    padding-left: 0px;
    width: 15px;
    float: left;
    }
.navigate_section li.last .lt_first
{
    background: url("../images/theme/linktree.png") no-repeat scroll right -98px transparent;
}
.navigate_section li.last .lt_midle
{
    background: url("../images/theme/linktree.png") repeat-x scroll 0 -35px transparent;
    color: #222;

}
.navigate_section li.last .lt_last
{
    background: url("../images/theme/linktree.png") no-repeat scroll left -98px transparent;   
}
.navigate_section li:hover a:hover span, .navigate_section li:hover
{
    color: #fd9;
}
.navigate_section ul li:hover a
{
    color: #fd9;
text-decoration: none;
}
.folder_linktree
{
margin-right: 4px;
}
.navigate_section
{
padding: 0 0 0 0;
margin: 0 1px;
    background: none;
    border-top: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.navigate_section ul
{
display: block;
margin: 0 -1px -1px;
font-size: 0.9em;
padding: 0;
overflow: hidden;
list-style: none;
clear: both;
width: auto;
border: 1px solid #2e2e2e;
background: rgba(32, 32, 32, 0.5);
    border-radius: 0 3px 0 0;
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset;
}
.navigate_section ul li
{
font-size: 0.9em;
font-weight: bold;
    display: inline;
}
.navigate_section ul li.last
{
    display: inline;
    font-size: 0.9em;
font-weight: normal;
}
.navigate_section ul li a
{
white-space: normal;
    color: #aaa;
}
.navigate_section ul li span
{
white-space: normal;
    color: #aaa;
text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.4);
}
.navigate_section ul li a span
{
white-space: normal;
    color: #aaa;
}





Imagen

Solo ocupamos una imagen, la cual es linktree.png, la pueden encontrar en el archivo zip adjunto.
Hay que colocar la imagen linktree.png en Themes/{theme_actual}/images/theme/.

PSD incluído por si quieren modificar la imagen más fácilmente.




Espero que les haya gustado el tutorial.
#100
Recién le publiqué esto a un usuario de SimpleMachines que solicitaba ayuda para ver si existía algo relacionado pero no, por lo que opté por ver de que manera sería sencillo controlar eso por medio de permisos, no había nada así que decidí crear uno nuevo.




Themes/default/Post.template.php
Buscamos:
</dd>
<dt class="clear_left">
', $txt['message_icon'], ':
</dt>
<dd>
<select name="icon" id="icon" onchange="showimage()">';

// Loop through each message icon allowed, adding it to the drop down list.
foreach ($context['icons'] as $icon)
echo '
<option value="', $icon['value'], '"', $icon['value'] == $context['icon'] ? ' selected="selected"' : '', '>', $icon['name'], '</option>';

echo '
</select>
<img src="', $context['icon_url'], '" name="icons" hspace="15" alt="" />
</dd>
</dl><hr class="clear" />';


Reemplazamos por:
</dd>';

if (allowedTo('change_message_icon'))
{
echo '
<dt class="clear_left">
', $txt['message_icon'], ':
</dt>
<dd>
<select name="icon" id="icon" onchange="showimage()">';

// Loop through each message icon allowed, adding it to the drop down list.
foreach ($context['icons'] as $icon)
echo '
<option value="', $icon['value'], '"', $icon['value'] == $context['icon'] ? ' selected="selected"' : '', '>', $icon['name'], '</option>';

echo '
</select>
<img src="', $context['icon_url'], '" name="icons" hspace="15" alt="" />
</dd>';
}

echo '
</dl><hr class="clear" />';


Sources/ManagePermissions.php
Buscamos:
'post_new' => array(false, 'topic', 'make_posts'),

Agregamos después:
'change_message_icon' => array(false, 'topic', 'make_posts'),

Themes/default/languages/ManagePermissions.english.php
Buscamos:
?>

Agregamos antes:
$txt['permissionname_change_message_icon'] = 'Change the message icon';
$txt['permissionhelp_change_message_icon'] = 'This permission allows users to change the message icon when posting.';


Themes/default/languages/ManagePermissions.tudioma.php
Buscamos:
?>

Agregamos antes:
$txt['permissionname_change_message_icon'] = 'Cambiar ícono del mensaje';
$txt['permissionhelp_change_message_icon'] = 'Este permiso les permite a los usuarios cambiar el ícono del mensaje al publicar.';





Con esto ahora deberán tener un permiso asignado para cambiar el ícono del mensaje:
http://prntscr.com/1x612y