1

(6 replies, posted in Feature requests)

I think news-server interface for web-forum will have better appearence due thread nature of news-server.

Íóæíî ÷òîáû mysql è punbb áûëè êîððåêòíî íàñòðîåíû íà ÎÄÍÓ È ÒÓ ÆÅ êîäèðîâêó.  ñëó÷àå utf-8 åñòü íå áîëüøèå íþàíñû â íàñòðîéêå áàçû è èíèöèàëèçàöèè ïðè êîííåêòå.  ñëó÷àå cp-1251 ïðîñòî èñïðàâëÿåòñÿ êîäèðîâêà
'lang_encoding'        =>    'windows-1251',
'lang_multibyte'        =>    false,
â êîíôèãå ÿçûêîâîì (lang/[language]/common.php).

Frank H, something like hdiff for updated (NULL byte exploit) AP_Attachment_Mod would be very nice smile

4

(5 replies, posted in Archive)

Rickard, russian punbb community can be found at www.punbb.ru and pretty long time (almost year) smile

5

(6 replies, posted in Archive)

Zevs, ???? ?????? ??????????? (?? ?? ?????????), ?? Connorhd. ?? ?? ?????? ???????? (????? ???). ?? ??? ?????? ????????????? ????? ??????????, ? ?? "????????? ?? ????????", ??? ?????? ???? ?? ?????????.
? ?????? ?????????? ??????????? ?????? ???? ?????? ??? ??????????? ? ??? ????????????? ??????. ?.? ?? ????????? viewpoll.php ? editpoll.php ? ??????????? ???????????????? ? ????????? ??????.
? ???-?? ????? ???????, ?? ???? ?? ????? , ??? ????? ?????? ?? ????.
? ????? ? ??????? ??? ????? - ??? ????? ???? ??? ??? ?????????? ???????????. ???, ? ?????, ? ???????????.

Isn't javascript store/restore checkbox state in cookies bad idea? No need to touch database at all.

7

(6 replies, posted in Archive)

????????? ? ????? Easy poll ???? ? ????????. ? ??????? ? ????? "???? ?? ????????".
?.?. ?? ??? ?????? ?????????? ??????? ? ?????????????? ??????????? ? punbb ????.

8

(1 replies, posted in Archive)

?????? ???????? - ??????? ????, ??? ? ?????-?? ?? "?????" ???????? ????????? ?????? (??????????????). ????? ? ??????? ?????????? ??? ??????? ??? ??????.
?????? ? ????? profile.php ?? ???? ?????????? "@include" ? ?????? ??? ???????? ?????? @ (?????? ??? ?? ???????? ??????).
? ???? ?????? ????? ????? ?????? ????? ???????? ?????-?? ????? ????????? ?????????? ? ????? ?????? ? ??????? ??????? ???????.

9

(18 replies, posted in Feature requests)

I've made such addition to my forum. And I have to say - it required alot of changes (particularly in parser.php).
IMHO Rickard, you should support html subscription format natively, because it's really relevant feature.

someguy, any ttf font file will work. you can rename file or change font filename in script.
as I said, i recommend a sort of Times font.
you cen search a sites of free ttf fonts in a web. there are lot of them, for example http://www.fontpool.com
or you can take a ttf file from windows/fonts folder (but I dont know what about legal part)
put it in folder with your ran.php script.

it's not a stand-alone script, it's just a alternative image generation function for Mediator's script (thanks a lot! smile )
if you want it, you have to replace original one with it. and also provide it with font file (in a same folder).

Addition: maybe you'll find it too deformed.. if so - just play with "blurring" coefficient (90%) in
imagecopymerge ($im, $im2, $x1, $y1, $x1+$i%3-1, $y1+($i+2)%2-1, $xl, $yl, /**/90/**/);
or deformation range (25) in
for ($i=0;$i</**/25/**/;$i++)
or "dirty points" quantity (40) in
for ($j=0;$j</**/40/**/;$j++){

good luck

I have played with generator itself, and have stopped at this version.
Blurred and deformed B/W letters.
Better to use something like "Times" font.
http://inatix.com/forum/ran.php

    function createImage($width=160,$height=40,$len=8)
    {
        // send header for our image
        header("Content-type:image/jpeg");

        // generate a random string
        $alphanum = array(
            "A", "B", "C", "D", "E", "F", "G",
            "H", "K", "L", "M", "P", "R",
            "T", "U", "V", "X", "Y",
            "2", "3", "4", "6", "7", "8", "9");
        $string = array_rand($alphanum, $len);

        // create an image 
        $im3=imagecreatetruecolor($width,$height);
        $cee=30;
        $cee2=$cee/2;
        $width+=$cee;
        $height+=$cee;
        $im=imagecreatetruecolor($width,$height);
        $im2=imagecreatetruecolor($width,$height);

        $bck = ImageColorAllocate ($im, 240,240,240);
        $bck2 = ImageColorAllocate ($im, 10,10,10);


        ImageFill($im, 0, 0, $bck); 

        $font = "fonttt3.ttf";
        $str="";

        for($i=0;$i<$len;$i++) {
            $ss=rand(16,20);
            $a=rand(-30, 30);
            $b=sin(deg2rad($a+45))*9;
            $c=cos(deg2rad($a+45))*9;
            $x1=($i)*19+13+$cee2;
            $y1=rand(20,30)+$cee2;
            imagettftext($im,
            $ss,
            $a,
            $x1-$c,
            $y1+$b,
            $bck2,
            $font,
            $alphanum[$string[$i]]);
            $str.=$alphanum[$string[$i]];

            for ($j=0;$j<40;$j++){
                $xx=$x1+rand(-12,12);
                $yy=$y1+rand(-16,12);
                if ($xx>=$width||$yy>=$height||$xx<0||$yy<0) continue;
                ImageSetPixel($im, $xx, $yy, $bck2);
            }


        }
        for ($i=0;$i<25;$i++)
        {
            $xl=rand(70,$width-3);
            $yl=rand(30,$height-3);
            $x1=rand(2,$width-$xl-2);
            $y1=rand(2,$height-$yl-2);
            imagecopy($im2,$im,0,0,0,0,$width,$height);
            imagecopymerge ($im, $im2, $x1, $y1, $x1+$i%3-1, $y1+($i+2)%2-1, $xl, $yl,90);
        }
        imagecopy($im3,$im,0,0,$cee2,$cee2+$cee2/3*2,$width-$cee,$height-$cee);


        imagejpeg($im3);
        // destroy images
        imagedestroy($im);
        imagedestroy($im2);
        imagedestroy($im3);

        // return the random text generated
        return $this->text=$str;
    }

12

(10 replies, posted in Feature requests)

btcoburn, when you're hitting F5 in your browser (any of them), there won't be any using of cached files.
it's a feature of browsers. "Refresh" is refreshing all of files, even if you force them to be cached.

Druvans, i doubt, because:
1. parsed text 100% will be larger then not parsed, so 65535 message length limit will be exceeded.
2. if you wish to "edit" text, you will face "tags".
so there is no alternative to cached field (16Mb).

14

(10 replies, posted in Feature requests)

A good thing will be removing all /* comments */, trailing tabs and spaces.
You may use something like <link rel="stylesheet" type="text/css" href="style.php?n=style_name" />
And script will read css file, remove all comments from it, and output it compressed (if enabled)
@import url() inside of css files also have to be replaced to .php script.

But other way - is to set apache textfiles compression (including javascripts, and css files).

P.S. removing comments will make styles 1.5 times lighter. Those comments is needed only when you're editing them, not sending to client.

15

(2 replies, posted in PunBB 1.2 bug reports)

i think you cant stylize url.
anyways, http://link.com will be valid, but IMHO all this style-effects will be useful because of styled anchor nature.

Anyways, if there are much highlighted areas in 20 posts (on single page page), GeSHi can dramatically slow down the server.
Some sort of "parsed-cached" message version will be useful.

I don't know if there any SQL DB blowing up or slowing down if there will be one extra field with 16Mb text field (related to original 65K).
Also some sort of "uncache" flag field, if "parser.php" have been rewritten.
And so on...
Well, i'd thinking of it long ago and still haven't started to implement even a part of it smile
Good luck!

it's because of 1.2.6 "redirection" script, where extra "htmlspecialchars" applied to url.

18

(16 replies, posted in PunBB 1.2 discussion)

Actually a checkbox "New windiw links" In a bottom of a topicview (for example) with javascript restorable state, which will change "click action" way of new link opening, in the same window, or in new one. People will be having much more flexible and fast customization.

19

(34 replies, posted in General discussion)

TuXoH, have you set "register_globals = On" in php.ini ?
if so, you MUST change it to "Off".

20

(25 replies, posted in Archive)

Eklmn, ????????????? ?? ????????????? ???? smile

21

(25 replies, posted in Archive)

>Âñÿ íàäåæäà íà òåáÿ è Rickard-à.
Ý... íà ìåíÿ-òî íå íàäî íàäåÿòüñÿ.. ÿ íå õàêåð smile
Íà ñ÷àñòëèâûé ñëó÷àé íàäî íàäåÿòüñÿ... Íà âñåõ ôîðóì÷àí.

À ìåíÿòü.. äà íó íàôèã. Ëó÷øå ñâîå äîêîíîïàòèòü.

PS: ïî êðàéíåé ìåðå â ïîñëåäíåì hdiff'å ÿ íå óâèäåë ñóùåñòâåííûõ èñïðàâëåíèé äûð â profile.php, êîòîðûå ìîãëè áû ïîâëèÿòü íà âçëàìûâàåìîñòü (ìîæåò ñëåï)

22

(88 replies, posted in Archive)

Åâãåíèé, íàñ÷åò "Ïðàâêà" - ýòî âî ìíîãèõ ôîðóìàõ óæå äàâíî ñäåëàíî, ó ñåáÿ ÿ òàê æå èñïðàâèë.
"Íàñòó÷àòü" - íåêðàñèâîå ñëîâî, æàðãîíèçì. Ó ñåáÿ ÿ ñäåëàë ïåðåâîä "Report" â "Æàëîáà".
À "Ïåðñîíàëüíûå ñîîáùåíèÿ" íàçâàë "Ïîñëàíèÿ" smile

À ãðàììàòè÷åñêèå è îðôîãðàôè÷åñêèå îøèáêè - òàê ýòî íàäî ïðîñòî áðàòü ôàéëû ÿçûêîâûå è âäóì÷èâî ðàññìàòðèâàòü, èñïðàâëÿÿ.

23

(25 replies, posted in Archive)

Evgeny, ñïàñèáî çà èíôî. Ïî âñåé âèäèìîñòè è â 1.2.6 ýòî íå ïîôèêñåíî (åñòü òàêîå ïîäîçðåíèå).
Spy, îáíîâëåíèÿ ñ 1.2.4-5 (ïî êðàéíåé ìåðå) äî 1.2.6 - ÷èñòî òåõíè÷åñêèå, íà äèçàéí íèêàêîãî âëèÿíèÿ íåò.

Áóäó ðûòü.

24

(25 replies, posted in Archive)

? ????? ??? ???????-??? ????? user info?

??? ?? ??????. ? PunBB ?????? ?????? ????????????? ??? ????. ?????????????? "????????????", ??? ???????.
???? BBCode ?????? ????.