vBulletin Modifications

Users Only Allowed to Send PMs to Staff (staff excluded)

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > vBulletin Modification Requests

Reply
 
LinkBack Thread Tools
Old 08-26-2005, 07:53 AM   #1
Charter Member
Join Date: Jul 2004
firas is on a distinguished road

Default Users Only Allowed to Send PMs to Staff (staff excluded)

Hi..

i have a hack on my 2.3 and i've been looking for it for 3.0 and now for 3.5 and it is the only thing that prevents me from upgrading my forum. i already have it and i am wondering if i upgrade my forum to 3.5 what are the modification that i should do to my forum and/or to the code so that it works perfectly.

-----------
What does this hack do?

It restricts the user's usage of private messages, so that they can only send/receive private messages from administrators, supermoderators or moderators.

You are also able to turn this on or off at will, in the settings area of the admincp.
------------------

and it was like that:

Instructions

Run the following query:
SQL Query:
You must first be a registered member to view any code.
which means that i already have this done on my forum.

Open private.php and find

You must first be a registered member to view any code.
Above, add
You must first be a registered member to view any code.
Create a new template named error_canonlypmstaff with the following content
You must first be a registered member to view any code.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 09-05-2005, 02:04 AM   #2
Charter Member
Join Date: Jul 2004
firas is on a distinguished road

Default

anyone please?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-07-2005, 05:24 PM   #3
Charter Member
Join Date: Jun 2004
Hakkie is on a distinguished road

Default

Don't know if you still need it, but this is what I could code for you in a few minutes:

You must first be a registered member to view any code.
Put that in hook private_start

You will need to hardcode the specific staffmembers, since I don't think I can use a $touser[usergroupid].




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-08-2005, 05:04 AM   #4
Charter Member
Join Date: Jul 2004
firas is on a distinguished road

Default

thanx alot for your help but this will be verry difficult as we have a very large number..

thanx anyway




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -3. The time now is 01:40 AM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)