
Enviado por:
Chctrpgo
Capturas
En c.admin.php --> inc --> class --> c.admin.php
Buscar:
Debajo agregar:
Buscar:
Debajo agregar:
En c.comunidades.php --> inc --> class --> c.comunidades.php
Buscar:
Arriba agregar:
En m.admin_rangos.tpl --> themes --> default --> templates --> admin_mods --> m.admin_rangos.tpl
Buscar:
Debajo agregar:
Creditos: Vellenger
[img]Registrate o inicia tu sesión para ver este contenido[/img]
[img]Registrate o inicia tu sesión para ver este contenido[/img]
En c.admin.php --> inc --> class --> c.admin.php
Buscar:
Código PHP:
'gopcf' => $_POST['global-publicarcomfotos'],
Debajo agregar:
Código PHP:
'gocom' => $_POST['global-publicarcomunidades'],
Buscar:
Código PHP:
'gopcf' => $_POST['global-publicarcomfotos'],
Debajo agregar:
Código PHP:
'gocom' => $_POST['global-publicarcomunidades'],
En c.comunidades.php --> inc --> class --> c.comunidades.php
Buscar:
Código PHP:
// Nombre corto muy corto? xD
if(strlen($dato['ncorto']) < 5) return 'El nombre corto debe ser mayor a 5 caracteres.';
Arriba agregar:
Código PHP:
//Quienes pueden crear comunidades
if(!$tsUser->permisos['gocom'] && !$tsUser->is_admod) return 'Tú rango no te permite crear comunidades.';
En m.admin_rangos.tpl --> themes --> default --> templates --> admin_mods --> m.admin_rangos.tpl
Buscar:
Código PHP:
<input type="checkbox" id="gopcf" name="global-publicarcomfotos" {if $tsRango.permisos.gopcf}checked{/if} /><label style="font-weight:bold;" for="gopcf">Publicar Comentarios en Fotos</label><label for="gopf"> Podrán publicar comentarios en fotos.</label>
<br /><hr>
Debajo agregar:
Código PHP:
<input type="checkbox" id="gocom" name="global-publicarcomunidades" {if $tsRango.permisos.gocom}checked{/if} /><label style="font-weight:bold;" for="gocom">Crear Comunidades</label><label for="gopf"> Podrán crear nuevas comunidades.</label>
<br /><hr>
Creditos: Vellenger
Foro:
Complementos Terminados
Respuestas
Sin respuestas

Enviado por:
Chctrpgo
Captura
En t.home.tpl --> themes --> default --> templates --> t.home.tpl
Buscar:
Arriba agregar:
Y subir esta carpeta
Mega
http://Registrate o inicia tu sesión par... contenido
Google Drive
http://Registrate o inicia tu sesión par... contenido
Mediafire
http://Registrate o inicia tu sesión par... contenido
Uptobox
http://Registrate o inicia tu sesión par... contenido
4shared
http://Registrate o inicia tu sesión par... contenido
[img]Registrate o inicia tu sesión para ver este contenido[/img]
En t.home.tpl --> themes --> default --> templates --> t.home.tpl
Buscar:
Código PHP:
<div id="izquierda">
Arriba agregar:
Código PHP:
{include file='sections/home_categorias.tpl'}
Y subir esta carpeta
Mega
http://Registrate o inicia tu sesión par... contenido
Google Drive
http://Registrate o inicia tu sesión par... contenido
Mediafire
http://Registrate o inicia tu sesión par... contenido
Uptobox
http://Registrate o inicia tu sesión par... contenido
4shared
http://Registrate o inicia tu sesión par... contenido
Foro:
Complementos Terminados
Respuestas
Sin respuestas

Enviado por:
Chctrpgo
Capturas
Ejecutar esta consulta
En c.admin.php --> inc --> class --> c.admin.php
Buscar:
Reemplazar por:
Buscar:
Reemplazar por:
En c.core.php --> inc --> class --> c.core.php
Buscar:
Reemplazar por:
En estilo.css --> themes --> default --> estilo.css
Buscar:
Reemplazar por:
Y subir esta carpeta
Mega
http://Registrate o inicia tu sesión par... contenido
Google Drive
http://Registrate o inicia tu sesión par... contenido
Mediafire
http://Registrate o inicia tu sesión par... contenido
Uptobox
http://Registrate o inicia tu sesión par... contenido
4shared
http://Registrate o inicia tu sesión par... contenido
Creditos: Xtatter
[img]Registrate o inicia tu sesión para ver este contenido[/img]
[img]Registrate o inicia tu sesión para ver este contenido[/img]
[img]Registrate o inicia tu sesión para ver este contenido[/img]
Ejecutar esta consulta
Código PHP:
ALTER TABLE w_noticias ADD not_type int(1) NOT NULL;
En c.admin.php --> inc --> class --> c.admin.php
Buscar:
Código PHP:
$query = db_exec(array(__FILE__, __LINE__), 'query', 'SELECT `not_id`, `not_body`, `not_date`, `not_active` FROM w_noticias WHERE not_id = \'' .
(int)$not_id . '\' LIMIT 1');
Reemplazar por:
Código PHP:
$query = db_exec(array(__FILE__, __LINE__), 'query', 'SELECT `not_id`, `not_body`, `not_date`, `not_active`, `not_type` FROM w_noticias WHERE not_id = \'' .
(int)$not_id . '\' LIMIT 1');
Buscar:
Código PHP:
/*
newNoticia()
*/
function newNoticia()
{
global $tsCore, $tsUser;
//
$not_body = $tsCore->setSecure($tsCore->parseBadWords(substr($_POST['not_body'],
0, 190)));
$not_active = empty($_POST['not_active']) ? 0 : 1;
if (!empty($not_body))
{
if (db_exec(array(__FILE__, __LINE__), 'query', 'INSERT INTO `w_noticias` (`not_body`, `not_autor`, `not_date`, `not_active`) VALUES (\'' .
$not_body . '\', \'' . $tsUser->uid . '\', \'' . time() . '\', \'' . $not_active .
'\')'))
return true;
}
//
return false;
}
/*
editNoticia()
*/
function editNoticia()
{
global $tsCore, $tsUser;
//
$not_id = intval($_GET['nid']);
$not_body = $tsCore->setSecure($tsCore->parseBadWords(substr($_POST['not_body'],
0, 190)));
$not_active = empty($_POST['not_active']) ? 0 : 1;
//
if (!empty($not_body))
{
if (db_exec(array(__FILE__, __LINE__), 'query', 'UPDATE `w_noticias` SET `not_autor` = \'' . $tsUser->uid . '\', `not_body` = \'' .
$not_body . '\', not_active = \'' . $not_active . '\' WHERE not_id = \'' . (int)
$not_id . '\''))
return true;
}
}
Reemplazar por:
Código PHP:
/*
newNoticia()
*/
function newNoticia()
{
global $tsCore, $tsUser;
//
$not_body = $tsCore->setSecure($tsCore->parseBadWords(substr($_POST['not_body'],
0, 190)));
$not_active = empty($_POST['not_active']) ? 0 : 1;
$not_type = $tsCore->setSecure($_POST['not_type']) ? 0 : $_POST['not_type'];
if (!empty($not_body))
{
if (db_exec(array(__FILE__, __LINE__), 'query', 'INSERT INTO `w_noticias` (`not_body`, `not_autor`, `not_date`, `not_active`, `not_type`) VALUES (\'' .
$not_body . '\', \'' . $tsUser->uid . '\', \'' . time() . '\', \'' . $not_active .
'\', \'' . $not_type . '\')'))
return true;
}
//
return false;
}
/*
editNoticia()
*/
function editNoticia()
{
global $tsCore, $tsUser;
//
$not_id = intval($_GET['nid']);
$not_body = $tsCore->setSecure($tsCore->parseBadWords(substr($_POST['not_body'],
0, 190)));
$not_active = empty($_POST['not_active']) ? 0 : 1;
$not_type = $tsCore->setSecure($_POST['not_type']);
//
if (!empty($not_body))
{
if (db_exec(array(__FILE__, __LINE__), 'query', 'UPDATE `w_noticias` SET `not_autor` = \'' . $tsUser->uid . '\', `not_body` = \'' .
$not_body . '\', not_active = \'' . $not_active . '\', not_type = \'' . $not_type . '\' WHERE not_id = \'' . (int)
$not_id . '\''))
return true;
}
}
En c.core.php --> inc --> class --> c.core.php
Buscar:
Código PHP:
$query = db_exec(array(__FILE__, __LINE__), 'query', 'SELECT not_body FROM w_noticias WHERE not_active = \'1\' ORDER by RAND()');
Reemplazar por:
Código PHP:
$query = db_exec(array(__FILE__, __LINE__), 'query', 'SELECT not_body, not_type FROM w_noticias WHERE not_active = \'1\' ORDER by RAND()');
En estilo.css --> themes --> default --> estilo.css
Buscar:
Código PHP:
#mensaje-top{
clear:left;
width:100%!important;
height:24px;
line-height:200%;
background:#ffe13e url('images/mensajetopbg.gif') repeat-x bottom left;
text-align:center;
border-top:1px solid #ffe970;
display:block;
}
Reemplazar por:
Código PHP:
#mensaje-top {
clear: left;
width: 100% !important;
height: 48px;
text-align: center;
display: block;
}
Y subir esta carpeta
Mega
http://Registrate o inicia tu sesión par... contenido
Google Drive
http://Registrate o inicia tu sesión par... contenido
Mediafire
http://Registrate o inicia tu sesión par... contenido
Uptobox
http://Registrate o inicia tu sesión par... contenido
4shared
http://Registrate o inicia tu sesión par... contenido
Creditos: Xtatter
Foro:
Complementos Terminados
Respuestas
Sin respuestas

Enviado por:
Chctrpgo
Las metaetiquetas, etiquetas meta o elementos meta (también conocidas por su nombre en inglés, meta tags) son etiquetas HTML que se incorporan en el encabezado de una página web y que resultan invisibles para un visitante normal, pero de gran utilidad para navegadores u otros programas que puedan valerse de esta información.
Su propósito es el de incluir información (metadatos) de referencia sobre la página: autor, título, fecha, palabras clave, descripción, etc.
Ahrefs
Descripción
Selección de herramientas SEO gratuitas te ayudará con varias tareas SEO, como la investigación de palabras clave, el SEO on-page, la creación de enlaces y muchas otras cosas. Hemos incluido nuestras propias herramientas SEO gratuitas, así como algunas herramientas de terceros en las que confiamos.
Aunque limitados en comparación con una cuenta de Ahrefs de pago, siguen siendo inmensamente valiosos para cualquiera que se inicie en el SEO.
Web
http://Registrate o inicia tu sesión par... contenido
OpenTags
Descripción
Con la ayuda de OpenTags, puede depurar los metadatos del sitio web / etiquetas OpenGraph. Las metaetiquetas jugarán un papel clave en la optimización SEO.
Web
http://Registrate o inicia tu sesión par... contenido
SEMrush
Descripción
Semrush es una herramienta de investigación de palabras clave, Google Trends, Moz, Hootsuite y SimilarWeb, todo en un solo lugar.
Web
http://Registrate o inicia tu sesión par... contenido
Meta Tags
Descripción
Meta Tags es una herramienta para depurar y generar código de etiquetas meta para cualquier sitio web. ¡Con Meta Tags puede editar y experimentar con su contenido y luego obtener una vista previa de cómo se verá su página web en Google, Facebook, Twitter y más!
Web
http://Registrate o inicia tu sesión par... contenido
Open Graph
Descripción
Open Graph es un protocolo introducido por Facebook en 2010 para permitir una integración más profunda entre Facebook y cualquier página web. Permite que cualquier página web tenga la misma funcionalidad que cualquier otro objeto en Facebook. Puede controlar cómo se muestra su sitio web en Facebook. Ahora, otros sitios de redes sociales como Twitter, LinkedIn están reconociendo metaetiquetas de Open Graph.
Web
http://Registrate o inicia tu sesión par... contenido
Hey Meta
Descripción
Verifique y mejore cómo los motores de búsqueda y los sitios web de redes sociales ven y muestran su sitio web.
Web
http://Registrate o inicia tu sesión par... contenido
Su propósito es el de incluir información (metadatos) de referencia sobre la página: autor, título, fecha, palabras clave, descripción, etc.
Ahrefs
[img]Registrate o inicia tu sesión para ver este contenido[/img]
Descripción
Selección de herramientas SEO gratuitas te ayudará con varias tareas SEO, como la investigación de palabras clave, el SEO on-page, la creación de enlaces y muchas otras cosas. Hemos incluido nuestras propias herramientas SEO gratuitas, así como algunas herramientas de terceros en las que confiamos.
Aunque limitados en comparación con una cuenta de Ahrefs de pago, siguen siendo inmensamente valiosos para cualquiera que se inicie en el SEO.
Web
http://Registrate o inicia tu sesión par... contenido
OpenTags
[img]Registrate o inicia tu sesión para ver este contenido[/img]
Descripción
Con la ayuda de OpenTags, puede depurar los metadatos del sitio web / etiquetas OpenGraph. Las metaetiquetas jugarán un papel clave en la optimización SEO.
Web
http://Registrate o inicia tu sesión par... contenido
SEMrush
[img]Registrate o inicia tu sesión para ver este contenido[/img]
Descripción
Semrush es una herramienta de investigación de palabras clave, Google Trends, Moz, Hootsuite y SimilarWeb, todo en un solo lugar.
Web
http://Registrate o inicia tu sesión par... contenido
Meta Tags
[img]Registrate o inicia tu sesión para ver este contenido[/img]
Descripción
Meta Tags es una herramienta para depurar y generar código de etiquetas meta para cualquier sitio web. ¡Con Meta Tags puede editar y experimentar con su contenido y luego obtener una vista previa de cómo se verá su página web en Google, Facebook, Twitter y más!
Web
http://Registrate o inicia tu sesión par... contenido
Open Graph
[img]Registrate o inicia tu sesión para ver este contenido[/img]
Descripción
Open Graph es un protocolo introducido por Facebook en 2010 para permitir una integración más profunda entre Facebook y cualquier página web. Permite que cualquier página web tenga la misma funcionalidad que cualquier otro objeto en Facebook. Puede controlar cómo se muestra su sitio web en Facebook. Ahora, otros sitios de redes sociales como Twitter, LinkedIn están reconociendo metaetiquetas de Open Graph.
Web
http://Registrate o inicia tu sesión par... contenido
Hey Meta
[img]Registrate o inicia tu sesión para ver este contenido[/img]
[img]Registrate o inicia tu sesión para ver este contenido[/img]
Descripción
Verifique y mejore cómo los motores de búsqueda y los sitios web de redes sociales ven y muestran su sitio web.
Web
http://Registrate o inicia tu sesión par... contenido
Foro:
Herramientas web
Respuestas
Sin respuestas

Enviado por:
Chctrpgo
Capturas
En c.cuenta.php --> inc --> class --> c.cuenta.php
Buscar:
Debajo agregar:
Buscar:
Debajo agregar:
Buscar:
Debajo agregar:
Buscar:
Al lado de:
Agregar:
En m.cuenta_perfil_me.tpl --> themes --> default --> templates --> modules --> m.cuenta_perfil_me.tpl
Buscar:
Debajo agregar:
En m.perfil_headinfo.tpl --> themes --> default --> templates --> modules --> m.perfil_headinfo.tpl
Buscar:
Debajo agregar:
Y subir este icono a la carpeta icons con el nombre de instagram.png
[img]Registrate o inicia tu sesión para ver este contenido[/img]
[img]Registrate o inicia tu sesión para ver este contenido[/img]
[img]Registrate o inicia tu sesión para ver este contenido[/img]
En c.cuenta.php --> inc --> class --> c.cuenta.php
Buscar:
Código PHP:
$data['p_socials']['t'] = $data['p_socials'][1];
Debajo agregar:
Código PHP:
$data['p_socials']['i'] = $data['p_socials'][2];
Buscar:
Código PHP:
$data['p_socials']['t'] = $data['p_socials'][1];
Debajo agregar:
Código PHP:
$data['p_socials']['i'] = $data['p_socials'][2];
Buscar:
Código PHP:
$twitter = $tsCore->setSecure($tsCore->parseBadWords($_POST['twitter']), true);
Debajo agregar:
Código PHP:
$instagram = $tsCore->setSecure($tsCore->parseBadWords($_POST['instagram']), true);
Buscar:
Código PHP:
'socials' => serialize(array($facebook,$twitter)),
Al lado de:
Código PHP:
,$twitter
Agregar:
Código PHP:
,$instagram
En m.cuenta_perfil_me.tpl --> themes --> default --> templates --> modules --> m.cuenta_perfil_me.tpl
Buscar:
Código PHP:
<strong>twitter.com/</strong><input type="text" value="{$tsPerfil.p_socials.t}" maxlength="64" name="twitter" id="ft2" class="text cuenta-save-2" style="margin-top:3px; width:204px"><br />
Debajo agregar:
Código PHP:
<img src="{$tsConfig.default}/images/icons/instagram.png" width="16" height="16" style="margin:8px 5px 5px 160px; float:left" />
<strong>instagram.com/</strong><input type="text" value="{$tsPerfil.p_socials.i}" maxlength="64" name="instagram" id="ft3" class="text cuenta-save-2" style="margin-top:3px; width:204px"><br />
En m.perfil_headinfo.tpl --> themes --> default --> templates --> modules --> m.perfil_headinfo.tpl
Buscar:
Código PHP:
{if $tsInfo.p_socials.t}
<li style="float:right!important;" class="floatR">
<a target="_blank" href="Registrate o inicia tu sesión para ver este contenido{$tsInfo.p_socials.t}" title="Twitter"><img height="14" width="14" src="{$tsConfig.default}/images/icons/twitter.png"/></a>
</li>
{/if}
Debajo agregar:
Código PHP:
{if $tsInfo.p_socials.i}
<li style="float:right!important;" class="floatR">
<a target="_blank" href="Registrate o inicia tu sesión para ver este contenido{$tsInfo.p_socials.i}" title="Instagram"><img height="14" width="14" src="{$tsConfig.default}/images/icons/instagram.png"/></a>
</li>
{/if}
Y subir este icono a la carpeta icons con el nombre de instagram.png
[img]Registrate o inicia tu sesión para ver este contenido[/img]
Foro:
Complementos Terminados
Respuestas
Sin respuestas

Enviado por:
Chctrpgo
Capturas
Ejecutar esta consulta
En c.post.php --> inc --> class --> c.post.php
Buscar:
Debajo agregar:
Buscar:
Al lado agregar:
Buscar:
Al lado agregar:
Buscar:
Debajo agregar:
Buscar:
Al lado agregar:
En c.core.php --> inc --> class --> c.core.php
Buscar:
Debajo agregar:
Buscar:
Debajo agregar:
En m.posts_content.tpl --> themes --> default --> templates --> modules --> m.posts_content.tpl
Buscar:
Reemplazar por:
En m.posts_comments_form.tpl --> themes --> default --> templates --> modules --> m.posts_comments_form.tpl
Buscar:
Arriba agregar:
Al final en el último:
Agregar:
En m.agregar_form.tpl --> themes --> default --> templates --> modules --> m.agregar_form.tpl
Buscar:
Arriba agregar:
Y subir esta carpeta
Mega
http://Registrate o inicia tu sesión par... contenido
Google Drive
http://Registrate o inicia tu sesión par... contenido
Mediafire
http://Registrate o inicia tu sesión par... contenido
Uptobox
http://Registrate o inicia tu sesión par... contenido
4shared
http://Registrate o inicia tu sesión par... contenido
Creditos: Vellenger
[img]Registrate o inicia tu sesión para ver este contenido[/img]
[img]Registrate o inicia tu sesión para ver este contenido[/img]
[img]Registrate o inicia tu sesión para ver este contenido[/img]
[img]Registrate o inicia tu sesión para ver este contenido[/img]
Ejecutar esta consulta
Código PHP:
ALTER TABLE `p_posts`
ADD `post_rangs1` int(1) NOT NULL DEFAULT '0',
ADD `post_rangs2` int(1) NOT NULL DEFAULT '0',
ADD `post_rangs3` int(1) NOT NULL DEFAULT '0',
ADD `post_rangs4` int(1) NOT NULL DEFAULT '0',
ADD `post_rangs5` int(1) NOT NULL DEFAULT '0',
ADD `post_rangs6` int(1) NOT NULL DEFAULT '0',
ADD `post_rangs7` int(1) NOT NULL DEFAULT '0',
ADD `post_rangs8` int(1) NOT NULL DEFAULT '0',
ADD `post_rangs9` int(1) NOT NULL DEFAULT '0',
ADD `post_rangs10` int(1) NOT NULL DEFAULT '0',
ADD `post_prangs1` int(1) NOT NULL DEFAULT '0',
ADD `post_prangs2` int(1) NOT NULL DEFAULT '0',
ADD `post_prangs3` int(1) NOT NULL DEFAULT '0',
ADD `post_prangs4` int(1) NOT NULL DEFAULT '0',
ADD `post_prangs5` int(1) NOT NULL DEFAULT '0',
ADD `post_prangs6` int(1) NOT NULL DEFAULT '0',
ADD `post_prangs7` int(1) NOT NULL DEFAULT '0',
ADD `post_prangs8` int(1) NOT NULL DEFAULT '0',
ADD `post_prangs9` int(1) NOT NULL DEFAULT '0',
ADD `post_prangs10` int(1) NOT NULL DEFAULT '0';
En c.post.php --> inc --> class --> c.post.php
Buscar:
Código PHP:
$postData['block_comments'] = empty($_POST['sin_comentarios']) ? 0 : 1;
Debajo agregar:
Código PHP:
$postData['rangs1'] = empty($_POST['rang1']) ? 0 : 1;
$postData['rangs2'] = empty($_POST['rang2']) ? 0 : 1;
$postData['rangs3'] = empty($_POST['rang3']) ? 0 : 1;
$postData['rangs4'] = empty($_POST['rang4']) ? 0 : 1;
$postData['rangs5'] = empty($_POST['rang5']) ? 0 : 1;
$postData['rangs6'] = empty($_POST['rang6']) ? 0 : 1;
$postData['rangs7'] = empty($_POST['rang7']) ? 0 : 1;
$postData['rangs8'] = empty($_POST['rang8']) ? 0 : 1;
$postData['rangs9'] = empty($_POST['rang9']) ? 0 : 1;
$postData['rangs10'] = empty($_POST['rang10']) ? 0 : 1;
$postData['prangs1'] = empty($_POST['prang1']) ? 0 : 1;
$postData['prangs2'] = empty($_POST['prang2']) ? 0 : 1;
$postData['prangs3'] = empty($_POST['prang3']) ? 0 : 1;
$postData['prangs4'] = empty($_POST['prang4']) ? 0 : 1;
$postData['prangs5'] = empty($_POST['prang5']) ? 0 : 1;
$postData['prangs6'] = empty($_POST['prang6']) ? 0 : 1;
$postData['prangs7'] = empty($_POST['prang7']) ? 0 : 1;
$postData['prangs8'] = empty($_POST['prang8']) ? 0 : 1;
$postData['prangs9'] = empty($_POST['prang9']) ? 0 : 1;
$postData['prangs10'] = empty($_POST['prang10']) ? 0 : 1;
Buscar:
Código PHP:
post_block_comments,
Al lado agregar:
Código PHP:
post_rangs1, post_rangs2, post_rangs3, post_rangs4, post_rangs5, post_rangs6, post_rangs7, post_rangs8, post_rangs9, post_rangs10, post_prangs1, post_prangs2, post_prangs3, post_prangs4, post_prangs5, post_prangs6, post_prangs7, post_prangs8, post_prangs9, post_prangs10,
Buscar:
Código PHP:
'\', \''.(int)$postData['block_comments'].
Al lado agregar:
Código PHP:
'\', \''.(int)$postData['rangs1'].'\', \''.(int)$postData['rangs2'].'\', \''.(int)$postData['rangs3'].'\', \''.(int)$postData['rangs4'].'\', \''.(int)$postData['rangs5'].'\', \''.(int)$postData['rangs6'].'\', \''.(int)$postData['rangs7'].'\', \''.(int)$postData['rangs8'].'\', \''.(int)$postData['rangs9'].'\', \''.(int)$postData['rangs10'].'\', \''.(int)$postData['prangs1'].'\', \''.(int)$postData['prangs2'].'\', \''.(int)$postData['prangs3'].'\', \''.(int)$postData['prangs4'].'\', \''.(int)$postData['prangs5'].'\', \''.(int)$postData['prangs6'].'\', \''.(int)$postData['prangs7'].'\', \''.(int)$postData['prangs8'].'\', \''.(int)$postData['prangs9'].'\', \''.(int)$postData['prangs10'].
Buscar:
Código PHP:
$postData['block_comments'] = empty($_POST['sin_comentarios']) ? 0 : 1;
Debajo agregar:
Código PHP:
$postData['rangs1'] = empty($_POST['rang1']) ? 0 : 1;
$postData['rangs2'] = empty($_POST['rang2']) ? 0 : 1;
$postData['rangs3'] = empty($_POST['rang3']) ? 0 : 1;
$postData['rangs4'] = empty($_POST['rang4']) ? 0 : 1;
$postData['rangs5'] = empty($_POST['rang5']) ? 0 : 1;
$postData['rangs6'] = empty($_POST['rang6']) ? 0 : 1;
$postData['rangs7'] = empty($_POST['rang7']) ? 0 : 1;
$postData['rangs8'] = empty($_POST['rang8']) ? 0 : 1;
$postData['rangs9'] = empty($_POST['rang9']) ? 0 : 1;
$postData['rangs10'] = empty($_POST['rang10']) ? 0 : 1;
$postData['prangs1'] = empty($_POST['prang1']) ? 0 : 1;
$postData['prangs2'] = empty($_POST['prang2']) ? 0 : 1;
$postData['prangs3'] = empty($_POST['prang3']) ? 0 : 1;
$postData['prangs4'] = empty($_POST['prang4']) ? 0 : 1;
$postData['prangs5'] = empty($_POST['prang5']) ? 0 : 1;
$postData['prangs6'] = empty($_POST['prang6']) ? 0 : 1;
$postData['prangs7'] = empty($_POST['prang7']) ? 0 : 1;
$postData['prangs8'] = empty($_POST['prang8']) ? 0 : 1;
$postData['prangs9'] = empty($_POST['prang9']) ? 0 : 1;
$postData['prangs10'] = empty($_POST['prang10']) ? 0 : 1;
Buscar:
Código PHP:
'\', post_block_comments = \''.$postData['block_comments'].
Al lado agregar:
Código PHP:
'\', post_rangs1 = \''.$postData['rangs1'].'\', post_rangs2 = \''.$postData['rangs2'].'\', post_rangs3 = \''.$postData['rangs3'].'\', post_rangs4 = \''.$postData['rangs4'].'\', post_rangs5 = \''.$postData['rangs5'].'\', post_rangs6 = \''.$postData['rangs6'].'\', post_rangs7 = \''.$postData['rangs7'].'\', post_rangs8 = \''.$postData['rangs8'].'\', post_rangs9 = \''.$postData['rangs9'].'\', post_rangs10 = \''.$postData['rangs10'].'\', post_prangs1 = \''.$postData['prangs1'].'\', post_prangs2 = \''.$postData['prangs2'].'\', post_prangs3 = \''.$postData['prangs3'].'\', post_prangs4 = \''.$postData['prangs4'].'\', post_prangs5 = \''.$postData['prangs5'].'\', post_prangs6 = \''.$postData['prangs6'].'\', post_prangs7 = \''.$postData['prangs7'].'\', post_prangs8 = \''.$postData['prangs8'].'\', post_prangs9 = \''.$postData['prangs9'].'\', post_prangs10 = \''.$postData['prangs10'].
En c.core.php --> inc --> class --> c.core.php
Buscar:
Código PHP:
$this->settings['js'] = $this->settings['tema']['t_url'].'/js';
Debajo agregar:
Código PHP:
$this->settings['rangs'] = $this->getRangosper();
Buscar:
Código PHP:
/*
getCategorias()
*/
function getCategorias()
{
// CONSULTA
$query = db_exec(array(__FILE__, __LINE__), 'query', 'SELECT cid, c_orden, c_nombre, c_seo, c_img FROM p_categorias ORDER BY c_orden');
// GUARDAMOS
$categorias = result_array($query);
//
return $categorias;
}
Debajo agregar:
Código PHP:
/*
getRangosper()
*/
function getRangosper()
{
// CONSULTA
$query = db_exec(array(__FILE__, __LINE__), 'query', 'SELECT r.rango_id, r.r_name, r.r_color FROM u_rangos AS r WHERE r.rango_id >2 ORDER BY r.rango_id ASC');
// GUARDAMOS
$rangs = result_array($query);
//
return $rangs;
}
En m.posts_content.tpl --> themes --> default --> templates --> modules --> m.posts_content.tpl
Buscar:
Código PHP:
<span>
{$tsPost.post_body}
</span>
Reemplazar por:
Código PHP:
{if ($tsPost.post_prangs1==1 || $tsPost.post_prangs2==1 || $tsPost.post_prangs3==1 ||
$tsPost.post_prangs4==1 || $tsPost.post_prangs5==1 || $tsPost.post_prangs6==1 ||
$tsPost.post_prangs7==1 || $tsPost.post_prangs8==1 || $tsPost.post_prangs9==1 ||
$tsPost.post_prangs10==1) & $tsUser->is_member=='false'}
<br>
<div class="emptyData">
Para poder comentar necesitas estar <a title="Registrate!" onclick="registro_load_form(); return false" href="">Registrado.</a> O ya tienes usuario? <a title="Identificarme" href="javascript:open_login_box()">Logueate!</a>
</div>{else}
{if $tsPost.post_prangs1==1 & $tsUser->info.user_rango == 3 & $tsAutor.user_id != $tsUser->uid & $tsUser->is_member ||
$tsPost.post_prangs2==1 & $tsUser->info.user_rango == 4 & $tsAutor.user_id != $tsUser->uid ||
$tsPost.post_prangs3==1 & $tsUser->info.user_rango == 5 & $tsAutor.user_id != $tsUser->uid ||
$tsPost.post_prangs4==1 & $tsUser->info.user_rango == 6 & $tsAutor.user_id != $tsUser->uid ||
$tsPost.post_prangs5==1 & $tsUser->info.user_rango == 7 & $tsAutor.user_id != $tsUser->uid ||
$tsPost.post_prangs6==1 & $tsUser->info.user_rango == 8 & $tsAutor.user_id != $tsUser->uid ||
$tsPost.post_prangs7==1 & $tsUser->info.user_rango == 9 & $tsAutor.user_id != $tsUser->uid ||
$tsPost.post_prangs8==1 & $tsUser->info.user_rango == 10 & $tsAutor.user_id != $tsUser->uid ||
$tsPost.post_prangs9==1 & $tsUser->info.user_rango == 11 & $tsAutor.user_id != $tsUser->uid ||
$tsPost.post_prangs10==1 & $tsUser->info.user_rango == 12 & $tsAutor.user_id != $tsUser->uid}
<div class="alert alert-info">
<strong>El autor del post ha decidido no permitir ver el post a usuarios con tu rango.</strong>
</div>
{else}
<div class="relato-p">
<span>
{$tsPost.post_body}
</span>
</div>
{/if}
{/if}
En m.posts_comments_form.tpl --> themes --> default --> templates --> modules --> m.posts_comments_form.tpl
Buscar:
Código PHP:
<div id="procesando"><div id="post"></div></div>
Arriba agregar:
Código PHP:
{if $tsPost.post_rangs1==1 & $tsUser->info.user_rango == 3 & $tsAutor.user_id != $tsUser->uid ||
$tsPost.post_rangs2==1 & $tsUser->info.user_rango == 4 & $tsAutor.user_id != $tsUser->uid ||
$tsPost.post_rangs3==1 & $tsUser->info.user_rango == 5 & $tsAutor.user_id != $tsUser->uid ||
$tsPost.post_rangs4==1 & $tsUser->info.user_rango == 6 & $tsAutor.user_id != $tsUser->uid ||
$tsPost.post_rangs5==1 & $tsUser->info.user_rango == 7 & $tsAutor.user_id != $tsUser->uid ||
$tsPost.post_rangs6==1 & $tsUser->info.user_rango == 8 & $tsAutor.user_id != $tsUser->uid ||
$tsPost.post_rangs7==1 & $tsUser->info.user_rango == 9 & $tsAutor.user_id != $tsUser->uid ||
$tsPost.post_rangs8==1 & $tsUser->info.user_rango == 10 & $tsAutor.user_id != $tsUser->uid ||
$tsPost.post_rangs9==1 & $tsUser->info.user_rango == 11 & $tsAutor.user_id != $tsUser->uid ||
$tsPost.post_rangs10==1 & $tsUser->info.user_rango == 12 & $tsAutor.user_id != $tsUser->uid}
<div class="emptyData" style="margin-bottom:5px;">
El Autor del Posts ha decidido no permitir comentarios con tu rango.
</div>
{else}
Al final en el último:
Código PHP:
</div>
Agregar:
Código PHP:
{/if}
En m.agregar_form.tpl --> themes --> default --> templates --> modules --> m.agregar_form.tpl
Buscar:
Código PHP:
</ul>
Arriba agregar:
Código PHP:
{include file='modules/m.opciones_users.tpl'}
Y subir esta carpeta
Mega
http://Registrate o inicia tu sesión par... contenido
Google Drive
http://Registrate o inicia tu sesión par... contenido
Mediafire
http://Registrate o inicia tu sesión par... contenido
Uptobox
http://Registrate o inicia tu sesión par... contenido
4shared
http://Registrate o inicia tu sesión par... contenido
Creditos: Vellenger
Foro:
Complementos Terminados
Respuestas
Sin respuestas

Enviado por:
Chctrpgo
Capturas
En c.comunidades.php --> inc --> class --> c.comunidades.php
Buscar:
Debajo agregar:
En c.crear_left.tpl --> themes --> default --> templates --> comunidades --> c.crear_left.tpl
Buscar:
Debajo agregar:
Creditos: Vellenger
[img]Registrate o inicia tu sesión para ver este contenido[/img]
[img]Registrate o inicia tu sesión para ver este contenido[/img]
[img]Registrate o inicia tu sesión para ver este contenido[/img]
En c.comunidades.php --> inc --> class --> c.comunidades.php
Buscar:
Código PHP:
if($data['com']['c_acceso'] == 2 && !$tsUser->is_member) return 'Esta comunidad es privada, solo usuarios registrados pueden acceder a ella.';
Debajo agregar:
Código PHP:
if($data['com']['c_acceso'] == 3 && !$tsUser->is_admod && !$tsUser->permisos['sumo'] && !$tsUser->permisos['suad']) return 'Esta comunidad es solo para miembros del <b>staff</b>.';
En c.crear_left.tpl --> themes --> default --> templates --> comunidades --> c.crear_left.tpl
Buscar:
Código PHP:
<div class="option mg-lt clearfix">
<input name="acceso" type="radio" value="2" {if $tsDato.c_acceso == 2}checked="checked"{/if}>
<p class="floatL"><strong>Sólo usuarios registrados</strong> El acceso a tu comunidad estará restringida únicamente para los usuarios que se han registrado en {$tsconfig.titulo}</p>
</div>
Debajo agregar:
Código PHP:
{if $tsUser->is_admod}
<div class="option mg-lt clearfix">
<input name="acceso" type="radio" value="3" {if $tsDato.c_acceso == 3}checked="checked"{/if}>
<p class="floatL"><strong>Sólo usuarios del staff</strong> El acceso a tu comunidad estará restringida únicamente para los miembros del staff.</p>
</div>
{/if}
Creditos: Vellenger
Foro:
Complementos Terminados

Enviado por:
Chctrpgo
Capturas
Ejecutar estas consultas
En c.admin.php --> inc --> class --> c.admin.php
Buscar:
Debajo agregar:
Buscar:
Al lado agregar:
En m.admin_configs.tpl --> themes --> default --> templates --> admin_mods --> m.admin_configs.tpl
Buscar:
Debajo agregar:
En t.comunidades.tpl --> themes --> default --> templates --> t.comunidades.tpl
Buscar:
Debajo agregar:
Buscar:
Arriba agregar:
En estilo.css --> themes --> default --> estilo.css
Al final agregar:
Y subir esta imagen con el nombre de stripe.png a la carpeta images
[img]Registrate o inicia tu sesión para ver este contenido[/img]
Creditos: Vellenger
[img]Registrate o inicia tu sesión para ver este contenido[/img]
[img]Registrate o inicia tu sesión para ver este contenido[/img]
[img]Registrate o inicia tu sesión para ver este contenido[/img]
Ejecutar estas consultas
Código PHP:
ALTER TABLE w_configuracion ADD comusoff int(1) NOT NULL DEFAULT '0'
Código PHP:
ALTER TABLE w_configuracion ADD comusnot varchar(250) NOT NULL
En c.admin.php --> inc --> class --> c.admin.php
Buscar:
Código PHP:
'offline_message' => $tsCore->setSecure($tsCore->parseBadWords($_POST['offline_message'])),
Debajo agregar:
Código PHP:
'comusoff' => empty($_POST['comusoff']) ? 0 : 1,
'comusnot' => $tsCore->setSecure($tsCore->parseBadWords($_POST['comusnot'])),
Buscar:
Código PHP:
'\', `offline_message` = \'' . $c['offline_message'] .
Al lado agregar:
Código PHP:
'\', `comusoff` = \'' . $c['comusoff'] . '\', `comusnot` = \'' . $c['comusnot'] .
En m.admin_configs.tpl --> themes --> default --> templates --> admin_mods --> m.admin_configs.tpl
Buscar:
Código PHP:
<dl>
<dt>
<label for="ai_offline">Modo mantenimiento:</label>
<br /><span>Esto hará al Sitio inaccesible a los usuarios. Si quiere, también puede introducir un breve mensaje (255 caracteres) para mostrar.</span></dt>
<dd>
<label>
<input name="offline" type="radio" id="ai_offline" value="1" {if $tsConfig.offline==1 }checked="checked" {/if} class="radio" /> Sí</label>
<label>
<input name="offline" type="radio" id="ai_offline" value="0" {if $tsConfig.offline !=1 }checked="checked" {/if} class="radio" /> No</label>
<br />
<input type="text" name="offline_message" id="ai_offline" value="{$tsConfig.offline_message}" />
</dd>
</dl>
Debajo agregar:
Código PHP:
<dl>
<dt>
<label for="comusoff">Modo mantenimiento comunidades:</label><br /><span>Esto hará a las Comunidades inaccesibles a los usuarios. Si quieres, también puede introducir un breve mensaje (255 caracteres) para mostrar.</span></dt>
<dd>
<label><input name="comusoff" type="radio" id="comusoff" value="1" {if $tsConfig.comusoff == 1}checked="checked"{/if} class="radio"/>Sí</label>
<label><input name="comusoff" type="radio" id="comusoff" value="0" {if $tsConfig.comusoff != 1}checked="checked"{/if} class="radio"/>No</label>
<br />
<input type="text" name="comusnot" id="comusoff" value="{$tsConfig.comusnot}" />
</dd>
</dl>
<hr/>
En t.comunidades.tpl --> themes --> default --> templates --> t.comunidades.tpl
Buscar:
Código PHP:
{include file='sections/main_header.tpl'}
Debajo agregar:
Código PHP:
{if $tsConfig.comusoff==0 OR $tsUser->is_admod == 1}
{if $tsConfig.comusoff==1 AND $tsUser->is_admod == 1}
<div class="alert alert-warning">
<strong>{$tsConfig.comusnot}</strong>
</div>
<div class="alert alert-info">
<strong>Tú puedes Entrar porque eres Administrador.</strong>
</div>
{/if}
Buscar:
Código PHP:
{include file='sections/main_footer.tpl'}
Arriba agregar:
Código PHP:
{else}
<div id="velloff">
<div id="vellfon">
<div>
<div id="not2"><br class="space"/>
<div class="alert alert-danger">
<strong>{$tsConfig.comusnot}</strong>
</div>
</div>
<br/>
<img src="{$tsConfig.tema.t_url}/images/mantenimiento.gif" width="310" height="324" />
</div>
</div>
</div>
{/if}
En estilo.css --> themes --> default --> estilo.css
Al final agregar:
Código PHP:
#velloff{background:url('images/stripe.png');padding:5px;margin-top:0;box-shadow:0 0 15px rgba(0,0,0,.8)}#vellfon{background:#fff}.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid;border-radius:.25rem;text-align:center}.alert-warning{color:#856404;background-color:#fff3cd;border-color:#ffeeba;font-size:12px}.alert-info{color:#0c5460;background-color:#d1ecf1;border-color:#bee5eb;font-size:12px}.alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb;font-size:12px}
Y subir esta imagen con el nombre de stripe.png a la carpeta images
[img]Registrate o inicia tu sesión para ver este contenido[/img]
Creditos: Vellenger
Foro:
Complementos Terminados
Respuestas
Sin respuestas

Enviado por:
Chctrpgo
Instrucciones de instalación en el archivo.
Demo
http://Registrate o inicia tu sesión par... contenido
Capturas
Descargar
Mega
http://Registrate o inicia tu sesión par... contenido
Google Drive
http://Registrate o inicia tu sesión par... contenido
Mediafire
http://Registrate o inicia tu sesión par... contenido
Uptobox
http://Registrate o inicia tu sesión par... contenido
4shared
http://Registrate o inicia tu sesión par... contenido
Demo
http://Registrate o inicia tu sesión par... contenido
Capturas
[img]Registrate o inicia tu sesión para ver este contenido[/img]
[img]Registrate o inicia tu sesión para ver este contenido[/img]
[img]Registrate o inicia tu sesión para ver este contenido[/img]
Descargar
Mega
http://Registrate o inicia tu sesión par... contenido
Google Drive
http://Registrate o inicia tu sesión par... contenido
Mediafire
http://Registrate o inicia tu sesión par... contenido
Uptobox
http://Registrate o inicia tu sesión par... contenido
4shared
http://Registrate o inicia tu sesión par... contenido
Foro:
Complementos Terminados
Bienvenido, Invitado
Buscar en los foros
Estadísticas del foro
Usuarios en línea
Actualmente hay 13 usuarios en línea.
Google
0 miembro(s) | 12 invitado(s)
Últimos temas
Taringa V7 V3 (2023)
Último mensaje por:
jorgeCBAar
•
03-03-2023, 01:32 PM
Comunidad Recreativa
Último mensaje por:
Tronlar
•
02-28-2023, 04:10 PM
No me muestra la informac...
Último mensaje por:
moyo
•
02-21-2023, 11:54 PM
Cambio de Diseño
Último mensaje por:
airkpo
•
02-20-2023, 08:19 AM
Me sale Error en ventana ...
Último mensaje por:
moyo
•
02-06-2023, 08:27 PM
embed code
Último mensaje por:
Miguel92
•
02-04-2023, 02:36 PM
Agregar otro idioma
Último mensaje por:
Tronlar
•
02-02-2023, 08:46 AM
V6 Original/Dark/Memes (A...
Último mensaje por:
jocker
•
02-02-2023, 01:06 AM
Avances V7 (DEMO)
Último mensaje por:
jocker
•
02-02-2023, 01:03 AM
Selector de Comunidades p...
Último mensaje por:
Tronlar
•
01-15-2023, 09:09 AM