Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares > Mods & Themes
Reply
  #1  
Old 5th May 2011, 07:37
smoky28's Avatar
smoky28 smoky28 is offline
Senior Member
 
Join Date: Aug 2010
Hungary
Posts: 82
Smile Shoutbox delete.
/admin/index.php?act=uzenofaltorles.php
add is mod staff pult usergrup Team leader
add include/plugins/shoutbox.php lines 162 add System user id 0 and VIP usergrup .Nice day.Click the image to open in full size.
PHP Code:
<tr>
        <
td>
            
'.($is_mod ? '<span id="adminarea" align="center">
<
a href="'.$BASEURL.'/admin/index.php?act=uzenofaltorles" title="Üzenőfaltörlés" target="_blank"><img src="'.$BASEURL.'/images/delete.gif" alt="" title="Üzenőfaltörlés"></a></center
PHP Code:
<?

require_once('../global.php');
gzip();
dbconn();
stdhead();
loggedinorreturn ();
maxsysop ();
define ('D_VERSION''0.7 by xam');



if(
$_GET['ja'] == 1){

sql_query("DELETE FROM shoutbox") or sqlerr(__FILE____LINE__);
write_log ('' '  <font color = darkred> Shouts emptied: </font> ' $CURUSER['username']);
sql_query("INSERT INTO shoutbox (userid, id, date, content) VALUES(73, 'RENDSZER', UNIX_TIMESTAMP(NOW() ), '[color=red][b]Shouts emptied: $CURUSER[username] [/b][/color]')");

echo 
"<table>Shoutbox delete!</table>";

}

else{

echo 
"<table>Are you sure you emptied the shoutbox? <a href='uzenofaltorles.php?ja=1'>Yes</a></table>";

}



stdfoot();







?>
Click the image to open in full size.
__________________
Sky-Tech Developer Team Hungary

Reply With Quote
The Following 4 Users Say Thank You to smoky28 For This Useful Post:
DARCK (28th May 2011), eckeO5 (17th January 2012), Nick (13th May 2011), Titya (6th May 2011)
  #2  
Old 29th March 2014, 13:18
Marco Marco is offline
Senior Member
 
Join Date: Jun 2009
Seychelles
Posts: 327
Default
how to make, to can edit own post users in shoutbox powerusers , vip, uploaders
Reply With Quote
Reply

Tags
delete , shoutbox

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 15:33. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.