The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Request - Private Message Hack
I did a quick search and couldn't find what I"m looking for. If I've overlooked something, please let me know and point me in the right direction.
Anyway, I'd like to set private message permissions via usergroup. Not all usergroups, just one. I've setup a certain group of members. It's important that they cannot read private messages unless it comes from an administrator or from someone in the same usergroup. The group-group pm'ing isn't super important, but having this group receive pm's from Admin is. Is this possible? I don't want them to be able to send or receive any pm's unless it comes from admin. (or within their group if possible). |
#2
|
|||
|
|||
hmm... lets see... right now im at school so i can't tell you where to find the coding in the private.php
but for allowing usergroups to send pms only to certain usergroups is pretty easy to do i believe... i will set something up for you when i get home in a little... regards... g-force2k2 |
#3
|
||||
|
||||
Thanks, G-Force. I'll pm you my IM info if you want to chat. Otherwise, I will anxiously await here.
|
#4
|
|||
|
|||
okay whatever is cool... shouldn't be hard at all... just installing my 2.2.7 and i'll do the test on that regards...
g-force2k2 |
#5
|
|||
|
|||
find ::
PHP Code:
PHP Code:
error_pmrestricted and put whatever info you want in the template (error-wise) regards oh and one more thing... make sure to disable pming to buddies ;p or you could make a similiar code when adding buddies... else they can foward messages and such... to disable simply in the usergroup set max pm to forward and max users to pm at 0... g-force2k2 |
#6
|
||||
|
||||
Thanks, G-Force! I'll try it right now. Um, don't mean to be a dunce, though - and I assume private.php is the file I need - but.....what is the file to make teh above changes to? Just so I don't assume.
|
#7
|
||||
|
||||
Okay, I've made the change. But now as administrator, I can't pm outside my own group. I just need it set for one usergroup, not all of them. Is this possible, or a pain? :s
edited to add This fix seems to only work within the usergroup, I don't seem to be able to define which usergruops I want to restrict. |
#8
|
|||
|
|||
eh? Administrators can't send pms? or am i wrong? maybe i made a mistake in my coding... i will test it and look into it... do you want all usergroups restricted though? regards...
g-force2k2 |
#9
|
||||
|
||||
Quote:
Nope, not all usergruops. There's just one I want restricted. And nope, if a user sets pm's to NO or the usergroup properties are set to "no" for pm's, an admin cannot pm them. I thought there was a pm feature in the admin cp that would work, but tehre's not one there. *heh* |
#10
|
|||
|
|||
okay can you give me that usergroup that you want restricted? thanks in advance... regards...
g-force2k2 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|