Topics

User Functions

Events

There are no upcoming events

What's New

Stories

1 new Stories in the last 2 weeks

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Saturday, May 25 2013 @ 01:52 AM EDT


 Forum Index > Support > General Geeklog Support New Topic Post Reply
 How can I change story input size?
   
Anonymous: TastyBanana
 09/26/05 02:27AM (Read 2229 times)  

nerdy


I searched the code and wasn't able to glean where I can make the following change:

I need to be able to input large stories. Whenever I try to post a very large file (150k) as a story, geeklog seems to truncate it. I'd like to alter the PHP/MySQL/whatever to allow me to post stories of unlimited length.

If I'm missing something, let me know. Otherwise I'm not sure where to start looking...

 
 Quote
machinari
 09/26/05 04:31AM  
+++++
Full Member

Status: offline


Registered: 03/22/04
Posts: 1512
in the database table, gl_stories, you will have to change the column type from "text" to "medium text" on the intro and body columns.

easily accomplished with phpmyAdmin or some similar tool. Otherwise use the "alter table" syntax in a mySQL query.

 
Profile Email
 Quote
Anonymous: TastyBanana
 09/30/05 01:37AM  

happy




Thank you! It worked out just great. For those who want to know what I did, here are the MySQL commands that fixed my text length issue:

mysql> alter table gl_stories change introtext introtext mediumtext;
Query OK, 13 rows affected (0.11 sec)

mysql> alter table gl_stories change bodytext bodytext mediumtext;
Query OK, 13 rows affected (0.06 sec)
Records: 13 Duplicates: 0 Warnings: 0


 
 Quote
Content generated in: 1.02 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content