-
Posts
2773 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by simpilot
-
Many of the functions in app>config are also in local.config which is called last. Any function or configuration call that is in local.config will overwrite the same function in app.config. You should be changing things in local.config and also any functions that are not in it that are in app.config can be copied over to the local.config.
-
Errr, ok. I thought you were having problems with it. Glad to hear you got things working.
-
If it works and then doesnt and the does again, my guess would be it is the server causing issues, what configuration are you on? (free, shared, vps, dedicated)
-
Some Features Won't Work on !! CLICK HERE TO SEE !!
simpilot replied to syafiq's topic in Support Forum
Not sure what you have going on, it is hard to tell from your description and just looking at the public portion of your site. running - http://www.syafiq.0adz.com/install/checkdb.php and http://www.syafiq.0adz.com/install/checkinstall.php shows one error on the install side but I do not believe that is your issue. Doesnt really make sense that you can get to the admin panel, which you need to be logged in for, but cant access certain portions of the panel because your not logged in. Did you assign yourself to a group that does not have all the permissions necesarry? Have you tried in a different browser to see if it session related? Clear the sessions table manually using phpmyadmin or similar to see if there is something hung up there. Also clear the cache using the maintenance option. -
I think this has gone far enough... Locked.
-
Think this may help you http://forum.phpvms.net/topic/3340-if-page-is-main/
-
Works for me, might want to try FRONTPAGE in caps, some servers complain about it. Also to test that the function is there you can do -> <?php echo MainController::$activeModule; ?> That will show you what the controller is that you are on.
-
Not sure, are the folders all in the right place? It is odd that it goes back to the homepage. Did you change any of the code that determines the permission set for the modules?
-
In your template you will need to put an if statement to qualify if there is data or not. Maybe something like -> <?php if(!$myvariable) //"if" it is empty { echo 'There are no flights this month'; } else { Display your table } ?>
-
Not the same...... http://www.westjetvirtual.net/index.php/profile/view/4 to http://www.saavirtual.org/index.php/profile/view/3 Water over the dam now, use it, a new template for WJAv will be released on Aug 9th to coincide with a number of other milestones for WJAv
-
<?php if(MainController::$activeModule == 'frontpage') { do stuff } ?>
-
<?php if(MainController::$activeModule == 'yourmodule') { do stuff } ?>
-
I dont think this will fix the issue of all your form buttons going to a paypal donate link, the core nav file is just your menu, it does not have anything to do with form actions as far as I know... I would look through your tpl files with forms and see what the form action is, if they are correct then start looking in the individual functions within the modules and see what has gotten changed there.
-
There is nothing to resize the images at this time, it is all done in the template displays. If you want to add something in you would add it into the screenshots.php file in the save_upload function.
-
idk - but I do not believe it has anything to do with the AIRMail module. I just was meaning if you had used the find and replace function of your ide to replace the buttons and by accident chose replace all. Good Luck.
-
Every button now goes to the donate link? - sounds like you did a mass replacement and it changed all the code...
-
I think you mean to forward Mark. As of now it would have to be something in the data class. I would have to hunt around for a method, probably not really something I would build into a new version.
-
<?php $data = TouchdownstatsData::get_all_stats('7'); ?> In your template would fill the "$data" variable with all the stats for the month of July (7th month) if you change your data class to public function get_all_stats($month) { $query = "SELECT pilotid, code, flightnum, depicao, arricao, aircraft, landingrate, submitdate FROM `".TABLE_PREFIX."pireps` WHERE landingrate < '0' AND MONTH(submitdate) = '$month' ORDER BY landingrate DESC"; return DB::get_results($query); } You really should add the year in as well or you will be pulling all the july data from every year ]<?php $data = TouchdownstatsData::get_all_stats('7', '2010'); ?> public function get_all_stats($month, $year) { $query = "SELECT pilotid, code, flightnum, depicao, arricao, aircraft, landingrate, submitdate FROM `".TABLE_PREFIX."pireps` WHERE landingrate < '0' AND MONTH(submitdate) = '$month' AND YEAR(submitdate) = '$year' ORDER BY landingrate DESC"; return DB::get_results($query); }
-
REALScheduleLite beta 1.0 [DEPRECATED]
simpilot replied to simpilot's topic in Simpilot Group Addons
Not as it stands now. I can find a workaround for the next version when/if I write it. The module is looking for the location of the aircraft and then finding the next route for it from there, so if you have more than one route from the airfield it will show them all when you got to find the next flight for the aircraft. Probably have to use anbother db table to track each plane and work with departure times or something... Have to think about that one. -
Can you also post a link to the site, Thanks.
-
As they say, it takes all kinds to make the world go round.... As for Mr Mark Friday (saapilot), I did not bother to put out any of the bridges you left burning....
-
Why do people copy things? Changing a few colors and the header doesn't hide what has been done here. http://www.saavirtual.org - compare the css file to - http://www.westjetvirtual.net All you have to do is ask for help around here and usually someone will be more than happy to lend a hand.....
-
Posting Data to Multiple Modules in only one Form
simpilot replied to AFVA | Mitchell's topic in Support Forum
When you say other sites, do you mean a VA, a forum, and a gallery or such all on the same server or three sites hosted on different servers? Would not be too hard to do if all are in the same place using the same database, you could use the process registration hook to call your functions for the data to be inserted into the local database. You could do about the same thing for off site db inserts but would have to connect to each individually and then close the connection and move to the next etc....