Deadman, anyways, using of utf-8 for russian sites will DOUBLE server's and people's bandwidth. It doesn't make any profit, and furthermore, it's a huge disadvantage.
You may keep this coding for international sites.
76 2005-04-15 07:44
Re: Русский перевод PunBB (88 replies, posted in Archive)
77 2005-04-15 07:17
Re: Русский перевод PunBB (88 replies, posted in Archive)
ñòàíäàðò ñîñòîèò íå â òîì, ÷òî "îáúÿâëåíî", à ÷òî "ïðèíÿòî".
È utf-8 ÍÅ ÏÐÈÍßÒÎ, â ñâîåì áîëüøèíñòâå, â Ðîññèè.
Ïîëüçà îò utf ìîæåò áûòü òîëüêî äëÿ òåõ ñòðàíè÷åê, â êîòîðûõ ìåøàíèíà âñåõ ÿçûêîâ. È ÷àñòî òàêîå íàäî???
78 2005-04-15 03:28
Re: Русский перевод PunBB (88 replies, posted in Archive)
Deadman, ïîãîâîðèì ïî-ðóññêè. Åñëè òû íå çíàêîì ñ êèðèëëè÷åñêèìè êîäèðîâêàìè, òî ýòî ñîâñåì íå îçíà÷àåò, ÷òî îíè "äåðüìî" êàê òû âûðàçèëñÿ. ×òî æ ïîäåëàòü, ðàç â ìèðå êîïòñêî-êèðèëëè÷åñêèé àëôàâèò îñòàåòñÿ áåç äîëæíîãî óâàæåíèÿ è ïî÷òåíèÿ.
Äà, ÿ çíàþ ýòè êîäèðîâêè (cp1251/cp866/koi8-r) çíàþ äîñòàòî÷íî ïîäðîáíî.
Íàñ÷åò áàííåðíûõ ñèñòåì è âñÿêîé êàðòèíî÷íîé ÷óõíè - íå â êàññó. PunBB è îòëè÷àåòñÿ îò îñòàëüíûõ ÏÎÏÑÎÂÛÕ ôîðóìîâ òåì, ÷òî íå ïåðåãðóæåí âñÿêîé ãàëèìàòüåé. È ïîâåðü - äîôèãà ëþäåé áåñÿò âñå ýòè ðåêëàìû, è proxymitron è äðóãèå òóëçû î÷åíü ïîìîãàþò îò íèõ èçáàâèòüñÿ.
È íå íàäî íàâÿçûâàòü íàì ñâîþ áóðæóéñêóþ óíèâåðñàëèçàöèþ. Ìû è ñ koi8/cp1251 îáîéäåìñÿ.
Âîí, ïî÷òîâàÿ ñèñòåìà îò íà÷àëà ñâîåãî koi8-r èñïîëüçóåò.. è ïîíûíå.
79 2005-04-14 17:00
Re: [minimod] Last topic name in forum list. (27 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Ataxy, it's not actually mine.. because idea is common.. realisation touches small part of code...
I don't think i have any ownership on this code
80 2005-04-14 15:57
Re: [minimod] Last topic name in forum list. (27 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Austral, ÿ íå âèäåë íèêàêèõ ïðåäûäóùèõ ìîäîâ, ÿ åãî ïî íóæäå ñâàðãàíèë ïî áûñòðîìó.. è ïðîñòî ðåøèë ïîäåëèòüñÿ (ñêîðåå âñåãî íåóêëþæå)... Òû æå íàâåðíî ïîíèìàåøü, ÷òî íà íå ñòàíäàðòíûå äèçàéíû ÿ ðàñ÷èòûâàòü íå áóäó, ê òîìó æå äëèíó ñîîáùåíèÿ.. ÷åðåç îïöèè çàäàâàòü? .. ó êîãî ðóêè âñòàâëåíû íóæíûì ìåñòîì, òîò äîâåäåò äî óìà... íà òàêèõ, íàâåðíî, è ðàñ÷èòàíî...
Ataxy, you may take your chance to release your own, more stable vesion, with much more detailed instructions..
81 2005-04-14 15:51
Re: Private Message Mod и PunBB 1.2.5 (4 replies, posted in Archive)
1.2.4 ?? 1.2.5 ??????????? ?? ??????????...
??? ???????? - ???????...
???????? ? ???? ?? ?????? 1.2.4, ? ??? ? ???? ?????? ????????, ?????? ????? ??????, ???? ????????? ?? ??? ??? ???????????..
? ???? ?????? ??? ????????, ? 1.2.5 ? PM ? attachment2
82 2005-04-14 11:00
Re: [minimod] Last topic name in forum list. (27 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Austral, ñäåëàé. Ýòî íåñëîæíî.
Ïîêà òàêîé íåîáõîäèìîñòè ó ìåíÿ íå áûëî. Â ñïèñêå ôîðóìîâ âñå ðàâíî íåñêîëüêî ñòðîê âëàçÿò áåç ïðîáëåì. È íàñòîëüêî äëèííûõ òåì íå áûâàåò. Ìàêñèìóì - 70 ñèìâîëîâ.
83 2005-04-14 07:26
Re: Attachment Mod 2.0.1 by Frank H (500 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Frank, there is HUGE algorithmic nonoptimality in topicview.php
this code with "select from rules" executes EVERY message of topic... the point of this select - to determine, are attachments available for this user/group... but it's unnecessary to execute it every message.. one for topicview will be fine!
if($pun_user['g_id']==PUN_ADMIN)$attach_allow_download=true;
else{ //fetch the rules of the forum, and check so that the user is allowed to download.
$result_attach_two = $db->query('SELECT ar.rules FROM '.$db->prefix.'attach_2_rules AS ar WHERE ar.group_id=\''.$pun_user['group_id'].'\' AND ar.forum_id='.$cur_topic['forum_id'].' LIMIT 1')or error('Unable to fetch rules for the attachments', __FILE__, __LINE__, $db->error());
if($db->num_rows($result_attach_two)==1){
list($attach_rules)=$db->fetch_row($result_attach_two);
$attach_allow_download = attach_rules($attach_rules,ATTACH_DOWNLOAD);
}
}
84 2005-04-14 04:11
Re: Attachment Mod 2.0.1 by Frank H (500 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Frank, nope.. not a firewall. I have connected to localhost even
Browsers.. well, explorer 6 and firefox 1.1 .. no matter which..
oh, there is one point - apache server (2.0.53) is configured like that:
#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On
#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100
#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 15
well, it's default apache settings.
85 2005-04-14 03:04
Re: Chatrooms and PunBB (36 replies, posted in General discussion)
zaher, do you have blocked ports too?
86 2005-04-14 02:54
Re: Attachment Mod 2.0.1 by Frank H (500 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Extra tinyint field in `posts` table that flags a presence of attachments on a respective post will help to gain a bit of performance... I guess...
Frank, what about "Connection: close" for downloads ??? I guess that's the reason of waiting before download, when "keepalive" option is set.
Also field 'notes' in `attach_2_files` will be usable, for picture dimensions, filled with getimagesize().
87 2005-04-13 17:40
Re: Attachment Mod 2.0.1 by Frank H (500 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Frank, previously i've get you wrong.. i thought you was saying about RESUME UPLOADS, not a downloads
for downloads it's all pretty clear
here's good descritpion with examples: http://www.vbip.com/winsock/winsock_http_08_01.asp
and by the way - the reason of delay of loading is in "keepalive" i think.. because i've make this parameter on server larger, and delay become very big...
i think there must be
header('Connection: close');
near
header('Pragma: no-cache'); //hmm, I suppose this might be possible to skip, to save some bw, but I'm far from sure, so I let the 'no cache stuff' be...
header('Expires: 0');
file - attachment.php... near the end.
after adding this line picture previews became very rapid:)
88 2005-04-13 17:26
Re: Redirecting after editing (4 replies, posted in Feature requests)
maybe it is... as i'm in testing period - i found this feature very useful
89 2005-04-13 15:57
Re: Redirecting after editing (4 replies, posted in Feature requests)
I guess I did something wrong.. now it's fine
sorry everybody...
well there is one similar wish - somehow to logout without loosing page you are on. Or maybe re-login as other user...
because when you're getting as admin, oftenly you got to go back and find messages you want to fix...
90 2005-04-13 15:22
Topic: Redirecting after editing (4 replies, posted in Feature requests)
When you're editing post on .. for example.. 3rd page, you'll be automaticly redirected on first page, and not to edited post..
How to fix that?
91 2005-04-13 13:37
Re: Attachment Mod 2.0.1 by Frank H (500 replies, posted in PunBB 1.2 modifications, plugins and integrations)
about 0 lenght i know..
but for some reason there will be situation, when attaches in base - 30, but actually in attach folder there are 100 of them...
you don't see if file is used or not... and file aren't 0 size of length.. when you'd backed up base in one day, and files some later, when you're restoring base with files, there will be alot of files in folders, that won't be having appropriate row for it in base...
i mean tool that will zero all unused files in upload folders, but keeps their names...
yep 5-7 seconds.. and i don't know why....
92 2005-04-13 12:40
Re: Attachment Mod 2.0.1 by Frank H (500 replies, posted in PunBB 1.2 modifications, plugins and integrations)
no i have test base on local machine, it isn't loaded at all
this checks.. it takes about 5-7 seconds of odd waiting... after loading of page..
and about this "optimize" feature - as i see, it doesn't remove any files, that aren't in database, but in attachment folder... i really need this feature
And re-arranged attachment in administration looks like:
93 2005-04-13 11:29
Re: Private Message Mod и PunBB 1.2.5 (4 replies, posted in Archive)
???????, ? ????? ?????????
?????? ? ???? ?? 1.2.4 ??? ?????????, ? ????? ?? 1.2.5 ??????????.
94 2005-04-13 06:11
Re: Attachment Mod 2.0.1 by Frank H (500 replies, posted in PunBB 1.2 modifications, plugins and integrations)
okay, i've finished re-arranging list of attachments in administration.. also added forum/topic and owner.
also added info in Image View and dimentions info (width x height) of images.
Frank, can you tell me why image opening as embedded (through <img> tag) is so slow?
I mean some time pass before image actually occurs in "Image View"...
By the way, there is intresting detail: when you're guest - you're able to attach, and according to options, more then 1 attachment is possible, but due to "edit" nature of extra attaches, there is no possibility to attach more then one file to message for guests
95 2005-04-13 05:49
Re: Русский перевод PunBB (88 replies, posted in Archive)
Almost nobody in Russia uses utf-8. It's too hard to recode it without external tools..
cp1251/koi8-r/cp866 are good old codepages, that everybody knows, and the main advantage - they are widespreaded and easy to recode/render without any external library.
Besides cyrillic text in utf-8 will be as big as in utf-16.
96 2005-04-12 18:07
Re: Attachment Mod 2.0.1 by Frank H (500 replies, posted in PunBB 1.2 modifications, plugins and integrations)
well, i've searched on the net about resuming broken uploads, and i'd found an idea, that it's near impossible, because clients(browsers) are unable to upload not from start...
97 2005-04-12 17:49
Re: Attachment Mod 2.0.1 by Frank H (500 replies, posted in PunBB 1.2 modifications, plugins and integrations)
okay, Frank. I have no bugs left noticed.
But! Could you somehow make "attachment.php" a little bit more informative, when previewing images...
Simply to add file size and number of downloads, as in all other attachment lists?...
And ideas for future updates/releases:
- change format in administration of attachments, when listing all of them - to make it tabled (like topics).. also "pages" will be great.. IMHO it will be more user(admin)-friendly interface.
- also it will be good to have a tag for uploaded picture (by id).. a sort of [imgid=3] in a message body
- and these limitation of uplods (clearing) when previewing.. it isn't so good you know.. if attachment is big enough - re-uploading may take time...
- when creating a post - to "upload" file without actual posting, and posting after attaching all the file you need. Maybe link "my attachments" with a sort of tiny manager of user's attachments and posts with these attachments... when you could "reupload" some of them (newer version) or delete... well.. a kinda... manager
P.S. Awesome mod!
98 2005-04-12 17:08
Re: Attachment Mod 2.0.1 by Frank H (500 replies, posted in PunBB 1.2 modifications, plugins and integrations)
already tryed.. first of all - step 32 has wrong line (as in step 31)
the second. when admin - the error occur in edit.php in line about 220 ... when trying to edit existed message with attach
$attach_size=$pun_config[''];
99 2005-04-12 15:34
Re: PunPoll v1.2.3 (188 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Connorhd, maybe you should share latest version with people, somebody may continue this alternative poll developing.. and mediator's doesn't suit everyone's needs.
disabling links is not good decision. definatly not good..
100 2005-04-12 11:37
Re: punpoll problem (8 replies, posted in PunBB 1.2 modifications, plugins and integrations)
>and PunPoll is?
I haven't actually seen punpoll code