Friends (and blocked users) Mod for 2.08
1 Attachment(s)
all credit for this mod goes to BigMax1... Im simply sharing it here...
Run into your database: PHP Code:
Code:
SQL_Query_exec("INSERT INTO `messages` Code:
//===| Start Blocked Users $blocked = SQL_Query_exec("SELECT id FROM blocked WHERE userid=$sendto AND blockid=$CURUSER[id]"); $show = mysql_num_rows($blocked); if ($show != 0 && $CURUSER["control_panel"] != "yes") show_error_msg("Error", " Code:
Code:
Code:
show_error_msg(T_("ERROR"), T_("NO_ACCESS_ACCOUNT_DISABLED"), 1); Code:
//===| Start Blocked Users $blocked = SQL_Query_exec("SELECT id FROM blocked WHERE userid=$user[id] AND blockid=$CURUSER[id]"); $show = mysql_num_rows($blocked); if ($show != 0 && $CURUSER["control_panel"] != "yes") show_error_msg("Error", " Code:
".T_("YOUR_MESSAGES")."");?> Code:
| Your Friends");?> |
amazing thnx
|
All times are GMT +2. The time now is 13:50. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.