Forum gratuit: forum de suport al utilizatorilor
Doriți să reacționați la acest mesaj? Creați un cont în câteva clickuri sau conectați-vă pentru a continua.

Avatar ultimul mesaj [punBB]

Vezi subiectul anterior Vezi subiectul urmator In jos

Rezolvat Avatar ultimul mesaj [punBB]

Mesaj Scris de bogdan93 Mar Noi 05, 2013 3:57 pm

Buna ziua,
As vrea dupa cum am precizat in titlu Avatar la ultimul mesaj si topics and replies sa fie intr-o coloana A face cu ochiul
Pentru punBB
Uitati poza daca nu ati priceput: avatar mesaje - Avatar ultimul mesaj  [punBB] Last_t10


Ultima editare efectuata de catre bogdan93 in Mier Noi 06, 2013 8:09 am, editata de 2 ori
bogdan93

bogdan93
Membru Forumgratuit

Mesaje : 61
Varsta : 30
Data înscrierii : 31/07/2013
Mulțumiri : 0
Internet Explorer punBB

http://www.facegame.forumz.ro/forum
bogdan93 a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Avatar ultimul mesaj [punBB]

Mesaj Scris de Vizitator Mar Noi 05, 2013 4:58 pm

posteza index_box
Anonymous

Vizitator
Vizitator


Vizitator a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Avatar ultimul mesaj [punBB]

Mesaj Scris de bogdan93 Mar Noi 05, 2013 5:57 pm

Poftim:
Cod:
<div class="pun-crumbs">
   <p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a><strong>{NAV_CAT_DESC}</strong></p>
</div>
<div class="main">
<!-- BEGIN catrow -->
   <!-- BEGIN tablehead -->
      <div class="forabg-ipb"><div class="main-head">
         <div class="page-title">{catrow.tablehead.L_FORUM}</div>
      </div>
      <div class="main-content">
         <table cellspacing="0" class="table">
            <tbody class="statused">
   <!-- END tablehead -->
                               
                                  <!-- BEGIN forumrow -->
               <tr>
                  <td class="tcl" style="padding-right: {catrow.forumrow.INC_LEVEL_RIGHT}; padding-left: {catrow.forumrow.INC_LEVEL_LEFT};">
                     <span class="status" style="padding-top: 0.8%!important;margin-right: -{catrow.forumrow.INC_WIDTH_ICON}; margin-left: -{catrow.forumrow.INC_WIDTH_ICON};">
                        <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
                     </span>
                     <h{catrow.forumrow.LEVEL} class="hierarchy"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle">{catrow.forumrow.FORUM_NAME}</a></h{catrow.forumrow.LEVEL}>
                     <br />
                     {catrow.forumrow.FORUM_DESC}
                     <!-- BEGIN switch_moderators_links -->
                     <br />
                     {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
                     <!-- END switch_moderators_links -->
                     {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
                     <strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
                  </td>
                  <td class="tc2">{catrow.forumrow.TOPICS}</td>
                  <td class="tc3">{catrow.forumrow.POSTS}</td>
                  <td class="tcr">
                     <div class="avs"><span><p>
                     <!-- BEGIN switch_topic_title -->
                                                          <a href="{catrow.forumrow.U_LATEST_TOPIC}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a><br />
                     <!-- END switch_topic_title -->
                     {catrow.forumrow.USER_LAST_POST}
                                                          </p></span></div>
                  </td>
               </tr>
   <!-- END forumrow -->

   <!-- BEGIN tablefoot -->
            </tbody>
         </table>
      </div>
                  <!-- END tablefoot --></div>
  <!-- END catrow -->
  </div>

<!-- BEGIN switch_on_index -->
<div class="main-box clearfix">
   <ul>
      <li><a href="{U_TODAY_ACTIVE}">{L_TODAY_ACTIVE}</a></li>
      <li><a href="{U_TODAY_POSTERS}">{L_TODAY_POSTERS}</a></li>
      <li><a href="{U_OVERALL_POSTERS}">{L_OVERALL_POSTERS}</a></li>
   </ul>
   <!-- BEGIN switch_delete_cookies -->
   <p class="right">
      <a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
   </p>
   <!-- END switch_delete_cookies -->
</div>
<!-- END switch_on_index -->
bogdan93

bogdan93
Membru Forumgratuit

Mesaje : 61
Varsta : 30
Data înscrierii : 31/07/2013
Mulțumiri : 0
Internet Explorer punBB

http://www.facegame.forumz.ro/forum
bogdan93 a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Avatar ultimul mesaj [punBB]

Mesaj Scris de Vizitator Mar Noi 05, 2013 8:02 pm

index_box:

jQuery Code:

CSS Code:
Anonymous

Vizitator
Vizitator


Vizitator a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Avatar ultimul mesaj [punBB]

Mesaj Scris de bogdan93 Mar Noi 05, 2013 8:22 pm

avatar mesaje - Avatar ultimul mesaj  [punBB] Assasa10

As mai avea o mica problema cum dau mai la stanga avataru si last topic sa fie ca in poza de mai jos?

uite cum e aici si cu putin contur chenar la avatar :avatar mesaje - Avatar ultimul mesaj  [punBB] Asasas10
bogdan93

bogdan93
Membru Forumgratuit

Mesaje : 61
Varsta : 30
Data înscrierii : 31/07/2013
Mulțumiri : 0
Internet Explorer punBB

http://www.facegame.forumz.ro/forum
bogdan93 a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Avatar ultimul mesaj [punBB]

Mesaj Scris de Vizitator Mier Noi 06, 2013 7:06 am

Cod:
.jq_avs  {
padding: 1px;
border: 1px solid #515151;
background: #393939;
-webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
-moz-box-shadow: 0px 2px 2px rgba(0,0,0,0.1);
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
}
Anonymous

Vizitator
Vizitator


Vizitator a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Avatar ultimul mesaj [punBB]

Mesaj Scris de bogdan93 Mier Noi 06, 2013 7:27 am

Gata am gasit: Intrii in PA > module > HTML & javascripts > Gestiunea codurilor javascript > creati un nou cod javascript :

Puneti titlu dorit

Bifati: In toate paginile sau in index unde vreti sa apara avatarele

Puneti codu urmator si

Cod:
Cod:
    $(function(){
   
        if(!window.localStorage) return;
   
        // Avatar por defecto
        var default_avatar= 'http://2img.net/i/fa/invision/pp-blank-thumb.png';
   
        // Tiempo de cache, aqui 24 h * 60 m * 60 s * 1000 ms entonces un día
        var caching_time= 24*60*60*1000;
   
        // Tiempo de cache de un error, ici 60 s * 1000 ms entonces un minuto
        var caching_error= 60*1000;
   
        var set_avatar= function(id) {
            $('.mini_ava.member'+id).html('<img src="'+get_avatar(id)+'" />');
        };
   
        var get_avatar= function(id) {
            if(localStorage.getItem('t_ava'+id) < +new Date - caching_time || (localStorage.getItem('d_ava'+id)==default_avatar && localStorage.getItem('t_ava'+id) < +new Date - caching_error))
            {
                localStorage.setItem('d_ava'+id, default_avatar);
                $.get('/u'+id, function (d){
                    localStorage.setItem('t_ava'+id,+new Date);
                    localStorage.setItem('d_ava'+id, $('#profile-advanced-right .module:first div img:first,.forumline td.row1.gensmall:first > img, .frm-set.profile-view.left dd img,dl.left-box.details:first dd img, .row1 b .gen:first img, .real_avatar img',d).first().attr('src')||default_avatar);
                    set_avatar(id);
                });
            }
            return localStorage.getItem('d_ava'+id);
        };
   
        var to_replace= {};
   
        $('dd.lastpost strong a.gensmall, .ipbtable tr td:last-child span strong a.gensmall, .table td.tcr strong a.gensmall, .forumline .row3.over strong a.gensmall').each(function(){
            to_replace[$(this).attr('href').substr(2)]= 1;
            $(this).closest('td,dd').prepend('<div class="mini_ava member'+$(this).attr('href').substr(2)+'"></div>');
        });
   
        for(i in to_replace)
        {
            set_avatar(i);
        };
   
    });

Intrii in PA > vizualizare > imagini si culori > culori > foaie de stil CSS :
si adaugi acest cod

Cod:
Cod:
    .mini_ava {
      float: left;
    }
    .mini_ava img {
      width: 40px;
      height: 40px;
      margin: 0 5px;
      border-radius: 10px;
      transition: all 2s;
      -moz-transition: all 2s;
      -webkit-transition: all 2s;
      -o-transition: all 2s;
    }
    .mini_ava img:hover
    {
      width: 80px;
      height: 80px;
    }

codu din CSS il modifici dupa bunul plac la mine a mers

Daca vreti fara a se marii imagine adica fara efect hover stergeti din css urmatorul cod:

Cod:
    .mini_ava img:hover
    {
      width: 80px;
      height: 80px;
    }
Sper ca sa foloseasca si celor care vor asa ceva !
bogdan93

bogdan93
Membru Forumgratuit

Mesaje : 61
Varsta : 30
Data înscrierii : 31/07/2013
Mulțumiri : 0
Internet Explorer punBB

http://www.facegame.forumz.ro/forum
bogdan93 a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Avatar ultimul mesaj [punBB]

Mesaj Scris de Adi. Mier Noi 06, 2013 9:29 pm

topic rezolvat 
Adi.

Adi.
Membru onorific
Membru onorific

Mesaje : 3738
Localizare : Forumgratuit
Data înscrierii : 01/08/2012
Mulțumiri : 30
Google Chrome phpBB3

Adi. a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Avatar ultimul mesaj [punBB]

Mesaj Scris de Continut sponsorizat


Continut sponsorizat


Continut sponsorizat a fost mulțumit de autorul acestui subiect.

Vezi subiectul anterior Vezi subiectul urmator Sus


Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum