PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
floppydrivez
Involved
Involved


Joined: Feb 26, 2006
Posts: 337
Location: Jackson, Mississippi

PostPosted: Fri Sep 25, 2009 6:00 pm Reply with quote Back to top

Could we use anchors in the first part of the installer so it jumps closer to where I have to click next.

I tested this in FF 3.5 and IE 8 (it draws an underline in IE8 easy fix, but still)

Something like

Code:
      <tr>
        <td><a name="lip2" href="javascript:void(0)">
      <table><tr><td>
          <form name="lip2" method="post" action="<?php $_SERVER['PHP_SELF'];?>">
            <input class="button" type="submit" name="<?php echo _rnSUBMIT;?>" value="<?php echo _rnSTEP3b;?>&nbsp;:&nbsp;&nbsp;<?php echo _rnLOAD_IP2COUNTRY_DATA2_10;?>" />
            &nbsp;&nbsp;<span class="c3"><input class="inputbox" name="session" value="<?php echo $_SESSION['lip2'];?>" readonly="readonly" size="75" onfocus="blur()" /></span>
            <input type="hidden" name="op" value="lip2" />
          </form>
      </td></tr></table>
   </a>
      </td>
   </tr>


Code:
      if($_POST['op']=='lip10'){
         echo '<script>window.location.href = "'.$_SERVER['PHP_SELF'].'?setup='.$setup.'#setup"</script>';
      }else{
         echo '<script>window.location.href = "'.$_SERVER['PHP_SELF'].'#'.$_POST['op'].'"</script>';
      }


In language files.

Code:
<a href="setup.php" name="setup">Setup</a>


Yes, I am the lazy one.
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2404
Location: Pennsylvania

PostPosted: Fri Sep 25, 2009 6:38 pm Reply with quote Back to top

This is needed Wink . It is a little annoying having to scroll down so many times when loading the IP2Country stuff.
View user's profile Send private message Visit poster's website
floppydrivez
Involved
Involved


Joined: Feb 26, 2006
Posts: 337
Location: Jackson, Mississippi

PostPosted: Fri Sep 25, 2009 6:44 pm Reply with quote Back to top

Especially when your a developer and its common to reload the CMS from scratch like 10 times a day. /exaggeration on
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
montego
Former Admin in Good Standing


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

PostPosted: Sat Sep 26, 2009 1:09 pm Reply with quote Back to top

One thing that I have always wanted is a "Quick Install" version where I can elect to install the IP2C data or not then simply hit a button and the whole shootin' match is loaded. The files were broken up to avoid issues with slow servers (so reach the PHP time-out) and/or limits on database queries within a given time-frame. If you have none of these limitations and you install many times over, yes, it is kind of a pain. In fact, I'd love to just enter in all my information that setup.php click a check-box, and let it install everything from the tables and data all in one shot.
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16976
Location: Kansas

PostPosted: Sat Sep 26, 2009 2:23 pm Reply with quote Back to top

speedtype And people in hell want ice water killing me
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
montego
Former Admin in Good Standing


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

PostPosted: Sun Sep 27, 2009 10:55 am Reply with quote Back to top

Unfortunately, too late for them my friend... but, we're still a kickin' so time to get crackin'

speedtype

ROTFL
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16976
Location: Kansas

PostPosted: Sun Sep 27, 2009 1:20 pm Reply with quote Back to top

speedtype tempus fugit
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
eldorado
Involved
Involved


Joined: Sep 10, 2008
Posts: 366
Location: France

PostPosted: Sun Sep 27, 2009 3:47 pm Reply with quote Back to top

alea jacta est now raven Razz time to get crackin' , nah , just kidding . Hey floppy , why don't you get a saved copy of the database at start and just reload it when you need reinstall? Thats what I do but maybe thats not enough , Is there a script that do something else than install sql in the installation?
View user's profile Send private message Visit poster's website MSN Messenger
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16976
Location: Kansas

PostPosted: Sun Sep 27, 2009 7:20 pm Reply with quote Back to top

Eldorado's simple but elegant sugestion is an excellent example of Occam's razor Wink
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
floppydrivez
Involved
Involved


Joined: Feb 26, 2006
Posts: 337
Location: Jackson, Mississippi

PostPosted: Sun Sep 27, 2009 7:23 pm Reply with quote Back to top

A one click installer is very possible though. The basic concept is that the new location is just the next step in the installer phase and a simple check to see if there was an error with the current phase.

All pretty simple stuff. If it was me, I would create a checkbox array which defined which phases (love that word) needed to be executed. After reviewing the code for the current installer, it is just a some minor modifications and testing.
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16976
Location: Kansas

PostPosted: Sun Sep 27, 2009 7:41 pm Reply with quote Back to top

True. All things are possible. In your browser you can also click View/Zoom Out and, Voila! It all fits on a single screen Wink

All that aside, I understand the issues, desires, wants, etc. I also know that I can loop the IP2C to make it one click. When I was creating the installer I took the approach that a single click should create a single response. In other words one action equals one reaction which is, I believe, some programming principle I read somewhere Laughing. It helps to keep debugging much easier. In any event, no need to drag this out as the installer is being rewritten anyway. Maybe redesigned is a better term. What was released was all I could complete at that time Wink
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum