Jump to content

Recommended Posts

Posted (edited)

Salut PCT!

De curând am trecut pe IPB3 de la phpBB și aș dori și eu să știu cum pot modifica aceste "forum statics" cred că se numesc. (Poza mai jos)


Default -> Asa vreau sa arate

 

Și cum aș putea muta server listul de-asupra la chatbox? (este vorba de cel din board index) Imagine 

 

Edited by Michelion

Posted

Depinde de temă. Cred că tema de „default” pe care ai arătat-o in poză nu este aia pe care ți-o dă platforma. Dă-mi un PM să vedem ce se poate face: nu garantez că o să-ți fiu de ajutor pentru că nu am folosit phpBB.

  • Thanks 1
Posted

Soluție:

// cautați 'show_totals' in boardIndexTemplate și o să vă ducă spre sfărșit și inlocuiți tot cu codul următor.

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

<!-- Statistici Forum -->
	<div class="Florin_StatsHead">
		<table style="width: 100%; text-align: center; background: none; ">
		<tbody><tr>
			<td class="Florin_Stats"><i class="ion-android-chat Florin_StatsIcon" aria-hidden="true"></i><div style="font-size: 20px; margin-top: -35px;">{$stats['info']['total_posts']}</div><br>Total Posts</td>
                        <td class="Florin_Stats"><i class="ion-android-textsms Florin_StatsIcon" aria-hidden="true"></i><div style="font-size: 20px; margin-top: -35px;">{parse format_number="$this->caches['stats']['total_topics']"}</div><br>Total topics</td>
			<td class="Florin_Stats"><i class="ion-android-contacts Florin_StatsIcon" aria-hidden="true"></i><div style="font-size: 20px; margin-top: -35px;">{$stats['info']['mem_count']}</div><br>Total Members</td>
			<td class="Florin_Stats"><i class="ion-connection-bars Florin_StatsIcon" aria-hidden="true"></i><div style="font-size: 20px; margin-top: -35px;">{$stats['info']['most_online']}</div><br>Most Online</td>			<td class="Florin_Stats"><i class="ion-android-person-add Florin_StatsIcon" aria-hidden="true"></i><div style="font-size: 20px; margin-top: -35px;"></div><div style="font-size: 15px;"><span class="value">{IPSMember::makeProfileLink( $stats['info']['last_mem_name'], $stats['info']['last_mem_id'], $stats['info']['last_mem_seo'], 'value' )}</span></div><br>Newest Member</td>
		</tr>
		</tbody></table>
</div>

</if>
<div id='board_statistics' class='statistics clearfix'>
	<h4 class='statistics_head clearfix'><ul id='stat_links' class='ipsList_inline right ipsType_small'>
		<if test="statsLinks:|:1==1"> <!-- Hook point -->
			<li><a href="{parse url="app=forums&module=extras&section=stats&do=leaders" base="public"}" title="{$this->lang->words['sm_forum_leaders_title']}">{$this->lang->words['sm_forum_leaders']}</a></li>
			<li><a href="{parse url="app=forums&module=extras&section=stats" base="public"}" title="{$this->lang->words['sm_all_posters_title']}">{$this->lang->words['sm_today_posters']}</a></li>
			<li><a href="{parse url="app=members&module=list&max_results=20&sort_key=posts&sort_order=desc&filter=ALL" base="public" seotitle="false"}" title="{$this->lang->words['sm_overall_posters_title']}">{$this->lang->words['sm_overall_posters']}</a></li>
            <if test="reputationEnabled:|:$this->settings['reputation_enabled']">
                <li>
                    <a href="{parse url="app=members&module=reputation&section=most" base="public" template="most_liked" seotitle="most_liked"}">
                        <if test="reputationType:|:$this->settings['reputation_point_types'] == 'like'">
                            {$this->lang->words['most_rep_likes']}
                        <else />
                            {$this->lang->words['most_rep_rep']}
                        </if>
                    </a>
                </li>
            </if>
		</if>
	</ul>
<if test="showActive:|:$this->settings['show_active'] && $this->memberData['gbw_view_online_lists']">{parse expression="sprintf( $this->lang->words['online_right_now'], $stats['TOTAL'] )"} {$this->lang->words['active_users']}</if></h4>
	<if test="$this->settings['show_active']"><p class='statistics_brief desc'>
		{parse expression="sprintf( $this->lang->words['active_users_detail'], $stats['MEMBERS'], $stats['GUESTS'], $stats['ANON'] )"}
		<if test="onlineListEnabled:|:$this->settings['allow_online_list']">  <a href='{parse url="app=members&module=online&sort_order=desc" base="public"}'>({$this->lang->words['online_link']})</a> </if>
	</p></if>
	
	<if test="activeNames:|:count($stats['NAMES']) && $this->settings['show_active']">
		<br />
		<p>
			<span class='name'>{parse expression="implode( ",</span> <span class='name'>", $stats['NAMES'] )"}</span>					
		</p>
	</if>
</div>
// il adăugați intr-un fișier .CSS --- ipb_styles.css 

.Florin_StatsHead {
	transition:all 0.5s ease-in-out;
	cursor:default;
	padding:13px;
	background:#252525;
	position:relative;
	text-shadow:rgba(0,0,0,0.8) 0px -1px 0px; }
 
	.Florin_StatsHead:hover {
		-webkit-box-shadow:inset 0px -51px 64px -53px #4F86C6;
		-moz-box-shadow:inset 0px -51px 64px -53px #4F86C6;
		box-shadow:inset 0px -51px 64px -53px #4F86C6); }
 
 
.Florin_StatsIcon {
	width:70px;
	height:70px;
	color:#4F86C6;
	line-height:70px;
	text-align:center;
	display:inline-block;
	font-size:32px;
	font-family:'FontAwesome';
	border-radius:50px;
	top:-20px;
	position:relative;
	border:2px;
	solid transparent;transition:all 0.5s linear; }
 
	.Florin_StatsIcon:hover {
		color #fff;border:2px
		solid #4F86C6;
		-webkit-box-shadow:inset 0px 51px 64px -53px #4F86C6;
		-moz-box-shadow:inset 0px 51px 64px -53px #4F86C6;
		box-shadow:inset 0px 51px 64px -53px #4F86C6;
		transition:all 0.5s;
		transform:rotateZ(360deg);
		border-radius:50px;
		top:-40px; }
 
 
.Florin_Stats {
	width:16%;
	letter-spacing:1px;
	color:#bcbcbc;
	text-transform:uppercase;
	backgound:#5aa40b; }

// aveți nevoie de CDN-ul de la Google Material Icons: <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

  • Thanks 1
  • DeNyS. locked this topic
Guest
This topic is now closed to further replies.
  • 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.