PDA

View Full Version : Date and Time


TvNut
09-03-2002, 12:11 AM
I am looking for just the date and time only for the top and/or bottom of posts...I have the rest...I cannot seem to find it...any help would be great

thanks

turdboy
09-03-2002, 12:45 AM
Do you just want the date at the top without the buttons on the bottom? If so just do this.

Note: You need postbit image hack to be installed so that the date can be put into the image like here

Find
<table bgcolor=""#FFFFFF" background="images/mainbg.gif"" width="750" cellpadding="0" cellspacing="0" border="0">
<tr><td width="10"><img width="10" height="1" src="images/space.gif" alt="">
</td><td width="100%"><!-- spacer -->
<br>
<table align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="48"><img src="images/catleft.gif" border="0"></td>

<td align="center" background="images/catmiddle.gif" width="100%"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="#000000"><b>$thread[title]</b></normalfont></a></td>

<td width="48"><img src="images/catright.gif" border="0"></td>
</tr>
</table>

And Replace with

<table bgcolor=""#FFFFFF" background="images/mainbg.gif"" width="750" cellpadding="0" cellspacing="0" border="0">
<tr><td width="10"><img width="10" height="1" src="images/space.gif" alt="">
</td><td width="100%"><!-- spacer -->
<br>
<table align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="56"><img src="images/catleft.gif" border="0"></td>

<td align="center" background="images/catmiddle.gif" width="638px"><font size=1 face=arial>$post[title] - Posted: $post[postdate] </font><font color="#000000" size=1 face=arial>$post[posttime]</td>

<td width="56"><img src="images/catright.gif" border="0"></td>
</tr>
</table>

If you want to know how to do the buttons on the bottom let me know and I will post it.

TvNut
09-03-2002, 01:02 AM
Sure post the buttons as well...thanks alot....

turdboy
09-03-2002, 01:04 AM
Well with that your going to have to remove that table that currently holds the buttons which isn't much of a problem but then since that table is gone your going to have to move the edit and qoute option under the av like here. Is any of that a problem for you?

TvNut
09-03-2002, 01:15 AM
No but will i have to replace the entire posbit....? I already have one but its no big deal...

turdboy
09-03-2002, 01:19 AM
No it wont replace any of your postbit. MY english isn't so good so explaining how to do it is difficult. If you'd like post your postbit and I can modify it for you in a couple of mins and get it to you much faster then it would take me to write the instructions. If I do it you wont lose any of your postbit setting or anything like that. Posting it seems the most logivcal solution cause it will be faster and it'll have a 100% better chance of sucess.

TvNut
09-03-2002, 01:25 AM
Ok but I have some other hacks in it.....post it shortly

TvNut
09-03-2002, 01:26 AM
<!-- spacer between posts -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="100%"> <br> </tr>
</tr>
</table>
<!-- /spacer between posts -->
<table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0"><tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%"><!-- spacer -->

<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr>
<td bgcolor="$post[backcolor]" width="175" valign="top" nowrap>
<div align="left">
<table border="0" width="100%" bgcolor="{firstaltcolor}">
<tr><td width="100%" height="12" bgcolor="{secondaltcolor}">
<p align="center"><a name="post$post[postid]"></a><font face="Verdana" size="2" color="{linkcolor}">
$post[firstnewinsert]<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$post[userid]" target="_blank">$post[username]</a>$post[search]<br>
</font>$post[avatar]</td>
</tr>
<tr>
<td width="100%" height="12" bgcolor="{secondaltcolor}"><font face="Verdana" size="1" color="{linkcolor}"><b>$post[usertitle]</b></td></font>
</tr>
<tr>
<td width="100%" height="12" bgcolor="{secondaltcolor}"><b><font face="Verdana" size="1" color="{linkcolor}">
POSTS: $post[posts] </b> [$postsperday per day]</td></font>
</tr>
<tr>
<td width="100%" height="12" bgcolor="{secondaltcolor}"><b><font face="Verdana" size="1" color="{linkcolor}">
LOCATION: $post[field2]</b></td></font>
</tr>
<tr>
<td width="100%" height="12" bgcolor="{secondaltcolor}"><b><font face="Verdana" size="1" color="{linkcolor}">
MEMBER: #$post[userid]</B></td></font>
</tr>
<tr>
<td width="100%" height="12" bgcolor="{secondaltcolor}"><b><font face="Verdana" size="1" color="{linkcolor}">
STATUS:</b> $onlinestatus</td></font>
</tr>
<tr>
<td width="100%" height="12" bgcolor="{secondaltcolor}"><font face="Verdana" size="1" color="{linkcolor}">
<center><a href="private.php?s=$session[sessionhash]&action=newmessage&userid=$post[userid]">Send $post[username] a PM</a></center></font></td>
</tr>
<!-- ***paste custom block here*** -->
<!-- ***paste custom block here*** -->
</table>
</div>

<td bgcolor="$post[backcolor]" width="100%" valign="top">
<smallfont>$post[icon] <b>$post[title]</b></smallfont>
<p><normalfont>$post[message]</normalfont></p>
$post[attachment]
<p>$post[signature]</p>
<p>$post[editedby]</p>
<p align="right"><smallfont><a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report this post to a moderator</a> | $post[iplogged]</smallfont></p>
</td>
</tr>
<tr>
<td bgcolor="$post[backcolor]" width="175" height="16" nowrap><smallfont>$post[foldericon]
$post[postdate] <font color="{timecolor}">$post[posttime]</font></smallfont></td>

<td bgcolor="$post[backcolor]" width="100%" valign="middle" height="16">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td><smallfont>
$post[profile] $post[pmlink] $post[useremail] $post[homepage] $post[buddy]
<!-- $ post[icqicon] --> <!-- $ post[aimicon] --> <!-- $ post[yahooicon] -->
</smallfont></td>
<td align="right" nowrap><smallfont>
<a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]"><img src="{imagesfolder}/edit.gif" border="0" alt="Edit/Delete Message"></a>
<a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]"><img src="{imagesfolder}/quote.gif" border="0" alt="Reply w/Quote"></a>
</smallfont></td>
</tr>
</table>
</td>
</tr>
</table>
</td></tr></table>

<!-- spacer --></td><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td></tr></table>

turdboy
09-03-2002, 01:31 AM
.....

You dont have the postbit image hack I told you you needed.

TvNut
09-03-2002, 01:33 AM
ok what do I need...remember i am very new...

mashby
09-03-2002, 02:02 AM
Thread moved to Support Requests.

Tony G
09-03-2002, 05:08 AM
You need the postbit image hack, which should be available here somewhere.

Let me find it..

turdboy
09-03-2002, 07:52 PM
Originally posted by Tony
You need the postbit image hack, which should be available here somewhere.

Let me find it..

[Link (http://www.vbulletintemplates.com/mods/showthread.php?s=&threadid=403&highlight=image)]

Tony G
09-04-2002, 05:06 AM
Thanks, I forgot to look for it. :)

TvNut
09-04-2002, 08:14 PM
I do have the spacer in between posts already..

I am installing that hack...can you post the top date and time and the buttons for the bottom...thanks...

turdboy
09-04-2002, 09:16 PM
Originally posted by TvNut
I do have the spacer in between posts already..

I am installing that hack...can you post the top date and time and the buttons for the bottom...thanks...

If your installing my whole hack just attach your postbit in a txt file after you install that hack and I'll do it for you.

TvNut
09-04-2002, 09:18 PM
ok i am installing the images now..give me a sec...thanks alot....

TvNut
09-04-2002, 09:22 PM
Here You go.......

<!-- spacer between posts -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="100%"> <br> </tr>
</tr>
</table>
<!-- /spacer between posts -->
<table bgcolor="#666696" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0"><tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%"><!-- spacer -->
<br>
<table align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="48"><img src="{imagesfolder}/catleft.gif" border="0"></td>

<td align="center" background="{imagesfolder}/catmiddle.gif" width="100%"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="#000000"><b>$thread[title]</b></normalfont></a></td>

<td width="48"><img src="{imagesfolder}/catright.gif" border="0"></td>
</tr>
</table>
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr>
<td bgcolor="$post[backcolor]" width="175" valign="top" nowrap>
<div align="left">
<table border="0" width="100%" bgcolor="{firstaltcolor}">
<tr><td width="100%" height="12" bgcolor="{secondaltcolor}">
<p align="center"><a name="post$post[postid]"></a><font face="Verdana" size="2" color="{linkcolor}">
$post[firstnewinsert]<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$post[userid]" target="_blank">$post[username]</a>$post[search]<br>
</font>$post[avatar]</td>
</tr>
<tr>
<td width="100%" height="12" bgcolor="{secondaltcolor}"><font face="Verdana" size="1" color="{linkcolor}"><b>$post[usertitle]</b></td></font>
</tr>
<tr>
<td width="100%" height="12" bgcolor="{secondaltcolor}"><b><font face="Verdana" size="1" color="{linkcolor}">
POSTS: $post[posts] </b> [$postsperday per day]</td></font>
</tr>
<tr>
<td width="100%" height="12" bgcolor="{secondaltcolor}"><b><font face="Verdana" size="1" color="{linkcolor}">
LOCATION: $post[field2]</b></td></font>
</tr>
<tr>
<td width="100%" height="12" bgcolor="{secondaltcolor}"><b><font face="Verdana" size="1" color="{linkcolor}">
MEMBER: #$post[userid]</B></td></font>
</tr>
<tr>
<td width="100%" height="12" bgcolor="{secondaltcolor}"><b><font face="Verdana" size="1" color="{linkcolor}">
STATUS:</b> $onlinestatus</td></font>
</tr>

<tr>
<td width="100%" height="12" bgcolor="{secondaltcolor}"><b><font face="Verdana" size="1" color="{linkcolor}">
LOCAL TIME:</b> $post[localtime]</td></font>
</tr>
<tr>
<td width="100%" height="12" bgcolor="{secondaltcolor}"><font face="Verdana" size="1" color="{linkcolor}">
<center><a href="private.php?s=$session[sessionhash]&action=newmessage&userid=$post[userid]">Send $post[username] a PM</a></center></font></td>
</tr>
<!-- ***paste custom block here*** -->
<!-- ***paste custom block here*** -->
</table>
</div>

<td bgcolor="$post[backcolor]" width="100%" valign="top">
<smallfont>$post[icon] <b>$post[title]</b></smallfont>
<p><normalfont>$post[message]</normalfont></p>
$post[attachment]
<p>$post[signature]</p>
<p>$post[editedby]</p>
<p align="right"><smallfont><a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report this post to a moderator</a> | $post[iplogged]</smallfont></p>
</td>
</tr>
<tr>
<td bgcolor="$post[backcolor]" width="175" height="16" nowrap><smallfont>$post[foldericon]
$post[postdate] <font color="{timecolor}">$post[posttime]</font></smallfont></td>

<td bgcolor="$post[backcolor]" width="100%" valign="middle" height="16">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td><smallfont>
$post[profile] $post[pmlink] $post[useremail] $post[homepage] $post[buddy]
<!-- $ post[icqicon] --> <!-- $ post[aimicon] --> <!-- $ post[yahooicon] -->
</smallfont></td>
<td align="right" nowrap><smallfont>
<a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]"><img src="{imagesfolder}/edit.gif" border="0" alt="Edit/Delete Message"></a>
<a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]"><img src="{imagesfolder}/quote.gif" border="0" alt="Reply w/Quote"></a>
</smallfont></td>
</tr>
</table>
</td>
</tr>
</table>
</td></tr></table>
<table align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="48"><img src="{imagesfolder}/catbleft.gif" border="0"></td>

<td align="center" background="{imagesfolder}/catbmiddle.gif" width="100%"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"></a></td>

<td width="48"><img src="{imagesfolder}/catbright.gif" border="0"></td>
</tr>
</table>

<!-- spacer --></td><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td></tr></table>

turdboy
09-14-2002, 02:04 AM
Sorry it took so long I forgot about this thread. Luckily I decided to look back a few pages. Anyway here it is if you even want it anymore. Copy and paste that in the postbit template.