Seite 1 von 1

Maximale Textlänge eines Postings

Verfasst: 17.07.2006 20:40
von Symphosius
Hi all,

Habe leider keine Informationen dazu gefunden, von was die maximale Textlänge eines Postings abhängt und ob/wo ich die vergrößern kann.

Konkret: Hab den Knowledge-Base Mod installiert und dort das gleiche Limit wie bei normalen Forenpostings, aber längere Artikel. Wäre schön, wenn ich die nicht aufsplitten müsste.

Gruß und Dank für einen Tipp,
Symphosius

Re: Maximale Textlänge eines Postings

Verfasst: 18.07.2006 15:18
von h-o
Symphosius hat geschrieben:das gleiche Limit wie bei normalen Forenpostings
Wie's beim Knowledge Base MOD ist, kann ich nicht sagen, aber bei Foreneinträgen in phpBB 2.x gibt's normalerweise kein Limit für die Beitragslänge. Stattdessen kann man mit Hilfe des minimale und maximale Beitragslänge MODs von Leuchte entsprechende Grenzen im ACP festlegen.

Im Standard phpBB ist die Spalte "post_text" in der Tabelle phpbb_posts_text vom Format "text" und kann glaub ich 2^16 (also etwas mehr als 65.000) Zeichen aufnehmen.

Re: Maximale Textlänge eines Postings

Verfasst: 18.07.2006 19:35
von Symphosius
h-o hat geschrieben:Im Standard phpBB ist die Spalte "post_text" in der Tabelle phpbb_posts_text vom Format "text" und kann glaub ich 2^16 (also etwas mehr als 65.000) Zeichen aufnehmen.
Genau das ist die Lösung:
  • CHAR( ) A fixed section from 0 to 255 characters long.
    VARCHAR( ) A variable section from 0 to 255 characters long.
    TINYTEXT A string with a maximum length of 255 characters.
    TEXT A string with a maximum length of 65535 characters.
    BLOB A string with a maximum length of 65535 characters.
    MEDIUMTEXT A string with a maximum length of 16777215 characters.
    MEDIUMBLOB A string with a maximum length of 16777215 characters.
    LONGTEXT A string with a maximum length of 4294967295 characters.
    LONGBLOB A string with a maximum length of 4294967295 characters.
Hab article_body in der kb_articles auf mediumtext umgestellt und gut isses :-)

Danke!

Re: Maximale Textlänge eines Postings

Verfasst: 17.08.2008 09:56
von wwwthomasbauerattf
Symphosius hat geschrieben:
h-o hat geschrieben:Im Standard phpBB ist die Spalte "post_text" in der Tabelle phpbb_posts_text vom Format "text" und kann glaub ich 2^16 (also etwas mehr als 65.000) Zeichen aufnehmen.
Genau das ist die Lösung:
  • CHAR( ) A fixed section from 0 to 255 characters long.
    VARCHAR( ) A variable section from 0 to 255 characters long.
    TINYTEXT A string with a maximum length of 255 characters.
    TEXT A string with a maximum length of 65535 characters.
    BLOB A string with a maximum length of 65535 characters.
    MEDIUMTEXT A string with a maximum length of 16777215 characters.
    MEDIUMBLOB A string with a maximum length of 16777215 characters.
    LONGTEXT A string with a maximum length of 4294967295 characters.
    LONGBLOB A string with a maximum length of 4294967295 characters.
Hab article_body in der kb_articles auf mediumtext umgestellt und gut isses :-)

Danke!
du meinst wohl die "post_text" gehört von text auf mediumtext umgestellt.
zumindest hab ich es so gemacht und jetzt klappt es