+Utilidades para tu foro
Confirmar cierre de sesión
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('a[href="ausloggen.htm"]').attr('id', 'logout');
});
$(document).ready(function() {
var x = document.getElementById('logout');
$(x).click(function(cLogout) {
var y = confirm("¿Estas seguro que salir del foro?");
if (y == true) {
return true;
} else { cLogout.preventDefault(); }
});
});
</script>
Varios diseños para tu Foro
|
<style>table [width="75"] {text-align:center;}
.cat:link, .cat:visited {list-style-image:none;list-style-position:outside;list-style-type:none;margin:0;
background : transparent url("http://cdn4.iconfinder.com/data/icons/momenticons-gloss-basic/momenticons-gloss-basic/32/bullet-blue.png") no-repeat scroll 3px 8px;
padding-left:30px;padding-top:18px;color:#444;font-family:Arial;font-size:12px;font-style : normal;
font-variant : normal;font-weight:bold;line-height:100%;}
</style>
Categoría | Posts | Último Post de |
Ejemplo de foro Puede editar o eliminar este foro bajo Extras=>foro=>Administrar o eliminar categorías |
1 | Benjamin Lochmann 07-08-2015, 00:07 |
<style>table [width="75"] {text-align:center;}
.cat:link, .cat:visited {list-style-image:none;list-style-position:outside;list-style-type:none;margin:0;
background : transparent url("http://cdn4.iconfinder.com/data/icons/momenticons-gloss-basic/momenticons-gloss-basic/32/bullet-red.png") no-repeat scroll 3px 8px;
padding-left:30px;padding-top:18px;color:#444;font-family:Arial;font-size:12px;font-style : normal;
font-variant : normal;font-weight:bold;line-height:100%;}
Categoría | Posts | Último Post de |
Ejemplo de foro Puede editar o eliminar este foro bajo Extras=>foro=>Administrar o eliminar categorías |
1 | Benjamin Lochmann 07-08-2015, 00:07 |
<style>table [width="75"] {text-align:center;}
.cat:link, .cat:visited {list-style-image:none;list-style-position:outside;list-style-type:none;margin:0;
background : transparent url("http://cdn4.iconfinder.com/data/icons/momenticons-gloss-basic/momenticons-gloss-basic/32/bullet-red.png") no-repeat scroll 3px 8px;
padding-left:30px;padding-top:18px;color:#444;font-family:Arial;font-size:12px;font-style : normal;
font-variant : normal;font-weight:bold;line-height:100%;}
</style><style>table [width="75"] {text-align:center;}
.cat:link, .cat:visited {list-style-image:none;list-style-position:outside;list-style-type:none;margin:0;
background : transparent url("http://cdn4.iconfinder.com/data/icons/momenticons-gloss-basic/momenticons-gloss-basic/32/bullet-black.png") no-repeat scroll 3px 8px;
padding-left:30px;padding-top:18px;color:#444;font-family:Arial;font-size:12px;font-style : normal;
font-variant : normal;font-weight:bold;line-height:100%;}
</style>
Categoría | Posts | Último Post de |
Ejemplo de foro Puede editar o eliminar este foro bajo Extras=>foro=>Administrar o eliminar categorías |
1 | Benjamin Lochmann 07-08-2015, 00:07 |
<style>table [width="75"] {text-align:center;}
.cat:link, .cat:visited {list-style-image:none;list-style-position:outside;list-style-type:none;margin:0;
background : transparent url("http://cdn4.iconfinder.com/data/icons/momenticons-gloss-basic/momenticons-gloss-basic/32/bullet-green.png") no-repeat scroll 3px 8px;
padding-left:30px;padding-top:18px;color:#444;font-family:Arial;font-size:12px;font-style : normal;
font-variant : normal;font-weight:bold;line-height:100%;}
</style>
Categoría | Posts | Último Post de |
Ejemplo de foro Puede editar o eliminar este foro bajo Extras=>foro=>Administrar o eliminar categorías |
1 | Benjamin Lochmann 07-08-2015, 00:07 |
<style>table [width="75"] {text-align:center;}
.cat:link, .cat:visited {list-style-image:none;list-style-position:outside;list-style-type:none;margin:0;
background : transparent url("http://cdn4.iconfinder.com/data/icons/momenticons-gloss-basic/momenticons-gloss-basic/32/bullet-yellow.png") no-repeat scroll 3px 8px;
padding-left:30px;padding-top:18px;color:#444;font-family:Arial;font-size:12px;font-style : normal;
font-variant : normal;font-weight:bold;line-height:100%;}
</style>
Imagen de perfil para el extra foro
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> <script type="text/javascript">
$(document).ready(function(){
$('td[width="123"] a').each(function(){
var img = new Image(), t = $(this);
img.src = 'http://profile.webme.com/profile/'+t.text().toLowerCase().charAt(0)+'/'+t.text().toLowerCase()+'/small.png';
img.onload = function(){
t.parent().parent().prepend('<br /><a href="'+t.attr("href")+'"><img src="'+img.src+'" alt="perfil" /></a><br />');
}
img.onerror = function(){
t.parent().parent().prepend('<br /><a href="'+t.attr("href")+'"><img src="http://profile.webme.com/profile/default.png" alt="perfil" /></a><br />');
}
});
});
</script>
<b>Porfavor registrate usando el nombre de tu pagina web (sin .es.tl)</b>
Texto por botones [editar,citar,eliminar]
<script>
$(document).ready(function(){
$('a:contains("citar")').before( '<div class="citar">').after( '</div>').html('<img src="https://img.webme.com/pic/t/team-soporte/citar.png" alt="Citar">');
$('a:contains("editar")').before( '<div class="editar">').after( '</div>').html('<img src="https://img.webme.com/pic/t/team-soporte/editar.png" alt="Editar">');
$('a:contains("eliminar")').before( '<div class="eliminar">').after( '</div>').html('<img src="https://img.webme.com/pic/t/team-soporte/eliminar.png" alt="Eliminar">');
});
</script>
Rangos coloreados y Medallas
<h3>Rangos</h3>
<font color="orange">admin</font> <font color="green">mod</font> <font color="black">user</font> <font color="red">banned</font>
<style type="text/css">
/*user*/
td[width="120"] a,td[width="123"] a{
color: black;
background-image: url('http://cdn2.iconfinder.com/data/icons/ledicons/medal_gold_1.png');
background-repeat: no-repeat;
background-position: center right;
padding-right: 16px;
}
/* por promocionatupagina.com */
</style>
Administrador
<style type="text/css">
/*admin*/
td[width="120"] a[href="profil-NUM.htm"],td[width="123"] a[href="profil-NUM.htm"]{
color:orange;
background-image: url('http://cdn1.iconfinder.com/data/icons/silk2/award_star_gold_1.png');
background-repeat: no-repeat;
background-position: center right;
padding-right: 16px;
}
/* por promocionatupagina.com */
</style>
Moderador
Moderador
<style type="text/css">
/*mod*/
td[width="120"] a[href="profil-NUM.htm"],td[width="123"] a[href="profil-NUM.htm"]{
color:green;
background-image: url('http://cdn1.iconfinder.com/data/icons/silk2/award_star_silver_3.png');
background-repeat: no-repeat;
background-position: center right;
padding-right: 16px;
}
/* por promocionatupagina.com */
</style>
Baneado
<style type="text/css">
/*banned*/
td[width="120"] a[href="profil-NUM.htm"],td[width="123"] a[href="profil-NUM.htm"]{
color:red;
background-image: url('http://cdn2.iconfinder.com/data/icons/diagona/icon/16/101.png');
background-repeat: no-repeat;
background-position: center right;
padding-right: 16px;
}
/* por promocionatupagina.com */
</style>
Baneado
<style type="text/css">
/*banned*/
td[width="120"] a[href="profil-NUM.htm"],td[width="123"] a[href="profil-NUM.htm"]{
color:red;
background-image: url('http://cdn2.iconfinder.com/data/icons/diagona/icon/16/101.png');
background-repeat: no-repeat;
background-position: center right;
padding-right: 16px;
}
/* por promocionatupagina.com */
</style>