vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Date and Time (https://vborg.vbsupport.ru/showthread.php?t=84426)

TvNut 09-03-2002 12:11 AM

Date and Time
 
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...


All times are GMT. The time now is 11:16 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01154 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete