TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 18, 2024, 09:40:09 AM

Login with username, password and session length
Members
  • Total Members: 3,886
  • Latest: Grendor
Stats
  • Total Posts: 195,189
  • Total Topics: 21,220
  • Online today: 112
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 99
  • Total: 99

Two Questions for the Shoutbox

Started by Basil Beard, March 18, 2006, 07:52:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Crip

I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



TwinsX2Dad

Quote from: Basil Beard on March 18, 2006, 07:52:30 PMTo save space, id like it to appear as
Name: Time(in box thingy)
Shout itself.

Okay, I am confused (slightly).

Does yours also display the date (or today/yesterday)?

These could all be placed in the block, but it would make for some formatting issues in some themes.

Basil Beard

Yes, date and time, so like

Today at 10:00:00 PM

TwinsX2Dad

But what about when it is further back than yesterday (some slower boards would see this) and the listing was

February 30, 2006 at 11:43AM

This is where I am having some issues with the code because this blows out the cell or wraps the line into

February 30,
2006 at 11:43AM

IchBin

You guys crack me up.

Here's what you'll want to do. Although as Twins put it, you might run into formatting issues. Open up TPortal.php in the Sources directory.
Look for this line:

$shouts .='<p style="padding: 0; margin: 5px 0;"><b>'.$row['value3'].'</b><br /> '.timeformat($row['value2']).'<br />';

Change it to this:

$shouts .='<p style="padding: 0; margin: 5px 0;"><b>'.$row['value3'].'</b> '.timeformat($row['value2']).'<br />';


Crip

I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



G6Cad


TwinsX2Dad

#18
Quote from: jpÂÃ,® on March 19, 2006, 10:15:30 AMhow did you do that avatar like that ???

I just ran it through an animation tool.

It is infinitely less painful than running him through a meat grinder.......


IchBin

Quote from: TwinsX2Dad on March 19, 2006, 06:28:33 PM
Quote from: jpÂÃ,® on March 19, 2006, 10:15:30 AMhow did you do that avatar like that ???

I just ran it through an animation tool.

It is infinitely less painful than running him through a meat grinder.......


Indeed... lol thanks for sparing me Twins.