1
wishcraft
Lawsuit 1.51 - Contact Us forms with SEO URL Rewrite

Resized Image
Lawsuit 1.51 - Contact Forms with Verbose Checking
Community release by Chronolabs Co-op

Lawsuit is an module for XOOPS that allows for categories and pages to be create with associated forms. The forms are completely customisable and offer a method of display data in pertinence to any legal issue and collect data for an inquiry or application to a law firm, lawyer or solicitors service so they can ask unique question to do with the case.

You can have as many forms and pages as well as categories as the database supports. Each page can have a customised form associated with it where you can retrieve related information to do with the presentation of the case or issue you are seeking clients on for legal representation.

There are other application for this module which can be easily cloned or change to suit other forms of paginated liaise within your xoops site.

This is the first open release so please test and report any errors you are having.

In this version the XOOPS Captcha form element has been added to all form for spam prevention as well as a few reported minor bugs fixed with categories. There is also a system of validation points you can have where people have to validate via RegEx; a String Match or a Count higher than 0 on an SQL Statement including count(*) for the first field in select.

Features:
  • XOOPS 2.5 Admin Gui
  • SEO Clean URL
  • Forms Assignable to Categories and Pages
  • Full Permissions
  • File Upload on Contact us
  • Response reporting
  • Field Validation (verbose forms)


Requirements:
  • XOOPS 2.5
  • XOOPS 2.6


Download: xoops2.5_lawsuit_1.51.zip (147 Kb)
Sourceforge: xoops2.5_lawsuit_1.51.zip (147 Kb)
Demo:http://xoops.demo.chronolabs.coop
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts

2
Feichtl
Re: Lawsuit 1.51 - Contact Us forms with SEO URL Rewrite
  • 2011/11/11 9:10

  • Feichtl

  • Not too shy to talk

  • Posts: 126

  • Since: 2004/11/8


I tried it on chronolabs today and following happened on admin-side:

- Entries of "Form reports" blasts the right margin (more or less; depending on how many fields are in the form)

- Klicking on "View Response" of one of the form reports shows only the admin-tabs of the module, but no content. debug mode reports:

NoticeUndefined indexclosesite in file /include/common.php line 269
Warning
Missing argument 1 for LawsuitResponse::__construct(), called in /kernel/object.php on line 1073 and defined in file /modules/lawsuit/class/response.php line 9

3
wishcraft
Re: Lawsuit 1.51 - Contact Us forms with SEO URL Rewrite

Line 61 to 74 of admin/report.php should read:
foreach($response->getVar('response') as $key => $res) {
                
$i++;
                if (
$i<=2) {
                    if (
is_array($res)) {
                        echo 
'<td align="center"><strong>'.$key.':&nbsp;</strong>';
                        foreach(
$res as $keyb => $value) {
                            echo 
'<em>'.$value.($keyb<sizeof($res)-1?', ':'').'</em>';    
                        }
                        echo 
'</td>';
                    } else {
                        echo 
'<td align="center"><strong>'.$key.':&nbsp;</strong>'.$res.'</td>';
                    }
                }
            }


Or download the zip again i have patched it.
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts

4
wishcraft
Download: Lawsuit 1.52 - Contact Us forms with SEO URL Rewrite

In response to Feichtl bug report I have released a new copy. Use the download links provided:

[size=xx-small]
========================================
2011/11/12 05:47:00 Version 1.52 STABLE
========================================
- Changed class LawsuitResponse() changed `response` to type XOBJ_DTYPE_OTHER for storage of JSON String (Wishcraft)
- Changed line 279 of include/form_execute.php store `response` as JSON String - json_encode($resp) (Wishcraft)
- Added function lawsuit_object2array($objects) to include/functions.php (Wishcraft)
- Added function json_encode($data) to include/functions.php (Wishcraft)
- Added function json_decode($data) to include/functions.php (Wishcraft)
- Added function getResponse() in class LawsuitResponse() - class/response.php (Wishcraft)
- Added function insert($object, $force=true) in class LawsuitResponseHandler() - class/response.php (Wishcraft)
[/size]

Requirements:
  • XOOPS 2.5
  • XOOPS 2.6


Download: xoops2.5_lawsuit_1.52.zip (147 Kb)
Sourceforge: xoops2.5_lawsuit_1.52.zip (147 Kb)
Demo:http://xoops.demo.chronolabs.coop
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts

Login

Who's Online

195 user(s) are online (119 user(s) are browsing Support Forums)


Members: 0


Guests: 195


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits