Repaired Message Handler Chatzone

Started on the old forum in March 2008 · view the original in the archive · old links redirect here

3 replies · 590 views · started 18 years ago · 1 min read

Guest #1

Hello!

Chatzone is ready script the handler of a message.

All bugs are corrected in him.

The setup of a correction

  1. It is necessary to delete it in the database the old chat_letters table.
  2. It new chat_letters table to import. (letters.sql)
  3. To copy all of the files and to overwrite. To modify it ini.php the database data.

Enjoy!

Guest #2

Hello!

It enter.php it is necessary to delete the next part from a file:

CODE ////////////////////////////////////////ShoutBox modul BEGIN/////////////////////////////////////// echo "Shoutbox ";

if(!isset($_GET['page'])){ $page = 1; } else { $page = $_GET['page']; }
$max_results = 1; $from = (($page * $max_results) - $max_results);

$total_results = mysql_result(mysql_query("SELECT COUNT(*) as Num FROM shoutmsgs"),0); $total_pages = ceil($total_results / $max_results);

$sql = mysql_query("SELECT * FROM shoutmsgs ORDER BY id desc LIMIT $from, $max_results"); while($row = mysql_fetch_array($sql)) { $name = $row['name']; $msg = $row['msg']; $key = $row['id']; include "./sm/convert_to_smiles.php";

echo "<img src="star.gif" alt="+"/> $name shouts: $msg " ; } echo "<a href="add.php?id=$id&pass=$pass">New shout</a> "; echo "<a href="history2.php?id=$id&pass=$pass">History</a>

"; if($login['moder']) echo "<a href="moder.php?id=$id&pass=$pass&mod=clrshout">Delete</a>

";

/////////////////////////////////////ShoutBox modul END! ////////////////////////////////////////////////

GumSlone Administrator Principal · 1,690 posts #3

here i have edited the code a bit if you dont mind......

////////////////////////////////////////ShoutBox modul BEGIN///////////////////////////////////////
echo "[b][size="1"]Shoutbox[/size][/b]
";

$row = mysql_fetch_array(mysql_query("SELECT * FROM shoutmsgs  ORDER BY id desc LIMIT 1")); 
$name = $row['name'];
$msg = $row['msg'];
$key = $row['id'];
include "./sm/convert_to_smiles.php";
echo "<img src=\"star.gif\" alt=\"+\"/>[size="1"]
[u][b]";
echo '[url="user.php?id='.$id.'&pass='.$pass.'&dblogin='.$name.'&search=1"]'.$name.'[/url] ';
echo "shouts:[/b][/u]
$msg[/size]
";
echo "[size="1"]<a href=\"add.php?id=$id&pass=$pass\">New shout</a>[/size]
";
echo "[size="1"]<a href=\"history2.php?id=$id&pass=$pass\">History</a>[/size]

";
if($login['moder']>0)
echo "[size="1"]<a href=\"moder.php?id=$id&pass=$pass&mod=clrshout\">Delete</a>[/size]

"; 

/////////////////////////////////////ShoutBox modul END! ////////////////////////////////////////////////

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

Guest #4

He is not trouble. If you have a brainwave calm put it into it.

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close