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

Recent

Welcome to TinyPortal. Please login or sign up.

February 06, 2025, 12:36:56 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,471
  • Total Topics: 21,258
  • Online today: 76
  • Online ever: 6,457 (November 30, 2024, 02:40:09 PM)
Users Online
  • Users: 0
  • Guests: 64
  • Total: 64

Text size in TPShouts

Started by ziggy12345, September 29, 2010, 08:25:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ziggy12345

Hi

How do I adjust the amount of text in the TPShoutbox? I want to increase it. I am using newdef design

Cheers

ZarPrime

Hi ziggy12345,

Welcome to the TP Support Site.

In order to assist you, we will need some additional info about your site.  A link to your site where we can see the Shoutbox would help us to help you.

Please Read and Follow the Posting Guidelines and be sure to use the posting template at the bottom of that post

ZarPrime

ziggy12345

Link to my site: http://www.fast-rc.co.ukSMF version: SMF ver. 1.1.11TP version: TP ver. hereTheme name and version: newdefBrowser Name and Version: Browser name/version hereMods installed: Mods listed hereRelated Error messages: Error message here

ZarPrime

On your site, the size of the text in the shoutbox is taken from .smalltext in the style.css file located in the /Themes/newdef112_tp/ folder.  If you were using the SMF default theme the appropriate location would be the /Themes/default/style.css file.


.smalltext
{
font-size: x-small;
font-family: verdana, sans-serif;
}


You could change "x-small" to "small" but that would make everything on your site that uses .smalltext larger, probably something you don't want to do.

ZarPrime

ziggy12345

Hi

I need to increase the AMOUNT of text not the size.

Thanks

ZarPrime

The amount of text?  I'm not sure what you mean.  Can you give us an example?

ZarPrime

IchBin

tp-files/tp-modules/TPShout/Sources/TPshout.php

Find this line and adjust to what you need.

$oldshout=strip_tags(substr($_POST['tp_shout'],0,300));

ziggy12345

Where will I find that and what bit do I adjust?

IchBin

You will find it where I told you it was, in the TPshout.php file. You need to adjust the 300 number to be what you want the new limit to be.