Script - Aspect posturi / aspect forum avatar la ultimul mesaj
Forum gratuit: forum de suport al utilizatorilor :: Forum de suport :: Probleme legate de un script (cod) :: Arhiva scripturi/coduri
Pagina 1 din 1 • Distribuiţi
Script - Aspect posturi / aspect forum avatar la ultimul mesaj
Buna seara! in primul rand as dori un script / cod sau cv pentru a modifica aspectul posturilor!
actualul -> https://2img.net/h/s7.postimg.cc/jydmowu6z/posturi1.png
cel Dorit -> https://2img.net/h/s24.postimg.cc/ip8p6ys79/posturi2.png
si as dori un script/cod pentru modificarea aspectul forumului!
Actual -> https://2img.net/h/s21.postimg.cc/uube4ixcn/bandicam_2013_11_21_16_56_46_367.jpg
cel dorit -> https://2img.net/h/s24.postimg.cc/gidnaj1ol/bandicam_2013_11_21_16_56_32_610.jpg
Multumesc Anticipat!
actualul -> https://2img.net/h/s7.postimg.cc/jydmowu6z/posturi1.png
cel Dorit -> https://2img.net/h/s24.postimg.cc/ip8p6ys79/posturi2.png
si as dori un script/cod pentru modificarea aspectul forumului!
Actual -> https://2img.net/h/s21.postimg.cc/uube4ixcn/bandicam_2013_11_21_16_56_46_367.jpg
cel dorit -> https://2img.net/h/s24.postimg.cc/gidnaj1ol/bandicam_2013_11_21_16_56_32_610.jpg
Multumesc Anticipat!
Ultima editare efectuata de catre inferno1111 in Dum 24 Noi 2013 - 11:54, editata de 1 ori
Re: Script - Aspect posturi / aspect forum avatar la ultimul mesaj
Buna ziua!
Ati incercat acest tutorial?
https://help.forumgratuit.ro/t44802-avatarul-postatorului-la-ultimele-mesaje
Ati incercat acest tutorial?
https://help.forumgratuit.ro/t44802-avatarul-postatorului-la-ultimele-mesaje
Re: Script - Aspect posturi / aspect forum avatar la ultimul mesaj
oke dar aspectul forumului il pot schimba?? ca in poza??
Re: Script - Aspect posturi / aspect forum avatar la ultimul mesaj
Buna ziua ! Acel forum nu este pe platforma Forum Gratuit .. !! Multumesc .. !!
Pentru cea cu avatarele Te rog fa ce iti spun eu aici:
Panou De Administrare-Module-HTML & JAVASCRIPT-Gestiunea codurilor JavaScript-Creati unu nou-- scrieti ce vreti in titlu si dati la indexu forumului si pune-ti urmator-ul cod
Pentru cea cu avatarele Te rog fa ce iti spun eu aici:
Panou De Administrare-Module-HTML & JAVASCRIPT-Gestiunea codurilor JavaScript-Creati unu nou-- scrieti ce vreti in titlu si dati la indexu forumului si pune-ti urmator-ul 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);
};
});
- 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: 40px;
height: 40px;
}
Re: Script - Aspect posturi / aspect forum avatar la ultimul mesaj
am pus deja pe asta , dar eu as dori acolo jos este o "bara" unde scrie
148Total Post 31,081 Total Members x- Neweste Member 78most Online
148Total Post 31,081 Total Members x- Neweste Member 78most Online
Re: Script - Aspect posturi / aspect forum avatar la ultimul mesaj
Salut,
Panou de administrare ~> Afisare ~> Template-uri ~> General ~> index_body
Stergi tot scriptul din index_body si pui scriptul de mai jos
Panou de administrare ~> Afisare ~> Template-uri ~> General ~> index_body
Stergi tot scriptul din index_body si pui scriptul de mai jos
- Cod:
{JAVASCRIPT}
<!-- BEGIN switch_user_logged_in -->
<div id="pun-visit" class="clearfix">
<ul>
<li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li>
<li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
<li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a></li>
<li><a href="{U_MARK_READ}">{L_MARK_FORUMS_READ}</a></li>
</ul>
<p>{LOGGED_AS}. {LAST_VISIT_DATE}</p>
</div>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<div id="pun-visit">
<p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p>
</div>
<!-- END switch_user_logged_out -->
<!-- BEGIN message_admin_index -->
<div class="main">
<!-- BEGIN message_admin_titre -->
<div class="main-head">
<h1 class="page-title">{message_admin_index.message_admin_titre.MES_TITRE}</h1>
</div>
<!-- END message_admin_titre -->
<!-- BEGIN message_admin_txt -->
<div id="pun-announcement">
<p>{message_admin_index.message_admin_txt.MES_TXT}</p>
</div>
<!-- END message_admin_txt -->
</div>
<!-- END message_admin_index -->
<!-- BEGIN switch_user_login_form_header -->
<div class="main">
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
<div class="user_login_form main-box center">
<label><span class="genmed">{L_USERNAME} :</span> <input class="post" type="text" size="10" name="username" /></label>
<label><span class="genmed">{L_PASSWORD} :</span> <input class="post" type="password" size="10" name="password" /></label>
<label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>
{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
<!-- BEGIN switch_fb_connect -->
<span class="fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span>
<fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_header.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_header.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button>
<!-- END switch_fb_connect -->
</div>
</form>
</div>
<!-- END switch_user_login_form_header -->
{CHATBOX_TOP}
{BOARD_INDEX}
<div id="board_stats">
<ul class="ipsType_small">
<li><span class="FORUMCOUNTPOST"></span> Total Posts</li>
<li><span class="FORUMCOUNTUSER"></span> Total Members</li>
<li><span class="FORUMLASTUSER"></span> Newest Member</li>
<li><span class="FORUMONLINEUSER"></span> Most Online</li>
</ul>
</div>
<!-- BEGIN disable_viewonline -->
<div class="board-title-line"><p>{RECORD_USERS}</p><ul><li><a href="/search?search_id=activetopics">Temas activos del día</a></li><li><a href="/memberlist?mode=today_posters">Top 20 posteadores hoy</a></li><li><a href="/memberlist?mode=overall_posters">Top 20 posteadores del foro</a></li></ul></div>
<div id="pun-info-ipb" class="main">
<div class="main-content">
<div id="onlinelist">
<p>{TOTAL_USERS_ONLINE}
<br />
{LOGGED_IN_USER_LIST}
{L_ONLINE_USERS}
{L_CONNECTED_MEMBERS}<br /></p>
<div class="clear"></div>
<p>{LEGEND} : {GROUP_LEGEND}</p>
</div>
<!-- BEGIN switch_chatbox_activate -->
<div id="onlinechat">
<p class="page-bottom">
{TOTAL_CHATTERS_ONLINE} :
{CHATTERS_LIST}<br />
<!-- BEGIN switch_chatbox_popup -->
<div id="chatbox_popup"></div>
<script type="text/javascript">
insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
</script>
<!-- END switch_chatbox_popup -->
</p>
</div>
<!-- END switch_chatbox_activate -->
</div>
</div>
<!-- END disable_viewonline -->
<!-- BEGIN switch_user_login_form_footer -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
<div class="user_login_form main-box center">
<label><span class="genmed">{L_USERNAME} :</span> <input class="post" type="text" size="10" name="username"/></label>
<label><span class="genmed">{L_PASSWORD} :</span> <input class="post" type="password" size="10" name="password"/></label>
<label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>
{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
<!-- BEGIN switch_fb_connect -->
<span class="genmed fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
<fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button>
<!-- END switch_fb_connect -->
</div>
</form>
<!-- END switch_user_login_form_footer -->
{CHATBOX_BOTTOM}
{AUTO_DST}
<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script type="text/javascript">
//<![CDATA[
FB.init({
appId: '{switch_fb_index_login.FACEBOOK_APP_ID}',
status: true,
cookie: true,
xfbml: true,
oauth: true
});
//]]>
</script>
<!-- END switch_fb_index_login -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="row1" align="center" valign="middle">
<a href="http://frannnta-design.online-talk.net/" target="_blank"><img src="http://i42.servimg.com/u/f42/14/12/03/12/fd_alb10.png" style="width:88px; height:31px; border:0"></a>
</td>
<td class="row1" align="center" valign="middle">
<a href="http://over-zone.forumz.ro/" target="_blank"><img src="http://s22.postimg.org/ty2ofx64t/miniba.gif" style="width:88px; height:31px; border:0"></a>
</td>
<td class="row1" align="center" valign="middle">
<a href="http://wtfcs.forumer.ro/"><img src="http://i.imgur.com/0a6Aank.gif" style="width:88px; height:31px; border:0"></a>
</td>
<td class="row1" align="center" valign="middle">
<a href="LINK FORUM"><img src="http://i39.servimg.com/u/f39/16/16/06/68/free10.png" style="width:88px; height:31px; border:0"></a>
</td>
<td class="row1" align="center" valign="middle">
<a href="LINK FORUM"><img src="http://i39.servimg.com/u/f39/16/16/06/68/free10.png" style="width:88px; height:31px; border:0"></a>
</td>
<td class="row1" align="center" valign="middle">
<a href="LINK FORUM"><img src="http://i39.servimg.com/u/f39/16/16/06/68/free10.png" style="width:88px; height:31px; border:0"></a>
</td>
<td class="row1" align="center" valign="middle">
<a href="LINK FORUM"><img src="http://i39.servimg.com/u/f39/16/16/06/68/free10.png" style="width:88px; height:31px; border:0"></a>
</td>
<td class="row1" align="center" valign="middle">
<a href="LINK FORUM"><img src="http://i39.servimg.com/u/f39/16/16/06/68/free10.png" style="width:88px; height:31px; border:0"></a>
</td>
<td class="row1" align="center" valign="middle">
<a href="LINK FORUM"><img src="http://i39.servimg.com/u/f39/16/16/06/68/free10.png" style="width:88px; height:31px; border:0"></a>
</td>
</tr>
</table>
<br />
Re: Script - Aspect posturi / aspect forum avatar la ultimul mesaj
Rezolvat Mumtumesc
Re: Script - Aspect posturi / aspect forum avatar la ultimul mesaj
inferno1111, initial ati pus doua imagini care reprezentau de fapt aceeasi problema. Acum ati revenit solicitind altceva suplimentar. Chiar daca era in aceeasi imagine, nu era aceeasi problema. Va rog ca data viitoare sa deschideti un topic separat pentru fiecare intrebare.
Multumesc pentru intelegere!
Mr.BaBal, boldul si culorile sint rezervate pentru staff. Va rog sa reveniti la fontul de baza al forumului. Multumesc!
Multumesc pentru intelegere!
Mr.BaBal, boldul si culorile sint rezervate pentru staff. Va rog sa reveniti la fontul de baza al forumului. Multumesc!
Subiecte similare
» Aspect ultimul mesaj
» Aspect mesaj phpbb3 - transparenta cu efect hover
» Chenar ultimul mesaj,posturi si mesaje !
» aspect forum
» Schimbare Aspect forum
» Aspect mesaj phpbb3 - transparenta cu efect hover
» Chenar ultimul mesaj,posturi si mesaje !
» aspect forum
» Schimbare Aspect forum
Forum gratuit: forum de suport al utilizatorilor :: Forum de suport :: Probleme legate de un script (cod) :: Arhiva scripturi/coduri
Pagina 1 din 1
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum