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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,234
  • Total Topics: 21,353
  • Online today: 565
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 469
  • Total: 469

Shoutbox Width

Started by TolerancE, October 02, 2006, 08:48:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TolerancE

I noticed the the shoutbox is a bit wider than my frontpage articles and I wanted to adjust the width of it. However there is only an option to adjust the height. Id there any way to adjust the width?

G6Cad

Look for the shoutbox code in TPortalBlocks.template.php and see if you can change the width there :)

Have you tried to change it from Admin/TinyPortal/Settings/ ?  The width for the entire sidbar ?

tossican

I am having a similar issue, while slightly different...

I've decided to use a shoutbox block as a front page center block, as apposed to it appearing on every page at the side ..

I am using SMF 1.1.1, TP 0.971, and Wow-DK theme (moded for 1.1 final as well as my own 'custom actions')

Here's my issue ... I have the block appearing where I want it to, all works ... except .. the area showing the shouts is 'scrunched' .. basically the size it would be, had it been in a side block ... the input box appears full width, as expected, just not the displayed shouts ... Oh! and oddly enough, clicking the 'show last 50' link, causes it to display exactly as I had expected it to in the first place! (less the other front blocks tho)

I dug around trying to find the code (expecting to find an iframe or something similar), but could not figure out where the width is set.

I would think the width would be 100% of the block size... not sure if the occuring issue is by bug, or design, but it's kind of annoying .. 

How can I fix this?

And, in case I have completely confused you, this time I will give a link so you can have a look. http://zarai.info/ The block is top, dead center .. hard to miss.

Thanks in advance for any help .. as always, it's greatly appreciated!

-- Tossi

tossican

#3
Ok, after a bit more testing, I feel rather foolish now   >:D

It seems the positioning of my scrollbar issue is based on the length of the longest shout *LOL*

Since at the time of my original post, all the shouts were short ("Hey!", "Welcome all!", etc) it only -seemed- the area was 'scrunched' ... With a longer shout "This is a really long test shout to force the scroll bar to apaer at a smaller font size" .. the scroll bar got kicked way over where I expected it to be *LOL*

Problem solved? ... Well, kind of anyways .. I'd rather not have to intentionally post a long shout every so often to kick the scrollbar over ..

so the question changes to... How can I force the shout display area to be 100% of the block size, so even with an abundance of short shouts the scroll bar remains to the far right of the block?

-- Tossi

5h0ckw4ve

I have the exact same problem with mine and would love to know how to make the shout box appear properly. Thnx.

G6Cad

What theme do you use ?
Not all themes support a wider block so please specify more in order for us to give any hel.

What SMF
What TP
What theme
Other mods beside TP installed ?

5h0ckw4ve

Sorry. It's TP 0.97 running with Smf 1.1.2, I am running the SMF arcade mod and the theme is the default one like on the smf forums site.

That is another thing, I am not too keen on the theme that I am using, I would alos like to have a better default theme for my board that worked with the portal and the arcade, I'd be prepared to buy one if it was guaranteed to work with them. Thanks.

*Nb the theme should be suitable for a programming forum, it needs to be very clean looking, readable and beautiful! :) *

My problem is the shoutbox scrunches up, I am using firefox.

www.dbfinteractive.com is the home page if you would like to see the bug for yourself.

Thank you very much indeed for your help, I'd like to fix this :D

G6Cad

May i suggest you eather buy Azure, Black14k or Arifical Intelligense if you want a paied theme  :D

If you want to have a look what free themes you can have on your setup, look in Crips board here, or the Download section (Bloc)
Or at my site, you have over 100 themes to use freely on your site.

But all this AFTER you have a WORKING default theme first.

I assume you have tried to change the shoutbox hight in Admin/TinyPortal/Block manager/Shoutbox "Height of shoutbox in pixels"

The width you have to change the entire left or right bar width.
Admin/TinyPortal/Settings. "Use left panel:" Width in pixels) and then the same fo the right panel.

5h0ckw4ve

Azure looks really beautiful, and that will work fine with the smf arcade? Nice. I daren't remove the arcade now, everyone uses it. :(

I tried your tips, unfortunately it did not affect the shoutbox.. Strangely I turned on scrolling in the shout box and it now displays at the correct width! So I don't know it you'd call that a solution or not.

Thanks very much for your advice. I appreciate it.


5h0ckw4ve

Just bought the theme and installed it, it doesn't seem to work with the arcade. That was a waste of $10! :(

This website is proudly hosted on Crocweb Cloud Website Hosting.