Jump to content
servetas

Rules and Regulations v1

Recommended Posts

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.

  • Like 4

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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"

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

  • Like 1

Share this post


Link to post
Share on other sites

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??

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

Please add me on my skype. It is servetas1. As soon as we find a solution, i will post it here.

Share this post


Link to post
Share on other sites

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

Immagine.png

Share this post


Link to post
Share on other sites

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/

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

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!) :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×