-
Posts
95 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Jason
-
Ok I'll give that a try, and I don't know why it's working... Thanks a lot tho for your help! I really appreciate it
-
It's not the template part that's giving me the error, it when I add the code to the local config. And again everything works fine before I add this code.......
-
Simpilot, where are you adding your code in local.config. And are you use the exact code that you posted above?
-
Hm.. i have not changed anything in core/local.config.php. **Everything works fine until i add that code Am i supposed to simple copy and paste the code given, and add it below SITE_URL? I also tried it on a completely different server and va, but i get the same result. And basically what its doing is, i am not getting any error at all. it just displays everything as white.
-
Here is where i am currently adding it to when i get the blank site. Line 22 - local.config.php define('SITE_URL', '....my url'); I added this code directly below define('YOUTUBE_URL', '<a href="http://www.youtube.com">YouTube</a>'); If this is incorrect please let me know, and where i should put it.
-
I added that to my site, in local.config.php directly under where it defines the site url... However when i add that it just whites out my site. I dont get an error, i just dont see anything, at all. What am i doing wrong here
-
Is it possible to do this: I want to create a php url for an external URL (eg. youtube) Can you do this --> www.youtube.com translates to <?php echo YOUTUBE_URL?> and the youtube url entered would go there hope that makes sense Thanks!
-
Thank You Mark!! That works great, and has got ride of the error, If any one needs the final code, here it is: <?php error_reporting(0); include '../core/codon.config.php'; if(!Auth::LoggedIn() && !PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { Debug::showCritical('Unauthorized access!'); die(); } ?>
-
Mark, Could you help me with this one.... I google searched it and came up with several codes like this: session_destroy(); This does not work by itself, can you show me how to implement that code into: <?php include '../core/codon.config.php'; if(!Auth::LoggedIn() && !PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { Debug::showCritical('Unauthorized access!'); die(); } ?> Thanks!
-
Tom, here is what i found to work: <?php include '../core/codon.config.php'; if(!Auth::LoggedIn() && !PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { Debug::showCritical('Unauthorized access!'); die(); } ?> Everything works fine, and the file is secure, and will only allow admins However i get this error: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/sfg/public_html/va/Easy_Upload_Templates/unzipper.php:2) in /home/sfg/public_html/va/core/codon.config.php on line 40
-
Can you protect a .php file, so when an admin logs in they can acess the php file.. This code does not work for .php <?php if(!Auth::LoggedIn()) { Debug::showCritical('Please login first'); die(); } if(!PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { Debug::showCritical('Unauthorized access'); die(); } ?> I Really need this, and i cannot make the php file intoa .tpl If this is possible please let me know
-
Thanks for the interest. I currently have a few things to fix up (after Tom tested it) i will contact you when it ready.
-
Im not going to release it to the public yet, but if you would like to know, message me. Thanks
-
I am almost complete a module that i have been working on for awhile, and am looking for a beta tester, to try it out on their site. - I am looking to see how it works with other sites - What you think of it - and any way it can be improved Message me here at phpvms or leave a comment below and ill message you! thanks
-
The problem i am having is when my module try's to open a .zip file for example or .css, the url is www.mysite.com/index.php/modulename/filename.zip. However because it includes the "Index.php" the website trys to find a module, instead of opening the file. Is there anyway i can do this so the website opens the .zip file instead of trying to find a module.
-
I am creating a module and i am wondering if there is a way to only allow a specific group (admin) to use the module created.
-
As i said above, its something i need to fix, as of right now, just over right your current .tpl files with the ones provided, by copy and pasting whats in the files i wrote, to the .tpl files in your admin, and core templates. Hope that works,
-
Just over right your default .tpl codes with the ones provided. That will work fine, I will look into this problem. Thanks for letting me know!
-
No problem, and enjoy! If you get it working I would like to hear how you like it.
-
James, to download the file click on the "download free image above, you will be brought to my website, where you just click "download file!". To you second question, it doesn't add ? Marks to the home page,
-
Replace the simple default phpVMS text editor, with our advanced one! VMSEditor integrates tinyMCE into your virtual airline, to add an amazing and easy to use text editor 1.1 version adds the editor to Admin - Add a new page - Add news - Mass Mailer - Admin PIREP Comments Core - User PIREP Comments Please read the installation file enclosed in the downloaded file VMSEditor allows you to add: -Styles -Fonts -Colours -HTML -Images -Videos -Emoticons -Anchors -Custom Characters And Much More!
-
Replace the simple default phpVMS text editor, with our advanced one! VMSEditor integrates tinyMCE into your virtual airline, to add an amazing and easy to use text editor 1.1 version adds the editor to Admin - Add a new page - Add news - Mass Mailer - Admin PIREP Comments Core - User PIREP Comments VMSEditor allows you to add: -Styles -Fonts -Colours -HTML -Images -Videos -Emoticons -Anchors -Custom Characters And Much More!
-
Can this also work that if they sign up at the forum, their account will also be registered on phpvms?
-
For template and mod support, please ask the questions on our website. www.simflightgen.com Thanks
-
This script displays a floating bar that sits at the top of the window, which glides back into view when the page is scrolled. The default script includes a Guest only view, that gives them a link to login/register. Demo 1 Demo 2 Download Floating Bar Mod For support, please visit www.simflightgen.com and ask your questions there. This script is fully customizable, to fit the needs of your website. www.simflightgen.com