Jump to content

Recommended Posts

  • Moderators
Posted

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
Posted

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?

  • Moderators
Posted

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?

Posted

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"

  • Moderators
Posted

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.

  • Moderators
Posted

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!

Posted

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

  • 3 months later...
Posted

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.

  • 4 weeks later...
  • Moderators
Posted

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
  • 6 months later...
  • 4 weeks later...
  • 8 months later...
Posted

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

  • Moderators
Posted

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?

  • 5 months later...
Posted

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

  • 5 months later...
  • 10 months later...
Posted

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)

  • Moderators
Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...