Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support
Post
by Stoker » 18 May 2011, 20:34
This way you can insert a nice
countdown on your forum.
Screenshot:
Open styles/prosilver/template/overall_header.html
Find:
Code: Select all
<script type="text/javascript" src="{T_TEMPLATE_PATH}/forum_fn.js"></script>
After add:
Code: Select all
<script src="{ROOT_PATH}script/jquery-1.4.js" type="text/javascript"></script>
<script src="{ROOT_PATH}script/jquery.countdown .js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
//$("#time").countdown ({date:"may 1, 2011"});
$("#time").countdown ({date:"may 12, 2012 23:26:28"});
//$("#time").countdown ({date:"april 15, 2011"});
});
</script>
Note this part:
<script src="{ROOT_PATH}script/jquery-1.4.js" type="text/javascript">
You dont have to include it if you allready use jquery.
Open styles/prosilver/theme/colours.css
At the bottom add:
Code: Select all
p#time{
height:24px;
color:#c21017;
text-align: center;
font-size:2.8em;
}
p#time span{
display:inline;
color:#222222;
}
script.zip
Now you can use this HTML to insert the
countdown in your template:
You do not have the required permissions to view the files attached to this post.
Post
by themission » 31 Aug 2011, 11:12
Where exactly does this go ? dont understand
Post
by Stoker » 31 Aug 2011, 13:20
Where you want it to appear.
Post
by Terr0r » 31 Aug 2011, 13:23
is this MOD/Snippet this one
555.png
You do not have the required permissions to view the files attached to this post.
Post
by Stoker » 31 Aug 2011, 13:28
Nopr
Post
by Terr0r » 31 Aug 2011, 13:36
I don't see the screenshot can you fix the screenshot Stoker
Post
by martin123456 » 31 Aug 2011, 17:15
Might be wrong but at a guess its here
portal.php
Post
by Stoker » 31 Aug 2011, 17:20
Nope, that not it.
You can see them on the testpage:
testpage.php
Post
by martin123456 » 31 Aug 2011, 17:25
ooohhh i like the + COUNTDOWN HEADER mr stoker
Post
by themission » 31 Aug 2011, 19:49
yeah i do too, all i got when i tried was a gap where i put "<p id="time"></p>" and nothing else ? lol