# Rules and Regulations v1

**URL:** <https://forum.phpvms.net/t/rules-and-regulations-v1/7166>\
**Category:** PHP-Mods Addons\
**Created:** [September 2, 2012, 9:03am UTC](https://forum.phpvms.net/t/rules-and-regulations-v1/7166 "2012-09-02T09:03:12Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![servetas](https://forum.phpvms.net/user_avatar/forum.phpvms.net/servetas/32/75_2.png) [@servetas](https://forum.phpvms.net/u/servetas)\
**Post date:** [September 2, 2012, 9:03am UTC](https://forum.phpvms.net/t/rules-and-regulations-v1/7166/1 "2012-09-02T09:03:12Z")

</div>

**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](http://php-mods.eu/) 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](http://php-mods.eu/modules/photos/ruleregs/1.jpg)

Rules Administration: [http://php-mods.eu/m…/ruleregs/2.jpg](http://php-mods.eu/modules/photos/ruleregs/2.jpg)

Module’s public page for those who are not logged in: [http://php-mods.eu/m…/ruleregs/4.jpg](http://php-mods.eu/modules/photos/ruleregs/4.jpg)

Module’s public page for those who are logged in: [http://php-mods.eu/m…/ruleregs/3.jpg](http://php-mods.eu/modules/photos/ruleregs/3.jpg)

**Download**

The module has been uploaded on github and you can download it [here](https://github.com/phpmods/Rules_and_Regulations_by_phpmods/archive/master.zip).

Support will be offered by this forum. If you have any questions do not hesitate to contact us.

---

<div class="post-metadata">

**Author:** ![Txmmy83](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/t/f14d63/32.png) [@Txmmy83](https://forum.phpvms.net/u/Txmmy83)\
**Post date:** [September 2, 2012, 11:40am UTC](https://forum.phpvms.net/t/rules-and-regulations-v1/7166/2 "2012-09-02T11:40:24Z")

</div>

thank you very much for this module

will be soon in use at my Airline

best regards,

Thomas

---

<div class="post-metadata">

**Author:** ![servetas](https://forum.phpvms.net/user_avatar/forum.phpvms.net/servetas/32/75_2.png) [@servetas](https://forum.phpvms.net/u/servetas)\
**Post date:** [September 2, 2012, 11:41am UTC](https://forum.phpvms.net/t/rules-and-regulations-v1/7166/3 "2012-09-02T11:41:24Z")

</div>

Thank you very much!

If you have any problem just post it . More modules to follow…

---

<div class="post-metadata">

**Author:** ![Txmmy83](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/t/f14d63/32.png) [@Txmmy83](https://forum.phpvms.net/u/Txmmy83)\
**Post date:** [September 2, 2012, 12:58pm UTC](https://forum.phpvms.net/t/rules-and-regulations-v1/7166/4 "2012-09-02T12:58:20Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![servetas](https://forum.phpvms.net/user_avatar/forum.phpvms.net/servetas/32/75_2.png) [@servetas](https://forum.phpvms.net/u/servetas)\
**Post date:** [September 2, 2012, 1:02pm UTC](https://forum.phpvms.net/t/rules-and-regulations-v1/7166/5 "2012-09-02T13:02:27Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Txmmy83](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/t/f14d63/32.png) [@Txmmy83](https://forum.phpvms.net/u/Txmmy83)\
**Post date:** [September 2, 2012, 1:14pm UTC](https://forum.phpvms.net/t/rules-and-regulations-v1/7166/6 "2012-09-02T13:14:47Z")

</div>

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”

---

<div class="post-metadata">

**Author:** ![servetas](https://forum.phpvms.net/user_avatar/forum.phpvms.net/servetas/32/75_2.png) [@servetas](https://forum.phpvms.net/u/servetas)\
**Post date:** [September 2, 2012, 1:20pm UTC](https://forum.phpvms.net/t/rules-and-regulations-v1/7166/7 "2012-09-02T13:20:08Z")

</div>

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](https://github.com/phpmods/Rules_and_Regulations_by_phpmods). You can also delete those tables (phpvms\_fssrules & phpvms\_fssrules\_categories) because the installer is going to create the new one’s.

---

<div class="post-metadata">

**Author:** ![Txmmy83](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/t/f14d63/32.png) [@Txmmy83](https://forum.phpvms.net/u/Txmmy83)\
**Post date:** [September 2, 2012, 1:24pm UTC](https://forum.phpvms.net/t/rules-and-regulations-v1/7166/8 "2012-09-02T13:24:55Z")

</div>

just done it my self via database works like a dream now

---

<div class="post-metadata">

**Author:** ![servetas](https://forum.phpvms.net/user_avatar/forum.phpvms.net/servetas/32/75_2.png) [@servetas](https://forum.phpvms.net/u/servetas)\
**Post date:** [September 2, 2012, 1:25pm UTC](https://forum.phpvms.net/t/rules-and-regulations-v1/7166/9 "2012-09-02T13:25:40Z")

</div>

Great!

---

<div class="post-metadata">

**Author:** ![Txmmy83](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/t/f14d63/32.png) [@Txmmy83](https://forum.phpvms.net/u/Txmmy83)\
**Post date:** [September 2, 2012, 3:40pm UTC](https://forum.phpvms.net/t/rules-and-regulations-v1/7166/10 "2012-09-02T15:40:09Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![servetas](https://forum.phpvms.net/user_avatar/forum.phpvms.net/servetas/32/75_2.png) [@servetas](https://forum.phpvms.net/u/servetas)\
**Post date:** [September 2, 2012, 3:44pm UTC](https://forum.phpvms.net/t/rules-and-regulations-v1/7166/11 "2012-09-02T15:44:37Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Txmmy83](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/t/f14d63/32.png) [@Txmmy83](https://forum.phpvms.net/u/Txmmy83)\
**Post date:** [September 2, 2012, 3:47pm UTC](https://forum.phpvms.net/t/rules-and-regulations-v1/7166/12 "2012-09-02T15:47:49Z")

</div>

> 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

---

<div class="post-metadata">

**Author:** ![TAV1702](https://forum.phpvms.net/user_avatar/forum.phpvms.net/tav1702/32/41_2.png) [@TAV1702](https://forum.phpvms.net/u/TAV1702)\
**Post date:** [December 7, 2012, 2:04am UTC](https://forum.phpvms.net/t/rules-and-regulations-v1/7166/13 "2012-12-07T02:04:35Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![servetas](https://forum.phpvms.net/user_avatar/forum.phpvms.net/servetas/32/75_2.png) [@servetas](https://forum.phpvms.net/u/servetas)\
**Post date:** [December 7, 2012, 5:58am UTC](https://forum.phpvms.net/t/rules-and-regulations-v1/7166/14 "2012-12-07T05:58:57Z")

</div>

Obviously i left something behind . I’ll do this during the afternoon.

---

<div class="post-metadata">

**Author:** ![servetas](https://forum.phpvms.net/user_avatar/forum.phpvms.net/servetas/32/75_2.png) [@servetas](https://forum.phpvms.net/u/servetas)\
**Post date:** [December 29, 2012, 10:48pm UTC](https://forum.phpvms.net/t/rules-and-regulations-v1/7166/15 "2012-12-29T22:48:30Z")

</div>

**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.

---

<div class="post-metadata">

**Author:** ![TAV1702](https://forum.phpvms.net/user_avatar/forum.phpvms.net/tav1702/32/41_2.png) [@TAV1702](https://forum.phpvms.net/u/TAV1702)\
**Post date:** [January 4, 2013, 5:29am UTC](https://forum.phpvms.net/t/rules-and-regulations-v1/7166/16 "2013-01-04T05:29:14Z")

</div>

Nice! Thanks. Will go check it out now.

---

<div class="post-metadata">

**Author:** ![FSX30HD](https://forum.phpvms.net/user_avatar/forum.phpvms.net/fsx30hd/32/310_2.png) [@FSX30HD](https://forum.phpvms.net/u/FSX30HD)\
**Post date:** [July 31, 2013, 2:19pm UTC](https://forum.phpvms.net/t/rules-and-regulations-v1/7166/17 "2013-07-31T14:19:26Z")

</div>

Thank you so much for this mod

---

<div class="post-metadata">

**Author:** ![simonecatalano](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/s/3e96dc/32.png) [@simonecatalano](https://forum.phpvms.net/u/simonecatalano)\
**Post date:** [August 25, 2013, 6:39am UTC](https://forum.phpvms.net/t/rules-and-regulations-v1/7166/18 "2013-08-25T06:39:04Z")

</div>

Thanks!!! Very Much

---

<div class="post-metadata">

**Author:** ![lanousbh](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/l/ed8c4c/32.png) [@lanousbh](https://forum.phpvms.net/u/lanousbh)\
**Post date:** [May 6, 2014, 12:47am UTC](https://forum.phpvms.net/t/rules-and-regulations-v1/7166/19 "2014-05-06T00:47:20Z")

</div>

Hi,

I’ve downloaded the mod’ but when i use accent like "Ã©,Ã¨, Ãª or Ã&nbsp;" 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??

---

<div class="post-metadata">

**Author:** ![servetas](https://forum.phpvms.net/user_avatar/forum.phpvms.net/servetas/32/75_2.png) [@servetas](https://forum.phpvms.net/u/servetas)\
**Post date:** [May 7, 2014, 2:57pm UTC](https://forum.phpvms.net/t/rules-and-regulations-v1/7166/20 "2014-05-07T14:57:42Z")

</div>

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?

[Next page](https://forum.phpvms.net/t/rules-and-regulations-v1/7166.md?page=2)
