This is a mysql driven teleporter that I through together for my own use and figured i'd release it out. It's just a first draft and has definite room for improvement, including storing the menu items into a data structure at startup rather than performing db queries for each request. Included in the zip is the source for the teleporter as well as a mysqldump of the table I use.
The table is pretty self explanatory but if anyone has any questions i'm happy to answer them.
There are 2 define's at the top of the Custom_Teleporters.cpp that define the maximum number of entries allowed per request as well as the creature id of your teleporter. Change as needed.
Credit goes out to whomever coded the original version of the Teleporter that I am using. It was provided to me by someone else so i'm not sure who the person is.
The package can be downloaded from http://www.funserver.cc/Teleporter.zip
[EDIT]
I noticed that i noobishly set the map field to tinyint(3) unsigned resulting in none of the TBC maps working. I corrected it and here is the fix.
http://www.funserver.cc/custom_teleporter.sql
[/EDIT]