Get XOOPS XOOPSXOOPS FAQFAQ ForumsForums NewsNews ThemesThemes ModulesModules
New Posts New Topics All Posts All Forums Index General Modules Themes Development International XOOPS.org

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: Jun 30
Gross Amount: $25.00
Net Balance: $23.57
Left to go: $76.43

Donations
Anonymous ($15)Jun-14
Anonymous ($10)Jun-10

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

2 2.5 2.6 3.0 90 2013 Abuse admin AntiHarvesting AntiMalUser AntiSpam API Beats billige black Blocks blue Captcha cell Christmas chronolabs Comment content Conversion demo docek download Dresses EC2 editor ELB evden eve facebook floor free games herre Honeypot Human IP jQuery kantor klubovi lamps log logger mobile module modules Monster mulberry MyAlbum-p newbb news online oxygen PageRank pandora Payment Permissions pink Plugin portal Prevention profile project Protector Protocols publisher Repair Rights rmcommon Room sale security Server site Smarty Spam stem Studio support tag tags tdmcreate template Theme themes txmod Umfrage User userlog website Whitepaper Wishcraft xoops XOOPS2 Xortify ZendFramework

New Users

Registering user

# 136106

g_capobianco

Welcome to XOOPS!




Bottom   Previous Topic   Next Topic  Register To Post

(1) 2 3 4 »


#1 Posted on: 2011/7/18 10:10 xForms 1.21 Beta ready for Testing
The module xForms 1.21 has been updated to the XOOPS 2.5.x GUI and is ready for testing.

xForms is a module for XOOPS offers widely customizable contact forms. xForms generates different kind of form elements e.g. text areas, check boxes for webmasters to create their "Contact Us" forms by desire. Submitted information can be sent by email or through the private message system of XOOPS, and received by selected user group. It is based on Liaise, and was developed by Dylian.

Please download it from SourceForge SVN

You will also need the ModuleAdmin class

Top


Please support XOOPS & DONATE
Use 2.5.6 | Debugging | Requests | Bugs
Mamba
Moderator
Moderator
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 7026
(Show More) (Show Less)


#2 Posted on: 2011/7/18 12:20 Re: xForms 1.21 Beta ready for Testing
A little bug, when I upload forms from Liaise and I have created first a new form, this delete all forms.

Added Italian Traslation


Top


Blog| Modules, Themes, Tutorials|Mobile
timgno
Module Developer
Module Developer
Joined:
2007/6/21 13:54
From Italy
Group:
Registered Users
Posts: 1112
(Show More) (Show Less)


#3 Posted on: 2012/3/27 8:33 Re: xForms 1.21 Beta ready for Testing
- radio button is not working properly - selection have the same option - have to use drop down

- http://xoops.org/modules/newbb/viewtopic.php?topic_id=73593

Top

demian
Quite a regular
Quite a regular
Joined:
2008/4/29 0:06
Group:
Registered Users
Posts: 225
(Show More) (Show Less)


#4 Posted on: 2012/3/28 6:40 Re: xForms 1.21 Beta ready for Testing
Quote:
radio button is not working properly - selection have the same option - have to use drop down

For the time being, go to:

xoops/class/xoopsform/formelementtray.php

and in line 86 remove the ampersand "&" from "&$formElement"

$this->_elements[] = &$formElement;

so it looks like this:

$this->_elements[] = $formElement;

It seems like it has something to do with passing the radio element by references.

This is just a quick hack and I hope Core team will come up with something more permanent. But for the time being it works on my test site.

Let me know if it worked on yours.

Top


Please support XOOPS & DONATE
Use 2.5.6 | Debugging | Requests | Bugs
Mamba
Moderator
Moderator
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 7026
(Show More) (Show Less)


#5 Posted on: 2012/4/3 23:23 Re: xForms 1.21 Beta ready for Testing
Spanish translation - https://sourceforge.net/projects/gtlt/files/XOOPS/Modules/Spanish/?

Slovak translation - http://sourceforge.net/projects/gtlt/ ... 21Beta_Mamba.zip/download

Italian translation from above post is on 90%

Transifex - https://www.transifex.net/projects/p/x ... ods-i18n/r/xforms121beta/

Top


May The Source Be With You!
DCrussader
Friend of XOOPS
Friend of XOOPS
Joined:
2005/7/4 2:57
Group:
Registered Users
Posts: 549
(Show More) (Show Less)


#6 Posted on: 2012/4/23 11:21 Re: xForms 1.21 Beta ready for Testing
Works well, but I have found a problem.

In Firefox (11) if a user gets the CAPTCHA wrong, even if they enter the letters correctly on the second attempt, it still says 'invalid' code. They must press the 'refresh captcha' button to proceed.

In IE9, the page automatically refreshes on pressing 'back'... but this erases all the form data!.

If anyone familiar with this module can spot a quick fix for this, it would be much appreciated.

Top


A thread is for life. Not just for Christmas.
Peekay
XOOPS is my life!
XOOPS is my life!
Joined:
2004/11/20 4:55
From UK
Group:
Registered Users
Posts: 2293
(Show More) (Show Less)


#7 Posted on: 2012/4/24 7:21 Re: xForms 1.21 Beta ready for Testing
Quote:
In IE9, the page automatically refreshes on pressing 'back'... but this erases all the form data!.

That seems to be a known bug: see note from Tristian Bailey here:

Quote:
My only suggestion that I submitted, about changing the Backspace history shortcut to be more user-friendly (instead of people accidentally wiping out text in text fields by going back in history), still remains open, amoung hundreds of other suggestions and bug fix comments.


Top


Please support XOOPS & DONATE
Use 2.5.6 | Debugging | Requests | Bugs
Mamba
Moderator
Moderator
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 7026
(Show More) (Show Less)


#8 Posted on: 2012/4/24 11:07 Re: xForms 1.21 Beta ready for Testing
Thx Mamba.

I read the link about IE9. Looks like any script which relies on the ability to go 'back' without form data being cleared is going to suffer. I tried a few things but nothing worked up to date.

The CAPTCHA really needs to be validated on the same page (like the JS field validation) and I guess that's probably the only solution. The fact that the CAPTCHA doesn't validate on second attempt is a mystery though.

There is a small error in $xforms_url VAR which creates a double slash in the back link, e.g.

http://example.com/modules/xforms//index.php?form_id=2

To fix this:

include\form_execute.php

around line 274

change:

$xoopsTpl->assign('xforms_url'xforms_URL.'/index.php?form_id='.$form_id);


to:

$xoopsTpl->assign('xforms_url'xforms_URL.'index.php?form_id='.$form_id);


Top


A thread is for life. Not just for Christmas.
Peekay
XOOPS is my life!
XOOPS is my life!
Joined:
2004/11/20 4:55
From UK
Group:
Registered Users
Posts: 2293
(Show More) (Show Less)


#9 Posted on: 2012/4/24 13:33 Re: xForms 1.21 Beta ready for Testing
Quote:
The CAPTCHA really needs to be validated on the same page (like the JS field validation) and I guess that's probably the only solution. The fact that the CAPTCHA doesn't validate on second attempt is a mystery though.

I am not that good with validations, so if somebody else could take a look into that, it would be fantastic.

Quote:
There is a small error in $xforms_url VAR which creates a double slash in the back link, e.g.

Thanks! It's now fixed in SVN

Top


Please support XOOPS & DONATE
Use 2.5.6 | Debugging | Requests | Bugs
Mamba
Moderator
Moderator
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 7026
(Show More) (Show Less)


#10 Posted on: 2012/4/27 11:11 Re: xForms 1.21 Beta ready for Testing
OK, I'll try and take a closer look at this next week.

The current method detects CAPTCHA fail and loads an error template with a JS back-link. This relies on the browser maintaining the state of the previous page, which is obviously going to be a problem in IE from v9 onwards.

I can go 'back' to a static form in IE9 by using a session variable to store the field VARs, but the Xforms module creates fields dynamically and I have no idea where to start.

I am guessing the other option is to merge 'form_render' and 'form_execute' like a conventional PHP_SELF style form.

Not sure how many other modules use the Xoops CAPTCHA in this way?

Top


A thread is for life. Not just for Christmas.
Peekay
XOOPS is my life!
XOOPS is my life!
Joined:
2004/11/20 4:55
From UK
Group:
Registered Users
Posts: 2293
(Show More) (Show Less)




(1) 2 3 4 »



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.

[Advanced Search]