-
Tema Identi (Cat/Vip) 202...
Foro: Diseños Terminados
Último mensaje por: Tronlar
Hace 25 minutos
» Respuestas: 27
» Vistas: 5,906 -
Nueva etapa del proyecto:...
Foro: Noticias y Novedades
Último mensaje por: Videmax
04-27-2026, 03:41 AM
» Respuestas: 4
» Vistas: 242 -
V6 Original/Dark/Memes (A...
Foro: Diseños Terminados
Último mensaje por: Tronlar
04-24-2026, 07:15 AM
» Respuestas: 25
» Vistas: 5,733 -
Aquí yace un Taringuero
Foro: Presentaciones
Último mensaje por: Tronlar
04-23-2026, 06:24 AM
» Respuestas: 2
» Vistas: 162 -
Taringa V7 V3 (2023)
Foro: Diseños Terminados
Último mensaje por: Tronlar
04-23-2026, 06:18 AM
» Respuestas: 32
» Vistas: 5,266 -
Hola a todos
Foro: Presentaciones
Último mensaje por: Tronlar
04-23-2026, 06:05 AM
» Respuestas: 1
» Vistas: 105 -
presento TELFULL
Foro: Preséntanos tu web
Último mensaje por: Tronlar
04-19-2026, 04:01 PM
» Respuestas: 14
» Vistas: 1,222 -
Firma en fotos
Foro: Ayuda y Soporte
Último mensaje por: moyo
03-22-2025, 06:44 PM
» Respuestas: 0
» Vistas: 60 -
Noticia diferente por pág...
Foro: Ayuda y Soporte
Último mensaje por: moyo
03-05-2025, 04:13 AM
» Respuestas: 2
» Vistas: 145 -
MEGABlog V1.5 (Act 1.3)
Foro: Diseños Terminados
Último mensaje por: Tronlar
01-17-2025, 11:13 AM
» Respuestas: 8
» Vistas: 1,825
- Mensajes del foro:1,761
- Temas del foro:557
- Miembros:1,008
- Último miembro:go88baby
Ya pueden registrarse Era por un error que había por el reCaptcha pero ya lo solucionamos Registrate o inicia tu sesión para ver este contenido
Warning: Undefined variable $tsCore in /home/vol13_5/infinityfree.com/if0_36341690/htdocs/install.php on line 19 Warning: Attempt to read property "settings" on null in /home/vol13_5/infinityfree.com/if0_36341690/htdocs/install.php on line 19 Warning: Trying to access array offset on value of type null in /home/vol13_5/infinityfree.com/if0_36341690/htdocs/install.php on line 19 Warning: Undefined variable $tema_path in /home/vol13_5/infinityfree.com/if0_36341690/htdocs/install.php on line 19
Bueno esta es una versión un poco más simplificada, no requiere de la versión anterior (mejorada)
1 - En inc/ext/bbcode.inc.php buscan
array('tag' => 'url', 'replace' => '<a href="{param}" target="_blank">{param}</a>', 'parse' => false, 'validParam' => $urlValidator),
array('tag' => 'url', 'replace' => '<a href="{option}" target="_blank">{param}</a>', 'option' => true, 'validOption' => $urlValidator),Y lo que haremos es solamente agregar un atributo data-encode="true" y quedaría así
array('tag' => 'url', 'replace' => '<a href="{param}" target="_blank" data-encode="true">{param}</a>', 'parse' => false, 'validParam' => $urlValidator),
array('tag' => 'url', 'replace' => '<a href="{option}" target="_blank" data-encode="true">{param}</a>', 'option' => true, 'validOption' => $urlValidator),2 - En tutema/js/jquery.plugins.js agregan debajo de todo o en acciones.js/funciones.js esto.
/* Una versión refactorizada by Miguel92 */
function base64_encode(string) {
let type = "undefined" != typeof window && window.btoa;
return type ? window.btoa(unescape(encodeURIComponent(string))) : Buffer.from(string,"binary").toString("base64");
}
$(document).ready(function(){
$('a[data-encode="true"]').each(function(){
let url = $(this).attr('href');
$(this).attr({
href: `${global_data.url}/go/?p=` + base64_encode(url)
});
});
});3 - En tutema/template/ crean un archivo llamado t.go.tpl y en el agregan (modifique el diseño)
<style>
*, *::after, *::before {
padding: 0;
margin: 0;
box-sizing: border-box;
border-radius: .325rem;
}
body {
display: flex;
justify-content: center;
align-items: center;
background-color: #F4F4F4;
font: normal normal 500 1rem/1.5rem 'Roboto', sans-serif;
}
.leaving-wrapper {
padding: 3rem 1rem;
background-color: #FFF;
width: 50%;
box-shadow: 0 0 2rem rgba(0,0,0,.4);
border: 3px solid #36BC6C;
text-align: center;
}
.leaving-wrapper h1 {
padding: 0.785rem;
}
.leaving-wrapper p {
margin: 1rem 0;
}
.leaving-wrapper .buttons {
display: flex;
justify-content: center;
align-items: center;
gap: 1rem;
}
.leaving-wrapper .buttons a {
display: block;
text-align: center;
text-decoration: none;
padding: 0.25rem 0.875rem;
color: #333;
background-color: #D3FFE1;
}
.leaving-wrapper .buttons a:hover {
background-color: #C5E7D0;
}
.leaving-wrapper .buttons a:first-child {
background-color: #25BE54;
color: #FFF;
}
.leaving-wrapper .buttons a:hover:first-child {
background-color: #2A8B48;
}
</style>
<link rel="preconnect" href="Registrate o inicia tu sesión para ver este contenido">
<link rel="preconnect" href="Registrate o inicia tu sesión para ver este contenido" crossorigin>
<link rel="stylesheet" href="Registrate o inicia tu sesión para ver este contenido@100;300;400;500;700;900&display=swap">
<title>{$tsTitle}</title>
<div class="leaving-wrapper">
<div class="leaving-message">
<h1>Estás saliendo de {$tsConfig.titulo}</h1>
<p>Hiciste click en un enlace que te redirigirá hacia un sitio externo.</p>
<div class="buttons">
<a href="{$tsDecode}" class="btn a">Continuar</a>
<a href="{$tsConfig.url}" class="btn btn-link">Volver a {$tsConfig.titulo}</a>
</div>
</div>
</div>4 - En inc/php/ crean un archivo llamado go.php y el agregan lo siguiente
<?php
/**
* Controlador
*
* @name
* @author PHPost Team
*/
/**********************************\
* (VARIABLES POR DEFAULT) *
\*********************************/
$tsPage = "go"; // tsPage.tpl -> PLANTILLA PARA MOSTRAR CON ESTE ARCHIVO.
$tsLevel = 0; // NIVEL DE ACCESO A ESTA PAGINA. => VER FAQs
$tsAjax = empty($_GET['ajax']) ? 0 : 1; // LA RESPUESTA SERA AJAX?
$tsContinue = true; // CONTINUAR EL SCRIPT
/*++++++++ = ++++++++*/
include "../../header.php"; // INCLUIR EL HEADER
$tsTitle = "Saliendo de {$tsCore->settings['titulo']}"; // TITULO DE LA PAGINA ACTUAL
/*++++++++ = ++++++++*/
// VERIFICAMOS EL NIVEL DE ACCSESO ANTES CONFIGURADO
$tsLevelMsg = $tsCore->setLevel($tsLevel, true);
if($tsLevelMsg != 1){
$tsPage = 'aviso';
$tsAjax = 0;
$smarty->assign("tsAviso",$tsLevelMsg);
//
$tsContinue = false;
}
//
if($tsContinue){
/**********************************\
* (VARIABLES LOCALES ESTE ARCHIVO) *
\*********************************/
$action = $_GET['action'];
/**********************************\
* (INSTRUCCIONES DE CODIGO) *
\*********************************/
$page = isset($_GET['p']) ? $_GET['p'] : '';
$decode = base64_decode($page);
$smarty->assign("tsDecode", $decode);
/**********************************\
* (AGREGAR DATOS GENERADOS | SMARTY) *
\*********************************/
}
if(empty($tsAjax)) { // SI LA PETICION SE HIZO POR AJAX DETENER EL SCRIPT Y NO MOSTRAR PLANTILLA, SI NO ENTONCES MOSTRARLA.
$smarty->assign("tsTitle", $tsTitle); // AGREGAR EL TITULO DE LA PAGINA ACTUAL
/*++++++++ = ++++++++*/
include("../../footer.php");
/*++++++++ = ++++++++*/
}
Eso sería todo...
[img]Registrate o inicia tu sesión para ver este contenido[/img]
Capturas
En bbcode.inc --> inc --> ext --> bbcode.inc
Buscar:
array('tag' => 'success', 'replace' => '<div class="bbcmsg success">{param}</div>')
Agregar una coma al final y debajo agregar:
array('tag' => 'jd', 'replace' => '<div class="bbcmsg jd"><a href="{param}" target="_blank">{param}</a></div>')
Queda así:
array('tag' => 'success', 'replace' => '<div class="bbcmsg success">{param}</div>'),
array('tag' => 'jd', 'replace' => '<div class="bbcmsg jd"><a href="{param}" target="_blank">{param}</a></div>')
En c.core.php --> inc --> class --> c.core.php
Buscar:
'success'
Al lado agregar:
, 'jd'
En wysibb.js --> themes --> default --> js --> wysibb.js
Buscar:
downloads: "Descargas",
Debajo agregar:
agregar_enlaces_jd: "Agregar enlaces para Jdownloader",
ingresar_jd: "Inserta los enlaces separados por coma (,)",
Buscar:
goear,swf,
Reemplazar por:
jd,
Buscar:
link : {
title: CURLANG.link,
buttonHTML: '<span class="fonticon ve-tlb-link1">\uE007</span>',
modal: {
title: CURLANG.modal_link_title,
width: "500px",
tabs: [
{
input: [
{param: "SELTEXT",title:CURLANG.modal_link_text, type: "div"},
{param: "URL",title:CURLANG.modal_link_url,validation: '^http(s)?://'}
]
}
]
},
transform : {
'<a href="{URL}">{SELTEXT}</a>':"{SELTEXT}",
'<a href="{URL}">{URL}</a>':"{URL}"
}
},
Debajo agregar:
jd : {
title: CURLANG.agregar_enlaces_jd,
buttonHTML: '<span class="newicon i-jdownloader"></span>',
modal: {
title: CURLANG.agregar_enlaces_jd,
width: "500px",
tabs: [
{
input: [
{param: "SELTEXT",title:CURLANG.ingresar_jd, type: "div"}
]
}
]
},
transform : {
'<div class="bbcmsg jd">{SELTEXT}</div>':"[jd]{SELTEXT}[/jd]"
}
},
En wysbb.css --> themes --> default --> css --> wysbb.css
Buscar:
.i-flash { background-position: center -36px; }
Reemplazar por:
.i-jdownloader { background-position: center -37px; }
Al final del archivo agregar:
.bbcmsg.jd{box-shadow:0 1px 0 #fff,0 1px 2px rgba(0,0,0,.25) inset;padding:15px;border-radius:10px;background:url('../images/jd.png') 11px center no-repeat #ddd;width:80%;margin:10px auto}.bbcmsg.jd a{margin-left:20px}.bbcmsg.jd span{margin-left:20px}
Y suben estas imágenes a la carpeta images del tema en uso.
Mega
http://Registrate o inicia tu sesión par... contenido
Mediafire
http://Registrate o inicia tu sesión par... contenido
4shared
http://Registrate o inicia tu sesión par... contenido
Revivendo la vieja TARINGA en un clon de PHPhost
Buenas noches, presento mi sitio web Registrate o inicia tu sesión para ver este contenido en el que he instalado la V7 de Cerberus para crear mi comunidad y también las modificaciones que hice.
Mi idea prinicipal es hacer una copia casi exacta o casi de la versión de Taringa que fue cerrada el 24 de marzo de 2024.
No tengo muchos conocimientos de PHP ni MySQL, alguna vez visité esta plataforma para hacer un clon de la V5 para mi sitio que ya expiró tilinga.zz.mu en aquel tiempo no podia pagarme un hosting y un dominio como ahora, aun asi me quedo algo de esa experiencia.
PRIMEROS CAMBIOS PARA ADAPTARLA A LA ULTIMA TARINGA
Eliminé las secciones Fotos, Afiliados y Estadísticas de la Home.
PRIMEROS PROBLEMAS RESUELTOS
Cuando instalé la V7 me encontré con dos errores fatales que pude solucionarlo gracias al usuario Miguel92 que me dió la solución en la plataforma:
1ER PROBLEMA: Error al desloguerase -> solucionado aquí.
2DO PROBLEMA: Error al Publicar un post cuando un usuario te sigue, la solución me la dió en mensaje privado:
[img]Registrate o inicia tu sesión para ver este contenido[/img]
Ya solucionado estos problemas, me incentivó para seguir desarrollandolo, me di cuenta que algunos archivos que están en los códigos no están o si los sigue una url estan caídas sobre todo faltan las carpetas /images/com/ y /i/ y algunas de las imágenes como las siguientes que estan en las líneas de códigos:
[img]Registrate o inicia tu sesión para ver este contenido[/img]
[img]Registrate o inicia tu sesión para ver este contenido[/img]
CAMBIOS EN ARCHIVOS ESTILO.CSS, ACCIONES.JS Y ALGUNOS PHP
Hasta aqui he comentado mis cambos ordenadamente a continuación les voy a mostrar un borrador de los cambios que hice en los archivos para adaptarlo a la ultima Taringa la que conociamos todos, màs que nada, en lo visualmente parecido:
[img]Registrate o inicia tu sesión para ver este contenido[/img]
(Cambio de la alineacion justify por left en los Tops y eliminacion de los puntos)
Cambios en estilo.css
.box_cuerpo div.filterBy a {
padding: 9px;
.box_cuerpo
text-align: left; (por justify)
.title_list
display: inline-table; (antes contents)
/// ademas cambiar truncate:45 (por 65) en m.home_top_post.tpl
y eliminar las dos lineas identicas a la siguiente:
<i class="fas fa-sun" style="color:#c646c6;"> </i>
Cambiar color de los links por #2594ef
a:link, a:visited {
color: #333;
}
Modifique la linea del archivo modifier.hace 2.php en la carpeta smarty3/plugins:
$hace = 'Hace '.$dias.' días';
por
$hace = '- '.$dias.' días';
ALGUNAS NO FUNCIONAN COMO BULLIST Y NUMLIST, SWF Y OTRAS POR ESTETICA
En la linea acciones.js eliminar underline,strike,sup,sub, en tres lineas
buttons: "smilebox,|,bold,italic,underline,strike,sup,sub,|,img,video,link" }
OTRAS MODIFICACIONES EN EL HOME
m.home_top_users.tpl
Eliminar las 4 lineas identicas:
<span class="number_list_small">{$u.total}</span>
En el archivo t.post.tpl movi de lugar esta linea para poner los comentarios debajo del post:
<a name="comentarios"></a>
{include file='modules/m.posts_comments.tpl'}
<a name="comentarios-abajo"></a>
{if !$tsUser->is_member}
<div class="emptyData clearfix">
Para poder comentar necesitas estar <a href="javascript:registro_load_form();">Registrado.</a> O.. ya tienes usuario? <a href="javascript:open_login_box('open')">Logueate!</a>
</div>
{elseif $tsPost.block > 0}
<div class="emptyData clearfix">
¿Te has portado mal? {$tsPost.user_name} te ha bloqueado y no podrás comentar sus post.
</div>
{/if}
Eliminar la linea "dijo" de p.comentarios.ajax.tpl por un guion (-).
TRAS ESTOS CAMBIOS ME HA QUEDADO PARECIDA A LA ULTIMA VERSION DE TARINGA Y LO BUENO ES QUE ES RESPONSIVE. AHORA ESTARIA BUENO QUE EN LA VERSION RESPONSIVE SE PUEDAN INSERTAR IMAGENES Y VIDEOS DESDE UN MOVIL Y ESPERO QUE SALGAN MUCHOS CLONES DESDE ESTA VERSION, A FUTURO.
SALUDOS, CORDIALES!!!
DEMO
http://Registrate o inicia tu sesión par... contenido
Capturas
Instrucciones de instalación en el archivo.
Descarga
Mega
http://Registrate o inicia tu sesión par... contenido
Mediafire
http://Registrate o inicia tu sesión par... contenido
4shared
http://Registrate o inicia tu sesión par... contenido
Hola amigos llegue a este foro desde google. Tengo una consulta que script me recomiendan el que este mas estable, revise en la seccion descargas con cada demo. El que mas me gusta es el version V5 que esta actualizado 2024 pero veo que no es responsive es una falla actualmente la gente usa movil y se ve feo desde un movil.
Estaré atento a sus comentarios y agradezco de antemano.
En posts.php --> inc --> php --> posts.php
Buscar:
// AFILIADOS
$smarty->assign("tsAfiliados",$tsAfiliado->getAfiliados());
Arriba agregar:
// CHAT CBOX
include(TS_CLASS."c.chat.php");
$tsChat =new tsChat();
$smarty->assign("tsBanchat",$tsChat->getBan());
$smarty->assign("tsRango",$tsChat->getRango());
$tsChat->getClean();
$smarty->assign("tsConectadostotal",$tsChat->getConectadostotal());
En t.home.tpl --> themes --> default --> templates --> t.home.tpl
Buscar:
{include file='sections/main_header.tpl'}
Debajo agregar:
{include file='chat/chat.tpl'}
Y subir esta carpeta
Mega
http://Registrate o inicia tu sesión par... contenido
Mediafire
http://Registrate o inicia tu sesión par... contenido
4shared
http://Registrate o inicia tu sesión par... contenido
Capturas
En c.posts.php --> inc --> class --> c.posts.php
Al final antes del último } agregar:
// USUARIOS RANDOM
function Random(){
global $tsCore, $tsUser;
$query = db_exec(array(__FILE__, __LINE__), 'query', 'SELECT DISTINCT u.user_name, u.user_id, u.user_posts, f.f_id FROM u_miembros AS u LEFT JOIN u_perfil AS p ON u.user_id = p.user_id LEFT JOIN u_follows AS f ON u.user_id = f.f_id WHERE u.user_id != \''.$tsUser->uid.'\' ORDER BY RAND() LIMIT 4');
$data = result_array($query);
return $data;
}
En LIMIT 4 pueden cambiar el valor 4 por el número de usuarios que quieran que aparezca
En posts.php --> inc --> php --> posts.php
Buscar:
$smarty->assign("tsStats",$tsTops->getStats());
Debajo agregar:
// USUARIOS RANDOM
$smarty->assign("tsRandom",$tsPosts->Random());
En t.home.tpl --> themes --> default --> templates --> t.home.tpl
Donde quieran que aparezca agregan:
{include file='modules/m.home_usuarios_random.tpl'}
En estilos.css --> themes --> default --> estilos.css
Al final agregar:
.useraletor,.useraletori{float:left;padding:9px 0;text-align:center;background:#f8f8f8}.useralet{width:100%;position:relative;height:auto;display:-webkit-inline-box;margin-top:16px}.useraleto{width:18%;display:block;position:relative;float:left;border:3px solid #005fa3;bottom:4px}.useraletor{width:50%;font-family:cursive}.useraletori{width:37.8%;border-radius:0 0 5px;color:#eee}
Y subir esta carpeta
Mega
http://Registrate o inicia tu sesión par... contenido
Mediafire
http://Registrate o inicia tu sesión par... contenido
4shared
http://Registrate o inicia tu sesión par... contenido
Captura GIF
En bbcode.inc.php --> inc --> ext --> bbcode.inc.php
Buscar:
$this->text = preg_replace("/\[img\=(.+?)\]/i", "[img]$1[/img]", $this->text);
Debajo agregar:
$this->text = preg_replace("/\[img\](https?:\/\/.*\.(?:gif))\[\/img\]/i", "[gif]$1[/gif]", $this->text);
Buscar:
array('tag' => 'img', 'replace' => '<img src="{param}" onload="if(this.width > 735) {this.width=735}"/>', 'parse' => false, 'validParam' => $imgValidator),
Debajo agregar:
array('tag' => 'gif', 'replace' => '<img style="display: none;" class="myImg" src="URLTUWEB/gifs/genthumb.php?img={param}" data-gif="{param}"/>', 'parse' => false, 'validParam' => $imgValidator),
En c.core.php --> inc --> class --> c.core.php
Buscar:
$parser->setRestriction(array('url', 'code', 'quote', 'font', 'size', 'color', 'gif', 'img',
Reemplazar por:
$parser->setRestriction(array('url', 'code', 'quote', 'font', 'size', 'color', 'gif', 'img', 'gif',
En t.posts.tpl --> themes --> default --> templates --> t.posts.tpl
Buscar:
{include file='sections/main_header.tpl'}
Debajo agregar:
<link rel="stylesheet" href="{$tsConfig.url}/gifs/jqGifPreview.css" />
<script src="{$tsConfig.url}/gifs/jqGifPreview.js"></script>
Para ponerlo en otro sitio
Buscar:
{include file='sections/main_header.tpl'}
Debajo agregar:
<link rel="stylesheet" href="{$tsConfig.url}/gifs/jqGifPreview.css" />
<script src="{$tsConfig.url}/gifs/jqGifPreview.js"></script>
Buscar:
<img src="{$p.a_img}"/>
Reemplazar por:
{if $p.a_img|substr:-3 == 'gif'}
<img class="myImg" style="display: none;" src="{$tsConfig.url}/gifs/genthumb.php?img={$p.a_img}" data-gif="{$p.a_img}"/>
{else}
<img src="{$p.a_img}"/>
{/if}
Y subir esta carpeta
Mega
http://Registrate o inicia tu sesión par... contenido
Mediafire
http://Registrate o inicia tu sesión par... contenido
4shared
http://Registrate o inicia tu sesión par... contenido
Creditos: Tronlar

