Jump to content
Cyberpixelz Community




Sign in to follow this  
doc

Marire Statistici / Enlarge Statistics IPS 4

Recommended Posts

RO: Am decis sa fac acest mic tutorial pentru cei ce sunt la inceput de drum si nu stiu sa mareasca statisticile.

EN: I decide to do this tutorial for people who started right now their projects and they don't know how to do that.

 

RO: 1.Mergem in ACP - CUSTOMIZATION - THEMES - TEMA VOASTRA - EDIT HTML & CSS - GLOBAL TEMPLATE si cautam:

EN: 1.Go to  ACP - CUSTOMIZATION - THEMES - YOUR THEME - EDIT HTML & CSS - GLOBAL TEMPLATE and search:

<main id='ipsLayout_body' class='ipsLayout_container'>
			<div id='ipsLayout_contentArea'>
				<div id='ipsLayout_contentWrapper'>
					{template="breadcrumb" app="core" group="global" params="'top'"}
					{template="sidebar" if="theme.sidebar_position == 'left'" app="core" group="global" params="'left'"}
					<div id='ipsLayout_mainArea'>
						<a id='elContent'></a>
						{advertisement="ad_global_header"}
						{template="acknowledgeWarning" if="\IPS\Member::loggedIn()->members_bitoptions['unacknowledged_warnings']" params="\IPS\Member::loggedIn()->warnings( 1, FALSE )" group="global" app="core"}
						{{if !in_array('ipsLayout_minimal', \IPS\Output::i()->bodyClasses ) and !member.members_bitoptions['profile_completion_dismissed'] and $nextStep = member.nextProfileStep()}}
							{template="profileNextStep" group="global" app="core" params="$nextStep, true"}
						{{endif}}
						{template="widgetContainer" group="global" app="core" params="'header', 'horizontal'"}
						{$html|raw}
						{template="widgetContainer" group="global" app="core" params="'footer', 'horizontal'"}
					</div>
					{template="sidebar" if="theme.sidebar_position == 'right'" app="core" group="global" params="'right'"}
					{template="breadcrumb" app="core" group="global" params="'bottom'"}
				</div>
			</div>
			{template="inlineMessage" if="member.msg_show_notification and $message = \IPS\core\Messenger\Conversation::latestUnreadMessage()" app="core" group="global" params="$message"}
		</main>

RO: 2.Dupa ce am gasit acest paragraf, inlocuim cu :

EN: 2.After we located the paragraph, replace with: 

<main id='ipsLayout_body' class='ipsLayout_container'>
			<div id='ipsLayout_contentArea'>
				<div id='ipsLayout_contentWrapper'>
					{template="breadcrumb" app="core" group="global" params="'top'"}
					{template="sidebar" if="theme.sidebar_position == 'left'" app="core" group="global" params="'left'"}
					<div id='ipsLayout_mainArea'>
						<a id='elContent'></a>
						{advertisement="ad_global_header"}
						{template="acknowledgeWarning" if="\IPS\Member::loggedIn()->members_bitoptions['unacknowledged_warnings']" params="\IPS\Member::loggedIn()->warnings( 1, FALSE )" group="global" app="core"}
						{{if !in_array('ipsLayout_minimal', \IPS\Output::i()->bodyClasses ) and !member.members_bitoptions['profile_completion_dismissed'] and $nextStep = member.nextProfileStep()}}
							{template="profileNextStep" group="global" app="core" params="$nextStep, true"}
						{{endif}}
						{template="widgetContainer" group="global" app="core" params="'header', 'horizontal'"}
						{$html|raw}					
					</div>
					{template="sidebar" if="theme.sidebar_position == 'right'" app="core" group="global" params="'right'"}
                  
					{template="breadcrumb" app="core" group="global" params="'bottom'"}
				</div>
			</div>
			{template="inlineMessage" if="member.msg_show_notification and $message = \IPS\core\Messenger\Conversation::latestUnreadMessage()" app="core" group="global" params="$message"}
		</main>
	<div class='ipsLayout_container'>
            {template="widgetContainer" group="global" app="core" params="'footer', 'horizontal'"}
        </div>

 

RO: 3.Rezultatul va fi urmatorul :

EN: 3.The result will be:

267882025_statisticiips4.thumb.png.ac1346ae41c1994a2e9921d4433e31d1.png

Share this post


Link to post
Share on other sites

Ai putea sa explici si cum sa le adauge in footer pentru ca nu toti stiu si nici nu-si dau toti seama. Mie mi-a luat undeva la 5-6 incercari de tema sa-mi dau seama cum sa pun acele widget-uri in footer.

As fi putut sa-l las eu aici, dar n-am acces sa postez html 😛

Apropo vezi ca ai un mic bug, de exemplu intr-un post daca vrei sa muti acea bara cu care scrii nu merge, de altfel nici sa selectezi. Nu stiu daca ai scos tu chestia asta.

 

 

Edited by mvrr

Share this post


Link to post
Share on other sites
6 hours ago, mvrr said:

Ai putea sa explici si cum sa le adauge in footer pentru ca nu toti stiu si nici nu-si dau toti seama. Mie mi-a luat undeva la 5-6 incercari de tema sa-mi dau seama cum sa pun acele widget-uri in footer.

As fi putut sa-l las eu aici, dar n-am acces sa postez html 😛

Apropo vezi ca ai un mic bug, de exemplu intr-un post daca vrei sa muti acea bara cu care scrii nu merge, de altfel nici sa selectezi. Nu stiu daca ai scos tu chestia asta.

 

 

Daca te referi sa le explic cum sa le adauge in footer din sidebar, asta cred ca nu mai tine de mine.In rest eu cred ca am explicat destul de corect pasii necesari.

Iar pentru partea cu selectatul, este datorata scriptului anti-click dreapta.

  • Like 1

Share this post


Link to post
Share on other sites

Ai putea sa te gandesti si la asta, la mai multe tutoriale HTML si CSS pentru ca ai fi cam singurul care face asta si ai ajuta multa lume.

Fata de IPB 3 unde sunt tutoriale o groaza si multe sunt de genul copy-paste.

Eu, care n-am experienta HTML si CSS decat cu ce m-am jucat in trecut in IPB3 cand mi-a iesit si o tema, n-am reusit sa fac mare lucru pe IPB4, decat coloring-ul si cateva mici chestii nesemnificative.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×