Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
Clear schoot ajajx
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2010-09-01 10:57:23
admincp.php

add

if ($action == "clearshoutbox") {
stdhead("Clear shoutbox");

navmenu();

if (get_user_class() <8)

show_error_msg("D
2010-12-20 06:05:16
un gros mercijenny2009   :rolleyes:

#1 V2.06
Unknown User
2012-04-22 14:56:57
don't work for me..

I have any error but it do anything

I've changed mysql_query to SQL_Query_exec

TT v2.08
Unknown User
2012-04-22 17:33:24


if ($action == "clearshoutbox") {

       stdhead("Clear shoutbox");

       navmenu();

if (get_user_class() <8)

show_error_msg("Désolé", "Cette page est réservé au Boss");

       begin_frame("Nettoyage de la Shoutbox");

                       if ($_GET['yes'] == "yes") {

                               $res = SQL_Query_exec("TRUNCATE TABLE `ajshoutbox`");

                               if ($res) echo "shoutbox cleared";

                       } else {

                               echo "Etes vous sur de vouloir Nettoyer la ShoutBox?<br>";

                               echo "<a href='admincp.php?action=clearshoutbox&yes=yes'><b>Oui</b></a>";

                       }

       end_frame();

       stdfoot();

}

Unknown User
2012-04-22 17:33:42
there is like 3 different version of the ajax shoutbox i seen so far..

this should work on 1 of them lol in 2.08



if ($action == "clearshoutbox") {

stdhead("Clear shoutbox");

navmenu();

if ($CURUSER["class"]!=7)

show_error_msg("sorry", "This page is reserved for the Boss",1);

begin_frame("Cleaning the Shoutbox", center);

if ($_GET['yes']== "yes") {

$res = SQL_Query_exec("TRUNCATE TABLE `shoutbox`");

if ($res) echo "shoutbox cleared";

} else {

echo "Are you sure you want Clean ShoutBox?";

echo "[url="admincp.php?action=clearshoutbox&yes=yes"]yes[/url]";

}

end_frame();

stdfoot();

}


[/code]
Unknown User
2012-04-28 07:16:34
thanx friends :)
Unknown User
2012-05-05 11:53:05
Thanks

mostvotedplaya's worked for me, i have coolys ajaxshout :)
2013-01-06 11:10:03
I have this one [url="https://www.torrenttrader.org/topic/12179-ajax-shoutbox/"]https://www.torrenttrader.pw/topic/12179-ajax-shoutbox/[/url]

I just type : /clean  ;)
Unknown User
2013-02-13 12:14:08
thanx ;)
Unknown User
2013-08-27 17:17:43
Me is


// Clear Shoutbox
if ($action == "clearshoutbox") {

       stdhead("Clear shoutbox");

       navmenu();

if (get_user_class() <9)

show_error_msg("Désolé", "Cette page est réservé au Boss");

       begin_frame("Nettoyage de la Shoutbox");

                       if ($_GET['yes'] == "yes") {

                               $res = SQL_Query_exec("TRUNCATE TABLE `ajshoutbox`");

                               if ($res) echo "shoutbox cleared";

                       } else {

                               echo "Etes vous sur de vouloir Nettoyer la ShoutBox?<br>";

                               echo "<a href='admincp.php?action=clearshoutbox&yes=yes'><b>Oui</b></a>";

                       }

       end_frame();

       stdfoot();

}
// End Clear Shoutbox
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728