TinyPortal

Development => Feedback => Topic started by: Basil Beard on March 18, 2006, 07:52:30 PM

Title: Two Questions for the Shoutbox
Post by: Basil Beard on March 18, 2006, 07:52:30 PM
I just installed tiny portal on my forum... and had a few questions about it's shoutbox.

Question 1: Right now, at least in the theme im using(TechHead) shouts appear on three lines

Name(in a box thingy)
Time
Shout itself.

To save space, id like it to appear as
Name: Time(in box thingy)
Shout itself.

Is there any way I can do this?

Secondly, I have placed the shoutbox on the right side of the screen. Is it at all possible to put the text box that you enter your shouts into on the top, and have the shouts appear below it, instead of having the shouts appear on the top and the textbox below it?

Thanks =)
Title: Re: Two Questions for the Shoutbox
Post by: Crip on March 18, 2006, 08:14:03 PM
i'm sure there is A way of doing this..but I don't think this question has been asked here before..so I'm just not sure How?..?
Title: Re: Two Questions for the Shoutbox
Post by: gerrymo on March 18, 2006, 08:37:04 PM
I dont think it has been asked before. But it would be quite nifty if it was like that by default.
Title: Re: Two Questions for the Shoutbox
Post by: Maya on March 18, 2006, 08:40:28 PM
what versions of smf and techhead are you using?

( I don't recall seeing this question either ...but I too think it can be done...)

I have re aligned things in other blocks, but not the shoutbox...shouldn't be too hard though...
Title: Re: Two Questions for the Shoutbox
Post by: Crip on March 18, 2006, 08:47:31 PM
prolly make certian changes in the shotbox.template Tportal.blocks..maybe?
Title: Re: Two Questions for the Shoutbox
Post by: Basil Beard on March 18, 2006, 08:49:32 PM
SMF 1.0.6, whatever the latest version of tehchead is. =)(I downloaded it today)
Title: Re: Two Questions for the Shoutbox
Post by: Crip on March 18, 2006, 08:57:40 PM
We'd need a good code monkey to explain this..that i ant.
Title: Re: Two Questions for the Shoutbox
Post by: gerrymo on March 18, 2006, 09:02:46 PM
Quote from: jp on March 18, 2006, 08:57:40 PM
We'd need a good code monkey to explain this..that i ant.

That makes 2 of us.
Title: Re: Two Questions for the Shoutbox
Post by: Crip on March 18, 2006, 09:33:09 PM
I think IncbinTM. is a wanna be one. :)
Title: Re: Two Questions for the Shoutbox
Post by: gerrymo on March 18, 2006, 09:39:54 PM
LOL. Thats him playing himself down. He's seems to be quite knowledgable on these things.
Title: Re: Two Questions for the Shoutbox
Post by: Crip on March 18, 2006, 09:49:07 PM
indeed he is.
Title: Re: Two Questions for the Shoutbox
Post by: TwinsX2Dad on March 18, 2006, 09:58:42 PM
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.
Title: Re: Two Questions for the Shoutbox
Post by: Basil Beard on March 19, 2006, 12:46:44 AM
Yes, date and time, so like

Today at 10:00:00 PM
Title: Re: Two Questions for the Shoutbox
Post by: TwinsX2Dad on March 19, 2006, 01:36:47 AM
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
Title: Re: Two Questions for the Shoutbox
Post by: IchBin on March 19, 2006, 06:37:59 AM
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 />';
Title: Re: Two Questions for the Shoutbox
Post by: TwinsX2Dad on March 19, 2006, 07:56:26 AM
Quote from: IchBinâââ,¬Å¾Ã,¢ on March 19, 2006, 06:37:59 AM
You guys crack me up.

Like this?
Title: Re: Two Questions for the Shoutbox
Post by: Crip on March 19, 2006, 10:15:30 AM
Quote from: TwinsX2Dad on March 19, 2006, 07:56:26 AM
Quote from: IchBinÃ,â,,¢ on March 19, 2006, 06:37:59 AM
You guys crack me up.

Like this?

how did you do that avatar like that ???
Title: Re: Two Questions for the Shoutbox
Post by: G6Cad on March 19, 2006, 12:52:26 PM
LoL, that avatar is pretty funny :D
Title: Re: Two Questions for the Shoutbox
Post by: 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.......

Title: Re: Two Questions for the Shoutbox
Post by: IchBin on March 19, 2006, 07:54:23 PM
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.
Title: Re: Two Questions for the Shoutbox
Post by: TwinsX2Dad on March 19, 2006, 10:02:11 PM
Quote from: IchBinâââ,¬Å¾Ã,¢ on March 19, 2006, 07:54:23 PMIndeed... lol thanks for sparing me Twins.

Hey - you're one of the good guys. It was the least I could do!

Besides, we're using the meat grinder to make chili.   :2funny:
Title: Re: Two Questions for the Shoutbox
Post by: IchBin on March 20, 2006, 12:44:27 AM
Speaking of Chili, I just had some for dinner.
I'd probably make a good meal, just ask the wife... she puts me through the grinder enough as it is.. :P
Title: Re: Two Questions for the Shoutbox
Post by: TwinsX2Dad on March 20, 2006, 02:47:53 AM
I thought about you over dinner here. We had some homemade Frito pie.

My killer homemade chili over a bed of Fritos chips, topped with shredded cheese, homemade chunky pico salsa, chopped red and green onions and shredded lettuce.

Needless to say, I am not moving well. I've morphed into shape tonight - a rather round one.
Title: Re: Two Questions for the Shoutbox
Post by: IchBin on March 20, 2006, 04:54:01 AM
On days like those, I morph into a captains chair right in front my computer. That chili over the chips sounds really good btw.
Title: Re: Two Questions for the Shoutbox
Post by: TwinsX2Dad on March 20, 2006, 06:13:51 AM
Quote from: IchBinâââ,¬Å¾Ã,¢ on March 20, 2006, 04:54:01 AMThat chili over the chips sounds really good btw.

Its one of those high spice, high cholesterol, high fat things I brought back with me from five years in Texas.   :laugh:

It is so easy to do, especially if you cheat and use a chili mix or prepared (never in a can - ick!). Chips first, topped with chili, then a few more chips (if desired), then cheese, then salsa, then shredded lettuce on top. If you really like the Anglo touch, you can even be forgiven for a dollop of sour cream in there somewhere. Considering even the lettuce & cheese are available shredded in a package, it is something you could do for lunch even. Ziploc the leftovers for tomorrow's lunch.......

The chair is exactly what I did, too.

Are you sure our other halves didn't chat on the phone before planning this evening (even though I made dinner here)?
Title: Re: Two Questions for the Shoutbox
Post by: IchBin on March 20, 2006, 09:12:18 PM
Man, even after you talking about that I just might have to have a plate of that stuff tonight. My mouth is drooling after that description....lol

Quote
Are you sure our other halves didn't chat on the phone before planning this evening (even though I made dinner here)?

I know your real name, so I don't think you are my other half. :P Maybe its a conspiracy with our other half? Now I'm confusing myself...
Title: Re: Two Questions for the Shoutbox
Post by: TwinsX2Dad on March 20, 2006, 11:49:57 PM
Quote from: IchBinâââ,¬Å¾Ã,¢ on March 20, 2006, 09:12:18 PMI know your real name, so I don't think you are my other half. :P Maybe its a conspiracy with our other half? Now I'm confusing myself...

Now where's that spinning head smilie when I need it? Now I am confused, too!   :uglystupid2: