1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Unmaintained Show Minecraft Skin in Postbit

Show your Minecraft skin in postbit

  1. Matthew Hawley

    Matthew Hawley Well-Known Member

    yolulz submitted a new resource:

    [LetsPWN] Show Minecraft Skin in Postbit - Show your Minecraft skin in postbit

    Read more about this resource...
     
  2. Jake Sully

    Jake Sully Active Member

    Nice but i got a problem :/ it wont work for me

    Screenshot_2.png

    thats all i get on my forum :(
     
  3. Sheldon

    Sheldon Well-Known Member

    Change the location of the edit. He has it set to display in a certain area. Just move it up to after the username/ user title area?
     
  4. Jake Sully

    Jake Sully Active Member

    i like place where he has got his but mine appears not hate that spot :/ so i dont think it's nice having it between username and user title area.
     
  5. Sheldon

    Sheldon Well-Known Member

    Exactly. you have to move the location of the template edit, or turn on the same postbit info he has.
     
  6. Ernest L. Defoe

    Ernest L. Defoe Well-Known Member

    You are going to have to change the numbers in this edit in the EXTRA.css to position it where you want.

    .minecraftskin {
    float: right;
    margin-bottom: 0px;
    margin-right: -3px;
    margin-top: 18px;
    opacity: 0.6;
    width:20px;
    }

    Change the values in the blue to get it to the position you want.
     
  7. Jake Sully

    Jake Sully Active Member

    okay so how do i turn on the postbit info?

    Found it but now image is not really in it's place still :(

    Screenshot_3.png

    is it because i gota edit that code other user told me to?
     
    Last edited: Jun 7, 2013
  8. Matthew Hawley

    Matthew Hawley Well-Known Member

    If this doesn't work, you'll have to mess around with the margins to get the position you want. Replace message_user_info with this.

    Code:
    <xen:require css="message_user_info.css" />
    
    <div class="messageUserInfo" itemscope="itemscope" itemtype="http://data-vocabulary.org/Person"> 
    <div class="messageUserBlock">
        <xen:hook name="message_user_info_avatar" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
            <div class="avatarHolder">
                <span class="helper"></span>
                <xen:avatar user="$user" size="m" />
                <!-- slot: message_user_info_avatar -->
            </div>
        </xen:hook>
    <xen:if is="!{$isQuickReply}">
        <xen:hook name="message_user_info_text" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
            <h3 class="userText">
                <xen:username user="$user" itemprop="name" rich="true" />
                <xen:if hascontent="true"><em class="userTitle" itemprop="title"><xen:contentcheck>{xen:helper userTitle, $user}</xen:contentcheck></em></xen:if>
                <!-- slot: message_user_info_text -->
            </h3>
        </xen:hook>
         
        <xen:if hascontent="true">
            <div class="extraUserInfo">
                <xen:contentcheck>
                <xen:hook name="message_user_info_extra" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
                    <xen:if is="@messageShowRegisterDate">
                        <dl class="pairsInline">
                            <dt>{xen:phrase member_since}:</dt>
                            <dd>{xen:date $user.register_date}</dd>
                        </dl>
                    </xen:if>
                 
                    <xen:if is="@messageShowMessageCount AND {$user.user_id}">
                        <dl class="pairsInline">
                            <dt>{xen:phrase message_count}:</dt>
                            <dd><a href="{xen:link search/member, '', 'user_id={$user.user_id}'}" class="concealed">{xen:number $user.message_count}</a></dd>
                        </dl>
                    </xen:if>
                 
                    <xen:if is="@messageShowTotalLikes AND {$user.user_id}">
                        <dl class="pairsInline">
                            <dt>{xen:phrase likes_received}:</dt>
                            <dd>{xen:number $user.like_count}</dd>
                        </dl>
                    </xen:if>
                 
             
                    <xen:if is="@messageShowTrophyPoints AND {$user.user_id}">
                        <dl class="pairsInline">
                            <dt>{xen:phrase trophy_points}:</dt>
                            <dd><a href="{xen:link 'members/trophies', $user}" class="OverlayTrigger concealed">{xen:number $user.trophy_points}</a></dd>
                        </dl>
                    </xen:if>
             
                    <xen:if is="@messageShowGender AND {$user.gender}">
                        <dl class="pairsInline">
                            <dt>{xen:phrase gender}:</dt>
                            <dd itemprop="gender"><xen:if is="{$user.gender} == 'male'">{xen:phrase male}<xen:else />{xen:phrase female}</xen:if></dd>
                        </dl>
                    </xen:if>
                 
                    <xen:if is="@messageShowOccupation AND {$user.occupation}">
                        <dl class="pairsInline">
                            <dt>{xen:phrase occupation}:</dt>
                            <dd itemprop="role">{xen:string censor, $user.occupation}</dd>
                        </dl>
                    </xen:if>
                 
                    <xen:if is="@messageShowLocation AND {$user.location}">
                        <dl class="pairsInline">
                            <dt>{xen:phrase location}:</dt>
                            <dd><a href="{xen:link 'misc/location-info', '', 'location={xen:string censor, $user.location, '-'}'}" target="_blank" rel="nofollow" itemprop="address" class="concealed">{xen:string censor, $user.location}</a></dd>
                        </dl>
                    </xen:if>
             
                    <xen:if is="@messageShowHomepage AND {$user.homepage}">
                        <dl class="pairsInline">
                            <dt>{xen:phrase home_page}:</dt>
                            <dd><a href="{xen:string censor, $user.homepage, '-'}" rel="nofollow" target="_blank" itemprop="url">{xen:string censor, $user.homepage}</a></dd>
                        </dl>
                    </xen:if>
                        <xen:if is="{$visitor.customFields.minecraftskinonoff}"> <xen:else />
                    <xen:if is="{$user.customFields.minecraft_id}">
        <div align="center" class="favchar"><img class= "favchar2" src="http://minepic.org/skin/{$user.customFields.minecraft_id}" /></div>
    </xen:if>     
                    </xen:if>
                </xen:hook>         
                <xen:if is="@messageShowCustomFields AND {$user.customFields}">
                <xen:hook name="message_user_info_custom_fields" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
             
                    <xen:foreach loop="$userFieldsInfo" key="$fieldId" value="$fieldInfo">
                        <xen:if is="{$fieldInfo.viewable_message}">
                            <xen:if hascontent="true">
                                <dl class="pairsInline userField_{$fieldId}">
                                    <dt>{xen:helper userFieldTitle, $fieldId}:</dt>
                                    <dd><xen:contentcheck>{xen:helper userFieldValue, $fieldInfo, $user, {$user.customFields.{$fieldId}}}</xen:contentcheck></dd>
                                </dl>
                            </xen:if>
                        </xen:if>
                    </xen:foreach>
                 
                </xen:hook>
                </xen:if>
                </xen:contentcheck>
            </div>
        </xen:if>
         
    </xen:if>
        <span class="arrow"><span></span></span>
    </div>
    </div>
     
  9. Jake Sully

    Jake Sully Active Member

    okay thanks it worked but is figure supposto be this big as you can see on picture below

    Screenshot_4.png
     
  10. Slind

    Slind Active Member

    does this work in 1.2 ?
     
  11. Matthew Hawley

    Matthew Hawley Well-Known Member

    Yes.
     
  12. Slind

    Slind Active Member

    thanks, anyway to add them as normal avatar everywhere ?
     
  13. Matthew Hawley

    Matthew Hawley Well-Known Member

    Do you want to add them as an avatar?
     
  14. Slind

    Slind Active Member

    yeah, i dont want my players to upload their own
     
  15. Matthew Hawley

    Matthew Hawley Well-Known Member

  16. Slind

    Slind Active Member

    mhh 15 usd, but thanks
     
  17. Matthew Hawley

    Matthew Hawley Well-Known Member

    huh?
     
  18. Slind

    Slind Active Member

    how did this happen ?
     
  19. Matthew Hawley

    Matthew Hawley Well-Known Member

    What do you mean how did this happen?
     
  20. Slind

    Slind Active Member

    double post...
     

Share This Page