The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I want this in the worst way and I want it to be done in the cleanest manner possible, so, here are my thoughts/wish list.
From my limited knowledge of scripting in Windows, and coding some with vB, this all seems completely possible. I've found various bits of code in the how-to's, but I'm completely baffled on where to start because I'm unfamiliar with the language that vB is written in. The logic eludes me. It seems like this needs a custom hook to run, however, I read the how-to on custom hooks and it doesn't really apply because the promotion.php is run from a scheduled task, not a plugin. I'm not really sure how to add additional fields to a usergroup and then how to set them up to be unique. It seems like this would require adding an extra field or table to the database for storing the multiple PM's that could be sent, and again, I'm clueless how to do that. A select/case seems to be needed somewhere in the PHP I'm guessing because the promotion.php runs every minute, so if a new user is promoted then this hack needs to check to which usergroup, and as such, check the new field/table to make sure it's not empty, and if it isn't empty, to pull the custom PM info, and then send the PM to the user. So far all I've found is how to automate sending a PM based on an existing hook. I'm pretty sure I'm over my head here... any help would be greatly appreciated. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|