Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Allow staff to ignore PMs from non-staff members
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #1
Allow staff to ignore PMs from non-staff members
This is another requested plugin.

Fairly simple - Super Moderators and Administrators get an extra option in their UserCP to choose to ignore PMs from users who are neither Super Mod nor Admin.  If they do choose to ignore those PMs, (non Super Mod/Admin) users who try to PM them will get a "being ignored" message.


Attached File(s)
.php  staffignorepm.php (Size: 3.42 KB / Downloads: 694)

My Blog
01-25-2008 10:05 PM
Find all posts by this user
Guest
Unregistered
 
Post: #2
RE: Allow staff to ignore PMs from non-staff members
I got this installed but how do I set it to that staffers can disallow non staffers to PM them? Where is that setting located??? As am not seein it anywhere...not even in User CP
02-26-2008 02:52 AM
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #3
RE: Allow staff to ignore PMs from non-staff members
The option should be there for Super Mods and Admins under UserCP -> Edit Options -> Messaging and Notification

My Blog
02-26-2008 08:47 AM
Find all posts by this user
Guest
Unregistered
 
Post: #4
RE: Allow staff to ignore PMs from non-staff members
am not seein it...i see the template itself but am not seein it on the user cp end...here is the actual template coding as I dunno if there is miscodin or something but check for yourself:

<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="allowpmsfrommembers" id="allowpmsfrommembers" value="yes"{$staffignorepmcheck} /></td>
<td><span class="smalltext"><label for="allowpmsfrommembers">Ignore PMs from users who are not Super Moderators or Administrators</label></span></td>
</tr>


And it is located on a template called usercp_options_staffignorepms  and it is located under the Global Templates

So, I dunno if it is suppose to be with the usercp_options template under the Default Theme Templates which would probaly make more sense but your the coder so who am I to say as am no techie but I tried to fix it myself and it didn't come out right...but there is somethin wrong there as am not seein it anywhere on the User CP...
02-26-2008 09:10 AM
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #5
RE: Allow staff to ignore PMs from non-staff members
Check your usercp_options template - there should be the following in it:

Code:
{$staffignorepm}


My Blog
02-26-2008 09:33 AM
Find all posts by this user
Guest
Unregistered
 
Post: #6
RE: Allow staff to ignore PMs from non-staff members
and if it isn't? What is the code for it so that I can place it in there...

Thanx in advance for all your help and support
02-26-2008 09:44 AM
Guest
Unregistered
 
Post: #7
RE: Allow staff to ignore PMs from non-staff members
I do not see that piece of code in the usercp_options template...it is not there
02-26-2008 09:47 AM
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #8
RE: Allow staff to ignore PMs from non-staff members
Then you can just add it where you want the checkbox to appear Tongue

My Blog
02-26-2008 03:16 PM
Find all posts by this user
Guest
Unregistered
 
Post: #9
RE: Allow staff to ignore PMs from non-staff members
i tried that but than those who are non staffers will see it...how do i make it so that only staffers can view it?
02-26-2008 03:36 PM
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #10
RE: Allow staff to ignore PMs from non-staff members
If you place the {$staffignorepm} code in the visible template, non staff should not be able to see it.
If you copied all the code from the custom template, well then, non staff will be able to see the checkbox.

My Blog
02-26-2008 09:25 PM
Find all posts by this user

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: