Jump to content

piper338

Members
  • Posts

    152
  • Joined

  • Last visited

Everything posted by piper338

  1. Hey guys, I'm new to most of this stuff I am really starting to enjoy website creation. I've been learning CSS and the use of Divs. to me I love the designing without tables. I drew a website up tonight the background is a slight gradient and I'm trying to have a transparent content box. My problem is the gradient It cant Repeat-Y because the backgrounds wont match. And I tried making a .Gif but it didn't work, and I hear some browsers do not support .png's right now. Here is the start of my design, what is the best way to make content boxes like I am attempting to do? I've seen it don't with 5 Divs, top, bottom, left, right and center. Mine only had 3 top center and bottom, then I used padding to align the text. Here is the beginning of what I am working on. http://i34.tinypic.com/2l9lcw0.jpg Thanks, Chad C.
  2. OK, I feel really stupid sorry for wasting your time haha. SELECT * FROM phpvms_pilots, I forgot I am using a different prefix for the tables. My bad, thanks anyhow. Chad C.
  3. I'm new to this stuff haha, I think this is what you are asking. $get_uinfo = mysql_query("SELECT * FROM phpvms_pilots WHERE firstname='".$fname."' AND lastname='".$lname."' AND email='".$email."'"); <?php class ForumRegister extends CodonModule { public function __construct() { CodonEvent::addListener('ForumRegister'); } public function EventListener($eventinfo) { if($eventinfo[0] == 'registration_complete') { $userinfo = $eventinfo[2]; $fname = $userinfo['firstname']; $lname = $userinfo['lastname']; $pass = $userinfo['password1']; $email = $userinfo['email']; $code = $userinfo['code']; $get_uinfo = mysql_query("SELECT * FROM phpvms_pilots WHERE firstname='".$fname."' AND lastname='".$lname."' AND email='".$email."'"); $uinfo = mysql_fetch_array( $get_uinfo ); $str = $uinfo['pilotid']; $pilot_id = str_pad ($str,4,"0",STR_PAD_LEFT); $pilot_id = $code.$pilot_id; $pilot_name = mysql_escape_string ($fname. ' ' .$lname); $passsha1 = mysql_escape_string (sha1(strtolower($email) . $pass)); $passsalt = substr(md5(mt_rand()), 0, 4); $email = mysql_escape_string($email); $tm = time(); mysql_query("INSERT INTO smf_members (memberName, realName, passwd, emailAddress, hideEmail, ID_GROUP, timeOffset, location, lngfile, validation_code, ID_THEME, is_activated, ID_MSG_LAST_VISIT, dateRegistered, passwordSalt) VALUES ('".$email."', '".$pilot_name."', '".$passsha1."', '".$email."', '1', '4', '', '', '', '', '0', '1', '1', '".$tm."', '".$passsalt."')"); $member_id = mysql_insert_id(); mysql_query("update smf_settings set value = '$pilot_name' where variable='latestRealName'"); mysql_query("update smf_settings set value = '$member_id' where variable='latestMember'"); } } } ?>
  4. Trying to get this to work with SMF... and well it does to a point. When the user joins I get the following error. Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home1/flyvvaor/public_html/core/modules/ForumRegister/ForumRegister.php on line 26 Here is line 26 $uinfo = mysql_fetch_array( $get_uinfo );
  5. Hi guys, I just wanted to get some opinions on what would be the best work flow for website creating with php & mysql. It seems like my current way of doing things is very inefficient, I currently use dreamweaver and usually just copy and paste to my Cpanel for some reason I don't like the FTP stuff with dreamweaver. I also watch one of the tutorials looks like .net was being used in it? I think I am looking for the best way to edit locally and upload everything after I am done. I have used WAMP in the past, but it didn't last long. Any ideas? Thanks, Chad C.
  6. OK I got it working again. Dropped the sessions table like you said an ran the update.php again. Thanks, Chad C.
  7. site it gives the error "You must be logged in to access this feature!"
  8. There's your problem to take advantage of this feature right now you have to have the current beta installed.
  9. No we do not yet, I should probably throw some in there so we can test that part as well before we open the doors.
  10. OK, thanks. I ran the update and got the follwoing errors phpVMS Updater Starting the update... Warning: Invalid argument supplied for foreach() in /home1/flyvvaor/public_html/install/update.php on line 186 Warning: Invalid argument supplied for foreach() in /home1/flyvvaor/public_html/install/update.php on line 210 Update completed! Is this something to worry about?
  11. Just wanted to get some opinions, would you recommend switching from the full to beta versions of phpvms? If so what is the best way to update, and will any of our current data be deleted? Thanks, Chad C.
  12. Is there a way to have the (Newest Pilots) display the pilots only after their application has been accepted by my staff?
  13. That's what I was afraid of... :
  14. Where you would zoom there is a blank spot that is usually transparent, any ideas on how to fix this? http://flyvva.org/index.php/acars Thanks, Chad C.
  15. Can fuel cost be calculated in Lbs or US Gallons?
  16. Just an update the bids started working on their own! Thanks, Chad C.
  17. I'm using Version 1.2.700 I tried what you said and there was no errors when I bid on a schedule.
  18. OK guys, sorry I've been asking a lot of questions but I still run into a few issues every now and then. First question, Bidding... Pilot selects bid it says added, then pilot goes back to view bid and it says "You have not bid on any flights". Any Ideas? Second: phpvms Admin Panel... Latest News it says No input file specified. where do I specify a file? Thanks for the continued support, Chad C.
  19. Well all the templates where just slightly bigger than my design DIVs I went back and looked at the header and footer and found a simple mistake. It is all working well now as far as the design in going.
  20. Ok thanks Roger, Just felt like I was missing out on something. Chad
  21. Hi all, I have a template and it works great, however I have been having to copy and edit every single .tpl possible to get the DIVs to be inside the design template. it just seems like there should be another way am I missing something. I tried editing something like page content.tpl but that didn't work. Thanks, Chad
  22. Is it possible to have only admins view the website when It is down for MX, and have all others redirected?
×
×
  • Create New...