vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Default action for PM Receipts (https://vborg.vbsupport.ru/showthread.php?t=77953)

Marco van Herwaarden 03-11-2005 10:00 PM

Default action for PM Receipts
 
An old mini-mod by me, released now because of a request.

I am not sure if i based this on an hack by someone else or not. Did a quick search and could not find anything. If it is based on someone elses work, please contact me by PM.

Some users get irritated about the popup asking if they want a answer a requested read receipt on reading PM or if they want to request a receipt on sending a new pm.
This hack give users the possibility, to change this behaviour in their profile.

Users can access this setting from their User CP-->Edit Options as the last 2 options in the Messaging and notification section.

Users can choose the following:
- Ask - This is the default and will give the same behaviour as on an unhacked board.
- Never - There will never be a send a receipt on a request, no popup.
- Allways - There will allways be send a receipt when requested requested, no popup.

PS The usergroup setting "Can Deny Private Message Read Receipt Request" is respected by this hack.
This mean that for usergroups where this is set to Yes it will allways send a confirmation.

Good practise is to always backup files before changing them!

sabret00the 03-12-2005 08:43 AM

nice work :)

T3MEDIA 03-12-2005 10:04 AM

Quote:

Originally Posted by sabret00the
nice work :)

Hey did ya try it sab?

sjkoenig 03-13-2005 04:37 PM

Real nice work. I have been waiting for someone to write this hack. It works great.

Marco van Herwaarden 03-13-2005 05:38 PM

Well it was already written a long time ago. Maybe i'll put it in a HIS installer.

URPREY 03-14-2005 01:08 AM

Working great! Thanks. That pop-up was annoying everyone!

bold 03-17-2005 08:04 AM

thanks for the hack.

one thing, how would i put the two options in the 'Private Messaging' fieldset? Just for cosmetic reasons.

Marco van Herwaarden 03-17-2005 09:10 AM

Quote:

Originally Posted by bold
thanks for the hack.


one thing, how would i put the two options in the 'Private Messaging' fieldset? Just for cosmetic reasons.

Sorry but if using "User Profile Fields" this is not possible. If you woul want this, it would increase the complexity of this hack, with a lot more file edits.

One of the strenght in my eyes, is that it is relative simple.

Dennis Olson 03-17-2005 12:07 PM

Somewhere around here is a hack that changes the popup to a checkbox under the text-entry window. I installed that, and default the box to UNchecked. That one works great too. I might end up using this one however... ;)

Marco van Herwaarden 03-17-2005 12:31 PM

Quote:

Originally Posted by Dennis Olson
Somewhere around here is a hack that changes the popup to a checkbox under the text-entry window. I installed that, and default the box to UNchecked. That one works great too. I might end up using this one however... ;)

If you already installed that one, what would make you choose to (also) use this one?

Just being curious and trying to learn what people (dis)like in a hack.


All times are GMT. The time now is 10:23 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.02120 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete