The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Quote Notification Details »» | |||||||||||||||||||||||||
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:
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:
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
|
Благодарность от: | ||
JohorBahru |
Comments |
#12
|
||||
|
||||
Since everyone seems to want to be able to set this enabled by default...
|
#13
|
||||
|
||||
Thanks, I'll give this a shot!
|
#14
|
||||
|
||||
Nice hack.
*clicks install* |
#15
|
||||
|
||||
Got the following SQL error
Invalid SQL: SELECT user_table.userid AS userid, profile_fields.field21 AS wantquotenotify FROM user AS user_table LEFT JOIN userfield AS profile_fields ON (user_table.userid=profile_fields.userid) WHERE user_table.username='Brian d'marge' GROUP BY user_table.userid; Need to change: PHP Code:
PHP Code:
|
#16
|
||||
|
||||
Ahh, indeed. Thanks for noticing and fixing that, I'll go post an updated version now.
... done. |
#17
|
|||
|
|||
I really like the sound of this. But I haven't been able to get it to work. Was there supposed to be a php file to download also?
I don't get any error messages. But I don't get any PM's either. The setting is turned on in the User CP. |
#18
|
||||
|
||||
Is the product enabled? There's no PHP, it's just the XML file... Is the profile field's name still "Quote Notification", and the values "Yes" and "No"? (sorry, this hack breaks if those are changed). I just tried installing this on a completely clean forum and it worked fine.
|
#19
|
|||
|
|||
I finally figured out the problem, though I am still working on finding a solution. I am also using the Back-Link for Quotes hack
https://vborg.vbsupport.ru/showthread.php?t=91282 and the link is interferring with this hack. Example: [quote=testuser;326157] Any ideas? |
#20
|
||||
|
||||
Ahhh, I see what's causing it... obviously, there will be no user called "username;1324" anyways, I'm really tired right now and don't have the patience to test it thoroughly, but this should work...
1) Go to your Plugin Manager in the ACP 2) Edit the plugin "Quote Notification" under newpost_complete Add the highlighted code: Code:
$kr_load = array(); $kr_text = array(); if (preg_match_all("/\[quote=([^\\\"\]]*?)\](.*?)\[\/quote\]/is",$post['message'],$matches)>0) { for ($kr=0;$kr<count($matches[1]);$kr++){ //echo $matches[1][$kr]."<br>"; $matches[1][$kr] = (strpos($matches[1][$kr],";")) ? substr($matches[1][$kr],0,strpos($matches[1][$kr],";")) : $matches[1][$kr]; if (strtolower($matches[1][$kr]) != strtolower($vbulletin->userinfo['username'])) { |
#21
|
||||
|
||||
This works great! Any way i can specify the sender?
I have an username for massive pm's and moderation reports i would lik to use for sending these pm's. Thank you Jesse |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|