The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
||||||||||||||||||||
![]() What this hack does? This hack will allow the admin to setup a certain usergroup to receive an instant PM notification informing that usergroup that a new thread in the specified forum has been created. How to install?
You can go ahead and edit the six phrases to suite your needs with it. The variables are prefixed with autopm_. Please click install if you use! Suggestions are always welcomed! Supporters / CoAuthors Show Your Support
|
Comments |
#12
|
||||
|
||||
![]() Now mistake Invalid SQL: ALTER TABLE forum ADD sendpm SMALLINT( 5 ) UNSIGNED DEFAULT '0' NOT NULL; Error MySQL : Duplicate column name 'sendpm' |
#13
|
|||
|
|||
![]()
That is because it was added in the first query. Go ahead and remove that field from the forum table, and then import again.
|
#14
|
|||
|
|||
![]()
great mod & install
![]() If you can do some more things will be wonderful. 1- Automatic PM Title better to be with the thread title. Price quote requested for thread {1}. 2- If there is resend bottum when the thread be come importent and i need to sent it to the defined group. |
#15
|
|||
|
|||
![]()
I get this error:
Database error in vBulletin 3.7.0: Invalid SQL: SELECT gfpoforumoptions FROM forum WHERE forumid =; MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Error Number : 1064 Request Date : Monday, July 21st 2008 @ 01:51:52 PM Error Date : Monday, July 21st 2008 @ 01:51:53 PM Script : http://www.nlpconnections.com/newthr...ostthread&f=75 Referrer : http://www.nlpconnections.com/newthr...newthread&f=75 IP Address : xxxxxxxxx Username : chris_morris Classname : vB_Database MySQL Version : 5.0.45 |
#16
|
|||
|
|||
![]()
good work
|
#17
|
|||
|
|||
![]() Quote:
|
#18
|
|||
|
|||
![]()
i suggest subscription if the user want to be e-mailed or pm if another user write a new thread
which is usefull |
#19
|
|||
|
|||
![]()
Just installed. Good job, it was just what I was looking for.
Three things: 1) It'd be nice to have the recipient usergroups to be specified on a forum-by-forum basis rather than a single set of groups. Haven't looked at what this would require though. 2) I noticed that for members that have already registered, their new userfield value in the userfield table shows up as NULL rather than Yes or No, which is deceptive since it appears to be Yes in the User Options area of the UCP. There's plenty of workarounds to this including simply reversing the "Yes / No" options to "No / Yes" when creating the userfield during installation. This would cause the No to show up in the UCP by default which has the same behavior here as NULL. 3) I noticed that your "AutoPM Save Thread Info" hook only looks for users who have the recipient usergroup as their primary usergroup. I added the following to the code to search for users who have the recipient group as a secondary group (though there's probably a more efficient means to do this): After this: Code:
while ($name = $vbulletin->db->fetch_array($usernames)) { $pm2users[] = $name['username']; } $vbulletin->db->free_result($usernames); Code:
$autopm_groups=explode(',',$vbulletin->options['sendpm_usergroups']); while ($autopm_group = array_shift($autopm_groups)) { $usernames = $vbulletin->db->query_read(" SELECT username FROM " . TABLE_PREFIX . "user LEFT JOIN " . TABLE_PREFIX . "userfield AS userfield ON (user.userid = userfield.userid) WHERE membergroupids REGEXP '(^|,| )".trim($autopm_group)."($|,| )' AND field" . $vbulletin->options['sendpm_sendme'] . " = 'Yes' ORDER BY username ASC "); while ($name = $vbulletin->db->fetch_array($usernames)) { $pm2users[] = $name['username']; } $vbulletin->db->free_result($usernames); } |
#20
|
||||
|
||||
![]()
Why should I use this instead of Instant New Thread Notification? It seems to me this mod requires two steps to do what the other one does in one. Or am I missing something?
|
#21
|
||||
|
||||
![]() Quote:
2- you have to subscribe to the forum ![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|