Jump to content
  • 0
Sign in to follow this  
Sebastian C.

Avatar mărit versiunea 4.5

Question

Din ce-am observat codurile diferită mult mai mult față de 4.4, aveți o idee cum să mărește acum la 150 x 250 avatar păstrând și acel „badge” de utilizator ? @dOc MFX, @Portocala

<li data-role='photo' class='cAuthorPane_photo'>
				{template="userPhoto" app="core" group="global" params="$comment->author(), 'large', $comment->warningRef()"}
				{{if $comment->author()->modShowBadge()}}
				<span class="cAuthorPane_badge cAuthorPane_badge--moderator" data-ipsTooltip title="{lang="member_is_moderator" sprintf="$comment->author()->name"}"></span>
				{{elseif $comment->author()->joinedRecently()}}
				<span class="cAuthorPane_badge cAuthorPane_badge--new" data-ipsTooltip title="{lang="member_is_new_badge" sprintf="$comment->author()->name"}"></span>
				{{endif}}
			</li>

 

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0
2 minutes ago, Sebastian C. said:

Din ce-am observat codurile diferită mult mai mult față de 4.4, aveți o idee cum să mărește acum la 150 x 250 avatar păstrând și acel „badge” de utilizator ? @dOc MFX, @Portocala


<li data-role='photo' class='cAuthorPane_photo'>
				{template="userPhoto" app="core" group="global" params="$comment->author(), 'large', $comment->warningRef()"}
				{{if $comment->author()->modShowBadge()}}
				<span class="cAuthorPane_badge cAuthorPane_badge--moderator" data-ipsTooltip title="{lang="member_is_moderator" sprintf="$comment->author()->name"}"></span>
				{{elseif $comment->author()->joinedRecently()}}
				<span class="cAuthorPane_badge cAuthorPane_badge--new" data-ipsTooltip title="{lang="member_is_new_badge" sprintf="$comment->author()->name"}"></span>
				{{endif}}
			</li>

 

Pana nu apare o versiune stabila nu am cum sa stiu, voi reveni cu un raspuns cand voi trece si eu pe 4.5

  • Like 1

Share this post


Link to post
Share on other sites

  • 0

E aproape acelasi lucru

<li data-role='photo' class='cAuthorPane_photo'>
  <img src='{{if $comment->author()->pp_thumb_photo}}{file="$comment->author()->pp_main_photo"}{{else}}{$comment->author()->photo}{{endif}}'>{{if $comment->author()->modShowBadge()}}<span class="cAuthorPane_badge cAuthorPane_badge--moderator" data-ipsTooltip title="{lang="member_is_moderator" sprintf="$comment->author()->name"}"></span>{{elseif $comment->author()->joinedRecently()}}<span class="cAuthorPane_badge cAuthorPane_badge--new" data-ipsTooltip title="{lang="member_is_new_badge" sprintf="$comment->author()->name"}"></span>{{endif}}
</li>
.cAuthorPane_photo img {
    max-width: 170px;
    width: auto;
}

Fara avatar - https://i.imgur.com/DS4qadn.png

Cu avatar - https://i.imgur.com/4vupQz6.png

Share this post


Link to post
Share on other sites
  • 0

  

On 9/12/2020 at 5:07 PM, dOc MFX said:

Am facut un plugin care include si codul pentru 4.5 pentru marirea avatarelor https://invisioncommunity.com/files/file/9731-enhanced-topic-avatars-badges/

abia așteptăm să îl cumpărăm. ^-^

 

 

Este la fel @Sebastian C.

image.png.d55a7dc3efac48040ec51a11503757c1.png

 
.cAuthorPane_photo img {
    max-width: 170px;
    width: auto;
}
<li class='cAuthorPane_photo'>
              {{if $comment->author()->pp_main_photo AND $comment->author()->pp_thumb_photo}}
              <img src="{url="" base=""}/uploads/{$comment->author()->pp_main_photo}">
              {{else}}
              <img src="{$comment->author()->photo}">
              {{endif}}
			</li>

 

  • Like 1

Lqb0LKF.png

Share this post


Link to post
Share on other sites
  • 0
 <li class='cAuthorPane_photo'>
              {{if $comment->author()->pp_main_photo AND $comment->author()->pp_thumb_photo}}
              <img src="{url="" base=""}/uploads/{$comment->author()->pp_main_photo}">
              {{else}}
              <img src="{$comment->author()->photo}">
              {{endif}}
            {{if $comment->author()->modShowBadge()}}
				<span class="cAuthorPane_badge cAuthorPane_badge--moderator" data-ipsTooltip title="{lang="member_is_moderator" sprintf="$comment->author()->name"}"></span>
				{{elseif $comment->author()->joinedRecently()}}
				<span class="cAuthorPane_badge cAuthorPane_badge--new" data-ipsTooltip title="{lang="member_is_new_badge" sprintf="$comment->author()->name"}"></span>
				{{endif}}
			</li>
.cAuthorPane_photo img {
    max-width: 170px;
    width: auto;
}

cu tot cu badge

Share this post


Link to post
Share on other sites
  • 0
On 9/15/2020 at 3:38 PM, Craze said:

  

abia așteptăm să îl cumpărăm. ^-^

 

 

Este la fel @Sebastian C.

image.png.d55a7dc3efac48040ec51a11503757c1.png

 

.cAuthorPane_photo img {
    max-width: 170px;
    width: auto;
}

<li class='cAuthorPane_photo'>
              {{if $comment->author()->pp_main_photo AND $comment->author()->pp_thumb_photo}}
              <img src="{url="" base=""}/uploads/{$comment->author()->pp_main_photo}">
              {{else}}
              <img src="{$comment->author()->photo}">
              {{endif}}
			</li>

 

Imi place aceiasi minte incuiata pe care o ai, ce faci tu intr-o tema cu customizarile tale geniale plugin-ul ala face in toate in acelasi timp setari + alte customizari legate de badge si ce o sa mai urmeze, nu mai fiti incuiati la minte ca tara geme.

Share this post


Link to post
Share on other sites
  • 0
3 hours ago, dOc MFX said:

Imi place aceiasi minte incuiata pe care o ai, ce faci tu intr-o tema cu customizarile tale geniale plugin-ul ala face in toate in acelasi timp setari + alte customizari legate de badge si ce o sa mai urmeze, nu mai fiti incuiati la minte ca tara geme.

Dacă ești developer sau creator de template-uri n-ai nevoie de pluginuri că nu îți vinzi tema cu plugin cu tot. Poate vrea sa vanda tema direct cu setarile in tema integrate.

PS: pentru vanzari ai categorie speciala, nu mai posta produsele tale oriunde apuci.

  • Like 2
  • Haha 1
  • Downvote 1

Lqb0LKF.png

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...