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.

Membri conectati fara bold

Pagina 2 din 3 Înapoi  1, 2, 3  Urmatorul

Vezi subiectul anterior Vezi subiectul urmator In jos

Rezolvat Membri conectati fara bold

Mesaj Scris de jiango Sam Iun 20, 2015 5:26 pm

Rezumarea primului mesaj :

Cum scot bold-ul membrilor ce apar in legenda? Sa fie simplu...ca pe fg
jiango

jiango
Membru Forumgratuit

Mesaje : 105
Varsta : 46
Data înscrierii : 15/06/2015
Mulțumiri : 2
Internet Explorer punBB

http://www.legiuneastraina.forumz.ro
jiango a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Membri conectati fara bold

Mesaj Scris de Stark.sys Vin Iun 26, 2015 10:40 pm

Buna seara,
Doresti ca toti membri sa fie fara bold, sau doar anumiti membri ?!

Stark.sys
Stark.sys

Stark.sys
Membru Forumgratuit

Mesaje : 242
Varsta : 30
Localizare : Bacau
Data înscrierii : 30/04/2014
Mulțumiri : 39
Internet Explorer phpBB3

http://stark.portalexpert.com
Stark.sys a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Membri conectati fara bold

Mesaj Scris de jiango Sam Iun 27, 2015 9:21 am

Nu toti, doar aia conectati de jos, cum apare pe fg. Vezi legenda.
jiango

jiango
Membru Forumgratuit

Mesaje : 105
Varsta : 46
Data înscrierii : 15/06/2015
Mulțumiri : 2
Internet Explorer punBB

http://www.legiuneastraina.forumz.ro
jiango a fost mulțumit de autorul acestui subiect.
  • 0

Rezolvat Re: Membri conectati fara bold

Mesaj Scris de Stark.sys Sam Iun 27, 2015 9:24 am

Buna ziua,

Utilizatori fara bold apar asa din cauza grupului in care sunt inscrisi, acesta fiind ascuns !

Stark.sys

Intra in:
Panou de administrare -> Module -> HTML & JAVASCRIPT -> Gestiunea codurilor JavaScript

Si adauga acest cod:
Cod:
jQuery(function(jQ) {
   jQ('span[style="color:#FF0000"] > strong').attr('style','font-weight: 400;');
   jQ('span[style="color:#FF0000"]').removeAttr('style');
});

Stark.sys
Stark.sys

Stark.sys
Membru Forumgratuit

Mesaje : 242
Varsta : 30
Localizare : Bacau
Data înscrierii : 30/04/2014
Mulțumiri : 39
Internet Explorer phpBB3

http://stark.portalexpert.com
Stark.sys a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Membri conectati fara bold

Mesaj Scris de jiango Sam Iun 27, 2015 10:11 am

Nu sunt ascunse grupurile...

Nu e bun codul, sau adica e bun doar partial...imi ia bold-ul la tot userii forumului in afara de staff si nu iar nu e bun...vreau doar la legenda cum e pe fg si altele.

Imagine: http://roimg.ro/images/2015/06/27/untitled.png
jiango

jiango
Membru Forumgratuit

Mesaje : 105
Varsta : 46
Data înscrierii : 15/06/2015
Mulțumiri : 2
Internet Explorer punBB

http://www.legiuneastraina.forumz.ro
jiango a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Membri conectati fara bold

Mesaj Scris de Stark.sys Sam Iun 27, 2015 10:59 am

Buna ziua,

Inceracati si aceasta varianta !
Cod:
jQuery(function(jQ) {
  jQ('img#i_whosonline + p span[style="color:#FF0000"] > strong, p.page-bottom span[style="color:#FF0000"] > strong').attr('style','font-weight: 400;');
  jQ('img#i_whosonline + p span[style="color:#FF0000"] > strong, p.page-bottom span[style="color:#FF0000"] > strong').removeAttr('style');
});

Stark.sys
Stark.sys

Stark.sys
Membru Forumgratuit

Mesaje : 242
Varsta : 30
Localizare : Bacau
Data înscrierii : 30/04/2014
Mulțumiri : 39
Internet Explorer phpBB3

http://stark.portalexpert.com
Stark.sys a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Membri conectati fara bold

Mesaj Scris de jiango Sam Iun 27, 2015 11:22 am

Acesta nu face nimic, nici o modificare
jiango

jiango
Membru Forumgratuit

Mesaje : 105
Varsta : 46
Data înscrierii : 15/06/2015
Mulțumiri : 2
Internet Explorer punBB

http://www.legiuneastraina.forumz.ro
jiango a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Membri conectati fara bold

Mesaj Scris de Zachary Sam Iun 27, 2015 6:14 pm

Buna seara,
Vizitati: Panoul de administrare => Module => HTML & Javascript => Gestionarea codurilor Javascript => Creaza un nou cod Javascript =>
Cod:
jQuery(function(jQ) {
jQ('span[style="color:#FF0000"] > strong').attr('style','font-weight: 400;');});
Amplasare: Toate paginile

Pentru a functiona codul, am sa va rog sa eliminati toate codurile Javascript postate mai sus.
Zachary

Zachary
Membru onorific
Membru onorific

Mesaje : 2394
Localizare : România
Data înscrierii : 08/05/2013
Mulțumiri : 196
Google Chrome phpBB3

https://www.forumgratuit.ro
Zachary a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Membri conectati fara bold

Mesaj Scris de Stark.sys Dum Iun 28, 2015 1:11 pm

Buna ziua,

Inlocuiti template-ul index_body cu acesta:
Cod:
{JAVASCRIPT}
<!-- BEGIN switch_user_logged_in --><p class="right rightside">{LAST_VISIT_DATE}</p><!-- END switch_user_logged_in -->
<p>{CURRENT_TIME}</p>
<br class="clear" />

<!-- BEGIN switch_user_login_form_header -->
<div class="panel">
<div class="inner"><span class="corners-top"><span></span></span>
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
<div class="user_login_form center">
<label>{L_USERNAME} : <input class="post" type="text" size="10" name="username" /></label>&nbsp;
<label>{L_PASSWORD} : <input class="post" type="password" size="10" name="password" /></label>&nbsp;
<label>{L_AUTO_LOGIN} : <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>&nbsp;
{S_HIDDEN_FIELDS}<input class="mainoption button1" 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'" 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>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- END switch_user_login_form_header -->

<!-- BEGIN message_admin_index -->
<div class="panel introduction">
<div class="inner"><span class="corners-top"><span></span></span>
<!-- BEGIN message_admin_titre -->
<div class="h3">{message_admin_index.message_admin_titre.MES_TITRE}</div>
<!-- END message_admin_titre -->

<!-- BEGIN message_admin_txt -->
<div class="mes-txt">{message_admin_index.message_admin_txt.MES_TXT}</div>
<!-- END message_admin_txt -->
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- END message_admin_index -->

{CHATBOX_TOP}
{BOARD_INDEX}

<!-- BEGIN disable_viewonline -->
<div id="whosis">
<!-- BEGIN switch_viewonline_link -->
<div class="h3"><a href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a></div>
<!-- END switch_viewonline_link -->

<!-- BEGIN switch_viewonline_nolink -->
<div class="h3">{L_WHO_IS_ONLINE}</div>
<!-- END switch_viewonline_nolink -->

<img src="{L_ONLINE_IMG}" id="i_whosonline" alt="{L_WHO_IS_ONLINE}" class="img-whois" />
<p>{TOTAL_USERS_ONLINE}<br />
{RECORD_USERS}

<br />
{LOGGED_IN_USER_LIST}

{L_ONLINE_USERS}
{L_CONNECTED_MEMBERS}<br />
{L_WHOSBIRTHDAY_TODAY}{L_WHOSBIRTHDAY_WEEK}

<br />
<em>{LEGEND}&nbsp;:&nbsp;{GROUP_LEGEND}</em>

</p>
<div class="clear"></div>

<!-- BEGIN switch_statistics_link -->
<div class="h3"><a href="{U_STATISTICS}" rel="nofollow">{L_STATISTICS}</a></div>
<!-- END switch_statistics_link -->

<!-- BEGIN switch_statistics_nolink -->
<div class="h3">{L_STATISTICS}</div>
<!-- END switch_statistics_nolink -->

<p class="page-bottom">
{TOTAL_POSTS}
</p>
<p class="page-bottom">
{TOTAL_USERS}
</p>
<p class="page-bottom">
{NEWEST_USER}
</p>
<!-- BEGIN switch_chatbox_activate -->
<div class="h3"><a href="{S_JOIN_CHAT}" target="ChatBox">{CHATBOX_NAME}</a></div>
<div class="page-bottom">
{TOTAL_CHATTERS_ONLINE}&nbsp;:&nbsp;
{CHATTERS_LIST}<br />
</div>
<!-- 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 -->
<!-- END switch_chatbox_activate -->
</div>
<!-- END disable_viewonline -->

{CHATBOX_BOTTOM}

<!-- BEGIN switch_user_login_form_footer -->
<div class="panel">
<div class="inner"><span class="corners-top"><span></span></span>
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
<div class="user_login_form center">
<label>{L_USERNAME} : <input class="post" type="text" size="10" name="username" /></label>&nbsp;
<label>{L_PASSWORD} : <input class="post" type="password" size="10" name="password" /></label>&nbsp;
<label>{L_AUTO_LOGIN} : <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>&nbsp;
{S_HIDDEN_FIELDS}<input class="mainoption button1" type="submit" name="login" value="{L_LOGIN}" />
<!-- BEGIN switch_fb_connect -->
<span class="fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
<fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" 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>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- END switch_user_login_form_footer -->

<br style="clear:both" />

<!-- BEGIN switch_legend -->
<ul id="picture_legend">
<li><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" />{L_NEW_POSTS}</li>
<li><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" />{L_NO_NEW_POSTS}</li>
<li><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" />{L_FORUM_LOCKED}</li>
</ul>
<!-- END switch_legend -->

{AUTO_DST}

<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script>
  FB.init({
    appId      : {switch_fb_index_login.FACEBOOK_APP_ID},
    cookie    : true,
    xfbml      : true,
    oauth      : true,
    version    : 'v2.3'
  });

 (function(d, s, id){
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) {return;}
    js = d.createElement(s); js.id = id;
    js.src = "//connect.facebook.net/en_US/sdk.js";
    fjs.parentNode.insertBefore(js, fjs);
  }(document, 'script', 'facebook-jssdk'));
</script>
<!-- END switch_fb_index_login -->

iar in CSS adaugati :
(Panou de administrare -> Afisare -> Imagini si culori -> Culori -> Foaia de stil CSS)
Cod:
div#whosis span[style*="#FF0000"] strong {
  font-weight: 400;
}

Stark.sys
Stark.sys

Stark.sys
Membru Forumgratuit

Mesaje : 242
Varsta : 30
Localizare : Bacau
Data înscrierii : 30/04/2014
Mulțumiri : 39
Internet Explorer phpBB3

http://stark.portalexpert.com
Stark.sys a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Membri conectati fara bold

Mesaj Scris de jiango Dum Iun 28, 2015 7:34 pm

Raykim, nu merge ce mi-ai dat, mi-a mai fost dat codul...face exact ceea ce nu vreau. Imi ia bold-ul, corect, insa mi-l ia de pe tot forumul.

Stark.sys, e exact ce vreu, dar parca se incarca mai greu...insa are o eroare: La ultimul membru inregistrat apare fara bold si nu vreau, vreau ca aici...doar ultimii membri conenctati sa fie fara bold
jiango

jiango
Membru Forumgratuit

Mesaje : 105
Varsta : 46
Data înscrierii : 15/06/2015
Mulțumiri : 2
Internet Explorer punBB

http://www.legiuneastraina.forumz.ro
jiango a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Membri conectati fara bold

Mesaj Scris de Stark.sys Dum Iun 28, 2015 7:45 pm

Buna seara,
incercati asa:
Cod:
{JAVASCRIPT}
<!-- BEGIN switch_user_logged_in --><p class="right rightside">{LAST_VISIT_DATE}</p><!-- END switch_user_logged_in -->
<p>{CURRENT_TIME}</p>
<br class="clear" />

<!-- BEGIN switch_user_login_form_header -->
<div class="panel">
<div class="inner"><span class="corners-top"><span></span></span>
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
<div class="user_login_form center">
<label>{L_USERNAME} : <input class="post" type="text" size="10" name="username" /></label>&nbsp;
<label>{L_PASSWORD} : <input class="post" type="password" size="10" name="password" /></label>&nbsp;
<label>{L_AUTO_LOGIN} : <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>&nbsp;
{S_HIDDEN_FIELDS}<input class="mainoption button1" 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'" 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>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- END switch_user_login_form_header -->

<!-- BEGIN message_admin_index -->
<div class="panel introduction">
<div class="inner"><span class="corners-top"><span></span></span>
<!-- BEGIN message_admin_titre -->
<div class="h3">{message_admin_index.message_admin_titre.MES_TITRE}</div>
<!-- END message_admin_titre -->

<!-- BEGIN message_admin_txt -->
<div class="mes-txt">{message_admin_index.message_admin_txt.MES_TXT}</div>
<!-- END message_admin_txt -->
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- END message_admin_index -->

{CHATBOX_TOP}
{BOARD_INDEX}

<!-- BEGIN disable_viewonline -->
<div id="whosis">
<!-- BEGIN switch_viewonline_link -->
<div class="h3"><a href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a></div>
<!-- END switch_viewonline_link -->

<!-- BEGIN switch_viewonline_nolink -->
<div class="h3">{L_WHO_IS_ONLINE}</div>
<!-- END switch_viewonline_nolink -->

<img src="{L_ONLINE_IMG}" id="i_whosonline" alt="{L_WHO_IS_ONLINE}" class="img-whois" />
<p>{TOTAL_USERS_ONLINE}<br />
{RECORD_USERS}

<br />
{LOGGED_IN_USER_LIST}

{L_ONLINE_USERS}
{L_CONNECTED_MEMBERS}<br />
{L_WHOSBIRTHDAY_TODAY}{L_WHOSBIRTHDAY_WEEK}

<br />
<em>{LEGEND}&nbsp;:&nbsp;{GROUP_LEGEND}</em>

</p>
<div class="clear"></div>
</div>
<!-- BEGIN switch_statistics_link -->
<div class="h3"><a href="{U_STATISTICS}" rel="nofollow">{L_STATISTICS}</a></div>
<!-- END switch_statistics_link -->

<!-- BEGIN switch_statistics_nolink -->
<div class="h3">{L_STATISTICS}</div>
<!-- END switch_statistics_nolink -->

<p class="page-bottom">
{TOTAL_POSTS}
</p>
<p class="page-bottom">
{TOTAL_USERS}
</p>
<p class="page-bottom">
{NEWEST_USER}
</p>
<!-- BEGIN switch_chatbox_activate -->
<div class="h3"><a href="{S_JOIN_CHAT}" target="ChatBox">{CHATBOX_NAME}</a></div>
<div class="page-bottom">
{TOTAL_CHATTERS_ONLINE}&nbsp;:&nbsp;
{CHATTERS_LIST}<br />
</div>
<!-- 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 -->
<!-- END switch_chatbox_activate -->

<!-- END disable_viewonline -->

{CHATBOX_BOTTOM}

<!-- BEGIN switch_user_login_form_footer -->
<div class="panel">
<div class="inner"><span class="corners-top"><span></span></span>
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
<div class="user_login_form center">
<label>{L_USERNAME} : <input class="post" type="text" size="10" name="username" /></label>&nbsp;
<label>{L_PASSWORD} : <input class="post" type="password" size="10" name="password" /></label>&nbsp;
<label>{L_AUTO_LOGIN} : <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>&nbsp;
{S_HIDDEN_FIELDS}<input class="mainoption button1" type="submit" name="login" value="{L_LOGIN}" />
<!-- BEGIN switch_fb_connect -->
<span class="fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
<fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" 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>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- END switch_user_login_form_footer -->

<br style="clear:both" />

<!-- BEGIN switch_legend -->
<ul id="picture_legend">
<li><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" />{L_NEW_POSTS}</li>
<li><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" />{L_NO_NEW_POSTS}</li>
<li><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" />{L_FORUM_LOCKED}</li>
</ul>
<!-- END switch_legend -->

{AUTO_DST}

<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script>
  FB.init({
    appId      : {switch_fb_index_login.FACEBOOK_APP_ID},
    cookie    : true,
    xfbml      : true,
    oauth      : true,
    version    : 'v2.3'
  });

 (function(d, s, id){
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) {return;}
    js = d.createElement(s); js.id = id;
    js.src = "//connect.facebook.net/en_US/sdk.js";
    fjs.parentNode.insertBefore(js, fjs);
  }(document, 'script', 'facebook-jssdk'));
</script>
<!-- END switch_fb_index_login -->
Stark.sys

Stark.sys
Membru Forumgratuit

Mesaje : 242
Varsta : 30
Localizare : Bacau
Data înscrierii : 30/04/2014
Mulțumiri : 39
Internet Explorer phpBB3

http://stark.portalexpert.com
Stark.sys a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Membri conectati fara bold

Mesaj Scris de jiango Dum Iun 28, 2015 11:10 pm

Pana acum pare sa mearga bn.. De ce merge asa greu? De ce se incarca greu cand accesez paginile? Ai modificat body-ul care l-am postat eu? Aveam ceva modificari in el
jiango

jiango
Membru Forumgratuit

Mesaje : 105
Varsta : 46
Data înscrierii : 15/06/2015
Mulțumiri : 2
Internet Explorer punBB

http://www.legiuneastraina.forumz.ro
jiango a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Membri conectati fara bold

Mesaj Scris de Stark.sys Lun Iun 29, 2015 12:50 am

Salut, eu nu am facut sa adaug in template un div pentru a defini un loc unde sa se execute acel cod CSS, pentru problema cu incarcarea poate fii generata de imagini, coduri javascript, alte coduri externe (Hostate pe alte site-uri.)
FG Bot a scris:Div-ul definit: <div id="whois">aici este continutul unde se executa codul CSS</div>

Stark.sys
Stark.sys

Stark.sys
Membru Forumgratuit

Mesaje : 242
Varsta : 30
Localizare : Bacau
Data înscrierii : 30/04/2014
Mulțumiri : 39
Internet Explorer phpBB3

http://stark.portalexpert.com
Stark.sys a fost mulțumit de autorul acestui subiect.

Pagina 2 din 3 Înapoi  1, 2, 3  Urmatorul

Vezi subiectul anterior Vezi subiectul urmator Sus

- Subiecte similare

Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum