|
|
|
phpBB2 by Przemo
Support forów phpBB2 modified by Przemo
|
|
|
Moved by: lui 27-09-2009, 15:36 |
Max Post Length |
| Author |
Message |
#Bucu
PHP <3

Helped: 419 times Posts: 1930 Location: Kielce
|
Posted: 27-02-2009, 23:22 Max Post Length
Forum address: Nie potrzebuję pomocy - Sam pomagam ;) |
|
|
Zmiana maksymalnej długości posta poprzez PA (przed instalacja moda mamy w pliku posting.php wymuszona wartość 65500 znaków)
2vnox1v.jpg
|
 |
| 156 Time(s) 17.18 KB |
max_post_l.zip v1.0a |
Download 92 Time(s) 1.31 KB |
|
_________________ Zanim napiszesz głupi temat, zapoznaj sie z FAQ
Pisanie / Instalacja Modyfikacji / For / CMS , przenoszenie For / CMS / Baz Danych (odpłatnie) - Osoby zainteresowane Proszę o kontakt GG.
Przez GG Pomagam tylko odpłatnie! |
| Last edited by lui on 27-09-2009, 15:41; edited 3 times in total |
|
|
|
 |
marcinse
Posts: 3 Location: OsW City
|
Posted: 18-03-2009, 13:22
Forum address: www.offtopowo.cyberdusk.pl/index.php |
|
|
Jestem zielony w tematach php, ale wydaję m się, że w poleceniach w instrukcji jest kilka małych błędów.
| Code: | #
#-----[ otworz ]------------------------------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ znajdz ]------------------------------------------------------------------
#
$lang['Message_body'] = 'Tre¶ć wiadomo¶ci';
#
#-----[ dodaj po ]------------------------------------------------------------
#
$lang['Temat_max_znakow'] = ' [Pozostało Znaków]'; |
Tutaj chyba powinno być language/lang_polish/lang_main.php ?
Do /lang_english/lang_main.php także trzeba dopisać odpowiednie dla tego polecenie, tak?
| Code: | #
#-----[ znajdz ]------------------------------------------------------------------
#
<input type="text" name="subject" size="45" maxlength="60" style="width:450px" tabindex="2" class="post" value="{SUBJECT}" />
#
#-----[ zamien na ]----------------------------------------------------------
#
<input type="text" name="subject" size="45" maxlength="{TEMAT_MAX_ZNAKOW}" style="width:400px" tabindex="2" class="post" value="{SUBJECT}" onKeyDown="subjectCounter(this.form.subject, this.form.subjectLen, {TEMAT_MAX_ZNAKOW});" onKeyUp="subjectCounter(this.form.subject, this.form.subjectLen, {TEMAT_MAX_ZNAKOW});" />
#
#-----[ dodaj po ]------------------------------------------------------------
#
<input class="post" readonly="readonly" type="text" name="subjectLen" size="3" maxlength="3" style="text-align:center;" value="{TEMAT_MAX}" /><span class="gensmall"> {L_TEMAT_MAX_ZNAKOW}</span> |
To dodaj po, dodajemy po </span> tuż za zmienionym kodem? (tak zrobiłem i chyba działa jak należy) Czy może tuż za zmienionym kodem, ale po co wtedy osobne polecenie?. Warto byłoby to określić dokładniej. |
|
|
|
 |
#Bucu
PHP <3

Helped: 419 times Posts: 1930 Location: Kielce
|
Posted: 12-11-2009, 01:23
Forum address: Nie potrzebuję pomocy - Sam pomagam ;) |
|
|
do tego zapytanie sql jeszcze trzeba wykonac:
| Code: | | ALTER TABLE `phpbb_posts_text` CHANGE `post_text` `post_text` MEDIUMTEXT |
|
_________________ Zanim napiszesz głupi temat, zapoznaj sie z FAQ
Pisanie / Instalacja Modyfikacji / For / CMS , przenoszenie For / CMS / Baz Danych (odpłatnie) - Osoby zainteresowane Proszę o kontakt GG.
Przez GG Pomagam tylko odpłatnie! |
|
|
|
 |
mafialuka
AMXMODX
Posts: 130 Location: Warsaw
|
Posted: 22-07-2010, 19:55
Forum address: www.fraguj.com L test H test |
|
|
| Quote: | -> ZNAJDŹ (Czterokrotnie): <--
message_die(GENERAL_MESSAGE, 'Your message is too long. It can not be more than 65500 chars.');
-> ZAMIEŃ NA: <--
message_die(GENERAL_MESSAGE, 'Your message is too long. It can not be more than '.$max_post_length.' chars.');
--> ZAPISZ I ZAMKNIJ PLIK <--
|
Ja mam tylko trzykrotnie ?
[ Dodano: 22-07-2010, 20:09 ]
sory jednak dobrze
[ Dodano: 22-07-2010, 20:13 ]
kurde no nie dziala ;;/
Your message is too long. It can not be more than chars.
[ Dodano: 22-07-2010, 20:14 ]
Aaaaaaaaaaaaaa jeszcze w PA
[ Dodano: 22-07-2010, 20:33 ]
nie daje rady ;/ wpisalem 99999 i 9000
i mam
| Quote: |
Your message is too long. It can not be more than chars. |
Pozatym ze wpis
Maksymalna długość posta jest poza przyciskiem wyslij ;/ |
|
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Add this topic to your bookmarks Printable version
|
Kopiowanie wszelkich treści zawartych na forum, modyfikacji oraz instrukcji bez zgody administracji i autorów tematów/postów zabronione!
Powered by phpBB modified by Przemo © 2003 phpBB Group | | Page generated in 0.2 second. SQL queries: 12 | |
 |
|