Aaron Schpitzer 1174936 Posted November 16, 2011 at 02:02 PM Posted November 16, 2011 at 02:02 PM Is there a way to display how many people on the network are using my VA's callsign on my website. Similar to how on ARTCC/FIR sites they have a whos online thing. Thanks 1174936, S3/P1 CZYZ FE CZUL, ZNY, ZOB, ZBW Visitor Canforce CEO Link to comment Share on other sites More sharing options...
Marc Wheeler Posted November 16, 2011 at 04:47 PM Posted November 16, 2011 at 04:47 PM Are you looking for something to incorporate into your web site or just something so you can see who is online? If you answer is the latter, you can try this: http://www.ookii.org/software/vatsimmonitor/ VATSIM: P1|C3 Link to comment Share on other sites More sharing options...
Aaron Schpitzer 1174936 Posted November 16, 2011 at 08:41 PM Author Posted November 16, 2011 at 08:41 PM I want it for my VA's website, I wanna put it in the sidebar so it shows what pilots are currently in flight using our callsign on the VATSIM network. I'm just doing the website stuff now and getting it started. I havent installed PHPvms yet, I think I could so it through there but its a military VA, so phpvms is only good for the transport aircraft flights i think. 1174936, S3/P1 CZYZ FE CZUL, ZNY, ZOB, ZBW Visitor Canforce CEO Link to comment Share on other sites More sharing options...
Brian Fuller 973577 Posted November 17, 2011 at 01:21 AM Posted November 17, 2011 at 01:21 AM The answer to your question is yes. You grab the current .txt file that has all the activity on it, p[Mod - Happy Thoughts] it for your callsign, and display it. Can all be done via PHP or ASP. Even better, you grab the data and store it in a database, then you can actually track their activity history as well. Link to comment Share on other sites More sharing options...
Marc Wheeler Posted November 17, 2011 at 01:24 AM Posted November 17, 2011 at 01:24 AM Anyone willing to share their asp code for this? I know I took a crack at it some time ago, but couldn't get it to work. VATSIM: P1|C3 Link to comment Share on other sites More sharing options...
Brian Fuller 973577 Posted November 17, 2011 at 03:28 AM Posted November 17, 2011 at 03:28 AM Might have better luck finding something in C# for ASP.NET Link to comment Share on other sites More sharing options...
Marc Wheeler Posted November 17, 2011 at 10:57 AM Posted November 17, 2011 at 10:57 AM Our site is in ASP.NET with VB, but I have worked with C# before and can convert it to VB. VATSIM: P1|C3 Link to comment Share on other sites More sharing options...
Brian Fuller 973577 Posted November 17, 2011 at 02:09 PM Posted November 17, 2011 at 02:09 PM Na, just wasnt sure you were working with older ASP or .NET, VB would be just as good. Link to comment Share on other sites More sharing options...
Rahul Parkar Posted November 17, 2011 at 04:18 PM Posted November 17, 2011 at 04:18 PM If you want, I could give it a go when I get some spare time Marc, I could send you a pure VB sample or an ASP.NET /w VB if you want. Cheers! Rahul Rahul Parkar "On second thoughts Nappa, catch it, catch it with your teeth" -- Vegeta Professional Nerd. (Professionally not professional) Link to comment Share on other sites More sharing options...
Marc Wheeler Posted November 17, 2011 at 04:24 PM Posted November 17, 2011 at 04:24 PM Currently using ASP.net w/ VB. If you are wiling to take a crack at it, that would be great. Lots of examples for php, but finding resources for VATSIM stuff with ASP.net is not that common. VATSIM: P1|C3 Link to comment Share on other sites More sharing options...
Rahul Parkar Posted November 17, 2011 at 04:32 PM Posted November 17, 2011 at 04:32 PM Well, PHP is the de-facto web programming language on VATSIM related sites from what I have seen, although there are some notable examples of websites that have done perfectly well using other languages, As I said I'll give it a crack for you. Cheers! Rahul Rahul Parkar "On second thoughts Nappa, catch it, catch it with your teeth" -- Vegeta Professional Nerd. (Professionally not professional) Link to comment Share on other sites More sharing options...
Brian Fuller 973577 Posted November 18, 2011 at 12:57 AM Posted November 18, 2011 at 12:57 AM Its not hard to see the logic in PHP for how it p[Mod - Happy Thoughts]s. It can be easliy tranlated to VB or any language you know well just by looking the logic. Loops, variables, cl[Mod - Happy Thoughts]es, parsing strings.. all should be understandable from any programming background. Link to comment Share on other sites More sharing options...
Aaron Schpitzer 1174936 Posted November 18, 2011 at 02:22 PM Author Posted November 18, 2011 at 02:22 PM I got another problem now. Contact form doesnt wanna work. In the action I just put "mailto:[email protected]". Anyone have a link to a good turorial or able to explain how to make it send properly, thanks 1174936, S3/P1 CZYZ FE CZUL, ZNY, ZOB, ZBW Visitor Canforce CEO Link to comment Share on other sites More sharing options...
Brian Fuller 973577 Posted November 18, 2011 at 02:46 PM Posted November 18, 2011 at 02:46 PM http://www.w3schools.com/ Link to comment Share on other sites More sharing options...
Daniel Hawton Posted November 19, 2011 at 04:00 AM Posted November 19, 2011 at 04:00 AM I got another problem now. Contact form doesnt wanna work. In the action I just put "mailto:[email protected]". Anyone have a link to a good turorial or able to explain how to make it send properly, thanks Google a form mailer. You can't set an action to an email address. Link to comment Share on other sites More sharing options...
Luke Kolin Posted November 19, 2011 at 04:21 AM Posted November 19, 2011 at 04:21 AM The answer to your question is yes. You grab the current .txt file that has all the activity on it, p[Mod - Happy Thoughts] it for your callsign, and display it. One suggestion: VAs don't own callsigns. One is far better off keeping track of the PIDs of all your members in the database, and only highlighting those individuals whose PIDs match those in your database. Even better, you grab the data and store it in a database, then you can actually track their activity history as well. Absolutely! Cheers! Luke ... I spawn hundreds of children a day. They are daemons because they are easier to kill. The first four remain stubbornly alive despite my (and their) best efforts. ... Normal in my household makes you a member of a visible minority. Link to comment Share on other sites More sharing options...
Recommended Posts