Jump to content
HardKenzo

Cum pot sa modific aspectu la statistici

Recommended Posts

Poate s-a mai discutat dar eu nu am gasit la search , as vrea sa modific si eu din :

2.png in :

 

1.pngsiders.ro se numeste comunitatea asta de pe care vreau sa iau.

 

Edited by HardKenzo

Share this post


Link to post
Share on other sites

Salut,

Cauti in boardIndexTemplate:

<if test="$this->settings['removeStatsColumn']=='no'"><td class='col_c_stats ipsType_small'>

<if test="!$forum_data['hide_last_info']"><ul><li>{$forum_data['topics']} {$this->lang->words['topics']}</li>
<li>{$forum_data['posts']} {$this->lang->words['replies']}</li></ul></if>
												</td></if>

sau ceva asemănător (poti incerca să cauti doar col_c_stats ipsType_small).

Si inlocuiesti cu:

<td class="col_c_stats ipsType_small" style="width: 5%;border-left: 1px solid #252525; border-right: 1px solid #252525;">
	<ul>
		<li style="text-align: right;letter-spacing: 0px;text-transform: uppercase; font-size: 9px; font-family: Verdana; color: #019875;"></td>{$forum_data['posts']}</li>
		<li style="color: #4f4f4f;text-align: right;letter-spacing: 0px;text-transform: uppercase; font-size: 9px; font-family: Verdana;">Posts</li>
	</ul>

 

Edited by Kames

Share this post


Link to post
Share on other sites

Salut,

Cauti in boardIndexTemplate:

<if test="$this->settings['removeStatsColumn']=='no'"><td class='col_c_stats ipsType_small'>

<if test="!$forum_data['hide_last_info']"><ul><li>{$forum_data['topics']} {$this->lang->words['topics']}</li>
<li>{$forum_data['posts']} {$this->lang->words['replies']}</li></ul></if>
												</td></if>

sau ceva asemănător (poti incerca să cauti doar col_c_stats ipsType_small).

Si inlocuiesti cu:

<td class="col_c_stats ipsType_small" style="width: 5%;border-left: 1px solid #252525; border-right: 1px solid #252525;">
	<ul>
		<li style="text-align: right;letter-spacing: 0px;text-transform: uppercase; font-size: 9px; font-family: Verdana; color: #019875;"></td>{$forum_data['posts']}</li>
		<li style="color: #4f4f4f;text-align: right;letter-spacing: 0px;text-transform: uppercase; font-size: 9px; font-family: Verdana;">Posts</li>
	</ul>

 

col_c_stats este la categorii.

El cere board_stats.


daina mucles daina deles

 

Share this post


Link to post
Share on other sites
 

cauta si tu asta :

<if test="showTotals:|:$this->settings['show_totals']">

si dupa copie tot pana la :

</if>

si pune asta de la mine :

<if test="showTotals:|:$this->settings['show_totals']">
    <div id='board_stats'>        
        <ul class='ipsType_small ipsList_inline'>
            <li class='clear'>
                <span class='value'>{$stats['info']['total_posts']}</span>
                {$this->lang->words['total_posts']}
            </li>
            <li class='clear'>
                <span class='value'>{$stats['info']['mem_count']}</span>
                {$this->lang->words['total_members']}
            </li>
            <li class='clear'>
                {IPSMember::makeProfileLink( $stats['info']['last_mem_name'], $stats['info']['last_mem_id'], $stats['info']['last_mem_seo'], 'value' )}
                {$this->lang->words['newest_member']}
            </li>
            <li class='clear' data-tooltip="{$stats['info']['most_time']}">
                <span class='value'>{$stats['info']['most_online']}</span>
                {$this->lang->words['online_at_once']}
            </li>
        </ul>
    </div>
</if>

SI DUPA CE AI TERMINAT FA UN PRINT SI ARATA CUM A IESIT !

Share this post


Link to post
Share on other sites

@Lucian, ce ai dat tu acolo vine cu orice skin de IPB. Aspectu se da prin CSS, nu prin cod HTML sau PHP, adica se poate cu style la element, dar in codu de sus nu vad niciunde style.

Un micut quote din regulament:

Nu postaţi doar pentru a vă băga în seamă!

Am văzut mulţi utilizatori care pretind că ştiu ce fac atunci când oferă o soluţie, însă nu fac nimic altceva decât să ofere sfaturi proaste, producând alte erori

Cat despre topic, s-a mai discutat cum se da stil la acea parte, exista si un topic dedicat doar pentru skinning.

 


PHP Developer - Not available for freelancing right now

Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament

Share this post


Link to post
Share on other sites

Schimba din:

 

ipb_styless.css
cu liinile care ti le las eu mai jos:
.statistics {
    margin: 20px 0 0 0;
    padding: 8px;
    line-height: 1.3;
    overflow: hidden;
    border: 1px solid #393939;
}
    .statistics_head {
        border-top: 1px solid #393939;
        border-bottom: 1px solid #393939;
        text-shadow: rgba(0,0,0,0.4) 0px -1px 0px;
        font-size: 12px;
        font-weight: normal;
        font-family: Calibri;
        text-transform: uppercase;
        background: #1d1d1d;
        padding: 11px;
        margin: -8px -8px 8px -8px;
    }
    
    .statistics_head,
    .statistics_head a{
        color: #848484;
    }
    
    .statistics .statistics_head:first-of-type{
        border-top: #393939;
    }
    
    .statistics .statistics_head:not(:first-of-type){
        margin-top: 0;
    }
    
#stat_links{ font-weight: normal; }
#stat_links a{ margin: 0 5px; }
Edited by Amon

Share this post


Link to post
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...