
Kieran
Members-
Posts
176 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Kieran
-
This is fixed in the latest beta version. Click 'Recalculate Distances'
-
Will do, thanks. On my google maps, the routes just show a straight red line... should this be showing VORs and intersections etc?
-
Right, this whole SMTP thing is really confusing (mail in php has never been on my side :{ ) With the SMTP enabled, I get notifications telling me when a new user registers, new pirep filed etc. The SMTP Mail Sender (no-reply) and the notification recipient are on the same mail server. However, registration always fails to deliver the email to the user: And also the same happens when approving a PIREP. I'm pretty sure it's not blocked by my host as it works with other scripts, just not phpVMS.
-
So, does this ForumRegister module automatically add a user when they register? My phpbb tables are in the same location as my phpVMS tables. Theres no include() or similar that I need to have in the register module?
-
That would be: $pilotid = $fname . ' ' . $lastname . ' ' . $code . $pilot_id; simply throw in some quoted spaces and join them with the full stop. That would result in, in my case: Kieran McHugh KLM227
-
So you simply add the ForumRegister module... and that's it? Is there anything that you need to modify in the registration scripts?
-
I'm also having real trouble importing NavDb.sql due to its huge size. What method is best?
-
Thanks for that produced some great design using it. Does phpVMS have an RSS create and RSS write function?
-
Sometimes I do have to click it furiously for it to do anything The whole double-click-to-confirm system, in my opinion, needs removing.
-
Right Thanks... I want to run an if/elseif/else statement to test what page somebody is currently on. The header menu will be highlighted to whatever page somebody is on eg. Home Contact About Join Do you have an idea about how to do this? if (module is contact) {show this menu}
-
Thanks. Another one as well. Do the news items get instered into an RSS feed by default?
-
Hello, three enquiries here: 1. I was reading about 'How Addons work' and I notice you pass variables through GET like this... class ModuleTest extends CodonModule { public function pageone($fruit='', $orange='') { ... How would I do the same using POST variables? 2. Is there a way to disable automatic flight logging? I suppose I could just delete the links to the config files but that's not all too professional. 3. Is there a specific set of standars guidelines for phpVMS addon developers? I plan on writing some soon so it's quite important that I am aware of any regulations. Thanks! Kieran
-
Just realised that :S If he speaks to his host and provides some samples of the scripts then perhaps they would be able to help him sort any problems. Best of luck.
-
If the maintenance mode check seems to be the problem, could you bypass it by deteing the small chuck of code?
-
Try setting it up on a completely different webserver. If it works then you know that your host is the problem. Try downloading the original scripts from the phpVMS website and replacing the affected files with the factory fresh ones. If all else fails, just import your MySQL data and do a fresh website install.
-
Well if you tested exactly the same scripts on a different host and they turned out to be OK, then you know that the recent php changed must be the cause.
-
Well, that was easy Turned out I had: Config::Set('EMAIL_SMTP_USE_AUTH', ); Should have been: Config::Set('EMAIL_SMTP_USE_AUTH', false); I'll check out the API and spend a week or two writing a very thorough registration script which I will release if I complete it. Thanks, kieran.
-
Can you also confirm that lines 114 to 141 in: core/common/PilotGroups.class.php look like lines 114 to 141 in: http://docs.phpvms.net/internals/de/d70/_pilot_groups_8class_8php_source.html
-
I know, this just adds to the bizzareness of the situation. For the moment though, my whole site is just white for no apparent reason! Index.php is definitely intact and I can't see valid reason for this behaviour. I'm on revision 870. Thanks!
-
The code relating to line 45 at index.php (on my server, at least) relates to maintenance mode. It says: If maintenance mode is on { RUN CORRUPTED STATEMENT } The statement on line 45 checks if a user has permissions to override the maintenance mode. If maintenance mode is on, turn it off, see if that helps. Lines 42-51 (check if they match) # Check if we're in maintenance mode, disable the site to non-admins if(Config::Get('MAINTENANCE_MODE') == true && !Auth::LoggedIn() && !PilotGroups::group_has_perm(Auth::$usergroups, FULL_ADMIN)) { echo '<html><head><title>Down for maintenance - '.SITE_NAME.'</title></head><body>'; Debug::showCritical(Config::Get('MAINTENANCE_MESSAGE'), 'Down for maintenance'); echo '</body></html>'; die(); } Could also be to do with the group_has_perm function, I'm not familiar with the API yet so I can't help with that one.
-
I think he means that: Once a pilot has flown to an airport, they have to execute a return flight before doing any other flights. I don't think this functionality exists yet, but perhaps it's another challenge for Nabeel (it sounds like he has his hands full, though!). Perhaps I'm wrong, it might exist.
-
Now for some reason the emails successfully send with google, but this breaks the registration (weird! looks like I've identified the cause of my other error).
-
I currently use SMTP as provided by my (now paid) web host. I'll see if google performs and better. I can log on using Office Outlook 2010.
-
I sent a mail successfully to an email address on the same mail server indicating that the settings are correct. Whether it's just hotmail I'm not sure.
-
Invalid address: You must provide at least one recipient email address. Confirmation Sent Thanks for registering for us, you will be notified via email of your registration status. SMTP Error: The following recipients failed: -----@live.com