Countdown on index only

Mods, snippets and styles postet and supported by the users
Forum rules
As the forum title says this is for User Contributions
Post a support request in this forum and you will be banned!
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 764
Joined: 25 Jul 2011, 11:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!

Countdown on index only

Post by martin123456 » 06 Oct 2012, 16:44

This will place stokers viewtopic.php?f=45&t=1595&hilit=countdown on the index page only.

styles/prosilver/template/index_body.html

find

Code: Select all

<!-- INCLUDE overall_header.html -->
add after

Code: Select all

<!-- IF not S_IS_BOT and COUNTDOWN_ENABLE -->
	<!-- IF (COUNTDOWN_TESTMODE and U_ACP) or not COUNTDOWN_TESTMODE -->
		<div class="navbar timecount">
			<div class="inner"><span class="corners-top"><span></span></span>
			<span id="time"></span>
			<span class="corners-bottom"><span></span></span></div>
		</div>
	<!-- ENDIF -->
	<!-- ENDIF -->
Now open your styles/xxx/template/overall_header.html

find and remove

Code: Select all

<!-- IF not S_IS_BOT and COUNTDOWN_ENABLE -->
	<!-- IF (COUNTDOWN_TESTMODE and U_ACP) or not COUNTDOWN_TESTMODE -->
		<div class="navbar timecount">
			<div class="inner"><span class="corners-top"><span></span></span>
			<span id="time"></span>
			<span class="corners-bottom"><span></span></span></div>
		</div>
	<!-- ENDIF -->
	<!-- ENDIF -->
refresh styles and purge the boards cache.


User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 803
Joined: 04 Mar 2010, 23:10
Extra Rank: Donator.png
BBCodes: 2000
Favourite BBCode: porn tube
Favourite MOD: Non of Stokers
Location: up your bum

Countdown on index only

Post by Steve » 06 Oct 2012, 18:24

<!-- IF not S_IS_BOT and COUNTDOWN_ENABLE && SCRIPT_NAME == 'index' --> :P
NAPWR wrote: Nice, Stoker is Hot

User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 764
Joined: 25 Jul 2011, 11:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!

Countdown on index only

Post by martin123456 » 06 Oct 2012, 19:28

Steve© wrote:<!-- IF not S_IS_BOT and COUNTDOWN_ENABLE && SCRIPT_NAME == 'index' --> :P
Duhh lol

User avatar
RMcGirr83
BBCoder III
BBCoder III
Posts: 104
Joined: 08 Mar 2010, 11:17
Favourite MOD: mChat

Countdown on index only

Post by RMcGirr83 » 08 Oct 2012, 00:43

Steve© wrote:<!-- IF not S_IS_BOT and COUNTDOWN_ENABLE and SCRIPT_NAME eq 'index' --> :P
:P yourself

:P