Pm all staff

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Pm all staff

    Im just wondering, does anyone have the pm all staff for members 4 wapdesirev2? Any help wil be kewl

    #2
    um dude... it's the same as a normal pm... just change the sql query so instead of insert into blabla where uid = ...

    you do a list function that goes through users table n for each with perm/whatever over 1 or > 0 send pm query...

    hope that makes sense...
    C3 Themes: http://c3themes.wen.ru/index.html
    Find Files: http://mystarter.tk/?goto=X-search

    Comment


      #3
      UPDATE table SET type=”A”, model=”B” WHERE id IN ( 1, 2, 3,...,..)

      Comment


        #4
        yeah, that way works too,
        (i was just explaining it the easier way for the beginers... same way i figured out how to code it way back...)
        C3 Themes: http://c3themes.wen.ru/index.html
        Find Files: http://mystarter.tk/?goto=X-search

        Comment


          #5
          nope cnt get it to wrk

          Comment


            #6
            ok, explain what isn't working?

            firstly, go to the stafol (or whatever online staff is called) list...
            copy that code, but instead of for each echo...
            do the insert pm query instead...

            to break it down in english... you need to get it to list all members with perm > 0 (aka staff)

            then with each of those
            {
            insert into ibwf_private msgtxt = message where uid = $staff
            }

            copy n edit code to do this, it's how i learned...
            Last edited by pmbguy; 19.11.10, 09:15.
            C3 Themes: http://c3themes.wen.ru/index.html
            Find Files: http://mystarter.tk/?goto=X-search

            Comment

            Working...
            X