¡Bienvenido a PHPost!

Para participar en el foro, descargar complementos y acceder al chat, necesitas una cuenta activa. Usa un correo electrónico válido para completar la activación.

Crear cuenta gratis

¿Ya tienes cuenta? Inicia sesión aquí

Calificación:
  • 0 voto(s) - 0 Media
  • 1
  • 2
  • 3
  • 4
  • 5

COMPLEMENTOS Post Valorado dentro del post
#1

1
Mejor respuesta del mensaje Post Valorado dentro del postCapturas
[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 m.post_content.tpl  --> themes --> default --> templates --> modules --> m.post_content.tpl

Buscar:                            
<h1>{$tsPost.post_title}</h1
                                
                                                                
Reemplazar por:                                                                    
<h1>{$tsPost.post_title}            
                                 {if 
$tsPost.post_comments <= && $tsPost.post_puntos <= 0}<span style="float:right;margin-top: -5px;"class="valued x0 vctip" title="Post Valorado"></span>
                                 {elseif 
$tsPost.post_comments <= && $tsPost.post_puntos <= 50}<span style="float:right;margin-top: -5px;"class="valued x1 vctip" title="Post Valorado"></span>
                                 {elseif 
$tsPost.post_comments <= && $tsPost.post_puntos <= 75}<span style="float:right;margin-top: -5px;"class="valued x2 vctip" title="Post Valorado"></span>
                                 {elseif 
$tsPost.post_comments <= && $tsPost.post_puntos <= 100}<span style="float:right;margin-top: -5px;"class="valued x3 vctip" title="Post Valorado"></span>
                                 {elseif 
$tsPost.post_comments <= && $tsPost.post_puntos <= 125}<span style="float:right;margin-top: -5px;"class="valued x4 vctip" title="Post Valorado"></span>
                                 {elseif 
$tsPost.post_comments <= 10 && $tsPost.post_puntos <= 150}<span style="float:right;margin-top: -5px;"class="valued x5 vctip" title="Post Valorado"></span>
                                 {elseif 
$tsPost.post_comments <= 12 && $tsPost.post_puntos <= 175}<span style="float:right;margin-top: -5px;"class="valued x6 vctip" title="Post Valorado"></span>[/size][/font]
                                             
                                 {elseif 
$tsPost.post_comments <= 14 && $tsPost.post_puntos <= 200}<span style="float:right;margin-top: -5px;"class="valued x7 vctip" title="Post Valorado"></span>
                                 {elseif 
$tsPost.post_comments <= 16 && $tsPost.post_puntos <= 250}<span style="float:right;margin-top: -5px;"class="valued x8 vctip" title="Post Valorado"></span>
                                 {elseif 
$tsPost.post_comments <= 18 && $tsPost.post_puntos <= 300}<span style="float:right;margin-top: -5px;"class="valued x9 vctip" title="Post Valorado"></span>
                                 {elseif 
$tsPost.post_comments <= 20 && $tsPost.post_puntos <= 350}<span style="float:right;margin-top: -5px;"class="valued x10 vctip" title="Post Valorado"></span>
                                 {elseif 
$tsPost.post_comments <= 20 && $tsPost.post_puntos >= 350}<span style="float:right;margin-top: -5px;"class="valued x100 vctip" title="Valorado Golden Post"></span>
                                             
                                 {/if}
                            </
h1
=3                                    
                                   
En estilo.css  --> themes --> default --> estilo.css

Buscar:                                            

.post-title .icons.siguiente {
        
positionabsolute;
        
left28px;
        
top9px;
        
padding0;
        
width16px;
        
height16px;
        
display:block;
    }
    .
post-title .fortuitare {
        
positionabsolute;
        
right8px;
        
top9px;
        
padding0;
        
width16px;
        
height16px;
        
display:block;
    } 
=3                                
                                                           
Reemplazar por:                            

.post-title .icons.siguiente {
        
positionabsolute;
        
left48px;
        
top9px;
        
padding0;
        
width16px;
        
height16px;
        
display:block;
    }
    .
post-title .fortuitare {
        
positionabsolute;
        
left28px;
        
top9px;
        
padding0;
        
width16px;
        
height16px;
        
display:block;
    } 
=3                                

Al final agregar:

.valued.x0,.valued.x1,.valued.x10,.valued.x100,.valued.x2,.valued.x3,.valued.x4,.valued.x5,.valued.x6,.valued.x7,.valued.x8,.valued.x9{margin:6px 6px 0 0;float:left}.valued{background:url('images/valued.png'no-repeat;display:block;height:27px;width:100px}.valued.x0{background-position:0 0}.valued.x1{background-position:-27px}.valued.x2{background-position:-54px}.valued.x3{background-position:-81px}.valued.x4{background-position:-109px}.valued.x5{background-position:-135px}.valued.x6{background-position:-162px}.valued.x7{background-position:-190px}.valued.x8{background-position:-216px}.valued.x9{background-position:-244px}.valued.x10{background-position:-271px}.valued.x100{background-position:-298px


=3Y subir esta imagen a la carpeta images con el nombre valued.png
[img]Registrate o inicia tu sesión para ver este contenido[/img]




Creditos: Debes agradecer para ver el contenido...       
Responder


Compartir en:

Salto de foro:


Usuarios navegando en este tema: 1 invitado(s)