empty shoutbox

Started by gram, June 27, 2011, 08:59:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gram

#11
line 451
$HTMLOUT .="<tr style='background-color:$bg;'><td><span class='size1' style='color:$fontcolor;'>[$date]</span>\n$delall $del $edit $pm $reply $private ".format_username($user_stuff)."<span class='size2' style='color:$fontcolor;'>".format_comment( $arr["text"] )."\n</span></td></tr>\n";

Diablo999

Attach your shoutbox.php, if it doesn't work for you. Need to see if you did something wrong.

john

#9
Quote from: gram on June 27, 2011, 08:59:54 PM
i dont have the choice to empty shoutbox

else
$private = '';
        $edit = ($CURUSER['class'] >= UC_STAFF || ($arr['userid'] == $CURUSER['id']) && ($CURUSER['class'] >= UC_POWER_USER && $CURUSER['class'] <= UC_STAFF) ? "<a href='{$INSTALLER09['baseurl']}/shoutbox.php?edit={$arr['id']}&amp;user={$arr['userid']}'><img src='{$INSTALLER09['pic_base_url']}button_edit2.gif' border='0' alt=\"Edit Shout\"  title=\"Edit Shout\" /></a> " : "" );
        $del = ( $CURUSER['class'] >= UC_STAFF ? "<a href='./shoutbox.php?del={$arr['id']}'><img src='{$INSTALLER09['pic_base_url']}button_delete2.gif' border='0' alt=\"Delete Single Shout\" title=\"Delete Single Shout\" /></a> " : "" );
        $delall = ( $CURUSER['class'] >= UC_SYSOP ? "<a href='./shoutbox.php?delall' onclick=\"confirm_delete(); return false;\"><img src='{$INSTALLER09['pic_base_url']}del.png' border='0' alt=\"Empty Shout\" title=\"Empty Shout\" /></a> " : "" );   


Empty Shout having to del one shout at a time and i did fix as mindless said still no change

Loffen


gram

Quote from: AMB on July 04, 2011, 04:17:19 AM
Mindless, i did what you said to do.. Except i didnt put in $pm or $reply cause it wont work with that.. But other than that.. Doesn't work at all for me
it works amb

Mindless

#6
Trust me AMB it works i know it works.

AMB

Mindless, i did what you said to do.. Except i didnt put in $pm or $reply cause it wont work with that.. But other than that.. Doesn't work at all for me

Luca


gram


Mindless

Try adding the variable in line once its un-commented like all the other buttons

$del $edit $pm $reply $private


$delall $del $edit $pm $reply $private

								

gram

i dont have the choice to empty shoutbox

else
$private = '';
        $edit = ($CURUSER['class'] >= UC_STAFF || ($arr['userid'] == $CURUSER['id']) && ($CURUSER['class'] >= UC_POWER_USER && $CURUSER['class'] <= UC_STAFF) ? "<a href='{$INSTALLER09['baseurl']}/shoutbox.php?edit={$arr['id']}&amp;user={$arr['userid']}'><img src='{$INSTALLER09['pic_base_url']}button_edit2.gif' border='0' alt=\"Edit Shout\"  title=\"Edit Shout\" /></a> " : "" );
        $del = ( $CURUSER['class'] >= UC_STAFF ? "<a href='./shoutbox.php?del={$arr['id']}'><img src='{$INSTALLER09['pic_base_url']}button_delete2.gif' border='0' alt=\"Delete Single Shout\" title=\"Delete Single Shout\" /></a> " : "" );
        $delall = ( $CURUSER['class'] >= UC_SYSOP ? "<a href='./shoutbox.php?delall' onclick=\"confirm_delete(); return false;\"><img src='{$INSTALLER09['pic_base_url']}del.png' border='0' alt=\"Empty Shout\" title=\"Empty Shout\" /></a> " : "" );