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

Recent

Welcome to TinyPortal. Please login or sign up.

May 19, 2024, 11:53:22 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: 128
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 60
  • Total: 60

Articles being Chopped

Started by clothahump, February 14, 2011, 08:27:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

clothahump

Link to my site: http://www.tropicalfishforums.co.uk
SMF version: SMF ver. RC5
TP version: TP ver. TinyPortal10RC1
Default Forum Language: English
Theme name and version: Default
Browser Name and Version: Firefox?
Mods installed: Not Applicable
Related Error messages: None

When adding large articles they end up getting chopped, how do I increase word count?

IchBin

How many characters is it allowing? You can see this in any good text editor like notepad++. TP's current table should allow over a million characters which I believe is a field type text in the database. If your upgrade didn't go properly you still might be on the old version of the table that only allowed about 65K of text.

clothahump


agent47

I hate to go off topic but I have to ask how did you manage to make your forums quite popular. I see you have a reasonable amount of users online. Some tips on how you did this would be real nice :)

clothahump

Quite simple, provide something which is required, be friendly and kick out any idiots that appear as soon as possible.

IchBin

You're going to have to look at the smf_tp_articles table in your database. Look at the body row of that table and see what the column "type" is. If it is text, edit the row and change it to longtext.

clothahump

That did it IchBin, http://www.tropicalfishforums.co.uk/index.php?page=diyco2

One more problem.
I would like to change the order of the articles in the Article Block, I have saved it time and time again but no go.

IchBin


clothahump


IchBin

In TPortal.php find this line on about #2149
AND art.approved=1", __FILE__, __LINE__);


Change to this:
AND art.approved=1 ORDER BY art.date", __FILE__, __LINE__);


That will order them by date.