The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Hello everyone
Ive been working on a automated PM script or should I say, trying to. Basically ive a MYSQL database that contains a list of gaming players. This MYSQL database is separate from the vbulletin one, but on the same web server. I want to create a plugin that will do the following: When a certain field in the player database is xxx, then PM an array of users; being the admin team at the website. A sample structure is as follows in relation to the above example; Code:
// MYSQL Connect to player database
CODE HERE
// If conditional
if ($row['status'] == 'online') {
AUTOMATED PM SCRIPT HERE
}
Please note; the database query is an array where it checks all of the "status" rows within the database for each entry made. Thanks in advance Matt |
|
#2
|
|||
|
|||
|
Check out this tutorial.
https://vborg.vbsupport.ru/showthread.php?t=82786 |
|
#3
|
||||
|
||||
|
Thanks Ill check it out
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|