Moderators servetas Posted September 2, 2012 Moderators Report Posted September 2, 2012 Rules and Regulations v1.1 You can add rules categories and add new rules to these categories. After that you may remove the Registration for from the public and just redirect your users to this page. The user has to accept the rules in order to proceed with his registration on your virtual airline. This module was developed by php-mods and it is registered under Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. How to Install? Copy and upload the files same as the structure as your phpvms files. Run R&RInstallSql - this is going to install the database tables. Delete R&RInstallSql folder. (IMPORTANT) If you want to link your website's visitors/users to this module, use this: www.yoursite.com/index.php/scenery -or- <?php echo url('/ruleregs'); ?> Screenshots Rules Category Administration: http://php-mods.eu/m.../ruleregs/1.jpg Rules Administration: http://php-mods.eu/m.../ruleregs/2.jpg Module's public page for those who are not logged in: http://php-mods.eu/m.../ruleregs/4.jpg Module's public page for those who are logged in: http://php-mods.eu/m.../ruleregs/3.jpg Download The module has been uploaded on github and you can download it here. Support will be offered by this forum. If you have any questions do not hesitate to contact us. 4 Quote
Txmmy83 Posted September 2, 2012 Report Posted September 2, 2012 thank you very much for this module will be soon in use at my Airline best regards, Thomas Quote
Moderators servetas Posted September 2, 2012 Author Moderators Report Posted September 2, 2012 Thank you very much! If you have any problem just post it . More modules to follow... Quote
Txmmy83 Posted September 2, 2012 Report Posted September 2, 2012 small problem it installed right but I have small problem when I add a category with the admin backend it doesn't appear in list message is You have not added any rule categories yet. looked in my database via cpanel the table structure is there but no added entry categorie any ideas? Quote
Moderators servetas Posted September 2, 2012 Author Moderators Report Posted September 2, 2012 Can you check your database table named YOURTABLEPREFIXrules_categories if your value exists there? This will help me understand where is the problem (on the category insert or on the category list). Edit: Did you run the R&RInstallSql in order to install you database tables? Quote
Txmmy83 Posted September 2, 2012 Report Posted September 2, 2012 yes I ran the install script in database I have the following phpvms_fssrules phpvms_fssrules_categories it seems that the mod does not write into database could it be that the name need to be changed "fssrules_categories" to "rules_categories" and "fssrules" to "rules" Quote
Moderators servetas Posted September 2, 2012 Author Moderators Report Posted September 2, 2012 Ok, problem solved. Just re-download the R&RInstallSql folder and re-run it. I had set it to install the tables with the prefix i am using for my own site . You can find it on github. You can also delete those tables (phpvms_fssrules & phpvms_fssrules_categories) because the installer is going to create the new one's. Quote
Txmmy83 Posted September 2, 2012 Report Posted September 2, 2012 just done it my self via database works like a dream now 1 Quote
Moderators servetas Posted September 2, 2012 Author Moderators Report Posted September 2, 2012 Great! 1 Quote
Txmmy83 Posted September 2, 2012 Report Posted September 2, 2012 a question not exactly mod specific but partly it is for a LOA policy what is realistic when did your VA need pilots to file a LOA request? 14 days or more? Quote
Moderators servetas Posted September 2, 2012 Author Moderators Report Posted September 2, 2012 Unfortunately we are not using LOA so personally i cannot help you . If someone could suggest us or inform us about his va policy, it would be great! Quote
Txmmy83 Posted September 2, 2012 Report Posted September 2, 2012 Unfortunately we are not using LOA so personally i cannot help you . If someone could suggest us or inform us about his va policy, it would be great! I may ask Sava who created the LOA mod Quote
TAV1702 Posted December 7, 2012 Report Posted December 7, 2012 I really like this mod and it works great. I think it would be top notch if after creating a new rule or category, when it says success, it would auto redirect back to the rules regs main. Quote
Moderators servetas Posted December 7, 2012 Author Moderators Report Posted December 7, 2012 Obviously i left something behind . I'll do this during the afternoon. Quote
Moderators servetas Posted December 29, 2012 Author Moderators Report Posted December 29, 2012 UPDATE V1.1 (30/12/2012) We would like to inform you that the version 1.1 has been released. We just edited the module's files after TAV1702' s request. You may find the download like on the first post. 1 Quote
TAV1702 Posted January 4, 2013 Report Posted January 4, 2013 Nice! Thanks. Will go check it out now. Quote
lanousbh Posted May 6, 2014 Report Posted May 6, 2014 Hi, I've downloaded the mod' but when i use accent like "é,è, ê or à " it not appear the good way. For exemple I write "Généralité" ( yes I'm french) and it appears like " Généralite" Do you know why?? Quote
Moderators servetas Posted May 7, 2014 Author Moderators Report Posted May 7, 2014 Hello, Do you have access to your phpmyadmin? If yes, please find your TABLE_PREFIX rules table and check the "rules" field collation. Is it utf8_general_ci? Quote
lanousbh Posted May 8, 2014 Report Posted May 8, 2014 Yes it is in ut8 general ci. I've seen that others table are in latin general ci. So I've tried but doesn't work. Any other idea? Quote
Moderators servetas Posted May 8, 2014 Author Moderators Report Posted May 8, 2014 Please add me on my skype. It is servetas1. As soon as we find a solution, i will post it here. Quote
gio1961 Posted November 8, 2014 Report Posted November 8, 2014 Hello ... I have a problem with the form, you can see from the photo the checkbox "theCheck" is not enabled but the button. The button should not be active when you click on the "theCheck"? risovere like this? Thanks for a possible answer. Best regards Quote
Moderators servetas Posted November 9, 2014 Author Moderators Report Posted November 9, 2014 Hello, Can you please let me know what is your website and which browser are you using? Quote
gio1961 Posted November 9, 2014 Report Posted November 9, 2014 Thanks I solved the problem of skin ... Quote
Angel Air Posted April 15, 2015 Report Posted April 15, 2015 Is there a way of linking this to the registration Page so that they cant register until they agree to the rules? Quote
Moderators servetas Posted April 15, 2015 Author Moderators Report Posted April 15, 2015 You can just redirect your visitors to the module as soon as they press the registration button and as soon as they accept the rules they will be redirected to the registration form. Here is how i am using it on my website: http://greeceairwaysva.com/ Quote
MichaelKattirtzis Posted February 17, 2016 Report Posted February 17, 2016 Hello and thank you for your work ... I have this error can someone help me ? Deprecated: Non-static method RuleregsData::getAllRuleCat() should not be called statically, assuming $this from incompatible context in/home/helle472/public_html/core/modules/Ruleregs/Ruleregs.php on line 12 (greek transmition : Parapoli kali doulia file bravo) Quote
Moderators servetas Posted February 17, 2016 Author Moderators Report Posted February 17, 2016 Hello Michael, It is a known issue with the latest php versions. Please open your core/common/RuleregsData.class.php file and replace where "public" = "static". This will solve the issue. Alternatively, copy-paste the file contents via here. (greek transmition too: ΕυχaÏιστώ Ï€Î¿Î»Ï Ï†Î¯Î»Îµ μου, νa σaι κaλά!) (Thank you very much my friend, have fun!) Quote
MichaelKattirtzis Posted February 18, 2016 Report Posted February 18, 2016 Flawless perfect fix everything is working nicely and as it should thanks once again Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.