The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Custom SQL upon Registration and Profile Update
I would like to execute a few SQL statements for each new registration and each time a users profile is updated, at a safe point after the vBulletin processes have been run.
Heres why: I use a zip code database to match up zip codes with cities/counties. This puts a large load on the server when some of my non-vb pages require a join to the large zip code database. I would like to create an intermediate table with userid, zip, city, and county so that upon new user registration or profile update, this information is pulled once. Then thereafter, the much smaller intermediate table will be used for database queries in a non-vb part of the site. I am fully capable of writing the code. My only concern is making sure I execute the code in the right place, and making sure it does not affect the normal vb processes. If anyone could point me to the correct places to insert my modifications that would be great. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|