-
Cómo funcionan las Mision...
Foro: Guías y Tutoriales
Último mensaje por: Tronlar
06-14-2026, 09:46 PM
» Respuestas: 0
» Vistas: 117 -
V6 Original/Dark/Memes (A...
Foro: Diseños Terminados
Último mensaje por: carlos007r
06-14-2026, 11:08 AM
» Respuestas: 26
» Vistas: 6,361 -
V5
Foro: Diseños Terminados
Último mensaje por: Aeikox
06-13-2026, 12:16 AM
» Respuestas: 8
» Vistas: 1,457 -
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: 77 -
Cómo monetizar tu comunid...
Foro: Guías y Tutoriales
Último mensaje por: Tronlar
06-11-2026, 07:19 PM
» Respuestas: 0
» Vistas: 82 -
Introducción al SEO para ...
Foro: Guías y Tutoriales
Último mensaje por: Tronlar
06-11-2026, 06:58 PM
» Respuestas: 0
» Vistas: 88 -
Guía completa de SEO para...
Foro: Guías y Tutoriales
Último mensaje por: Tronlar
06-11-2026, 06:48 PM
» Respuestas: 0
» Vistas: 100 -
Diccionario de términos b...
Foro: Guías y Tutoriales
Último mensaje por: Tronlar
06-11-2026, 01:41 PM
» Respuestas: 0
» Vistas: 124
- Mensajes del foro:1,957
- Temas del foro:614
- Miembros:1,036
- Último miembro:carlos007r
Captura
En t.perfil.tpl --> themes --> default --> templates --> t.perfil.tpl
Buscar:
<script type="text/javascript" src="{$tsConfig.default}/js/perfil.js"></script>
Debajo agregar:
{if $tsInfo.user_baneado == 1}
<div id="postit-ban">
<div class="content">
<i class="fa-solid fa-triangle-exclamation"></i>
<strong>El Usuario se encuentra suspendido</strong>
<a href="javascript:void(0)" onclick="document.getElementById('postit-ban').style.display='none'" title="Cerrar">X</a>
</div>
</div>
{/if}
En extras.css --> themes --> default --> templates --> extras.css
Agregar:
#postit-ban {
position: fixed;
bottom: 20px;
right: 160px;
z-index: 9999;
width: auto; /* Se ajusta al contenido */
padding: 10px 15px;
background-color: #f8d7da;
border: 2px solid #ce152e;
color: #842029;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
font-family: sans-serif;
}
#postit-ban .content {
display: flex;
align-items: center;
gap: 12px; /* Espacio entre icono, texto y botón */
font-size: 14px;
}
#postit-ban .content a {
color: #ce152e;
font-weight: bold;
text-decoration: none;
margin-left: 10px;
cursor: pointer;
}
Captura
Buscar el código ISO y estados del país.
http://Registrate o inicia tu sesión par... contenido
http://Registrate o inicia tu sesión par... contenido
Ejemplo para Anguila
En datos.php --> inc --> ext --> datos.php
Al final antes de:
?>Agregar:
$estados['AI'] = array(1 => 'Anguila ', 'Anguillita', 'Dog', 'Little Scrub', 'Cayos Prickly Pear', 'Sandy', 'Scrub', 'Seal', 'Sombrero');
Así filtrará las palabras del título, el contenido y tags.
En c.posts.php --> inc --> class --> c.posts.php
Buscar:
$q = $tsCore->setSecure($_GET['q']);
Debajo agregar:
$q = empty($q) ? '' : '+' . str_replace(' ', ' +', $q);
Buscar:
else $search_on = 'p.post_title';
Reemplazar por:
else $search_on = 'p.post_title, p.post_body, p.post_tags';
Creditos: Kmario19
Captura GIF
En m.agregar_javascript.tpl --> themes --> default --> templates --> modules --> m.agregar_javascript.tpl
Buscar:
$('input[name=tags]').click(function(){
if(tags == true) return true;
Reemplazar por:
$('img[name=generarTag]').click(function(){
En m.agregar_form.tpl --> themes --> default --> templates --> modules --> m.agregar_form.tpl
Buscar:
<label>Tags</label>
Debajo agregar
<img name="generarTag" title="Generar Tags" class=qtip src="{$tsConfig.tema.t_url}/images/icons/reboot.png" alt="imagen" style="cursor:pointer;"/>
Captura
En m.post_autor.tpl --> themes --> default --> templates --> modules --> m.post_autor.tpl
Buscar:
<div class="avatarBox">
Debajo agregar:
{include file='modules/user_estrellas.tpl'}
Basado en comentarios
Cita:De 0 a 5 = 0 Estrellas
De 6 a 20 = 1 Estrellas
De 21 a 100 = 2 Estrellas
De 101 a 250 = 3 Estrellas
De 251 a 500 = 4 Estrellas
De 501 a 1000 = 5 Estrellas
De 1001 a 1250 = 1 Estrellas Premium
De 1251 a 1500 = 2 Estrellas Premium
De 1501 a 1750 = 3 Estrellas Premium
De 1751 a 2000 = 4 Estrellas Premium
De 2001 a --- = 5 Estrellas Premium
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
Captura
Demo
http://Registrate o inicia tu sesión par... contenido
Características:
- 100% responsive (Gracias al framework bulma.io)
- Se incluye la sección Fotos
- Rediseño de las principales secciones (Portal, Home, Post, Tops, Perfil)
- Actualización del framework Bulma a la version 0.9.4
- Libreria de iconos Feather Icons
- Añadido editor Wysiwyg
- Acualización reCAPTCHA v2
- Actualizado: 24/07/2022
Instalación
Ejecutan estas consultas
ALTER TABLE p_posts ADD post_portada VARCHAR( 180 ) NOT NULL;
ALTER TABLE p_borradores ADD b_portada VARCHAR( 180 ) NOT NULL
Después descarga el diseño y remplaza los archivos necesarios
Instala el diseño desde el panel de administración con el nombre de FlatpostDark y listo
Nota: Si tienen instalado el otro tema no tienen que subir la carpeta inc, solo la carpeta themes y pueden usar el mod selector de temas.
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
Captura GIF
En c.user.php --> inc --> class --> c.user.php
Buscar:
$pp_password = md5(md5($password) . $username);
Reemplazar por:
if (filter_var($username, FILTER_VALIDATE_EMAIL)) {
$email = true;
} else {
$pp_password = md5(md5($password) . $username);
}
Buscar:
$query = db_exec(array(__FILE__, __LINE__), 'query', 'SELECT user_id, user_password, ' . $pwtype . ' user_activo, user_baneado FROM u_miembros WHERE LOWER(user_name) = \''.$username.'\' LIMIT 1');
Reemplazar por:
$query = db_exec(array(__FILE__, __LINE__), 'query', 'SELECT user_id, user_name, user_password, ' . $pwtype . ' user_activo, user_baneado FROM u_miembros WHERE LOWER('. ( $email ? 'user_email' : 'user_name' ) .') = \''.$username.'\' LIMIT 1');
Buscar:
if(empty($data)) return '0: El usuario no existe.';
Debajo agregar:
if($email == true) $pp_password = md5(md5($password) . strtolower($data['user_name']));
Hoy ingrese a mi sitio web y apareció este error
Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in /home/u684539996/domains/litechan.com/public_html/inc/ext/functions.php:7 Stack trace: #0 /home/u684539996/domains/litechan.com/public_html/header.php(67): include() #1 /home/u684539996/domains/litechan.com/public_html/index.php(15): include('/home/u68453999...') #2 {main} thrown in /home/u684539996/domains/litechan.com/public_html/inc/ext/functions.php on line 7
No entiendo por que aparece esto si no hice ninguna modificación
Capturas
Ejecutar esta consulta
ALTER TABLE w_configuracion ADD favicon varchar(100) NOT NULL DEFAULT '0';
En c.admin.php --> inc --> class --> c.admin.php
Buscar:
'offline_message' => $tsCore->setSecure($tsCore->parseBadWords($_POST['offline_message'])),
Debajo agregar:
'favicon' => $tsCore->setSecure($tsCore->parseBadWords($_POST['favicon'])),
Buscar:
'\', `offline_message` = \'' . $c['offline_message'] .
Al lado agregar:
'\', `favicon` = \'' . $c['favicon'] .
En m.admin_configs.tpl --> themes --> default --> templates --> admin_mods --> m.admin_configs.tpl
Buscar:
<dl>
<dt>
<label for="ai_chat">Chatango ID:</label>
<br /><span>Por defecto puedes agregar un chat de <a href="Registrate o inicia tu sesión para ver este contenido">Chatango</a> para tu web, solo crea tu grupo he ingresa el nombre. (Dejar vacío para usar xat)</span></dt>
<dd>
<input type="text" id="ai_chat" name="chat" maxlength="20" value="{$tsConfig.chat_id}" /> </dd>
</dl>
Arriba agregar:
<dl>
<dt><label for="favicon">Favicon del sitio:</label><br /><span>Ingrese la url del favicon que se quiera usar. Si deja <b>vacío</b> tomará el favicon default.</span></dt>
<dd><input type="text" id="favicon" name="favicon" maxlength="100" value="{$tsConfig.favicon}" /></dd>
</dl>
En main_header.tpl --> themes --> default --> templates --> sections --> main_header.tpl
Buscar:
<link rel="shortcut icon" href="{$tsConfig.images}/favicon.ico" type="image/x-icon" />
Reemplazar por:
<link rel="shortcut icon" href="{if $tsConfig.favicon!=''}{$tsConfig.favicon}{else}{$tsConfig.images}/favicon.ico{/if}" type="image/x-icon" />
Creditos: Vellenger
Captura
En extras.css --> themes --> default --> extras.css
Al final agregar:
#pmyr_div{font:15px arial;padding:20px;background-Color:#FFFFFF;color:#1d1d1d;text-align:center;position:fixed;top:0;left:0;width:97%;height:100%;z-index:100}#pmyr_div a{font-weight:700;color:#900}#derechapm{background-color:#fafafa;margin:1rem;padding:1rem;border:2px solid #ccc;text-align:center}
Donde quieran bloquear el contenido agregan:
<script type="text/javascript">
{literal}
if(document.cookie.indexOf('PMY_')<0){
function pmyr_ok(){clearInterval(pmyr_i);pmyr_sel(1);document.cookie='PMY_=1;expires=Thu, 26 Jul 2032 16:12:48 GMT;path=/;domain=.'+document.domain;document.getElementById('pmyr_div').style.visibility="hidden"}
function pmyr_sel(v){var s=document.getElementsByTagName('select'); for(var i=0;i<s.length;i++)s.item(i).style.visibility=!v?'hidden':'visible'}
pmyr_i=setInterval('pmyr_sel(0)',200);document.write('<div id="pmyr_div"><div id="derechapm"><b>MUY IMPORTANTE! ESTE SITIO CONTIENE MATERIAL PARA ADULTOS E IMÁGENES DE SEXO.</b><br>Solo puede entrar en este sitio web <b>si es mayor de 18 años de edad</b>, o al menos la mayoría de edad en la jurisdicción donde usted reside o del que se accede a esta página web.<br>Si usted no cumple con estos requisitos, entonces usted NO ESTÁ AUTORIZADO, Y NO DEBE INGRESAR a este sitio web.<br><br><a onclick="pmyr_ok()" style="cursor:pointer">SOY MAYOR DE 18 AÑOS</a> <a href="/">NO ENTRAR</a></div></div>');
}
{/literal}
</script>
Ejemplo en la home
En t.home.tpl --> themes --> default --> templates --> t.home.tpl
Buscar:
{include file='sections/main_header.tpl'}
Debajo agregar:
<script type="text/javascript">
{literal}
if(document.cookie.indexOf('PMY_')<0){
function pmyr_ok(){clearInterval(pmyr_i);pmyr_sel(1);document.cookie='PMY_=1;expires=Thu, 26 Jul 2032 16:12:48 GMT;path=/;domain=.'+document.domain;document.getElementById('pmyr_div').style.visibility="hidden"}
function pmyr_sel(v){var s=document.getElementsByTagName('select'); for(var i=0;i<s.length;i++)s.item(i).style.visibility=!v?'hidden':'visible'}
pmyr_i=setInterval('pmyr_sel(0)',200);document.write('<div id="pmyr_div"><div id="derechapm"><b>MUY IMPORTANTE! ESTE SITIO CONTIENE MATERIAL PARA ADULTOS E IMÁGENES DE SEXO.</b><br>Solo puede entrar en este sitio web <b>si es mayor de 18 años de edad</b>, o al menos la mayoría de edad en la jurisdicción donde usted reside o del que se accede a esta página web.<br>Si usted no cumple con estos requisitos, entonces usted NO ESTÁ AUTORIZADO, Y NO DEBE INGRESAR a este sitio web.<br><br><a onclick="pmyr_ok()" style="cursor:pointer">SOY MAYOR DE 18 AÑOS</a> <a href="/">NO ENTRAR</a></div></div>');
}
{/literal}
</script>
Nota: Solo se verá una vez al día.
Creditos: Vellenger

