Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Allow PM from Buddy List only Details »»
Allow PM from Buddy List only
Version: 1.00, by uae uae is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 12-26-2004 Last Update: Never Installs: 10
DB Changes
 
No support by the author.

Like you disabled Private Messaging System, and you don't want to be bothered and annoyed by anyone sending you a PM, but you still want to receive PM from those who are special to you!


What it does:
This allows your members (and you of course) to receive Private Messages from users in your buddy list only, even if you got Private Messaging System disabled.


Compatiable vBulletin Versions:
3.0.x(Tested on vBulletin 3.0.3)

Changes:
Changed files(6):
/includes/functions.php
/includes/functions_showthread.php
profile.php
private.php
global.php
member.php


New Query(1):
New column in user table

New templates(0):

Changed templates(1):
modifyoptions

New phrases(2):
features_private_messaging_from_buddylist
enable_private_messaging_from_buddylist

Please click install if you LIKE

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 12-28-2004, 04:16 AM
uae's Avatar
uae uae is offline
 
Join Date: Jul 2002
Location: Irvine, California
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bison
But there's a automatic SQL query control in the admincp which enable this for all users, in case they do turn it off, and you want to send them a PM. Take a peek under "Import & Maintenance" my friend. :laugh:
This hack has nothing to do with that option, and yes, you will be able to use that option either you installed this hack or not.

Quote:
Originally Posted by Oblivion Knight
This would be the case if the user chose to disable his PM inbox anyway
Exactly.
Reply With Quote
  #13  
Old 12-28-2004, 08:56 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good hack, i would've jumped at the chance to support this if it has usergroup support.
Reply With Quote
  #14  
Old 12-28-2004, 09:38 AM
Bison's Avatar
Bison Bison is offline
 
Join Date: Jun 2002
Location: Virginia Beach, Virginia
Posts: 522
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by uae
This hack has nothing to do with that option, and yes, you will be able to use that option either you installed this hack or not.


Exactly.
So why should an admin have to use that function?

You should have considered this in the code. What is going to happen when a admin has to send a PM to everyone, the script will enable everyone to receive PM from all members again, and anyone who had this feature turned on will have to go back in their usercp and check that box again.

Do you guys understand what i'm saying? What you are creating is an admin - user conflict.

Why not add a condition to where this does not apply to administrators and friends in yourt buddy list, but to everyone else?

I don't care what you think, but there's nothing more dumber for an Admin to install a hack which allows his members to ignore him. If you just allowed staff members in the code, this would be a very good hack.

This hack in it's current state is just adding more work on the admin.

Curious, are you an admin of your forum?
Reply With Quote
  #15  
Old 12-28-2004, 12:12 PM
nexialys
Guest
 
Posts: n/a
Default

@Bison... i think you are not looking at the description right now, because you consider facts regarding admin rights where there are none...

and maybe you'd be better be more polite when you answer threads you're not in control of, because your comments are not... "Curious, are you an admin of your forum?" is not a way to discuss here... we're not kids!

btw, this feature is just adding ONE step to your preferences, meaning that even if you block PMs in your options, you will be able to receive PMS from your friends - buddies.... just like in MSN, where you can block messages from outsiders that are not in your list...
Reply With Quote
  #16  
Old 12-28-2004, 08:12 PM
Bison's Avatar
Bison Bison is offline
 
Join Date: Jun 2002
Location: Virginia Beach, Virginia
Posts: 522
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nexialys
@Bison... i think you are not looking at the description right now, because you consider facts regarding admin rights where there are none...

and maybe you'd be better be more polite when you answer threads you're not in control of, because your comments are not... "Curious, are you an admin of your forum?" is not a way to discuss here... we're not kids!

btw, this feature is just adding ONE step to your preferences, meaning that even if you block PMs in your options, you will be able to receive PMS from your friends - buddies.... just like in MSN, where you can block messages from outsiders that are not in your list...
Nobody is trying to control this thread young man, I ask a vaild point ... and who are you to dictate a conversation? Stay with the flow of the conversation, and keep your bias of my point of view to yourself and try to be contructive. If you can't, then don't say nothing. Maybe you won't sound like a kid to me.

For the author I ask this question: ... is there a way to change the behavior of the hack where the hack not only allows users to retrieve PM's from their friends, but doesn't inhibit admins from communicating with those who decide to turn on this feature?
Reply With Quote
  #17  
Old 12-28-2004, 08:31 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have not installed this hack nor have I tested it, but surely you can just do this to allow mods and admins (or any other usergroup the ability to bypass this):

In functions.php, find:

Quote:
if ( (in_array($bbuserinfo[userid], $uids)) and ($allowbuddypm) )
Replace with:

Quote:
if ( (in_array($bbuserinfo[userid], $uids)) and ($allowbuddypm) and (!in_array($bbuserinfo['usergroupid'], array(5,6,7))) )
Change 5,6,7 to any usergroupid you want that will always be able to PM.

Again, I repeat, I have not installed this hack nor tested this.
Reply With Quote
  #18  
Old 12-28-2004, 08:34 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i think it's a good hack.

and i think the admin conversation is senseless, as admin you can always change every option a user set up, so where's the point? ^^
Reply With Quote
  #19  
Old 01-02-2005, 02:36 AM
Bison's Avatar
Bison Bison is offline
 
Join Date: Jun 2002
Location: Virginia Beach, Virginia
Posts: 522
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xenon
i think it's a good hack.

and i think the admin conversation is senseless, as admin you can always change every option a user set up, so where's the point? ^^
The point is why "change every option a user set up" when you can make sure you don't have to by applying a hack that doesn't have to make you go into your admincp and find everyone who's got this hack installed?

I'm not saying that it's not a good hack cause it's quite ingenious, but what's the point in making it so that it blocks even the admin from sending a PM to his members?
Reply With Quote
  #20  
Old 01-02-2005, 03:39 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd say the point is why not?

if an admin is to lazy to go and change it in the db, then he should just change the condition in the hack and finished.

there is no need for such a long discussion, just because one prefere that way and other the other way.
Reply With Quote
  #21  
Old 04-05-2005, 11:40 AM
Benj's Avatar
Benj Benj is offline
 
Join Date: May 2006
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

has anyone successfully run this on vb 3.0.7 ??? how hards the install ?
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 03:51 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05928 seconds
  • Memory Usage 2,305KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete