Jump to content

Cum Se Pun Iconite La Grupe In Ipb?


COOLPIX

Recommended Posts

Prima problema am rezolvato!

Dar a 2 nu!

Poate mai stie cineva alt mod/kook!

La punctul 2, totul se adauga manual, nu este mod sau hook.

Spune ce nu ti-a iesit, si courage te va ajuta.

„Omul din betie se mai desteapta, dar prostul din prostia lui niciodata”

„Niciodata nu te pune la mintea unui idiot, te duce la nivelul sau si te bate cu experienta.”

Am ramas o legenda peste tot pe unde am fost, am sa raman o legenda peste tot pe unde voi merge - Frenzy

 

Link to comment
Share on other sites

  • 2 weeks later...

La punctul 2,introduc codul acesta:

 

<if test="memberbox:|:$this->memberData['member_id']">
<div class='ipsSideBlock clearfix'>
<h3>Добро пожаловать, <a href="{parse url="[url={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="[url" base="public"}" title='{$this->lang->words['your_profile']}'> {$this->memberData['members_display_name']}</a></h3>
<div class='_sbcollapsable'>

<center class='desc member_title'>
<if test="$this->memberData['title'] != "">
{$this->memberData['title']}<br />
</if>
<br />
<a href="{parse url="[url={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="[url" base="public"}" title='{$this->lang->words['your_profile']}'>
<img src='{$this->memberData['pp_main_photo']}'></a>
<br /><br />
<центр>

<span style=' font-size: 14px;'>{$this->memberData['prefix']}{$this->memberData['g_title']}{$this->memberData['suffix']}</span><br /><br />

Постов: {$this->memberData['posts']}<br />
Виды профилей: {$this->memberData['members_profile_views']}<br />
Member No.: {$this->memberData['member_id']}<br>
Зарегистрирован: {parse date="$this->memberData['joined']" format="присоединились"}

<br /><br />
Ваш IP адрес: {$_SERVER['REMOTE_ADDR']}
<br /><br />
<div style='background:#0f2437 ;padding: 7px; color: #fff; font-weight: bold'>{$this->memberData['pp_reputation_points']}
</div>
</center>
</div>
</div>

</if>

test="memberbox:|:$this->memberData['member_id']">

<div class='ipsSideBlock clearfix'>
    <h3>Welcome, <a href="{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}" title='{$this->lang->words['your_profile']}'> {$this->memberData['members_display_name']}</a></h3>
<div class='_sbcollapsable'>

<center class='desc member_title'>
<if test="$this->memberData['title'] != ''">
{$this->memberData['title']}<br />
</if>
<br />
<a href="{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}" title='{$this->lang->words['your_profile']}'>
<img src='{$this->memberData['pp_main_photo']}'></a>
<br /><br />
<center>

<span style=' font-size: 14px;'>{$this->memberData['prefix']}{$this->memberData['g_title']}{$this->memberData['suffix']}</span><br /><br />

Posts: {$this->memberData['posts']}<br />
Profile views: {$this->memberData['members_profile_views']}<br />
Member No.: {$this->memberData['member_id']}<br>
Joined: {parse date="$this->memberData['joined']" format="joined"}

<br /><br />
Your IP: {$_SERVER['REMOTE_ADDR']}
<br /><br />
<div style='background:#0f2437 ;padding: 7px; color: #fff; font-weight: bold'>{$this->memberData['pp_reputation_points']}
</div>
</center>
</div>
</div>

</if>

Si dupa ce salvez,totul,fac restart la pagina si nu arata nimik,numai o pagina alba,si atit...

Poate altcineva stie cum?

Link to comment
Share on other sites

Nu inteleg ce sunt alea pe acolo :))) mi se par amestecate de numai zic :)) deci..

AdminCP > Look and Feel > tema ta -> Board Index -> boardIndexTemplate CTRL F si cauta:

<foreach loop="side_blocks:$side_blocks as $block">
                {$block}
            </foreach>

Si deasupra codului posteaza ( adauga ):

<if test="memberbox:|:$this->memberData['member_id']">

<div class='ipsSideBlock clearfix'>
    <h3>Welcome, <a href="{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}" title='{$this->lang->words['your_profile']}'> {$this->memberData['members_display_name']}</a></h3>
<div class='_sbcollapsable'>

<center class='desc member_title'>
<if test="$this->memberData['title'] != ''">
{$this->memberData['title']}<br />
</if>
<br />
<a href="{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}" title='{$this->lang->words['your_profile']}'>
<img src='{$this->memberData['pp_main_photo']}'></a>
<br /><br />
<center>

<span style=' font-size: 14px;'>{$this->memberData['prefix']}{$this->memberData['g_title']}{$this->memberData['suffix']}</span><br /><br />

Posts: {$this->memberData['posts']}<br />
Profile views: {$this->memberData['members_profile_views']}<br />
Member No.: {$this->memberData['member_id']}<br>
Joined: {parse date="$this->memberData['joined']" format="joined"}

<br /><br />
Your IP: {$_SERVER['REMOTE_ADDR']}
<br /><br />
<div style='background:#0f2437 ;padding: 7px; color: #fff; font-weight: bold'>{$this->memberData['pp_reputation_points']}
</div>
</center>
</div>
</div>

</if>

Si daca vrei sa schimbi culoarea la reputatie modifici linia:

<div style='background:#0f2437 ;padding: 7px; color: #fff; font-weight: bold'>{$this->memberData['pp_reputation_points']}</div>

si la:

<div style='background:#0f2437;

modifici cu culoarea dorita!

Urmeaza toti pasii ca in tutorial si nu o sa ai probleme, trust me! Apare pagina alba deoarece nu sunt acceptate unele ``variabile`` sa le numesc asa :-" .. sau codurile nu ti le accepta! :D .. Bata! sau daca vrei exista hook pentru profil in Sidebar nu cum a zis Frenzy mai sus, uite: http://webflake.sx/files/file/1955-profile-in-sidebar/ instalezi si e oke` :)


Clar ca nu mergea fiindca!..

Nu-ti merge deoarce nu ai cum sa pui 2 profile in Sidebar sa zic asa :))))) =)) sterge unul dintre ele.. ai adaugat de 2 ori acele coduri.. odata ai folosit profilul in sidebar ( ai urmat pasii de pe webflake, postat de Courage ) si 2 ti-a dat cineva codurile si ai mai adaugat odata! .. nu se poate sa ai de 2 ori =))) rectifica! ;)

 

Ps: Si daca te uiti atent mai jos ai ceva de genu:

test="memberbox:|:$this->memberData['member_id']">

cand defapt trebuie sa fie:

<if test="memberbox:|:$this->memberData['member_id']">
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.