![]() |
Automatic PM on New Thread
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! |
Reserved for future use
|
great mod mike
|
Can you explain in detail as to what the custom profile field does and why it is needed. Do you have to do the custom profile field in order for this hack to work?
Thanks, Itworx4me |
It gives the person in the usergroup (set by admin) a chance to opt on on being auto pmed.
|
Code:
Error BD vBulletin 3.7.0: |
Great mod, would be usefull to send PM to users subscribed to certain vb social group.
for example BMX lovers about posts in Bikes forum... ect.. thanks great mod I might install it later |
how would this work for large databases ?
if a usergroup has more than 30 000 people..Will it crash my server ? or does it send a certain amount of mail at a time ? etc ? |
yes i get the same db error :
Database error in vBulletin 3.7.1: Invalid SQL: ALTER TABLE thread ADD sendpm varchar(100) UNSIGNED NOT NULL; 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 'UNSIGNED NOT NULL' at line 2 Error Number : 1064 Request Date : Wednesday, July 2nd 2008 @ 05:31:41 AM Error Date : Wednesday, July 2nd 2008 @ 05:31:42 AM Script : http://www.maroceve.com/forums/admin...=productimport Referrer : http://www.maroceve.com/forums/admin...?do=productadd IP Address : 41.251.65.88 Username : Ez Classname : vB_Database MySQL Version : 4.1.22-standard |
Updated. Should have the fix now.
|
Quote:
Now mistake Invalid SQL: ALTER TABLE forum ADD sendpm SMALLINT( 5 ) UNSIGNED DEFAULT '0' NOT NULL; Error MySQL : Duplicate column name 'sendpm' |
That is because it was added in the first query. Go ahead and remove that field from the forum table, and then import again.
|
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. |
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 |
good work
|
Quote:
|
i suggest subscription if the user want to be e-mailed or pm if another user write a new thread
which is usefull |
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)) Code:
$autopm_groups=explode(',',$vbulletin->options['sendpm_usergroups']); |
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?
|
Quote:
2- you have to subscribe to the forum ;) |
Is there a way to limit this to certain forums?
|
Any chance to get this to work on VB 3.6.4? I did not create the new profile field.
I go this error when I posted a new thread on my forum now: Code:
Database error in vBulletin 3.6.4: |
I was just wondering if this mod could be adjusted so that it would also work when a new event is posted in the calender?
thanks |
Is there any chance this mod will be made available for vB 4.x.x?
|
All times are GMT. The time now is 05:55 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|