KCEOH wrote:

? ??? ?????????? ? ????? ??????:
- ????? ???????? AJAX ?? ????????? ????????? ? ??????? ?????? (win1251).

??. ???? ????? ????????. ? ?????? ????? ????????? ?? cp1251, ? ?? ????????? ?????? ????????????. ???? ????????, ?? ????????? - ?????????, ? ????? ????????? - ????????????! ??? ????????!

???? ? ????? ??? ??? - ? ????? (??????!) ????????? ?????????? ???????, ? ???????? ????? - ???????.

??. ???? ??????????? ????????? ? ????????????.
? ??? ??????? ?? ???????? ????. ???? ????????? ??????? ????????? ???????? ??????, ??????? ? ????????? ???????? ??????? 200 ???????? (????????? ???????!)
??????? ? ???????? ??????????? ????????? ??? ??????, ?????? ???? ? ???? ????? ?????.

53

(3 replies, posted in Archive)

??????????. ?? ?????????-?! wink

??, ??????, ??? ???-??! ?????!
??????, ???? ??-?????, ?????? ? upgrade_mod.php.
(? ??? ??? ???????????). ??? ???? ????????? ???? ??????? ? ???????? users (reputation_enabled smaillint default 1), ? ? ???? ??? ?????? ????????? ??????? last_reputation. ??-?? ????? ?? viewtopic.php ? ???? ?????? ???????. ?? ????? ? ??????? ??????? ??? ????,??? ??????????!
???????!

??, ? ??? ??????? - ????????? reputation_time_limit ?? ????? ???????, ? ?? ?????. ? ?? ? ????? ???????, ? ?? ??? - ??? ?????? ??? ??????????, ???? ????? ?? ?????! ?? ????, ????, ????? ????? ???????? ?????????? ? ?????? ??? ????????? (? ????????????? ?????? ?????????????)
? ? ????????? - ??????? ??????!

Zevs
? ?????? ?? ?? ?????, ?? ?????????.
??? ?? ????? ????? ???? ?????
????? ????? ???????? ???????? ???????

????? ????? ?? ????? ??????? ????? ??????? ????. ?? ?????????? ? ???? ?????? ????? ?????? ???????.
?????? ?????, ???-?? ??????? ?????? ???? ???? ?? ???????? data ???????.

???? ???????? - ???????, ?????? ????????? ?????????? ???????????? ????????? ?????? ? ????????? ?????????????, ? ? ????? ?????? ???? ?????????? ?? ???.
?? ? ??? ?????? ?????????, ??? ??: ???????????? ????????? (koi-8), ???????? 2151 (cp1251) ? ?.?. ???????? ?? ?????.
???????, ?????? ??, ????...

56

(6 replies, posted in PunBB 1.2 troubleshooting)

@set_time_limit(10000);

Just write set_time_limit(0); to remove any time limit in your script!
But, if your PHP works in safe mode, it won't allow you to use this instruction.

see phpinfo(); for safe-mode variable is  on/off.

? ?????? ????? ?????? ???...

?????! ? ??? ?? ??! wink

?????! ? ????? ????? ?? ??????? ????????? main.tpl? ????? ?? ???????? ? ????

??, ??? ???????????? utf, ?????????? ??????, ? ??????? ??? ? ???? ????????. ?? ????? ???? ???????? ????????? ???????? ???? ?????????, ??? ????? ?????? ???????? - utf-8, ????? ????? ?????????????????? ?????? ?? 2 ?? 6. (???????, ?????? 4-5).
?????? ???? ? ?? ?? ?? ? ?????????? cp1251 ? utf-8. ???????? ????? 5-7 ???.

? ????????? ????? utf ????? ???????????? ASCII ????????? ? ?????? ???? -
????????, ???:

?????

?????????. ?? ?????? ??????? ?????? ?????????? 7 ????????. ??... ??? ????????? ????? ????? ????? ????? ??? text, ? ?? ??????? ?????????? ?????, ??? ????? ?????????.

what is "the formers" ? sorry but i don't understand

I meant mods EasyBBCodes+extraBBCodes.
e.g. for people who once installed these mods and wish to install yours there is not so simple to do this.

Imho, holding all that type of code in one file (as it is done in mod_easy_bbcode.php) much more convinient
than adding a dozen of lines inside affected files.
And, sorry, I can't see why anyone should wish to escape any buttons or smilies in the form.

HitMan
??????, ? ?????  ???????? ?????????? ??????? - http://awardspace.com ? ?????????? php+mysql+cgi.
??? ?? ??????????? ??????? ???????? ? ???? ?????????, ??? ?????? ????? ?? ????????, ?????? ????????, ??? ????  http://punbb.awardspace.us
?? ?? ????????, ? ?? ???????? ?? ???? ??????? ?? ???????! wink

???????????? ????????? ??????????? - ??? ?????? ?????? ?? ????? ????????? 500 ?????, ? ??????? ????? ??????? ?????? ???? ???? ???????? ?? ????? 10 ??????, ? ????????? ?????? (???? 404 Error) ?????? ???????? ?? ???? - ??? ???????? ???????? ????????, ??????????????? ?????? ??????? - ????? ??? ???????????.
??, ? ??? ? ????? ???????????? ????????? ????????? php-??????? (?? ?? mail!).

?????? ??????? ??????, ? ??? ?????, ??????????.
???????? ?????? ??????, ?? ??? ??? ???? ???? ???????? ??????? ??, ? ????? ??????.

Ok. I have EasyBBCodes+extraBBCodes.
vin100
, your mod is a real beauty, but it's incompatible with the formers.
And to insert a huge number of lines of code inside three files is a veary thing, imho.
Can you form it in a single file (like mod_easy_bbcode.php) so one can include it in any form one needs?

Is there any problem with UploadMod (may be security-like, or other)?
I just found the source and wish to upgrade it a little.

Yeah, all this is rather suspicious, isn't it?

??? ???? ???????? ? ?????? ????? ??????. ??????? ? ??? ?? ?????? wink

Balancer
utf-8 ????????? ??? ??. ?????? ??????? ?????? ??? ??????????? 7 ?????????. ?? ???? ????? ??????? ????????? ????? ? 7 ??? ?????? ????? ????????.
? cp-1251 ?? ????? ?? ??????, ??? ?? ?? ????????? ?????????. ????????? ????? ????????????? ?????????? ??????????? ????????? ??? ????? ??????? ????, ? ??????????? ????.

Ok, that is great, but how one can integrate another wiki-like product (not DokuWiki, but, for example, MediaWiki) into punBB environment. That is the question!

Thank you, hcgtv, but we haven't come closer to the goal.
I have this version of Connor's work (and it is really great!).

But the idea is to integrate a newest DokuWiki into punBB environment, that is.
And I can't take what does SVN deal with all that stuff?

hcgtv

Excuse me, but what is SVN?

And how one can integrate the latest DokuWiki into punBB environment?

J33f
Have you uploaded install_mod into your forum root directory?
For me it works just fine.
And you do need to run it, so it can add column to your punbb database, otherwise you can add it by hand (just look into this file to see what it does wink ).

71

(13 replies, posted in Archive)

À òû ê áàçå êîííåêòèøüñÿ?
Åñëè äà, òî êîííåêòèøüñÿ ê áàçå, ñòàâèøü ãàëî÷êó ïåðåä òàáëèöåé search_matches, âíèçó ñïèñêà Ñ îòìå÷åííûéìè - Ïî÷èíèòü òàáëèöó.
Èëè ó òåáÿ âñÿ áàçà íàâåðíóëàñü?

72

(13 replies, posted in Archive)

Åñëè ó òåáÿ phpMyAdmin, òî íà õ.. òû çàïðîñ âûïîëíÿë?  phpMyAdmin âñ¸ íàãëÿäíåé äåëàåòñÿ. wink

Êîðî÷å, êîííåêòèøüñÿ ê áàçå. Âûáèðàåøü òàáëè÷êó search_words, ù¸ëêàåøü ïî ïóíêòó Îïåðàöèè,
òàì ñïðàâà áóäåò Îáñëóæèâàíèå òàáëèöû. Ù¸ëêàåøü Ïî÷èíèòü òàáëèöó.
Âñ¸.
È òèï ïîëåé ìåíÿé òîæå ÷åðåç phpMyAdmin, à íå ÷åðåç çàïðîñû.

73

(13 replies, posted in Archive)

Ó òåáÿ íåò phpMyAdmin?
Åñëè íåò, òî ïîñòàâü ïëàãèí Database management ñ ýòîãî ñàéòà (ñìîòðè ðàçäåë downloads - plugins), òàì åñòü ôóíêöèÿ reapair all tables, ïîïðîáóé å¸.
À åñëè åñòü phpMyAdmin, òî â í¸ì òîæå åñòü òàêàÿ ôóíêöèÿ, ïîêîïàéñÿ, íàéä¸øü.

Have any of you noticed a bug in the version 1.0.1 when after editing a post with an image, the image vanishes from that post even if you didn't mean to delete it?
After some re-engineering wink Tobi's code in file edit.php I found next:

// MOD IMAGEPOST
if((isset($_POST['delete_userimage']) and $_POST['delete_userimage'] == 1) or is_uploaded_file($_FILES['userimage']['tmp_name']))  {
    include_once(PUN_ROOT.'/include/mod_imagepost.php');
    @unlink($userdir .'/'. $_POST['current_userimage']);
    }
if(is_uploaded_file($_FILES['userimage']['tmp_name']))  {
    include_once(PUN_ROOT.'/include/mod_imagepost.php');
    $name = uploadImage();
    }
else  $name = '';

That means that if you saving your editing post without any pointing to an image (even if you had one), the name of your image becomes blank (see the last line of code).
OK. All you should do to correct the problem, I am showing you the correct example (if Tobi doesn't' mind, of course):

// MOD IMAGEPOST
$b_deleted = true;
if((isset($_POST['delete_userimage']) && $_POST['delete_userimage'] == 1) || is_uploaded_file($_FILES['userimage']['tmp_name']))  {
    include_once(PUN_ROOT.'/include/mod_imagepost.php');
    @unlink($userdir .'/'. $_POST['current_userimage']);
    $b_deleted=false;
    }
if(is_uploaded_file($_FILES['userimage']['tmp_name']))  {
    include_once(PUN_ROOT.'/include/mod_imagepost.php');
    $name = uploadImage();
    }
elseif ($b_deleted && isset($_POST['current_userimage'])) $name = $_POST['current_userimage'];
else  $name = '';

You will never lose an image of your editing post from that time on! smile

oktune
????? ????????? ?????? ???? ?? ????? ??????.  big_smile
?????????? ???? ???? phpMyAdmin, ??????? ??????? ????, ???????????? sql ?????? ??????? ?????????? ? ?????? ??????, ??????????  ??? ???? ????? phpMyAdmin, ???????????? ? ?????? ????, ???????? ???? ??????, ????????? - SQL, ? ???????? ?????????? SQL ?? ?????? ??????, ????????? OK, ???, ??? ??????? ??????????.
? ??? ?????? ??? ?????, ???? phpMyAdmin ????.