Sava
Members-
Posts
575 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Sava
-
I don't think it will work in Dreamweaver at all..you need a PHP/MySQL server for everything to work. Try it on your live site, and I believe you are missing the opening and closing PHP tags. Just a pointer, a kind one, I always try and let you know that answers to most of the things you and others ask are available in the documentation (be it phpVMS, SMF, Dreamweaver) provided. So, instead of waiting for others to reply, try and see if you can fix it yourself in the meantime, and show a little bit of desire to solve things yourself. That way you give motivation for others to help you. Just as an example, if you tried the code on a live server, you'd see if it works. Seeing your previous posts it doesn't seem like you tried. If you did and it displayed the code in plain text, a quick Google search would most probably give a solution or atleast a hint on where to look at. Take this as friendly advice.
-
Depends on what you want to be displayed. It should work now and display links to 5 latest topics. Is it working now?
-
The error is fixed then. Nothing being displayed leads me to believe that you are calling the function the wrong way. I've checked out the docs, seems that is the case. You are missing one argument. Try this: include('./forum/SSI.php'); $topics = ssi_recentTopics($num_recent = 5, $exclude_boards = null, $include_boards = null, $output_method = 'array'); foreach ($topics as $topic) { echo $topic['link']; }
-
include('./Forum/SSI.php'); Relative path means relative to the location of the file where you are including SSI.php This would work if your forum folder is in the root of your phpVMS installation.
-
Your server/host has disabled including of files by URL. You'll need to include it by using a relative path.
-
if(Auth::UserInGroup($Aero Club)); Delete the semicolon ( edit: Just noticed you fixed it...sorry
-
Thanks Stephen! @VirtualAirlines You can check out my website http://www.savamarkovic.com/ (and click on Services) to see a list of packages. My prices start at a bit higher then your current budget. If you are interested, send me a PM and we can work from there. Thanks!
-
1. Yes, open up the layout.php (.tpl) file inside lib/skins/crystal and link to another image, or just see where the default logo image is located and copy an image there with the same name and extension, overwriting the old one. 2. Yes, all can be done via the .css file. If you are using Mozzila, right click on any part of the page and click on "Inspect Element". It will show you which file and line you need to edit. 3. core_navigation.php (.tpl) file contains the menu by default. The file is located in core/templates 4. Delete the install folder from your root installation directory using either your web admin panel (most likely cPanel) or using FTP.
-
Warning: Invalid argument supplied for foreach() in Schedules_results
Sava replied to FlyingMachine's topic in Support Forum
Well, I don't see what the issue is. foreach(), as the name says, does the same action for each of the objects in the array. If the search is without results, it won't have anything to go over and will give you an error saying that what you have supplied as an argument to the function is invalid (empty in this case). What you can do is something like this. <?php if($flights_variable) { foreach($flights_variabls as $flight) { //do stuff } } else { echo 'There are no flights for your search criteria'; } You get the overall idea I hope. And also, as there have been a lot of posts lately similar to yours, Google is your friend, and errors in PHP are usually pretty straight forward. It would have taken you less time to find and answer using Google then it would have taken for me or someone else to reply. And, you would have learned something new along the way. Just a friendly tip. Sava -
You haven't ported the template correctly. Re read the tutorial and see how the default crystal theme is structured.
-
Unfortunately, I don't. I provide paid services to customers, and I am currently really busy and can't get the time for that. You can post here though and me and others will try and help you as much as we can.
-
As the error suggest, you are sending the browser to a wrong URL, referencing a non-existent method of a controller . class 'Schedules' does not have a method 'viewaction' Check out the default template in core/templates and make changes. We can't help you any more without the actual code. The line you are referencing in MainController.php isn't what you should be looking at.
-
While it is nice to provide for the community, and the original template is free to be shared, it would have been better if you mentioned that the design is not yours. http://templated.co/azure
-
I actually didn't release it. It worked for my VA for the next 2 years until we shut down. Worked perfectly together with a custom version of kACARS that didn't include charters. I might actually release that, but I have to investigate how it would work with other ACARS systems and actually take a look at the code again, considering I wrote it 2 years ago.
-
I can help you with your website and modules. Message me if you are interested.
-
Actually, you'll be calling the method like this: OperationsData::countAircraftByICAO($icao) - note the OperationsData:: part.
-
Should be either frontpage_main or layout. Both inside lib/skins/<skinname>
-
Use php's round() function. Manual Reference: http://php.net/manual/en/function.round.php
-
Posted 08 March 2013 - 06:02 PM
-
If I understood you correctly, you want to show the logo image in pireps_viewall template file. If so, first of all, make the two images and name them GOL.jpg (or png or whatever) and WEB.jpg. Place them in some folder and then do: <img src="<?php echo SITE_URL;?>/path/to/image/folder/<?php echo $report->code;?>.jpg" alt="<?php echo $report->code;?>
-
Your site is offline....
-
phpVMS Development Services (Modules, Skins and more!)
Sava replied to Sava's topic in Paid Services
Thanks for the kind words, I really appreciate it. -
phpVMS Development Services (Modules, Skins and more!)
Sava replied to Sava's topic in Paid Services
Just giving you guys an insight into my latest project for the guys over at VirtualJet2. The project included a custom skin and pilot center. Images are attached below. Interested in having your VA site developed? Check out the packages I provide at http://www.savamarkovic.com/services -
Might be easier for you to post it here so if down the line someone needs it, he can find it here
-
Let's first start by having you write your posts in a way that won't require people to read them five times in order to have at least a basic understanding of what you were trying to say.