How i can add online list of this chat on index.php of my forum?

Ok it work
On my computer i change line
// Set games played +1$sql = 'UPDATE '.$db->prefix.'arcade_games SET game_played = game_played+1 WHERE game_id = "'.$game_name.'"';

to
// Set games played +1
$sql = 'UPDATE '.$db->prefix.'arcade_games SET game_played = game_played+1 WHERE game_id = "'.$game_name.'"';

done
www.ruspravo.net/go/arcade.php
login: test
pass: test

Ok it is work but doesnt work function: Times played: 0
Can u help me?
www.ruspravo.net/go/arcade.php
login: test
pass: test

I installed last mod on clean database and i have error:
Warning: ob_start(): output handler 'ob_gzhandler' cannot be used twice in /home/ruspra/public_html/go/include/functions.php on line 955
An error was encountered
Error: Impossible to select the latest score..

Ok its work. Now i use this chatbox2 on index.php
www.ruspravo.net/go

faax,
I use this language pack and i have problem ...
I think this problem with charset...

I use Russian language and this mod on index.php. i have problem with charset. Do u know how change charset?

reckless, link doesnt work.

faax.
It doesnt work on version chatbox 1.0

Notice: Constant PUN_ROOT already defined in /home/ruspra/public_html/go/chatbox.php on line 25

Fatal error: Cannot redeclare check_cookie() (previously declared in /home/ruspra/public_html/go/include/functions.php:28) in /home/ruspra/public_html/go/include/functions.php on line 28

faax,
Please tell how do u include chatbox on index.php your forum?

Hi,
How i can include chatbox on index.php?

ango wrote:

Please open /include/common.php and remove the leading slashes from: //define('PUN_SHOW_QUERIES', 1);
This is for displaying all executed queries in the page footer. I´ll test it again later on your forum.

I Have made it

    
{
    // Set defaults
    $_SESSION['firsttime'] = true;
    $_SESSION['cat']=0;
    $_SESSION['nump']=10;
    $_SESSION['search']='';
    $_SESSION['rsearch']='game_name';
    $_SESSION['page']=0;
    $_SESSION['sorto']='DESC';
    $_SESSION['sortby']='game_id';
}

to

    
{
    // Set defaults
    $_SESSION['firsttime'] = true;
    $_SESSION['cat']=0;
    $_SESSION['nump']=10;
    $_SESSION['search']='';
    $_SESSION['rsearch']='game_name';
    $_SESSION['page']=0;
    $_SESSION['sorto']='DESC';
    $_SESSION['sortby']='game_id';
    $sqlquery = '';
}

Doesnt work

I have problems with this mod (Update 18.05.2006 and other versions). Does'nt work "How many times played" in each game. Besides i have errors on the arcade.php page.
http://www.ruspravo.net/go/arcade.php
pass: test login: test
Sorry for my english.

PS MySQL 4.0.25
PHP 4.4.2

An error was encountered
Error: Unable to insert search index words. ??? ?? ??????? ??????? ???????????????? ???? ??????? ???. ????? ??? ?????????? ?????? ?????. ???? ??? ??? ???? search ? ???? ????

16

(1 replies, posted in Archive)

??? ??????? ????? ? ??????? ????? ??????????????? ???????? ?????????? ????? ? ???????????

17

(0 replies, posted in Archive)

? ???? ?? ???????? ????? phpmyadmin 2.6.0 pl3. ??? ??? ??? ?????? ??????? ?????? ????? ???? ??????? ??????? ?????????? ???????????. ??????????? ??? ????? ??????? ????. ???????? ?????? ??? ????? (db management), ?? ?? ????????? ???-?? ?? ???????? ??????????.

Warning: main(): Unable to access ./http://kraiforum.forexhost.ru/extern.php?action=active in /home/sub/kraiforum/footer.php on line 165

Warning: main(./http://kraiforum.forexhost.ru/extern.php?action=active): failed to open stream: No such file or directory in /home/sub/kraiforum/footer.php on line 165

Warning: main(): Failed opening './http://kraiforum.forexhost.ru/extern.php?action=active' for inclusion (include_path='.:/usr/local/lib/php') in /home/sub/kraiforum/footer.php on line 165


"Last post" don't work.

? ???? ??? 4 ?????? ???? . ??? ?? ?????? ???????.
www.kraiforum.forexhost.ru

20

(0 replies, posted in Archive)

??? ????? ??? ?? Vbulletina, ????????? ???????? ??? ??????? ? ??????????? ?? ?????????? ??????. ????? ?? ??? ??? ???? ?????????? ??? PUNBB?


~~~~~~~~~~~~~~~~~~~~~~~~~~
Version 2.0.1 instructions
~~~~~~~~~~~~~~~~~~~~~~~~~~

open: showthread.php 

find:

   if ($post['receivepm'] and $enablepms==1) {


add the following code directly above that line.


// ###################################
// start of custom pips and stars hack 
// ###################################


if ($post[posts] > 1999)
     { $pips = "<img src=\"images/pip13.gif\" border=0>"; }
elseif ($post[posts] > 1499) 
    { $pips = "<img src=\"images/pip12.gif\" border=0>"; }
elseif ($post[posts] > 999) 
    { $pips = "<img src=\"images/pip11.gif\" border=0>"; }
elseif ($post[posts] > 749) 
    { $pips = "<img src=\"images/pip10.gif\" border=0>"; }
elseif ($post[posts] > 499)
    { $pips = "<img src=\"images/pip9.gif\" border=0>"; }
elseif ($post[posts] > 299) 
    { $pips = "<img src=\"images/pip8.gif\" border=0>"; }
elseif ($post[posts] > 199) 
    { $pips = "<img src=\"images/pip7.gif\" border=0>"; }
elseif ($post[posts] > 124) 
    { $pips = "<img src=\"images/pip6.gif\" border=0>"; }
elseif ($post[posts] > 74) 
    { $pips = "<img src=\"images/pip5.gif\" border=0>"; }
elseif ($post[posts] > 44) 
    { $pips = "<img src=\"images/pip4.gif\" border=0>"; }
elseif ($post[posts] > 19) 
    { $pips = "<img src=\"images/pip3.gif\" border=0>"; }
elseif ($post[posts] > 5) 
    { $pips = "<img src=\"images/pip2.gif\" border=0>"; }
elseif ($post[posts] > 0) 
    {$pips = "<img src=\"images/pip1.gif\" border=0>"; }
else
    {$pips = ""; }


if ($post[posts] > 5000)
     { $goldstars = "<img src=\"images/goldstar5.gif\" border=0><br>"; }
elseif ($post[posts] > 3500)
     { $goldstars = "<img src=\"images/goldstar4.gif\" border=0><br>"; }
elseif ($post[posts] > 3000)
     { $goldstars = "<img src=\"images/goldstar3.gif\" border=0><br>"; }
elseif ($post[posts] > 2500)
     { $goldstars = "<img src=\"images/goldstar2.gif\" border=0><br>"; }
elseif ($post[posts] > 2000)
     { $goldstars = "<img src=\"images/goldstar1.gif\" border=0><br>"; }
else
    {$goldstars = ""; }

// #################################
// end of custom pips and stars hack    
// #################################


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Common instructions for ALL v2 vbb software
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In the postbit template find the line that shows the USERTITLE - similar to this:

  <smallfont>$post[usertitle]</smallfont>

and then insert this line on a line before it:

  $goldstars$pips<br>


thats all.