Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Quote Notification Details »»
Quote Notification
Version: 1.0.2, by Krofh Krofh is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 04-07-2006 Last Update: 07-06-2006 Installs: 39
DB Changes Uses Plugins
 
No support by the author.

Quote Notification

Note: This hack does not work in vBulletin 3.6. If someone would like to port it, that's fine with me, but I don't feel like updating this particular hack.

Description: This plugin will add a "Quote Notification" option for users to select. If selected, they will receive a notification by PM whenever someone quotes them in a post.

Installation:
  • Import the product XML file
  • Go to your User CP > Edit Options and select "Quote Notification" if you like
  • If you want to change the content of the PM that gets sent, the phrases are quotenotify_subject and quotenotify_message
  • The email notification has a separate phrase, quotenotify_emailmessage
  • If you want to change the Profile Field options, find the "Quote Notification" field in your User Profile Field Manager in the ACP.
  • If you want to set a default user for the notification PMs to be sent through, go to ACP > vBulletin Options > Message Posting and Editing Options > Quote Notification Sender; set it to 0 for the sender to be whoever did the quoting

Warning: DO NOT change the title of the Profile Field from "Quote Notification", or the values from "Private Message", "Email", and "No" or this hack will not work.

Contains:
  • 1 Plugin
  • 1 Profile Field
  • 2 Phrases

This hack is somewhat similar to Who quoted me?, but still considerably different, and if your forum is concerned about quotes then both could probably go rather nicely together.

Version History:
1.0.2
- Fixed compatibility issues with Backlink For Quotes
- Added option for notification by Email or Private Message
- Added ACP option for one specific PM sender or for the PMs to be sent by the user who did the quoting (original functionality)
1.0.1
- Fix for users with apostrophes
1.0
- Original version


Please click install.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
JohorBahru

Comments
  #92  
Old 01-03-2010, 12:35 AM
SpankMe's Avatar
SpankMe SpankMe is offline
 
Join Date: Nov 2001
Location: New Zealand
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My previously attached mods work in vB 4.0.
Reply With Quote
  #93  
Old 01-25-2010, 06:05 PM
11133's Avatar
11133 11133 is offline
 
Join Date: Mar 2007
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its work perfect on 3.8.4
i have one question
is it posible to add feature to notify me like notify me when someone post comment on my profile, etc
not to notify me over pm
Reply With Quote
  #94  
Old 02-11-2010, 08:07 PM
TundraSoul TundraSoul is offline
 
Join Date: Mar 2002
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It does not import on fresh installs of vB 3.84.
Reply With Quote
  #95  
Old 05-10-2010, 05:17 AM
AcidX's Avatar
AcidX AcidX is offline
 
Join Date: Jan 2006
Location: Macedonia
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vb 4 compatible?
Reply With Quote
  #96  
Old 09-05-2010, 04:11 AM
NLPLegacy NLPLegacy is offline
 
Join Date: Aug 2010
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How does this work with 3.8.6, can't get it to work
Reply With Quote
  #97  
Old 09-05-2010, 05:23 AM
NLPLegacy NLPLegacy is offline
 
Join Date: Aug 2010
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ugh now I can't uninstall it. Comes up as DB Error
Reply With Quote
  #98  
Old 02-05-2011, 11:40 PM
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Jul 2005
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NLPLegacy View Post
Ugh now I can't uninstall it. Comes up as DB Error
maybe you should've read the announcement where it says IT DOES NOT work with 3.6+

You should've tried it on a test board!
Reply With Quote
  #99  
Old 02-08-2011, 05:16 PM
HFB HFB is offline
 
Join Date: Mar 2008
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SpankMe View Post
My previously attached mods work in vB 4.0.
Thanks for working on it. We have this installed on several forums running various versions of vB (3.6.8 through 3.8.4) with no issues.

Quote:
Originally Posted by Krofh View Post
Ahhh, my mistake. Looking into it, it turns out the $post variable doesn't have the forumid... change the first line I had you put in:
Code:
if ($post['forumid'] != 65) {
To the following:
Code:
if ($threadinfo['forumid'] != 65) {
When I did that on my server, it worked fine.
This needs to be updated for ajax. It causes a 'duplicate post' message with ajax quick reply. If you multiple forums to exclude and you don't use ajax, this code will work too:
Code:
if !in_array($threadinfo['forumid'], array(X,Y,Z)) {
Reply With Quote
  #100  
Old 08-18-2011, 05:22 PM
6impy 6impy is offline
 
Join Date: Oct 2001
Location: Seattle
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SpankMe View Post
ok, here's the product install for 3.7.

If you already have this mod installed, first delete the existing Quote Notification Profile Field.

Then just install this product. Click Allow Overwrite if you have the old version installed.

Let me know how it goes. I've only tested on vB 3.7.2.
Thank you for releasing this update SpankMe.

For everyone else reading this:

I can confirm the attachment in the above post (Go here to download the attachment: https://vborg.vbsupport.ru/showpost....4&postcount=77) is working on 3.8.6 Patch Level 2, but there are a couple things to keep in mind:
  1. I can't see the option to set a default user for the notification PMs to be sent through under Admin Control Panel > vBulletin Options > Message Posting and Editing Options. In my case, I don't care about this, because I want the PM to come from the user doing the quoting, which works fine.
  2. If you want to make the default option be that the user gets a private message, instead of no notification, then go to Admin Control Panel > User Profile Fields > User Profile Field Manager > Click the Edit link for Quote Notification (at bottom of page), then change the order of the listed fields putting whatever you want the default to be as the top option. It's making the decision to Email/PM/Not based on the text content of this field, not the position selection.
  3. If you make the change in step 2 above, and want all your current users to get PM or email notifications by default, then run one of the two MySQL queries (BACKUP THE TABLE BEFORE YOU DO THIS, JUST IN CASE):
    • update `vb_userfield` set field[#]='Private Message';
    • update `vb_userfield` set field[#]='Email';
    • (where [#] is the number of the field that can be seen in Admin Control Panel > User Profile Fields > User Profile Field Manager)
    • Finally, you'll want to make the change suggested by SpankMe in this post. Otherwise, users will see a Fatal Error if they quote the post of a user that has quote notification turned on, but PMs turned off, PMs contacts only, or PM quota is full. https://vborg.vbsupport.ru/showpost....0&postcount=51
  4. You'll want to do a phrase search for "Kiwi Biker forums" and replace it with the name of your forums, as it is hard coded into the email that goes out (when users choose to be notified by email)

Good luck and thanks again to both SpankMe (want a spanking? ) and Krofh.
Reply With Quote
  #101  
Old 08-20-2011, 08:38 PM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 6impy View Post
Thank you for releasing this update SpankMe.

For everyone else reading this:

I can confirm the attachment in the above post (Go here to download the attachment: https://vborg.vbsupport.ru/showpost....4&postcount=77) is working on 3.8.6 Patch Level 2, but there are a couple things to keep in mind:
  1. I can't see the option to set a default user for the notification PMs to be sent through under Admin Control Panel > vBulletin Options > Message Posting and Editing Options. In my case, I don't care about this, because I want the PM to come from the user doing the quoting, which works fine.
  2. If you want to make the default option be that the user gets a private message, instead of no notification, then go to Admin Control Panel > User Profile Fields > User Profile Field Manager > Click the Edit link for Quote Notification (at bottom of page), then change the order of the listed fields putting whatever you want the default to be as the top option. It's making the decision to Email/PM/Not based on the text content of this field, not the position selection.
  3. If you make the change in step 2 above, and want all your current users to get PM or email notifications by default, then run one of the two MySQL queries (BACKUP THE TABLE BEFORE YOU DO THIS, JUST IN CASE):
    • update `vb_userfield` set field[#]='Private Message';
    • update `vb_userfield` set field[#]='Email';
    • (where [#] is the number of the field that can be seen in Admin Control Panel > User Profile Fields > User Profile Field Manager)
    • Finally, you'll want to make the change suggested by SpankMe in this post. Otherwise, users will see a Fatal Error if they quote the post of a user that has quote notification turned on, but PMs turned off, PMs contacts only, or PM quota is full. https://vborg.vbsupport.ru/showpost....0&postcount=51
  4. You'll want to do a phrase search for "Kiwi Biker forums" and replace it with the name of your forums, as it is hard coded into the email that goes out (when users choose to be notified by email)

Good luck and thanks again to both SpankMe (want a spanking? ) and Krofh.
u need to edit the plugin to set a default user to send the pm

Code:
$qn_fromuserid = $vbulletin->userinfo['userid'];
			$qn_fromusername = $vbulletin->userinfo['username'];
to

Code:
$qn_fromuserid = $vbulletin->3345;
			$qn_fromusername = $vbulletin->Johny;
Reply With Quote
Reply

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

Forum Jump


All times are GMT. The time now is 06:55 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08518 seconds
  • Memory Usage 2,322KB
  • 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
  • (5)bbcode_code
  • (5)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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