-
Posts
1954 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by TAV1702
-
As was pointed out earlier in this thread, the author ported this template and uploaded it without permission from the original author. It is a paid template. Once he was busted out for ripping off templates, he took down his site and has not been heard from since. I have looked through my files and I no longer have the original. Mine is so edited and reworked, only the colors and images remain as default. All the rest is completely different...... in it's own kind of way.
-
Thanks Sim. I appreciate it.
-
As with many other addons around here, I don't think Nabeel has made any hooks to catch an event only after it is accepted. This has been an issue with phpBB auto register and a few other scripts. On another note, I would love to figure out that API thing to log people in automatically to the forum once logged on to phpVMS. I have looked at it a few times and can't make heads or tails of it.
-
I have the file, but not that line of code. I am using Simpilot's phpVMS Extended.
-
THat is a bit on the tricky side with the template that you are using. You really need to tweak the addon as well as the template both. When I used that template, I had to alter everything to fit on the site. It is nice template, but time consuming. Ill see if I can dig up my old template and take a look at how I made it all fit in to mine.
-
Yeah actually it does. I think yours is identical to mine <?php Screenshots::show_random_screenshot(); ?> Not sure why yours don't work to be honest. Mine worked right out of the box. Have you tried any of the other available functions to verify that they work or not? Here is a quick little something I dug up too if all else fails http://forum.phpvms.net/topic/8357-can-someone-help-me-with-sp-screenshot-mod/
-
Anyone know a trick around this area now since that line is no longer in the specified file in option #1?
-
Yeah actually that would work out. The move part is a concern. I have had folks posting in the wrong places and it gets a forum out of shape real fast.
-
The need to move posts accordingly ( category to category). Now the way it is, I think something is not right with trying to move posts. It won't allow to choose another category.
-
Nice! I think it would be sweet if an admin can create a job and pilots could apply for the job like in a employment center or something of that nature. In the admin center an admin could approve or reject the application for the job.
-
I have this working on a site of mine. The issue is now, I don't remember how I fixed it. The problem is, if you have a flight marked as Cargo in the schedule, when the pirep is filed, it is automatically saved in the database as a passenger flight. I do not recall how I fixed it to make mine work. If I figure it out, I will surely let you all know.
-
Free hosting does not work with phpvms at all really, glad to hear your getting a paid host. And yeah, the route error is strictly a JS error. I had it in one of my layouts I was using and what it amounted to was in the layout tpl file in the header, the order of the java was being called wrong. I had to switch the order around until I got it right. In another instance, the java library was being called twice, once by a module and another by phpvms it self. It is a PITA to figure out.
-
I might be barking up the wrong tree here, but that is a php 5.3 compatability issue that is floating all over the net these days. if you have something like ImageFontHeight($which_font) try using ImageFontHeight( (int)$which_font ); Now I could be totally out of line on that one. If I am please disregard.
-
Thanks Lor, I'll give that a try and see what happens.
-
Hello everyone. I have the cron job setup to run once a week on my site to do all the maintenance and when it runs, it resets the flights count on pilot roster and public profiles and in pilot center to 0. I found this in the maintenance.php file : MainController::Run('Maintenance', 'resetpirepcount'); MainController::Run('Maintenance', 'resethours'); Is it safe to say that I can get rid of the resetpirepcount part to stop this from happening? I get LOADS of inquirys every week as to why their flight count is 0 again. I tell them it is the cron job but in their eyes we do not know what we are doing and a few have left over this already. Personally, I see no reason why to ever reset the pirep count on a weekly basis.
-
I seriously do not recommend adding php or anything after the page is created. When you save or try to edit, it will jack the code all up. How I do it is simply create the page and as was said, make it public. Add NO content to it. Next go to core/pages/your new page and edit the file directly and add your content. Then upload your new file. The page will display nice. Any time in the future you need to edit your created pages, do them via your file editor. Never do it via the phpVMS admin panel.
-
http://forum.phpvms.net/topic/4736-can-i-have-a-clean-code-of-the-pilot-roster-with-no-hubs/page__hl__%2Bclean+%2Bpilot+%2Broster
-
Yeah check the order of the java in the header of layout.tpl. I had that issue in a skin I was working on and once I got the java order figured out, all issues I had schedules related went away. It has been a couple years though so I would not know exactly what I did. It took me a good week or so to get it figured out.
-
Ok so in the StatsData.class.php I found the following: /** * StatsData::updateTotalHours() * * @return */ public static function updateTotalHours() { $sql = "SELECT SUM(TIME_TO_SEC(flighttime_stamp)) AS `total` FROM `".TABLE_PREFIX."pireps` WHERE `accepted`=".PIREP_ACCEPTED; $totaltime = DB::get_row($sql); if(!$totaltime) { $totaltime = '00:00:00'; } else { $totaltime = Util::secondsToTime($totaltime->total); } SettingsData::SaveSetting('TOTAL_HOURS', $totaltime); } /** * Get the total number of hours flown by pilots */ public static function TotalHours() { return SettingsData::GetSettingValue('TOTAL_HOURS'); } I can see where it is getting the seconds from, editing that does no good. Does anyone have a clue? I am sure the seconds need to be counted to keep an accurate count, but to display on the website is over kill. I would rather it just be hours:minutes i.e. 09:23
-
Yeah so I am not figuring this out. I have looked everywhere until I was blue in the face and I am not finding out where the flight times are being pulled from. The time shows up like that in the admin panel dashboard, latest arivals on the front page, and just about everywhere else that has flight times listed. Does anyone know where in the admin files the time is figured up and tossed out on to the site? Maybe it is a module file and not and admin file?
-
I took a wild guess and edited a couple areas and it didnt work so not sure I was even in the right place. Ill go back and look. I think that is my problem is I am trying to edit the wrong files or something.
-
I am getting a format like : Total Hours Flown: 1400:19:15 I get this on multiple areas of my site. I can deal with the minutes but I would like to loose the seconds. Can anyone point me in the right direction. I made a few edits here and there that I found in that format but nothing changed.
-
Hi Tom. Long time nochit chat. Hope all is well your way. I just bumped in to something after using the forum the last few years. I have had this happen twice now. I will use you and I as the example. Here is the order of the problem: 1. Tom posts a new post 2. Ray replys to the post and submits. 3. Upon returning to the the forum I just replied to Tom in, there is no reply. Only the original post. 4. Ray checks the database to find that the data for the reply was entered in to the database correctly. 5. Ray checks latest forum posts on front page and it shows that I was the last to post but yet when clicking that link and going to the forum, there is no reply at all. 6. No matter if I go to the forum directly, or through the link from the latest posts, the reply will not be there. 7. Having others try to reply, same thing happens. Only the OP's post shows up. No replies. Odd to say the least. This has only ever happened twice and it was to 2 different people about a month or two apart frome ach others occurence. No matter what I do, I can not recreate this problem. Ideas? Thoughts? Concerns? Lets chat! On a side note, Any way to get http://forum.phpvms.net/topic/5342-to-get-the-pagination-for-the-schedules-to-work/page__hl__datatables that to work in the forum? My topics listing is getting quite long. I have tried to get that to work only to fail miserably.
-
Nice hearing from you Nabeel. Glad to hear things are in progress. Sorry to hear about the long work weeks though. That gets old after a while.