
08-20-2011, 08:38 PM
|
|
|
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by 6impy
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: - 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.
- 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.
- 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
- 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;
|