Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> JavaScript
Author Message
killing-hours
RavenNuke(tm) Development Team


Joined: Oct 01, 2010
Posts: 438
Location: Houston, Tx

PostPosted: Wed Nov 10, 2010 10:35 am Reply with quote

Adding to your post fkelly, I was thinking about this last night while in bed (yes I know... I'm a geek) and another light flickered.

Is it possible to also use ajax to update block/module settings so that a page refresh is not necessary?

(i.e. When I click "activate" on a module.... instead of submitting then refreshing... could it be done by ajax so that no page refresh is necessary?) Maybe dim the screen and have a message box saying "Settings Updated Succesfully" or something.

_________________
Money is the measurement of time - Me
"You can all go to hell…I’m going to Texas" -Davy Crockett 
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Wed Nov 10, 2010 10:56 am Reply with quote

yes

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
killing-hours
PostPosted: Wed Nov 10, 2010 11:01 am Reply with quote

Palbin wrote:
yes


Great to hear that... now the next logical question... is it being planned/in the works already or should we (the community) start digging into how to make it happen?
 
Palbin
PostPosted: Wed Nov 10, 2010 12:50 pm Reply with quote

If you are looking for an ajax module administration that would be something the community would have to do as it is not something we have plans for at this time.

I do not want to say it would be easy, but it should not be that hard to do. If you want to do something like that let me know and I can kind of point you in the right direction. At least in my eyes Wink
 
spasticdonkey
RavenNuke(tm) Development Team


Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Wed Nov 10, 2010 1:19 pm Reply with quote

not sure where kguske is with this, and it's not exactly what you are looking for, but it's related and I thought you might be interested. Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message Visit poster's website
killing-hours
PostPosted: Wed Nov 10, 2010 1:59 pm Reply with quote

Well.... I always like a challenge. Wink This sure seems like one heck of one.

Image

Spastic... say for instance you click "activate" on a particular module... the behavior of RN is to submit that information to a script then reload the page so that you can see the newly changed options. (i.e. now it says "deactivate").

From my understanding of how ajax works... we "could" implement a way to submit the information without a page refresh. (see ajax contact forms that use no refresh.... Only registered users can see links on this board! Get registered or login!

This way, the modules admin will be more "modern" I guess is a way to look at it.

Since kguske has already started implementing a new jquery backend interface... it would only make sense to build on that instead of redesigning the entire layout. (unless it's unavoidable) Thanks for the link!

Once again, I don't know my head from my tail on this stuff so it's all speculation at this point on my part how it all works etc or if it will work. It was just a wild thought that went through my head last night while thinking about this in bed.

@Palbin... Pm away or post here. I'm always in the mood to learn or to listen to wiser people than I. I'm not saying it will be a fast process... but I'm willing to give it a good ol' college try. Wink(Just as soon as I finish a new slide out contact form for RN)
 
Palbin
PostPosted: Wed Nov 10, 2010 3:21 pm Reply with quote

Just an FYI kguske's changes to the admin backend will not affect the module administration. Well at least not in a way that will matter as I understand it.

killing-hours, I will try and post some thoughts for you tonight.
 
fkelly
Former Moderator in Good Standing


Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY

PostPosted: Wed Nov 10, 2010 3:27 pm Reply with quote

Perhaps I could suggest a slight variation in this approach. Many of us are struggling to understand Jquery and Ajax and how to embed it in RN. Suppose we did a collaborative module called Jquery_Ajax_Samples or some such. It could be implemented on our local test sites or even on real sites as admin only. Have a simple index.php for that module with a form that just links to several example types.

1st example could be something like what we have in your_account where, when the user leaves a field on a form we go out to the database and see if his entry duplicates a value that's already stored in the database for that field and if so, returns an error message -- actually it returns false I suppose which the validation routine interprets as an error.

2d example could be what you (killing-hours) are suggesting. The user changes a setting on the form and Jquery/Ajax kicks off and updates the field and returns true if the update succeeds and the screen says "good job" to the user.

3rd example could be something more complex like what I was thinking about for nsngroups. Basically use Ajax to fill in the option values in a select field on a form with group names, and then separate lists of username/email combinations that aren't already in the group and those who are. Make the lists draggable and droppable so that you can move users in and out of the lists. Make the lists searchable too (or filterable) so you can narrow them down and find the users you want to add quickly. When you are done execute the update through Ajax and refresh the screen with the new lists.

That should keep you busy for a while Killing hours Rolling Eyes
 
View user's profile Send private message Visit poster's website
killing-hours
PostPosted: Wed Nov 10, 2010 4:57 pm Reply with quote

@Palbin... No rush... I'm still working on this contact form and figuring out a way to determine human or not without captcha. Then I'll have to start dissecting the way modules/blocks works so I can better approach it and come up with the best plan of attack.

@fkelly... I'm already on that track. This contact form will use ajax to submit so this will be my first real taste of it. I'll try to document what I learn while getting it going.

I will probably do just that and create a simple form or something returning results etc so I can figure the basics of ajax out without toying in the core files of RN.

Eat an elephant one bite at time. This ought to be enough to drive me insane for a little while and I'm sure my wife will hate my pc that much more Wink

BTW..... Semper Fi to all you former/current marines out there. (Marines B-day today)
 
Palbin
PostPosted: Sat Nov 13, 2010 5:13 pm Reply with quote

Ask and you shall receive!

Grab the latest stable jQuery UI build Only registered users can see links on this board! Get registered or login!

Upload the "css" folder to "includes/jquery/". Next in the "js" folder rename jquery-1.4.2.min.js to jquery.js. Then upload jquery.js and jquery-ui-1.8.6.custom.min.js to "includes/jquery". If you get a higher build than 1.8.6 you will need to edit the below module to reference that file instead.

Make a new folder within the modules directory call it whatever you want. Lets call it "jquery_test". Then create an index.php within this folder with the following code.

Note that I have omitted the opening and closing php tags in the below code. You will have to add those yourself.

Code:


if(!defined('MODULE_FILE')) {
   header('Location: ' . $admin_file . '.php');
   die('Access Denied');
}

$module_name = basename(dirname(__FILE__));

//temporary until new tempalte or moved to main css
$inlineCSS = '
<style type="text/css">
/* General form styles
----------------------------------------*/
fieldset {
   border-width: 0;
   font-family: Verdana, Helvetica, Arial, sans-serif;
   font-size: 1.1em;
}

input.inputbox {
   width: 85%;
}

/* Definition list layout for forms
---------------------------------------- */
fieldset dl {
   padding: 4px 0;
}

fieldset dt {
   float: left;
   width: 40%;
   text-align: left;
   display: block;
}

fieldset dd {
   margin-left: 41%;
   vertical-align: top;
   margin-bottom: 3px;
}

/* Form elements */
dt label {
   font-weight: bold;
   text-align: left;
}

dd label {
   white-space: nowrap;
}

dd input, dd textarea {
   margin-right: 3px;
}

dd select {
   width: auto;
}

dd textarea {
   width: 85%;
}

fieldset dl {
   height: 1%;
   overflow: hidden;
}

/* Submit button fieldset */
fieldset.submit-buttons {
   text-align: center;
   vertical-align: middle;
}

/* Input field styles
---------------------------------------- */
input.inputbox   { width: 85%; }
input.medium   { width: 50%; }
input.narrow   { width: 25%; }
input.tiny      { width: 125px; }

textarea.inputbox {
   width: 85%;
}

.autowidth {
   width: auto !important;
}

/* Form button styles
---------------------------------------- */
a.button1, input.button1, input.button3, a.button2, input.button2 {
   cursor: pointer;
   width: auto !important;
   margin: 6px;
}

a.button1, input.button1 {
   font-weight: bold;
}

/* Miscellaneous styles
---------------------------------------- */
.error {
   color: #BC2A4D;
   font-weight: bold;
   font-size: 1em;
}

</style>';
addCSSToHead($inlineCSS, 'inline');

//temporary until new tempalte or moved to main css
$inlineCSS = '
<style type="text/css">
/* Avatar gallery */
#gallery label {
   position: relative;
   float: left;
   margin: 10px;
   padding: 5px;
   width: auto;
   background: #FFFFFF;
   border: 1px solid #CCC;
   text-align: center;
}

#gallery label:hover {
   background-color: #EEE;
}

label {
   cursor: default;
   padding-right: 5px;
   color: #425067;
}

label input {
   vertical-align: middle;
}

label img {
   vertical-align: middle;
}
</style>';
addCSSToHead($inlineCSS, 'inline');

//temporary until new tempalte or moved to main css
$inlineCSS = '
<style type="text/css">
/* Text alignment and Styling */
.text-center {text-align:center;}
.text-right {text-align:right;}
.text-justify {text-align:justify;}
.overline {text-decoration:overline;}
.line-through {text-decoration:line-through;}
.underline {text-decoration:underline;}
.normal-text {text-decoration:none;}
.normal-font {font-style:normal;}
.normal {font-weight:normal;}
.thick {font-weight:bold;}
.italic {font-style:italic;}
.oblique {font-style:oblique;}
.small-caps{font-variant:small-caps;}
.uppercase {text-transform:uppercase;}
.lowercase {text-transform:lowercase;}
.capitalize {text-transform:capitalize;}
.transform-none {text-transform:none;}
/* Whitespace and Line Wraps */
.nowrap {white-space:nowrap;} /* Multiple whitespaces collapse into a single whitespace. Text will n
ever wrap unless  tag is used */
.pre {white-space:pre;} /* Multiple whitespaces are preserved, text will only wrap on line breaks -
like the pre html tag */
.pre-wrap {white-space:pre-wrap;} /* Multiple whitespaces are preserved, text will wrap when needed,
 and on line breaks  */
.pre-line {white-space:pre-line;} /* Multiple whitespaces collapse into a single whitespace. Text wi
ll wrap when needed, and on line breaks */
/* Display and Visibility */
.invisible {visibility:hidden;}
.visible {visibility:visible;}
.display-none {display:none;}
.display-inline {display:inline;}
.display-block {display:block;}
/* Floating and Clear */
.float-right {float:right;}
.float-left {float:left;}
.float-none {float:none;}
.clear-right {clear:right;}
.clear-left {clear:left;}
.clear-both {clear:both;}
.clear-none {clear:none;}
/* Block Level Elements */
.centered {margin-left:auto;margin-right:auto;}
</style>';
addCSSToHead($inlineCSS, 'inline');

addCSSToHead('includes/jquery/css/ui-lightness/jquery-ui-1.8.6.custom.css', 'file');

addJSToHead('includes/jquery/jquery.js', 'file');
//addJSToHead('includes/jquery/jqueryjquery.colorbox-min.js', 'file');
addJSToHead('includes/jquery/jquery-ui-1.8.6.custom.min.js', 'file');

$inlineJS = '
<script type="text/javascript">
/* <![CDATA[ */
$(function() {

   //Submit data when submit button is clicked
   $("#submit_data").click(function() {
      $(".dialog").html("<p><img src=\"/includes/jquery/css/images/loading.gif\" style=\"width: 32px; height: 32px;\" /><\/p>");
      $(".dialog").dialog({
         autoOpen: false,
         height: "auto",
         width: "auto",
         modal: true,
         position: "middle",
         buttons: {}
      });
      $(".dialog").dialog("open");
      var data = GetFormData();
      $.ajax({
         url: "modules.php",
         data: "name=' . $module_name . '&op=submit" + data,
         type: "post",
         dataType: "html",
         success: function (html) {
            $(".dialog").html(html);
         }
      })
      return false;;
   });

   //Get forum data
   function GetFormData () {
      var data = "";
      if ($("input[name=\"ajax_data\"]").length != 0) {
         data = data + "&some_number=" + $("input[name=\"ajax_data\"]").attr("value");
      }
      data = data + "&' . $GLOBALS['csrf']['input-name'] . '=' . $GLOBALS['csrf']['rn_csrf_token'] . '";
      return data;
   }

});
/* ]]> */
</script>';
addJSToHead($inlineJS, 'inline');

if (empty($_REQUEST['op'])) $op = '';
switch($op) {
   default:
      display_form();
      break;
   case 'submit':
      validate_data();
      break;
}

function display_form() {
   require 'header.php';
   OpenTable();

   echo '<div>';

   echo '<fieldset style="padding: 5px;">'
      , '<legend><span style="text-align: center; font-weight: bold;" class="option">jQuery &amp; Ajax Testing</span></legend>'
      , '<dl><dt><label for="ajax_data">Enter a number:</label></dt>'
      , '<dd><input type="text" id="ajax_data" name="ajax_data" title="Enter a number" class="ui-widget-content ui-corner-all" size="30" maxlength="60" value="" /></dd></dl>'
      ,'</fieldset>';

   echo '<fieldset style="text-align: center;"><button id="submit_data" class="ui-button ui-state-default ui-corner-all">Submit</button></fieldset>';

   echo '</div>';

   CloseTable();
   echo '<div class="dialog"></div>';
   require 'footer.php';
}

function validate_data() {
   csrf_check();
   // Redirect if not an ajax request
   if (!isset($_SERVER['HTTP_X_REQUESTED_WITH']) || $_SERVER['HTTP_X_REQUESTED_WITH'] != 'XMLHttpRequest') {
      die('You have encountered a problem!');
   }
   if (!empty($_POST['some_number']) && is_numeric($_POST['some_number'])) {
      echo '<span style="color: green;">The value you entered is numberic.</span>';
   } else {
      echo '<span style="color: red;">The value you entered is not numeric.</span>';
   }
}


Then navigate to this module, and try entering numeric and non-numeric data.


Last edited by Palbin on Sun Nov 14, 2010 10:41 am; edited 1 time in total 
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Sat Nov 13, 2010 6:42 pm Reply with quote

Try this one. It works with RavenNuke, it needs code clean up and validation fixes.

Only registered users can see links on this board! Get registered or login!


Edit: This does not have groups support.

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Sun Nov 14, 2010 8:52 am Reply with quote

fkelly wrote:
So, you are saying Jquery takes care of all this. And there is no danger if we just define XHR as true.


The first code you posted was in a PHP script and this second post of code is browser-side. Yes, jQuery takes care of providing AJAX support across all major browsers and many different versions. Done.

Kguske's code you shared is server-side, which is to handle the browser's request and he's just defining a constant there to help direct his code later on.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Palbin
PostPosted: Sun Nov 14, 2010 2:18 pm Reply with quote

nuken wrote:
Try this one. It works with RavenNuke, it needs code clean up and validation fixes.

Only registered users can see links on this board! Get registered or login!


Edit: This does not have groups support.


I have seen this one on the past. It is written using just javascript, and not a framework. I find the code hard to follow and understand.
 
nuken
PostPosted: Sun Nov 14, 2010 2:20 pm Reply with quote

Palbin wrote:

I have seen this one on the past. It is written using just javascript, and not a framework. I find the code hard to follow and understand.


Me too. It uses the sajax framework.
 
killing-hours
PostPosted: Sun Nov 14, 2010 2:31 pm Reply with quote

Not to jump off topic or anything... but I've got a "basic" working "module" version of this contact form that I'd really like someone with some wisdom to look over.

I posted here because y'all seem to be following this topic pretty closely. Palbin, montego, raven, nuken or anyone of the salty dogs who don't mind checking my work. I'll shoot you a pm with the files when you say go. Thanks.

I noticed it's not playing nice with IE last night right before I went to bed. Haven't really debugged for IE yet.

Also, Is it acceptable to start a session from the footer.php??
 
Palbin
PostPosted: Sun Nov 14, 2010 4:02 pm Reply with quote

Please post this in your other thread.
 
fkelly
PostPosted: Wed Dec 01, 2010 8:55 pm Reply with quote

Here is an extension to this discussion that has been bothering me a bit. We want to have Javascript validation for forms because it is "user friendly" to present error messages as close to the source as possible rather than letting the user type in a whole bunch of stuff and then come back with a big long list of errors. So, if they type in an invalid phone or email or they type alphabetic characters into a numeric field they get told right away. And, we want to use a standard approach to field validation throughout our system so that a valid email address, for instance, is always defined the same way and we don't have a dozen different programmers writing their own regular expressions which produce slightly different results.

But then we say "you can't ever trust user submitted data" and so we have to replicate the same validation on the PHP side in the program which "receives" the submission of the form. We are moving towards using "standard" PHP validation code but of course even if we do that code will never be EXACTLY THE SAME as corresponding Javascript code (say to validate an email).

Now my question is this ... does our csrf prevention technology provide the basis, taken together with Javascript validation, to say that if a given form was validated in Javascript and we are sure, by means of the crsf token that it is legitimately submitted from our system ... could we skip PHP validation of any elements that we know were validated on the Javascript side?
 
Palbin
PostPosted: Wed Dec 01, 2010 10:27 pm Reply with quote

As of not we could not skip validation. The current implementation of CSRF is to prevent direct submission of forum data. Meaning the submitting of a form without first accessing the actual form. Once a user access a form it is no longer a Cross-site request forgery because they now have the token. So they could directly submit the from if they "wanted' to.

The validation for a form used ajax it could use the same validation that the "normal" form would use. Obviously if use just java-script to do the validation there will be some nuances between the two. A thing to remember is that there are things that you should validate on the php side that you would not necessarily validate with java-script. For example if you have a drop-down list of ten things, say colors, and each has its own number value (1-10). You should not have to validate this on the client side via java-script because the supplied chooses should all be valid answers unless there is some inner-from dependency that would precipitate a certain color matching another response. But on the PHP side you should be making sure that the supplied response is an inter at the very least and ultimately making sure the value is within the range of 1-10.
 
killing-hours
PostPosted: Thu Dec 09, 2010 9:13 am Reply with quote

Alright... I'm tackling ajax and learning the basic in's and out's of it. Here's what i'm working on at the present moment. I'm making a very VERY simple 1 input form that should submit the input to my "process script" which will in turn do a database insert.

One snag I'm running into this morning after checking to make sure all the inserts and forms work correctly is... when I use the ajax submit... the "url" is setup like this

Code:
url: "modules/ajaxtest/submit.php",


In order to hit my script. Everything is fine except for one thing... I'm getting "You can't access this file directly..." per the code within the "not defined".

I tried to change the url to what my normal submit uses...

Code:
modules.php?name=' .$module_name. '&amp;file=submit


but when I check the response in firebug... it shows the entire "view source" code back and never inputs the data into the db per the submit file so i'm assuming that is an incorrect way of doing this.

Note*** I've tried using just "url: submit.php," but that gives a 404.

Guidance is greatly needed. Thanks.

------------------------------------------


Here is the structure of my test...

index.php:

Code:
<?php


addJSToHead('includes/jquery/jquery.js' , 'file');
$ajax = '<script>
   $(function() {
      $(".submit").click(function() {
         var input1 = $("#input1").val();
         var dataString = "input1="+ input1;

   if(input1==""){
      $(".success").fadeOut(200).hide();
      $(".error").fadeOut(200).show();
   }else{
      $.ajax({
      type: "POST",
      url: "modules/ajaxtest/submit.php",
      data: dataString,
      success: function(){
         $(".success").fadeIn(200).show();
         $(".error").fadeOut(200).hide();
            }
         });
      }
      return false;
   });
});
</script>';
addJSToHead($ajax , 'inline');

$module_name = basename(dirname(__FILE__));
$module_file = 'modules';
require_once('mainfile.php');
include('header.php');
OpenTable();

echo '<form method="post" name="form">
<input id="input1" name="input1" type="text" />
<div >
<br />
<span class="error" style="display:none"> Please Enter Valid Data</span>
<span class="success" style="display:none"> Registration Successfully</span>';
echo '<br /><input type="submit" name="submit" class="submit">';
echo '</div></form>';


/*echo '<form id="input" action="modules.php?name=' .$module_name. '&amp;file=submit" method="post">';
echo '<input type="text" size="5" id="input2" name="input2" />';
echo '<br /><input type="submit" name="submit">';
echo '</form>';*/
CloseTable();
include('footer.php');
?>



Submit.php:

Code:
<?php

if (!defined('MODULE_FILE')) {
    die ("You can't access this file directly...");
    }

require_once('mainfile.php');
$module_file = "modules";
$module_name = basename(dirname(__FILE__));
 
 global $prefix, $db;

$input = $_POST['input1'];

//echo 'SUBMIT FILE<br />';
/*echo '<br /><b>' . $input . '</b>';
echo '<br /><font color="green">' . $_POST['input2'] . '</font>';*/

$db->sql_query('INSERT INTO ' . $prefix . '_ajaxtest VALUES ("' . $input . '")') or die(mysql_error());
?>
 
killing-hours
PostPosted: Thu Dec 09, 2010 9:33 am Reply with quote

Sorry to double post... couldn't edit the previous one.

If I remove the "not defined" code from the submit script... I get warnings & errors.


response from firebug:
Code:
<br />

<b>Warning</b>:  require_once(mainfile.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in <b>/home/xxxxx/public_html/modules/ajaxtest/submit.php</b> on line <b>6</b><br />
<br />
<b>Fatal error</b>:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'mainfile.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in <b>/home/xxxxx/public_html/modules/ajaxtest/submit.php</b> on line <b>6</b><br />



-------------------------

NVM... solved it with...

Code:
url: "' . $module_file . '.php?name=' . $module_name . '&file=submit",


-------------------------

Ok... I've put together this simple form with heavy commenting for those trying to learn this. I know it's over kill for you salty dogs... but for those still up n' coming... this "should" be a nice starting point in how to accomplish ajax with RN.

Obviously there is plenty of room to expand on this simple module... this is just the first step.

1. Download this file...http://www.mediafire.com/?6uu89cn747jdbsa

2. Create a table in your db named "ajaxtest" (or w/e you want... just remember to change the submit script insert to reflect your table)

3. Test.

Keep in mind... I didn't write a check in the submit file to see if data is already in the db so once you submit... you will need to delete the data from the database manually before submitting again. (or just write up a check and new "update" procedure)

Fkelly... I think this is what you were looking for when you said a "simple module" earlier in the thread. Sorry this took so long to get to... been extremely busy with family life.

----------------------------

Ok... here is the same module with an added kick. It will submit the data to the db then return the data back to the form so it can display what was put into the database in a span.

Again... didn't write a check for the database so if you submit over and over again... might want to manually clear the database so it doesn't get junked up.

Download: Only registered users can see links on this board! Get registered or login!

----------------------------

Here is a check for the submit.php to keep from having to play with the database manually.

Replace the insert with this:

Code:
$check1 = $db->sql_query('SELECT * FROM ' . $prefix . '_ajaxtest');

   $check2 = $db->sql_numrows($check1);

if($check2 != 1){
   $db->sql_query('INSERT INTO ' . $prefix . '_ajaxtest VALUES ("' . $input . '")') or die(mysql_error());
   
}else{
// obviously this is the insert into the database //
   $db->sql_query('UPDATE ' . $prefix . '_ajaxtest SET input1=\'' . $input . '\'') or die(mysql_error());
}


Also... I failed to package this as a module... but if you haven't caught on yet... create a folder in your modules directory and give it a name. I used "ajaxtest" if you want to be consistent.

-----------------------

A video to show the power of ajax and what it's capable of for those who don't understand quite fully what ajax is. This is a search that checks either one of two fields in the db for results depending on a radio selection. It's made with ajax, jquery & php and submits the query on keyup or radio change.
Only registered users can see links on this board! Get registered or login!
 
killing-hours
PostPosted: Thu Jan 06, 2011 4:20 pm Reply with quote

Brief Update & call for assistance.


I've finished the ajax modules admin however, The problem browser (IE) is giving me all sorts of heck. All seems to work as intended in FF & Chrome when I tested however, like I said... IE is not liking me very much but I never use that browser for anything anyhow.

I would like any dev or admin who doesn't mind helping to finish this project off as well as testing/cleaning/bettering up code that is above my head to pm me so that I may send you the download link.

I really appreciate the help y'all have provided me while I was attempting this and really hope that this is something that will benefit the RN community in the future.

Thanks again all!
 
Palbin
PostPosted: Thu Jan 06, 2011 4:55 pm Reply with quote

Send it to me.
 
Nuke8
New Member
New Member


Joined: Feb 20, 2018
Posts: 14

PostPosted: Fri Nov 09, 2018 12:30 am Reply with quote

montego wrote:
RavenNuke(tm)'s Your Account registration form could serve as a good example. Kguske wrote that and it uses AJAX for immediate identification of a duplicate user name and/or email. Check it out...

Could someone tell me, please, does this function need some sort of setup on server side? I'm running RavenNuke with XAMPP, but this function doesn't work on localhost.
 
View user's profile Send private message
neralex
Site Admin


Joined: Aug 22, 2007
Posts: 1456

PostPosted: Fri Nov 09, 2018 12:40 am Reply with quote

I tried it years ago and ran in the same issues. I guess the used framworks are outdated.

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message
Nuke8
PostPosted: Sat Nov 10, 2018 7:13 am Reply with quote

I see. I really hope there will be some sort of update. Wink
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> JavaScript

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©