wasnt that in the script when i sold it you lol? plu thats alredi been relased here before u spanner lol![]()
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.phpPHP Code:echo "<a href=\"ownercp.php?action=hitler&sid=$sid\">PM ONLINE MEMBERS ONLY</a><br/>";
add this;
now in ownerproc.php 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();
}
and voila! pm all online members!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?![]()
Last edited by metulj; 23-06-09 at 21:23. Reason: you need to learn also how to pot code on forum ;)
wasnt that in the script when i sold it you lol? plu thats alredi been relased here before u spanner lol![]()
Want something coded email me at [Only registered and activated users can see links. Click Here To Register...] for a prices.
[Only registered and activated users can see links. Click Here To Register...]
no mate wasnt in the script at all! [Text Removed By Crazybrumi]
well i never seen this tool posted in any forums,,,,thought i was the first? lol
guess not huh :p
Last edited by crazybrumi; 25-06-09 at 07:55.
actually i dont like that action name...Originally Posted by mr_lash [Only registered and activated users can see links. Click Here To Register...]
you should fix it![]()
キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
Can you make the system for only site staffs?? I need that. Try on it. @ mr_lashOriginally Posted by mr_lash [Only registered and activated users can see links. Click Here To Register...]
this is pm all members and staff, u choose from a drop down menu
PHP Code:<?php
define('WCS',true);
include('../core/main.inc');
header_type();
cleardata();
if(ipbanned(ip(),browser())){
if(!shield(getuid_sid($sid))){
echo head_tag("Ip Blocked!!!",0,0);
echo ipbanned_msg();
echo foot_tag();
exit();
}
}
if(!islogged($sid)){
echo head_tag("Error!!!",0,0);
echo session_expired();
echo foot_tag();
exit();
}
if(banned(getuid_sid($sid))){
echo head_tag("Error!!!",1,getnick_sid($sid));
echo banned_msg($sid);
echo foot_tag();
exit();
}
mysql_query("UPDATE users SET browser='".browser()."', ipaddress='".ip()."', host='".subno()."' WHERE id='".getuid_sid($sid)."'");
/////////////////////////PM ALL Users/////////////////////////
if($sent==true)
{
addonline(getuid_sid($sid),"Admin Tools","");
echo head_tag(getnick_sid($sid)."@Admin Tools",1,getnick_sid($sid));
$title="<b>Admin Tools</b>";
$level=mysql_fetch_array(mysql_query("SELECT level FROM users WHERE id='".getuid_sid($sid)."'"));
if($level[0]>4){
$byid = getuid_sid($sid);
$tm = time();
if($who=="all"){
$lastpm = mysql_fetch_array(mysql_query("SELECT MAX(timesent) FROM inbox WHERE byid='".$byid."'"));
$main.="<p align=\"center\">";
$main.="<img src=\"../phpThumb/phpThumb.php?src=../images/ok.gif\" alt=\"x\"/>";
$main.="All The Members have been sent The Message<br/>";
$main.="</p>";
$pms = mysql_query("SELECT id, username FROM users WHERE lastact>'".$tm24."'");
$tm = time();
while($pm=mysql_fetch_array($pms)){
mysql_query("INSERT INTO inbox SET text='[b]Public Anouncment:[/b][br/]".$pmtou."[br/][i]This message was sent to all the members[/i]', byid='".$byid."', toid='".$pm[0]."', timesent='".$tm."'");
}}
else if($who=="staff"){
$lastpm = mysql_fetch_array(mysql_query("SELECT MAX(timesent) FROM inbox WHERE byid='".$byid."'"));
$main.="<p align=\"center\">";
$main.="<img src=\"../phpThumb/phpThumb.php?src=../images/ok.gif\" alt=\"x\"/>";
$main.="The Staff have been sent The Message<br/>";
$main.="</p>";
$pms = mysql_query("SELECT id, username FROM users WHERE level>0");
$tm = microtime(get_as_float);
while($pm=mysql_fetch_array($pms)){
mysql_query("INSERT INTO inbox SET text='[b]Public Anouncment:[/b][br/]".$pmtou."[br/][i]This message was sent to all staff[/i]', byid='".$byid."', toid='".$pm[0]."', timesent='".$tm."'");
}}
}}else{
addonline(getuid_sid($sid),"Admin Tools","");
echo head_tag(getnick_sid($sid)."@Admin Tools",1,getnick_sid($sid));
$title="<b>Admin Tools</b>";
$level=mysql_fetch_array(mysql_query("SELECT level FROM users WHERE id='".getuid_sid($sid)."'"));
if($level[0]>4){
$main="<p align=".align().">\n";
$main.="This Will Send Pm To Numerous Members In One Go";
$main.="<form action=\"./pmall.php?sent=true&sid=$sid\" method=\"post\"><p align=\"center\">";
$main.="Message:<input name=\"pmtou\" maxlength=\"400\"/><br/>";
$main.="Recipient:<select name=\"who\">";
$main.="<option value=\"staff\">Staff Members</option>";
$main.="<option value=\"all\">All members</option>";
$main.="</select><br/>";
$main.="<input type=\"submit\" value=\"Update\"/>";
$main.="</p></form>";
}}
if($level[0]<4){
addonline(getuid_sid($sid),"In The Forbidden Zone!","");
$main.="<img src=\"../images/error.gif\" alt=\"x\"/><br/>Permission Denied!<br/>
<br/>
$fivekey<a $key5 href=\"./tools.php?type=tools&sid=$sid\">Back</a>
</p>\n";
}
$L1="$sixkey<a $key6 href=\"../inbox/inbox.php?sid=$sid\">Inbox</a>";
$L2="$sevenkey<a $key7 href=\"../buds/buds.php?sid=$sid\">BuddyList</a>";
$L3="$eightkey<a $key8 href=\"../chat/public.php?sid=$sid\">Chat</a>";
$L4="$ninekey<a $key9 href=\"../forums/forums.php?sid=$sid\">Forums</a>";
$L5="$zerokey<a $key0 href=\"../main.php?sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Main Menu</a>";
echo xhtml($sid,$title,1,$L1,$L2,$L3,$L4,$L5,0,0,0,$main);
?>
Want something coded email me at [Only registered and activated users can see links. Click Here To Register...] for a prices.
[Only registered and activated users can see links. Click Here To Register...]
sorry can seem to be able to edit my old posts lol
Why the hell everyone acts like lavalair (or whatever) is the only got damn wap script on the universe? Wapmasters don't even specify it anymore, they just post things like "Hey, this will send a PM to all members"... I mean, what the hell is wrong with you guys?
Do everyone from outside needs to guess that there is this same script that every wap site uses and that everything you create is to add some kind of new functionality to it??
Bah!! That sucks!
Code your stuff from scratch and build up on it, that's a lot more interesting and most of all original.
Everyone is just tired of the same old stuff on every wap site.
I really don't know if this is for lavalair, I guess it is! ...just guessing as always and as everyone else!
Hmmmmm oh boy....
i got pm all staff,
pm all males,
pm all females,
pm club members
[Only registered and activated users can see links. Click Here To Register...]
hi there mybe u can share the coding for these pleaseOriginally Posted by hypetype [Only registered and activated users can see links. Click Here To Register...]
HELP THEM WHO HELPS YOU
[Only registered and activated users can see links. Click Here To Register...]
i only work on wapdesire v_2 coding only
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks