News: TinyPortal Release Schedule. Please read this update for More Info.

Login  |  Register
HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

November 16, 2019, 03:22:33 PM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 189259
  • Total Topics: 20772
  • Online Today: 173
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 0
Guests: 154
Total: 154

Author Topic: Two Questions for the Shoutbox  (Read 9177 times)

0 Members and 1 Guest are viewing this topic.

Offline Crip

  • Jesus Inside.
  • Themes
  • *
  • Posts: 4168
  • Theme Support
    • Cripzone
Re: Two Questions for the Shoutbox
« Reply #10 on: March 18, 2006, 02:49:07 PM »
indeed he is.
I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes


TwinsX2Dad

  • Guest
Re: Two Questions for the Shoutbox
« Reply #11 on: March 18, 2006, 02:58:42 PM »
To 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

  • Guest
Re: Two Questions for the Shoutbox
« Reply #12 on: March 18, 2006, 05:46:44 PM »
Yes, date and time, so like

Today at 10:00:00 PM

TwinsX2Dad

  • Guest
Re: Two Questions for the Shoutbox
« Reply #13 on: March 18, 2006, 06:36:47 PM »
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

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: Two Questions for the Shoutbox
« Reply #14 on: March 18, 2006, 11:37:59 PM »
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:

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

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

TwinsX2Dad

  • Guest
Re: Two Questions for the Shoutbox
« Reply #15 on: March 19, 2006, 12:56:26 AM »

Offline Crip

  • Jesus Inside.
  • Themes
  • *
  • Posts: 4168
  • Theme Support
    • Cripzone
Re: Two Questions for the Shoutbox
« Reply #16 on: March 19, 2006, 03:15:30 AM »
I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes


Offline G6Cad

  • Friends
  • *
  • Posts: 12643
    • FamiljeGodis
Re: Two Questions for the Shoutbox
« Reply #17 on: March 19, 2006, 05:52:26 AM »
LoL, that avatar is pretty funny :D

TwinsX2Dad

  • Guest
Re: Two Questions for the Shoutbox
« Reply #18 on: March 19, 2006, 11:28:33 AM »
how 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.......

« Last Edit: March 19, 2006, 11:44:30 AM by TwinsX2Dad »

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: Two Questions for the Shoutbox
« Reply #19 on: March 19, 2006, 12:54:23 PM »
how 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.