Newbie
*
Group: Members
Posts: 5
Points: 0
Donate Points
Joined: 19-May 09
Member No.: 2,733
Reputation: 0 (none) ----------
i was bored and instead on pm staff or pm all members, i played around n made this pm online members only!
FOLLOW THESE EASY STEPS! I MADE THIS VERY SIMPLE!
ownercp.php
add below link swap tool;
still in ownercp.php
add this;
now in ownerproc.php add this;
and voila! pm all online members!
i need a proper working profile galllery with comments, ratings, and use pic as avatar! anyone have one with proper instalation instructions like i placed here?
*
Group: Members
Posts: 5
Points: 0
Donate Points
Joined: 19-May 09
Member No.: 2,733
Reputation: 0 (none) ----------
i was bored and instead on pm staff or pm all members, i played around n made this pm online members only!
FOLLOW THESE EASY STEPS! I MADE THIS VERY SIMPLE!
ownercp.php
add below link swap tool;
PHP Code:
echo "»<a href=\"ownercp.php?action=hitler&sid=$sid\">PM ONLINE MEMBERS ONLY</a><br/>";
add this;
PHP Code:
else if($action=="hitler")
{
//br mr_lash
echo "<head>";
echo "<title>Owner Tools</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
echo "<div><img src=\"../phpThumb/phpThumb.php?src=../images/logo.gif\" alt=\"x\"/><br/>";
echo "This Will Send Pm To Numerous Online Members In One Go";
echo "</div>";
echo "<form action=\"ownrproc.php?action=prvtall2&sid=$sid\" method=\"post\"><p align=\"center\">";
echo "Message:<input name=\"pmtou1\" maxlength=\"250\"/><br/>";
echo "Recipient:<select name=\"who\">";
echo "<option value=\"online\">Online Members Only</option>";
echo "</select><br/>";
echo "<input type=\"submit\" value=\"Update\"/>";
echo "</p></form>";
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=main&sid=$sid\">»Main Menu</a>";
echo "</p>";
echo "</body>";
exit();
}
PHP Code:
else if($action=="prvtall2")
//by mr_lash
{
$who = mysql_real_escape_string( $_REQUEST["who"] );
$pmtou1 = mysql_real_escape_string( $_REQUEST["pmtou1"] );
$byuid = getuid_sid($sid);
echo "<head>";
echo "<title>Owner Tools</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<body>";
echo "<div>Owner Control Panel</div>";
$tm = microtime(get_as_float);
if($who=="online")
{
$lastpm = mysql_fetch_array(mysql_query("SELECT MAX(timesent) FROM ibwf_private WHERE byuid='".$byuid."'"));
echo "<p align=\"center\">";
echo "<img src=\"../phpThumb/phpThumb.php?src=../images/check.png\" alt=\"x\"/>";
echo "The Online Members have been sent This Message<br/>";
echo "<a href=\"ownercp.php?action=ownercp&sid=$sid\">»Ownertools</a>";
echo "</p>";
$pms = mysql_query("SELECT userid FROM ibwf_online ");
$tm = microtime(get_as_float);
while($pm=mysql_fetch_array($pms))
{
mysql_query("INSERT INTO ibwf_private SET text='Public Anouncment:[br/]".$pmtou1."[br/]This message was sent to all online members', byuid='".$byuid."', touid='".$pm[0]."', timesent='".$tm."'");
}
}
echo "</body>";
exit();
}
i need a proper working profile galllery with comments, ratings, and use pic as avatar! anyone have one with proper instalation instructions like i placed here?
Comment