Global Inbox

Started on the old forum in October 2008 · view the original in the archive · old links redirect here

16 replies · 948 views · started 18 years ago · 1 min read

4 participants
friend Developer · 112 posts #2

I wont add this : if any1 have the code to add this pls write at this topic 🙂

tnks

whst the code for Global Inbox? 😉

sweetangel Lead · 885 posts #3

this is my idea...owner can send multi inbox to all members or all staff members or all users banned... at 1 click...

I not have the code 4 add this ...

if like my post click:

External image (may be gone)

friend Developer · 112 posts #4

this is my idea...owner can send multi inbox to all members or all staff members or all users banned... at 1 click...

I not have the code 4 add this ...

Thats good idea and u had posted screenshots so its working sumwhere?

something else Fellow · 2,296 posts #6

and whats the point in sending to banned users lol

friend Developer · 112 posts #8

and whats the point in sending to banned users lol

how can banned user will read ur pm? 😉

sweetangel Lead · 885 posts #9

at my new version I can block users only at forums/chat/inbox and popups/modify profile/uploads photos/deactivate all actions (only access 4 read) or ban 😀

if like my post click:

External image (may be gone)

friend Developer · 112 posts #10

at my new version I can block users only at forums/chat/inbox and popups/modify profile/uploads photos/deactivate all actions (only access 4 read) or ban :D

whats ur new wap site? 😉

djlee Developer · 224 posts #11

the better way would be an announcement .. if a new announcement has been made then show that on index until the user clears the announcement... that way your arent filling the DB with the same PM multiple times

something else Fellow · 2,296 posts #12

but its already been coded for you over and over again all thats differnt this time is its got a dropdown box lol there is no point in me coding it as you can code it yourself you just cant be arsed to try the only thing you get stuck on is ARRAYs and seeming there is no need for fetching ARRAYs for this. you can code it yourself lol dont be lazy try coding it your self then when you get stuck post it here and someone might help lol

sweetangel Lead · 885 posts #13

with this code I send inbox to all members... but how I can add messagge to send???

  $pmtou = $_POST["pmtou"];
  $byuid = getuid_sid($sid);
  $tm = time();
  $lastpm = mysql_fetch_array(mysql_query("SELECT MAX(timesent) FROM ibwf_private WHERE byuid='".$byuid."'"));
  echo "All users has been send a pm
";
  $pms = mysql_query("SELECT id, name FROM ibwf_users WHERE lastact>'".$tm24."'");
  $tm = time();
  while($pm=mysql_fetch_array($pms))
  {
  mysql_query("INSERT INTO ibwf_private SET text='[b]Public Anouncment:[/b][br/]".$pmtou."[br/][i]This message was sent to all the members[/i]', byuid='".$byuid."', touid='".$pm[0]."', timesent='".$tm."'");
  }

tnks...

if like my post click:

External image (may be gone)

something else Fellow · 2,296 posts #14

here the coding .... there is an error in the original coding u posted (time) i cant be arsed to work that out also im not coing send pm to all banned users as that is a really crap idea

  echo "<form action=\"admproc.php?action=global&sid=$sid\" method=\"post\">";
  echo "PM:<input name=\"pmtou\" maxlength=\"250\"/>
";
  echo "TO:<select name=\"who\">";
  echo "<option value=\"staff\">staff</option>";
  echo "<option value=\"all\">all members</option>";
  echo "</select>
";
  echo "<input type=\"submit\" value=\"Update\"/>";
  echo "</form>";
  $who = $_POST["who"];
  $pmtou = $_POST["pmtou"];
  $byuid = getuid_sid($sid);
  $tm = time();
if($who=="all"){
  $lastpm = mysql_fetch_array(mysql_query("SELECT MAX(timesent) FROM ibwf_private WHERE byuid='".$byuid."'"));
  echo "All users has been send a pm
";
  $pms = mysql_query("SELECT id, name FROM ibwf_users WHERE lastact>'".$tm24."'");
  $tm = time();
  while($pm=mysql_fetch_array($pms))
  {
  mysql_query("INSERT INTO ibwf_private SET text='[b]Public Anouncment:[/b][br/]".$pmtou."[br/][i]This message was sent to all the members[/i]', byuid='".$byuid."', touid='".$pm[0]."', timesent='".$tm."'");
  }
}else if($who=="staff"){ 
  $lastpm = mysql_fetch_array(mysql_query("SELECT MAX(timesent) FROM ibwf_private WHERE byuid='".$byuid."'"));
  echo "All users has been send a pm
";
  $pms = mysql_query("SELECT id, name FROM ibwf_users WHERE perm>0");
  $tm = time();
  while($pm=mysql_fetch_array($pms))
  {
  mysql_query("INSERT INTO ibwf_private SET text='[b]Public Anouncment:[/b][br/]".$pmtou."[br/][i]This message was sent to all staff[/i]', byuid='".$byuid."', touid='".$pm[0]."', timesent='".$tm."'");
  }
}
something else Fellow · 2,296 posts #16

yeah sending a global pm to all banned users is a shit idea there is no point to it at all well unless you want thoose messages to build up and build up cos they aint goona get read lol face it if someones banned they either dont bother coming back or re-register with a new nick/browser/ip etc so therfore they wont ever read that pm.

What message would you send them anyway?..........

maybee something like............

               HAHAHA YOUR BANNED!

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close