Benvenuto! Il tuo Avatar/Cambia Avatar Registrati oppure effettua il Log-In.
Klayz.com Klayz Community » La community ufficiale del network di Klayz.com
Klayz Community: Community Online, Amici, Discussioni e Divertimento  




   
Torna indietro   Klayz Community > > > > >

[Controllo Timezone] X
Registrazione Veloce - Registrati in tre secondi!
Username:
Indirizzo e-mail: Hai più di 13 anni e accetti
il Regolamento?  
Verifica Umana

Domanda casuale


[vB 3.7.x] "White Blank Style" per i Messaggi (Postbit_Legacy)


vBulletin - Icona di Sezione
vBulletin Sezione per discutere del CMS vBulletin (vB 3.x, vB 4.x e vBulletin 5 Connect).


I tag
37x, messaggi, postbitlegacy, white blank style

Rispondi Scrivi una nuova discussione
 
Strumenti discussione
Vecchio 03-11-2015, 18:19   #1
Norman
Admin di Klayz.com
 
L'avatar di Norman
 
Data registrazione: Feb 2008
Località: [Italy] - Pisa
Messaggi: 3,035
[vB 3.7.x] "White Blank Style" per i Messaggi (Postbit_Legacy)

Eccoci qua, con questa modifica che rivoluzionerà lo stile dei vostri messaggi! Nota: questa modifica ottiene tale effetto (vedi screen qui sotto) solo con la skin di default di vBulletin. Non è assicurato dunque lo stesso effetto per skin personalizzate.


[vB 3.7.x] "White Blank Style" per i Messaggi (Postbit_Legacy)-whiteblankpostbit-preview-.jpg

Andate nel vostro template postbit_legacy e sostituite l'intero contenuto con il seguente:
(AdminCp -> Skin e Template -> Modifica template -> postbit_legacy)

Codice:
$template_hook[postbit_start]


<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="0" width="100%">
<tbody><tr valign="top">
    <td width="175">
<!-- New Postbit_Legacy Template Code -->
<table class="tborder" align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="0" width="100%">
<tbody><tr style="text-align: center;" valign="top">
    <td class="alt1" style="border-top: 0px none; border-bottom: 0px none;" width="100%">


<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="0" width="100%">
<tbody><tr valign="top">
    <td style="" width="100%">
            <div id="postmenu_$post[postid]">
                <if condition="$show['profile']">
                <a class="bigusername" href="member.php?$session%5Bsessionurl%5Du=$post%5Buserid%5D">$post[musername]</a>
                <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
                <else>
                $post[musername]
                </else>
            </if></div>
</td>
</tr>
</tbody></table>
            
            <if condition="$post['usertitle']">


<div class="smallfont">$post[usertitle]</div>

</if>
            <if condition="$post['rank']">

<div class="smallfont">$post[rank]</div>

</if>
            $template_hook[postbit_userinfo_left]
        
            <if condition="$show['avatar']">
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="0" width="100%">
<tbody><tr valign="top">
    <td style="" width="100%">
                <div class="smallfont">
                    &nbsp;<a href="member.php?$session%5Bsessionurl%5Du=$post%5Buserid%5D"><img src="$post%5Bavatarurl%5D" $post[avwidth]="" $post[avheight]="" alt="&lt;phrase 1=" $post[username]="">$vbphrase[xs_avatar]" border="0" /&gt;</a>
                </div>
</td>
</tr>
</tbody></table>
            </if>
            
            <div class="smallfont">
                &nbsp;<br>
                <if condition="$post['joindate']">

<div>$vbphrase[join_date]: $post[joindate]</div>

</if>
                <if condition="$post['field2']">
<div>$vbphrase[location_perm]: $post[field2]</div>

</if>
                <if condition="$post['age']">

<div>$vbphrase[age]: $post[age]</div>

</if>

                <div>
                    $vbphrase[posts]: $post[posts]
                </div>

                $template_hook[postbit_userinfo_right_after_posts]
                
<if condition="$show['infraction']">

<div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div>

</if>
                <if condition="$show['reputation']">

<div><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div>

</if>
                $template_hook[postbit_userinfo_right]
            
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>

            </div>        


        $post[onlinestatus]
        <if condition="$show['reputationlink']">
            <span id="reputationmenu_$post[postid]"><a href="reputation.php?$session%5Bsessionurl%5Dp=$post%5Bpostid%5D" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar%5Bimgdir_button%5D/reputation.gif" alt="&lt;phrase 1=" $post[username]="">$vbphrase[add_to_xs_reputation]</a></span></if><a href="reputation.php?$session%5Bsessionurl%5Dp=$post%5Bpostid%5D" rel="nofollow" id="reputation_$post[postid]">" border="0" /&gt;</a>
            <if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
                        
        <if condition="$show['infractionlink']"><a href="infraction.php?$session%5Bsessionurl%5Ddo=report&amp;p=$post%5Bpostid%5D" rel="nofollow"><img class="inlineimg" src="$stylevar%5Bimgdir_button%5D/infraction.gif" alt="&lt;phrase 1=" $post[username]="">$vbphrase[add_infraction_for_x]</a></if><a href="infraction.php?$session%5Bsessionurl%5Ddo=report&amp;p=$post%5Bpostid%5D" rel="nofollow">" border="0" /&gt;</a>
        <if condition="$show['reportlink']"><a href="report.php?$session%5Bsessionurl%5Dp=$post%5Bpostid%5D" rel="nofollow"><img class="inlineimg" src="$stylevar%5Bimgdir_button%5D/report.gif" alt="$vbphrase[report_bad_post]" border="0"></a></if>
        $post[iplogged]
            

    </td>
</tr>
</tbody></table>
</td>
<td>
<if condition="$show['moderated']">
    </if><table id="post$post[postid]" class="tborder" style="height: 200px;" align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="0" width="100%">
<tbody><tr valign="top">
    <td class="alt2" id="td_post_$post[postid]" style="">
    <else>
    </else></td><td class="alt1" id="td_post_$post[postid]" style="">
    

<if condition="$show['announcement']">
        </if><else>
        </else><table id="post$post[postid]" align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="0" width="100%">
<tbody><tr><td class="thead" style="font-weight: normal;" colspan="2">
            <img class="inlineimg" src="$stylevar%5Bimgdir_statusicon%5D/post_$post%5Bstatusicon%5D.gif" alt="$post[statustitle]" border="0">
            <phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
        </td>
    <td style="font-weight: normal; font-size: 11px;" $post[scrolltothis]="">        
            

<if condition="$show['messageicon'] OR $post['title']">
            <!-- icon and title -->
            <div class="smallfont">
                <if condition="$show['messageicon']"><img class="inlineimg" src="$post%5Biconpath%5D" alt="$post[icontitle]" border="0"></if>
                <if condition="$post['title']"><strong>$post[title]</strong></if>
            </div>
            <!-- / icon and title -->
        </if>

    
        </td>
        <td style="font-weight: normal; font-size: 11px;" align="$stylevar[right]">
<!-- status icon and date -->
            <a name="post$post[postid]"><img class="inlineimg" src="$stylevar%5Bimgdir_statusicon%5D/post_$post%5Bstatusicon%5D.gif" alt="$post[statustitle]" border="0"></a>
            $post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
            $post[firstnewinsert]
            <!-- / status icon and date -->        
            &nbsp;
            <if condition="$show['postcount']">#<a href="showpost.php?$session%5Bsessionurl%5Dp=$post%5Bpostid%5D&amp;postcount=$post%5Bpostcount%5D" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
            <if condition="$show['inlinemod']">
                <input name="plist[$postid]" id="plist_$postid" style="margin: 0px 0px 0px 5px; padding: 0px; vertical-align: middle;" value="$post[checkbox_value]" type="checkbox">
            </if>
        </td>
    
</tr>
</tbody></table>



        $template_hook[postbit_messagearea_start]

<br>        
        <!-- message -->
        <div id="post_message_$post[postid]">$post[message]</div>
        <!-- / message -->
    
        <if condition="$show['attachments']">
        <!-- attachments -->
            <div style="">
            
            <if condition="$show['thumbnailattachment']">
                <fieldset class="fieldset">
                    <legend>$vbphrase[attached_thumbnails]</legend>
                    <div style="">
                    $post[thumbnailattachments]
                    </div>
                </fieldset>
            </if>
        
            <if condition="$show['imageattachment']">
                <fieldset class="fieldset">
                    <legend>$vbphrase[attached_images]</legend>
                    <div style="">
                    $post[imageattachments]
                    </div>
                </fieldset>
            </if>
            
            <if condition="$show['imageattachmentlink']">
                <fieldset class="fieldset">
                    <legend>$vbphrase[attached_images]</legend>
                    $post[imageattachmentlinks]
                    <table border="0" cellpadding="0" cellspacing="$stylevar[formspacer]">
                    </table>
                    </fieldset>
            </if>
            
            <if condition="$show['otherattachment']">
                <fieldset class="fieldset">
                    <legend>$vbphrase[attached_files]</legend>
                    $post[otherattachments]
                    <table border="0" cellpadding="0" cellspacing="$stylevar[formspacer]">
                    </table>
                </fieldset>
            </if>
            
            <if condition="$show['moderatedattachment']">
                <fieldset class="fieldset">
                    <legend>$vbphrase[attachments_pending_approval]</legend>
                    $post[moderatedattachments]
                    <table border="0" cellpadding="0" cellspacing="$stylevar[formspacer]">
                    </table>
                </fieldset>        
            </if>
            
            </div>
        <!-- / attachments -->
        </if>
        
        
        


</td>
</tr>
<tr>
<td class="alt1" valign="bottom">
        <if condition="$show['postedited']">
        <!-- edit note -->
            <div class="smallfont">
                <hr style="" size="1">
                <em>
                    <if condition="$post['editlink'] AND $show['postedithistory']">
                        <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>.
                    <else>
                        <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
                    </else>
                    <if condition="$post['edit_reason']">
                        $vbphrase[reason]: $post[edit_reason]
                    </if>
                </if></em>
            </div>
        <!-- / edit note -->
        </if>
    


<!-- controls -->
<div class="smallfont" style="text-align: right;">
        <if condition="$post['editlink']">
            <img style="display: none;" id="progress_$postid" src="$stylevar%5Bimgdir_misc%5D/progress.gif" alt="$vbphrase[loading_editor_please_wait]">
            <a href="$post%5Beditlink%5D" name="vB::QuickEdit::$post[postid]"><img src="$stylevar%5Bimgdir_button%5D/edit.gif" alt="$vbphrase[edit_delete_message]" border="0"></a>
        </if>
        <if condition="$post['forwardlink']">
            <a href="$post%5Bforwardlink%5D"><img src="$stylevar%5Bimgdir_button%5D/forward.gif" alt="$vbphrase[forward_message]" border="0"></a>
        </if>
        <if condition="$post['replylink']">
            <a href="$post%5Breplylink%5D" rel="nofollow"><img src="$stylevar%5Bimgdir_button%5D/%3Cif%20condition=" $post[="" forwardlink="" ]="">reply_small<else>quote</else>.gif" alt="$vbphrase[reply_with_quote]" border="0" /&gt;</a>
        </if>
        <if condition="$show['multiquote_post']">
            <a href="$post%5Breplylink%5D" rel="nofollow" onclick="return false"><img src="$stylevar%5Bimgdir_button%5D/multiquote_%3Cif%20condition=" $show[="" multiquote_selected="" ]="">on<else>off</else>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /&gt;</a>
        </if>
        <if condition="$show['quickreply'] AND !$show['threadedmode']">
            <a href="$post%5Breplylink%5D" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar%5Bimgdir_button%5D/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0"></a>
        </if>
        <if condition="$show['moderated']">
            <img src="$stylevar%5Bimgdir_misc%5D/moderated.gif" alt="$vbphrase[moderated_post]" border="0">
        </if>
        <if condition="$show['spam']">
            <img src="$stylevar%5Bimgdir_misc%5D/spam_detected.png" alt="$vbphrase[spam_post]" border="0">
        </if>
        <if condition="$show['deletedpost']">
            <img src="$stylevar%5Bimgdir_misc%5D/trashcan.gif" alt="$vbphrase[deleted_post]" border="0">
        </if>
        <if condition="$show['redcard']">
            <a href="infraction.php?$session%5Bsessionurl%5Ddo=view&amp;p=$post%5Bpostid%5D"><img src="$stylevar%5Bimgdir_button%5D/redcard.gif" alt="$vbphrase[received_infraction]" border="0"></a>
        <else>
            <if condition="$show['yellowcard']">
                <a href="infraction.php?$session%5Bsessionurl%5Ddo=view&amp;p=$post%5Bpostid%5D"><img src="$stylevar%5Bimgdir_button%5D/yellowcard.gif" alt="$vbphrase[received_warning]" border="0"></a>
            </if>
        </else>
        $template_hook[postbit_controls]
        <!-- / controls -->
</if></div>


    </td>
</tr>
</tbody></table>

$template_hook[postbit_signature_start]
        
        <if condition="$post['signature']">
        <!-- sig -->
            <div><br>
                $post[signature]
            </div>
        <!-- / sig -->
        </if>
        
$template_hook[postbit_signature_end]

</td>
</tr>
</tbody></table>

$template_hook[postbit_end]

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display: none;">
    <if condition="$show['profile']">
        </if><if condition="$show['pmlink']">
        </if><if condition="$show['emaillink']">
        </if><if condition="$show['homepage']">
        </if><if condition="$show['search']">
        </if><if condition="$post['userid'] AND $show['member']">
    </if>$template_hook[postbit_user_popup]
    <table border="0" cellpadding="4" cellspacing="1">
    <tbody><tr>
        <td class="thead">$post[username]</td>
    </tr>
    <tr><td class="vbmenu_option"><a href="member.php?$session%5Bsessionurl%5Du=$post%5Buserid%5D">$vbphrase[view_public_profile]</a></td></tr>
    
    <tr><td class="vbmenu_option"><a href="private.php?$session%5Bsessionurl%5Ddo=newpm&amp;u=$post%5Buserid%5D" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
    
    <tr><td class="vbmenu_option"><a href="sendmessage.php?$session%5Bsessionurl%5Ddo=mailmember&amp;u=$post%5Buserid%5D" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
    
    <tr><td class="vbmenu_option"><a href="$post%5Bhomepage%5D"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
    
    <tr><td class="vbmenu_option"><a href="search.php?$session%5Bsessionurl%5Ddo=finduser&amp;u=$post%5Buserid%5D" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
    
    <tr><td class="vbmenu_option"><a href="profile.php?$session%5Bsessionurl%5Ddo=addlist&amp;userlist=buddy&amp;u=$post%5Buserid%5D"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
    
    </tbody></table>
</div>
<!-- / post $post[postid] popup menu -->
<!-- / New Postbit_Legacy Template Code -->
[/left]
Fatto!
Fatemi sapere cosa ne pensate.
Anteprime Immagini Allegate
[vB 3.7.x] &quot;White Blank Style&quot; per i Messaggi (Postbit_Legacy)-whiteblankpostbit-preview-.jpg  
__________________
Norman,
Klayz.com - Amministratore

Klayz.com - News & Annunci - Regolamento
Lo Staff - Articoli - Tools - Giochi - Divertente
Norman è connesso ora   Rispondi citando
Mi Piace 0 Non Mi Piace 0 Informativo 0 Divertente 0 Apprezzo 0
 
Link Sponsorizzati
RispondiScrivi una nuova discussione

Stai leggendo: [vB 3.7.x] "White Blank Style" per i Messaggi (Postbit_Legacy) nella sezione vBulletin

Strumenti discussione


Discussioni simili
Discussione Autore Discussione Forum Risposte Ultimo messaggio
Set Icone - "Bitter" Twitter Gratuite Norman Risorse Gratuite 0 22-11-2015 19:21
4 Temi "Minimal" Gratuiti per WordPress Norman Risorse Gratuite 0 04-11-2015 22:31
[vB 3.8.x] "I miei Post" nella Navbar Norman vBulletin 0 03-11-2015 17:47
"Istruzioni per l'uso" al teatro vittoria, tra meringhe e lavatrici Giulio Neglia Spazio Artisti 1 30-10-2015 22:22
L'importanza della funzione "Cerca" in un sito web Norman Web Design 0 30-10-2015 19:53



Nuovo su questo sito? Hai bisogno di aiuto?

Copyright ©2008 - 2017, Klayz.com Community - Tutti i diritti riservati.
Tutti gli orari sono GMT +2. Adesso sono le 19:35.
Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO, Sistema Notifiche e Ottimizzazione by DragonByte Technologies Ltd.

Imposta un Avatar Personale Adesso!

Hai già un account? Entra Adesso!