-
Cómo funcionan las Mision...
Foro: Guías y Tutoriales
Último mensaje por: Tronlar
06-14-2026, 09:46 PM
» Respuestas: 0
» Vistas: 115 -
V6 Original/Dark/Memes (A...
Foro: Diseños Terminados
Último mensaje por: carlos007r
06-14-2026, 11:08 AM
» Respuestas: 26
» Vistas: 6,360 -
V5
Foro: Diseños Terminados
Último mensaje por: Aeikox
06-13-2026, 12:16 AM
» Respuestas: 8
» Vistas: 1,454 -
Risus 1.3 Actualizado jQu...
Foro: Risus 1.3
Último mensaje por: Tronlar
06-12-2026, 10:45 PM
» Respuestas: 55
» Vistas: 10,698 -
Preguntas Frecuentes y So...
Foro: Guías y Tutoriales
Último mensaje por: Tronlar
06-12-2026, 06:17 PM
» Respuestas: 0
» Vistas: 94 -
Cómo registrar tu comunid...
Foro: Guías y Tutoriales
Último mensaje por: Tronlar
06-12-2026, 05:32 PM
» Respuestas: 0
» Vistas: 75 -
Cómo monetizar tu comunid...
Foro: Guías y Tutoriales
Último mensaje por: Tronlar
06-11-2026, 07:19 PM
» Respuestas: 0
» Vistas: 81 -
Introducción al SEO para ...
Foro: Guías y Tutoriales
Último mensaje por: Tronlar
06-11-2026, 06:58 PM
» Respuestas: 0
» Vistas: 87 -
Guía completa de SEO para...
Foro: Guías y Tutoriales
Último mensaje por: Tronlar
06-11-2026, 06:48 PM
» Respuestas: 0
» Vistas: 98 -
Diccionario de términos b...
Foro: Guías y Tutoriales
Último mensaje por: Tronlar
06-11-2026, 01:41 PM
» Respuestas: 0
» Vistas: 121
- Mensajes del foro:1,957
- Temas del foro:614
- Miembros:1,036
- Último miembro:carlos007r
Capturas
Ejecutar esta consulta
ALTER TABLE w_noticias ADD not_type int(1) NOT NULL;
En c.admin.php --> inc --> class --> c.admin.php
Buscar:
$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:
$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:
/*
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:
/*
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:
$query = db_exec(array(__FILE__, __LINE__), 'query', 'SELECT not_body FROM w_noticias WHERE not_active = \'1\' ORDER by RAND()');
Reemplazar por:
$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:
#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:
#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
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
Capturas
En c.cuenta.php --> inc --> class --> c.cuenta.php
Buscar:
$data['p_socials']['t'] = $data['p_socials'][1];
Debajo agregar:
$data['p_socials']['i'] = $data['p_socials'][2];
Buscar:
$data['p_socials']['t'] = $data['p_socials'][1];
Debajo agregar:
$data['p_socials']['i'] = $data['p_socials'][2];
Buscar:
$twitter = $tsCore->setSecure($tsCore->parseBadWords($_POST['twitter']), true);
Debajo agregar:
$instagram = $tsCore->setSecure($tsCore->parseBadWords($_POST['instagram']), true);
Buscar:
'socials' => serialize(array($facebook,$twitter)),
Al lado de:
,$twitter
Agregar:
,$instagram
En m.cuenta_perfil_me.tpl --> themes --> default --> templates --> modules --> m.cuenta_perfil_me.tpl
Buscar:
<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:
<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:
{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:
{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]
Capturas
Ejecutar esta consulta
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:
$postData['block_comments'] = empty($_POST['sin_comentarios']) ? 0 : 1;
Debajo agregar:
$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:
post_block_comments,
Al lado agregar:
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:
'\', \''.(int)$postData['block_comments'].
Al lado agregar:
'\', \''.(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:
$postData['block_comments'] = empty($_POST['sin_comentarios']) ? 0 : 1;
Debajo agregar:
$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:
'\', post_block_comments = \''.$postData['block_comments'].
Al lado agregar:
'\', 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:
$this->settings['js'] = $this->settings['tema']['t_url'].'/js';
Debajo agregar:
$this->settings['rangs'] = $this->getRangosper();
Buscar:
/*
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:
/*
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:
<span>
{$tsPost.post_body}
</span>
Reemplazar por:
{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:
<div id="procesando"><div id="post"></div></div>
Arriba agregar:
{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:
</div>
Agregar:
{/if}
En m.agregar_form.tpl --> themes --> default --> templates --> modules --> m.agregar_form.tpl
Buscar:
</ul>
Arriba agregar:
{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
Capturas
En c.comunidades.php --> inc --> class --> c.comunidades.php
Buscar:
if($data['com']['c_acceso'] == 2 && !$tsUser->is_member) return 'Esta comunidad es privada, solo usuarios registrados pueden acceder a ella.';
Debajo agregar:
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:
<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:
{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
Capturas
Ejecutar estas consultas
ALTER TABLE w_configuracion ADD comusoff int(1) NOT NULL DEFAULT '0'
ALTER TABLE w_configuracion ADD comusnot varchar(250) NOT NULL
En c.admin.php --> inc --> class --> c.admin.php
Buscar:
'offline_message' => $tsCore->setSecure($tsCore->parseBadWords($_POST['offline_message'])),
Debajo agregar:
'comusoff' => empty($_POST['comusoff']) ? 0 : 1,
'comusnot' => $tsCore->setSecure($tsCore->parseBadWords($_POST['comusnot'])),
Buscar:
'\', `offline_message` = \'' . $c['offline_message'] .
Al lado agregar:
'\', `comusoff` = \'' . $c['comusoff'] . '\', `comusnot` = \'' . $c['comusnot'] .
En m.admin_configs.tpl --> themes --> default --> templates --> admin_mods --> m.admin_configs.tpl
Buscar:
<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:
<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:
{include file='sections/main_header.tpl'}
Debajo agregar:
{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:
{include file='sections/main_footer.tpl'}
Arriba agregar:
{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:
#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
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
Buenas a todos
Estoy en búsqueda de una persona que me pueda ayudar con un requerimiento. (Pagado, obviamente)
Tengo un foro de MYBB, necesito que la persona al momento de registrarse, esta sea dirigida a un simple cuestionario de apróximadamente 20 preguntas de alternativas. Si la persona responde correctamente, el registro es satisfactorio y se generan las credenciales. Si la persona falla al menos en 1 pregunta, el registro fracase, no se generen las credenciales y le envíe a realizar las alternativas nuevamente.
Muchas gracias, un saludo.
Capturas
Ejecutar esta consulta
ALTER TABLE w_configuracion
ADD bloque_mes tinytext NOT NULL,
ADD bloque_dias tinytext NOT NULL,
ADD bloque_mensaje tinytext NOT NULL,
ADD bloque_mfinal tinytext NOT NULL;
En c.admin.php --> inc --> class --> c.admin.php
Buscar:
'offline' => empty($_POST['offline']) ? 0 : 1,
Debajo agregar:
'bloque_mensaje' => $tsCore->setSecure($_POST['bloquemensaje']),
'bloque_mfinal' => $tsCore->setSecure($_POST['bloquemfinal']),
'bloque_mes' => $tsCore->setSecure($_POST['bloquemes']),
'bloque_dias' => $tsCore->setSecure($_POST['bloquedias']),
Buscar:
$c['chat'] .
'\'
Al lado agregar:
, `bloque_mensaje` = \'' . $c['bloque_mensaje'] . '\', `bloque_mfinal` = \'' . $c['bloque_mfinal'] . '\', `bloque_mes` = \'' . $c['bloque_mes'] .'\', `bloque_dias` = \'' . $c['bloque_dias'] . '\'
En t.home.tpl --> themes --> default --> templates --> t.home.tpl
Buscar:
{include file='modules/m.home_search.tpl'}
Debajo agregar:
{include file='modules/m.home_cuenta_regresiva.tpl'}
En m.admin_configs.tpl --> themes --> default --> templates --> admin_mods --> m.admin_configs.tpl
Buscar:
<p>
<input type="submit" name="save" value="Guardar Cambios" class="btn_g" />
</p>
Arriba agregar:
<hr />
<legend>Bloque cuenta regresiva</legend>
<dl>
<dt><label for="bloquemensaje">Acontecimiento por el que se espera</label><br /><span>Por ejemplo: Días que faltan para navidad.</span></dt>
<dd><input type="text" id="bloque_mensaje" name="bloquemensaje" maxlength="300" value="{$tsConfig.bloque_mensaje}" /></dd>
</dl>
<dl>
<dt><label for="bloque_mfinal">Mensaje final</label><br /><span>Introduce el mensaje que se mostrará cuando llegue el acontecimiento.</span></dt>
<dd><input type="text" id="bloque_mfinal" name="bloquemfinal" maxlength="300" value="{$tsConfig.bloque_mfinal}" /></dd>
</dl>
<dl>
<dt><label for="bloque_dias">Día en que ocurre el acontecimiento</label><br /><span></span></dt>
<dd><input type="text" id="bloque_dias" name="bloquedias" style="width:10%" maxlength="3" value="{$tsConfig.bloque_dias}" /></dd>
</dl>
<dl>
<dt><label for="bloque_mes">Mes en que ocurre el acontecimiento</label><br /><span>Hazlo con un número (1-> enero, 2-> febrero...)</span></dt>
<dd><input type="text" id="bloque_mes" name="bloquemes" style="width:10%" maxlength="3" value="{$tsConfig.bloque_mes}" /></dd>
</dl>
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
Captura
Nota: Deben de tener instalado el complemento Localización del usuario en tu web
http://Registrate o inicia tu sesión par... contenido
En c.cuenta.php --> inc --> class --> c.cuenta.php
Buscar:
$data['stats']['user_fotos'] = $q4[0];
Debajo agregar:
//LOCALIZACION
$q5 = db_exec('fetch_assoc', db_exec(array(__FILE__, __LINE__), 'query', 'SELECT * FROM u_localizacion WHERE id_user ='.(int)$user_id));
$data['loc']['titulo'] = $q5['titulo'];
$data['loc']['tipo'] = $q5['tipo'];
$data['loc']['url'] = $q5['url'];
$data['loc']['lugar'] = $q5['lugar'];
En m.perfil_sidebar.tpl --> themes --> default --> templates --> modules --> m.perfil_sidebar.tpl
Buscar:
<div style="margin-bottom: 10px">
{$tsConfig.ads_300}
</div>
Debajo agregar:
{if $tsInfo.loc.tipo}
<div class="widget w-localizacion clearfix">
<div class="title-w clearfix">
<h3>{if $tsInfo.status.t == "Online"}Localización{else}Fue visto la última vez{/if}</h3>
</div>
<div class="emptyData">
{if $tsInfo.loc.tipo == 1}
{$tsInfo.loc.titulo} {$tsConfig.titulo}
{elseif $tsInfo.loc.tipo == 2}
Viendo el post <a href="{$tsConfig.url}/{$l.url}" title="{$tsInfo.loc.titulo}">{$tsInfo.loc.titulo}</a>
{elseif $tsInfo.loc.tipo == 3}
{$tsInfo.loc.titulo} <a href="{$tsConfig.url}/perfil/{$tsInfo.loc.url}" title="Ver perfil de {$l.url}" class="hovercard" uid="{$tsInfo.loc.lugar}">{$tsInfo.loc.url}</a>
{elseif $tsInfo.loc.tipo == 5}
Viendo la foto <a href="{$tsConfig.url}/{$l.url}" title="{$tsInfo.loc.titulo}">{$l.titulo}</a>
{elseif $tsInfo.loc.tipo == 6}
Viendo el <a href="{$tsConfig.url}/{$l.url}" title="{$tsInfo.loc.titulo}">album</a> de fotos de <a href="{$tsConfig.url}/perfil/{$tsInfo.loc.titulo}" title="{$tsInfo.loc.titulo}">{$tsInfo.loc.titulo}</a>
{elseif $tsInfo.loc.tipo == 7}
{$tsInfo.loc.titulo} <a href="{$tsConfig.url}/top/{$tsInfo.loc.url}/" title="{$l.url}">{$tsInfo.loc.url}</a>
{elseif $tsInfo.loc.tipo == 8}
{$tsInfo.loc.titulo} <a href="{$tsConfig.url}/top/{$tsInfo.loc.url}/" title="{$l.url}">{$tsInfo.loc.url}</a>
{elseif $tsInfo.loc.tipo == 13}
{$tsInfo.loc.titulo} <a href="{$tsConfig.url}/{$tsInfo.loc.url}/" title="Mi">Portal</a>
{elseif $tsInfo.loc.tipo == 12}
Viendo la localizacón de los usuarios.
{else}
{$tsInfo.loc.titulo}
{/if}
</div>
</div>
{/if}
Creditos: Kmario19

