-
Posts
275 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Tylor Eddy
-
I'm pretty sure Cori is referring to the array of status's a pilot can be put under such as Active, Inactive, on LOA, banned, etc. I'd also like to know how to add and display this because i never seemed to get it working. Tylor
-
That is possible, if you go to pilots and groups -> then pilot groups and create a new group, youll be able to select options you want users to see when they are placed in that particular group, then all you have to do is add that pilot to the group you created. (under View All Pilots then edit there account) Regards Tylor
-
Looking forward to it, keep up the good work mate
-
[SOLVED] Calling website functions into a HTML Document
Tylor Eddy replied to Tylor Eddy's topic in Support Forum
Thanks Roger, i look forward to presenting it to you all once the it's completed -
[SOLVED] Calling website functions into a HTML Document
Tylor Eddy replied to Tylor Eddy's topic in Support Forum
Thank you so so much Paul!, Problem Solved -
[SOLVED] Calling website functions into a HTML Document
Tylor Eddy replied to Tylor Eddy's topic in Support Forum
G'day Paul, Thats working fine, when attempting to login itself it throws the 404 error, like below Not Found The requested URL /login was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Thats not related to the codon.config file is it ? This was using the code you provided above to call on the codon.config file. If you'd like i'll PM you the link to my site in development and you can take a look at it if it helps. I was just thinking a little further about this issue, could it involved login.php within the core/modules/login folder ? or does codon.config.php overide the need for this ? Regards Tylor -
[SOLVED] Calling website functions into a HTML Document
Tylor Eddy replied to Tylor Eddy's topic in Support Forum
G'day Paul, linking that to index.php/login wouldn't be correct would it? seeing as thats the directory to the login page. Tylor -
[SOLVED] Calling website functions into a HTML Document
Tylor Eddy replied to Tylor Eddy's topic in Support Forum
G'day Paul, Thanks for the help setting up the URL directory for the codon.config file, i now have no errors displaying on the lightbox module itself and the form is displaying normally. My issue now is when i went to test the form in an attempt to login, i am presented with this error. Not Found The requested URL /login was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Any Idea's on this one ? Tylor -
Just another idea to add to this module which would be great, Would it be possible to have like a page that displays the award types, as well as the amount of pilots to receive a particular award and also the last person to receive a particular award ? That would be the icing on the cake with this module Tylor
-
[SOLVED] Calling website functions into a HTML Document
Tylor Eddy replied to Tylor Eddy's topic in Support Forum
Thanks for your support Paul, and the including the corrections for the mistakes i made, very handy. now i'm recieving a codon.config related error. This is what im getting Warning: include(/core/codon.config.php) [function.include]: failed to open stream: No such file or directory in /home/qantasvi/public_html/newsite/lib/skins/qantasvi/pilot-login.php on line 4 Warning: include() [function.include]: Failed opening '/core/codon.config.php' for inclusion (include_path='.:/usr/lib/php') in /home/qantasvi/public_html/newsite/lib/skins/qantasvi/pilot-login.php on line 4 I've tried adding a full directory but that isn't co-operating. Other than that the form is displaying, so we're almost there! -
[SOLVED] Calling website functions into a HTML Document
Tylor Eddy replied to Tylor Eddy's topic in Support Forum
Ok i have found out that i can in fact use a .php file with this lightbox module, and i've tried calling the form with php but im not quite sure on the correct syntax for this. Here is what i have <head> <script> <?php include '/core/codon.config.php'; ?> // You can then access the API normally from here </script> </head> <body> <?php { echo '<form name="loginform" action="<?php echo url('/login'); ?>" method="post">'; echo 'Sign-in with your pilot id or email, or <a href="<?php echo url('/registration'); ?>">register</a><br />'; echo '<input type="text" name="email" value="" onclick="this.value=''" />'; echo '<input type="password" name="password" value="" />'; echo '<input type="hidden" name="remember" value="on" />'; echo '<input type="hidden" name="redir" value="index.php/profile" />'; echo '<input type="hidden" name="action" value="login" />'; echo '<input type="submit" name="submit" value="Log In" />'; echo '</form>'; } ?> </body> how can i display my form with php? any help would be great, im useless with php haha, but i'll learn it one day This is the error it throws Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /home/qantasvi/public_html/newsite/lib/skins/qantasvi/pilot-login.php on line 14 Tylor -
[SOLVED] Calling website functions into a HTML Document
Tylor Eddy replied to Tylor Eddy's topic in Support Forum
The form itself is still the stock phpvms login form which i placed into a html file. What i tried to do was use the HTML file which is used by the lightbox module to display the login form inside this module ( the module is this one here: http://codecanyon.ne...volution/115655). I can view the form fine, but the php functions wont work and now i know why. My delema now is working out how to modify that module to accept a .tpl or .php file to get the form to work correctly. i'm presuming theres no way to manipulate the login form to not require the need for php ? Also would something like this work ? http://www.zubrag.com/forum/index.php?topic=61.0 -
[SOLVED] Calling website functions into a HTML Document
Tylor Eddy replied to Tylor Eddy's topic in Support Forum
Makes Perfect sense, Thanks for your help Paul much appreciated -
[SOLVED] Calling website functions into a HTML Document
Tylor Eddy replied to Tylor Eddy's topic in Support Forum
G'day Paul, Just gave it a shot and i still receive the forbidden error when trying to login through the HTML file, should i be able to use a HTML file to login provided i include the website API ? Tylor What im attempting to do is have a popout login form, which is run by jquery. -
[SOLVED] Calling website functions into a HTML Document
Tylor Eddy replied to Tylor Eddy's topic in Support Forum
G'day Guys, I've been looking into the documentation and in order to get the website functions to work i need to call codon.config.php into the document. Basically i want to call the login form from a .html document instead of a .tpl so it will be compatible with my popout login box. Currently i have this but i am not doing something right, so a nudge in the right direction would be handy right now <head> <script> include '/core/codon.config.php'; // You can then access the API normally from here </script> </head> <form name="loginform" action="<?php echo url('/login'); ?>" method="post"> Sign-in with your pilot id or email, or <a href="<?php echo url('/registration'); ?>">register</a><br /> <input type="text" name="email" value="" onclick="this.value=''" /> <input type="password" name="password" value="" /> <input type="hidden" name="remember" value="on" /> <input type="hidden" name="redir" value="index.php/profile" /> <input type="hidden" name="action" value="login" /> <input type="submit" name="submit" value="Log In" /> </form> <script type="text/javascript"> $("#loginform").submit(function(ev) { if ($("#username").val() == "" | $("#password").val() == "") { $.lightbox().shake(); ev.preventDefault(); } }); </script> This is the error i recieve when trying to submit the form. Forbidden You don't have permission to access /< on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. -
G'day Guys, I am creating a popout login page, this page requires the form in a HTML document which is fine, but is there a way of calling a particular file to integrate the HTML document with my site, currently none of the php for the login form is working as its not a tpl file and im presuming the sites functions require a particular file to be called within the HTML document for any of the php to become effective. Anyone know how i can go about getting this to work ? Regards Tylor
-
Here's my pilot admin, im using a jquery fisheye menu which adds a nice touch to the icons Pretty basic, but serves its purpose well. Tylor
-
Looking forward to it Jeffrey
-
Definitely something i would love to be able to fix up also, i resorted to manually making modifications within my database for my schedules, but that is ALOT of work, so that project is on hold for the moment.
-
i didnt have that for some reason, i added it into my local.config.php and still no luck, it will still let me bid on those aircraft. I'm running version 2.1.934 I'm not sure what's going on but any help would be appreciated Regards Tylor
-
G'day Kyle, Just had a go at implementing the code you provided and it will still allow me to bid on an aircraft that is set for a higher rank that i currently am. I just took a look at my local.config.php file and there is no setting in there regarding the restriction of aircraft to ranks, so i may be missing that setting which is preventing it. Is there an actual setting for this in the local.config.php file ? Thanks for digging up the code mate Tylor
-
I have just stumbled across this and am also having trouble implementing it, i have fiddled with the php but cant seem to get it to work correctly, bidding on a flight for an aircraft ranked higher will simple continue to allow the bid to go through. Any help would be great Tylor
-
Thanks mate, I was missing this which is why it wouldnt display correctly -webkit-appearance: none; Tylor
-
This is an amazing module Kyle !!!! Thank you for all your hard work, works wonderfully on my site, just fiddled around with it and its working just fine, now all thats needed are the award images haha I really love the fact you can categorise awards, great idea ! One thing though, could you add a feature to remove an award type as well as the awards themselves? just i added an extra i didnt need and had to go into the database to remove it Thanks again mate, your hard work is definitely appreciated Regards Tylor
-
Thanks for the reply itrobb, I've been fiddling around with this, but it just wont co-operate: http://bavotasan.com...using-only-css/ What i cant get it to do is display the image, and also i cant get the field to stay my current rounded style, it wants to go square. Tylor EDIT: I've actually managed to remove it so there is no arrow at all, it looks ok so i may just stick with that Thanks for your support mate, greatly appreciated.