Author |
Message |
DBF_Tim
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Dec 14, 2005
Posts: 7
|
Posted:
Sat Apr 14, 2007 12:46 pm |
|
I'm having issues with Member Application getting my regex comparisons to work on text inputs in either javascript or php. My question is, has something been done to override or alter form input fields. Of the various Nukes I test, my code seems to only have issues with RN 210.
I would like to figure this out so I can change my code to make it compatible.
Tim |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Gremmie
Former Moderator in Good Standing
![](modules/Forums/images/avatars/0cd76dcf45da5de2cf864.jpg)
Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA
|
Posted:
Sat Apr 14, 2007 1:37 pm |
|
Are you using the RN WYSIWYG editor on your form fields? If so, it seems to htmlentity'ize the text, so you may have to adjust your regex's accordingly...
If not, please provide some more details about your application and what you are trying to do. |
_________________ Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
DBF_Tim
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Apr 14, 2007 4:46 pm |
|
No wysiwyg editors enabled. Here's a splinter of my javascript code that tests an input field for a match with a regex statement.
rgtest = document.getElementById(\"data\"+zz).value;
rgcode = document.getElementById(\"regexdef\"+zz).value;
if (! rgtest.match(rgcode))
{
alert( \"Invalid entry\");
document.getElementById(\"data\"+zz).focus();
return false ;
}
I thought perhaps with some of the security enhancements, you were altering "INPUT" elements in forms.
Thank you for looking into this,
Tim |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Mon Apr 16, 2007 10:32 am |
|
Quote: | has something been done to override or alter form input fields |
Not unless we corrected some logic that has never worked correctly which we found many instances of.
Please post an example from your other site(s), before and after, and then post the same example from RavenNuke(tm) before and after. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
DBF_Tim
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Apr 21, 2007 8:40 pm |
|
I know it's been a long time, but life intervened. I created another RN210 based test site on a different server. Every thing seems to work there.
Key differences:
PHP as CGI - problem site
PHP as Apache Module - working site
path to nuke root:
www.development.testsite.tst/Nukes/raven210 - problem site
www.testsite2.wrk/ - working site
With that, I'm going to completely remove problem site. Reinstall it cleanly in a root level directory on a main domain so I have apples to apples comparison and see what goes. I'll keep you posted.
Tim
PS:
Because of the multi-part operation, admin side, user side, popup windows, etc.. If I can't work through this, I'll set up a site that can be freely examined. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
DBF_Tim
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Apr 22, 2007 9:11 am |
|
Fixed. I assume it was an error in a file some where. Before deleting and moving problem site, I decided to re-upload RN210 files as well as Member Application files, overwriting everything. I made no changes to database. All testing so far shows good.
Note to self: Try the obvious and easy stuff first!
Tim |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Apr 22, 2007 10:51 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kevinkap
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Apr 22, 2006
Posts: 356
|
Posted:
Sun Apr 22, 2007 1:53 pm |
|
Very good to hear Tim. I have found the member app very useful. I am again glad you did not let the issues of code being stolen to deter your work! I think many will find this module a nice addition. ![Wave](modules/Forums/images/smiles/mexicanwave.gif) |
_________________ Kevin Kappes |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
DBF_Tim
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Apr 22, 2007 3:26 pm |
|
To many good people to let 1 bad 1 knock you out. We're proceeding with testing on Member Application v2.1.2. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|