Jump to content

Extreme

Members
  • Posts

    117
  • Joined

  • Last visited

Everything posted by Extreme

  1. You are correct that there is no definitive front-runner; I can only attest to my experience and the experience of colleagues in the industry and from the conferences. Less is slightly more simple in implementation in that it requires a single js file, but this has serious implications when JavaScript is disabled. Sure there are other processing methods that have surfaced, but none of these are considered official implementations. When we looked for a preprocessor, we did a significant amount of research and chose to run with Sass because of the notion that an additional third-party application is required to make it work without JavaScript. Now I know that there are many that believe that those without JavaScript do not matter; but when you have Fortune 100 clients that are international, you quickly learn that those that do not have JavaScript working by default are the the clients that are paying the bills. Thus, progressive enhancement must be used which means that you cannot depend on less.js. I do not know what the future of Less is to be honest. Not to long ago it was announced that support for Less would be dropped only to have the development picked up by a a group of developers. When this happened, I watched every person in the Web Design Book Club that my company runs (with about 45 members) that used less switch to Sass. There were two things that they all raved about; @extend and Compass. Compass is by far the better aspect in my attention. These days I could not imagine writing behavior without jQuery — the same is true with Compass. In the end, I met with the boss and our sysadmin today to review some analytics related to the server performance of processing sass on the server. The background watch process for sass can be a resource hog for servers that are not equipped for it. In our environment, we are hosting hundreds of sites build in many different languages so we are adequately prepared for it. However, for a ' one-man shop', this is not necessarily required. For now, I will compile locally and upload the css via ftp. However, if the plans that I have for my future side projects come to pass, this will not necessarily serve my purposes. What is the situation on a reseller server; is Ruby allowed in that instance?
  2. So I opened a ticket with the help desk and have been told something that I am extremely shocked to be told and would like some clarification. As a front-end developer, I spend the bulk of my time writing CSS, JavaScript and building sites within open-source and proprietary CMS's. Everything that I do is in responsive design and my company does alot to keep the company using the most current techniques. An example is the fact that I have been using responsive design for more than 2 years professionally and the initial article describing the process is only 3 years old this month. The point here is that the use of Sass and compass is the future of front-end development. There are those that build with it and those that know nothing about it; the gray area in between is exceptionally small. Now, in order to use Sass and Compass, you need to use Ruby to power the Sass engine. From what I was just told tonight by the help desk is that TCh does not support Ruby on the servers. I would like to know if this is true. I am really curious about this. The dominance of Sass and Compass may not be so large that people will shy away from TCH, but the decision to not allow Sass to run on TCH servers feels like TCH is just not looking to the future and is not evolving. Sure you can write css without sass and everything will work just fine; this much can not be debated. However, you can also write JavaScript without jQuery but there are more people in 2013 that use jQuery instead of standard JavaScript alone. Even Sir Tim Berners-Lee and Oreilly have stated that Sass, and CSS preprocessors are the future. Not to mention that the W3C is adding the sass concepts to the specs and recommendations. To me, for TCH to say that this is not allowed on the servers, tells me that TCH is not evolving with the Internet. I would really like to hear your opinions. Please no flame wars
  3. yeah i knew of that one. i posted the sytax of it from php.net above the script. I just tried to make the mail snytax and noticed that this script is only handling the senders as requested. Didnt realize that till just now when I tried to add the function. I am going to have to look at this tonight, I work nights and its bedtime, and get back with you tomorrow. I am going to read and try and finish this script now that I have something to work with. Im going to compare this to my knowledge of another scripting language similar to php. I know I need to add a input for Subject and return email. Actually have the email part in the html just not here. I will do what I can with the knowledge i possess and hopefully get your comments on this tomorrow
  4. Now im no expert with php, but I did the plugging and formating, but sompething in this just doesnt look right. There is no mail function for one >bool mail ( string $to , string $subject , string $message [, string $additional_headers [, string $additional_parameters ]] ) > <div class="feedback"> <table> <tr> <td> <div id="leftbar" class="col300"> <div id="recipient"> <form id="form1" name="form1" method="post" action=""> <input type="radio" name="whoto" value="1" id="whoto1" checked="checked" /><br /> <label for="whoto1"><input type="radio" name="whoto" value="2" id="whoto2" />EverythingDartsAdmin</label><br /> <label for="whoto2"><input type="radio" name="whoto" value="3" id="whoto3" />Extreme</label><br /> <label for="whoto3"><input type="radio" name="whoto" value="4" id="whoto4" />Kowalski</label><br /> <label for="whoto4"><input type="radio" name="whoto" value="5" id="whoto5" />Buzz180</label><br /> <label for="whoto5"><input type="radio" name="whoto" value="6" id="whoto6" />Slim180</label><br /> <label for="whoto6"><input type="radio" name="whoto" value="7" id="whoto7" />Pestey</label><br /> <label for="whoto7"><input type="radio" name="whoto" value="8" id="whoto8" />UJSupanova</label><br /> </form> </div> <div id="bottons"> <input name="submit" type="submit" value="Submit" /> <input name="reset" type="reset" value="Reset Field" /> </div> </div> </td> <td> <div id="textarea" class="right col300"> <textarea name="text" cols="50" rows="10">Feel free to contact us</textarea> </div> </td> </tr> </table> </div> <? if (!isset($_POST['whoto'])) { header( "Location: $formurl" ); exit ; } $recipients = array( 'email@address1.com', 'email@address2.com', 'email@address3.com', 'email@address4.com', 'email@address5.com' ); $sendto = intval($_POST['whoto']); $mailto = (($sendto > 0) && ($sendto <= count($recipients)) ? $recipients[$sendto] : $mailto; ?> Where are my errors. Im trying to grasp this
  5. I will test this out to see how she works. Its amazing how close php is to my old game script. But then again they are both made off C++. Should be easy for me to grasp it once I get to learning it
  6. wow. i was merely asking how to edit an existing file. you could have just said do it yourself. i will ask any scripting question from now on elsewhere. Sorry i wasted your time
  7. I have this script for a feedback form that I generated on a site and I need to learn how to modify it to do what I need to be done. http://www.everythingdarts.com/Templates/contact.html If you look on that site, you will notice there are 7 possible recipients of the message and the script I have only deals with the form going to one person. how can i modify this script to allow for the radio buttons to decide the proper recipient? I also need to be taught what to put with the radio buttons as I have not learned what would go there to work this yet. this is the html code for the form that only goes to one person ><form action="feedback.php" method="post"> <table border="0" cellpadding="8" cellspacing="8" summary="feedback form"> <tr><td><label for="tswname">Name</label>:</td><td><input type="text" name="fullname" id="tswname" size="25" /></td></tr> <tr><td><label for="tswemail">Email address</label>:</td><td><input type="text" id="tswemail" name="email" size="25" /></td></tr> <tr> <td colspan="2"> <label for="tswcomments">Comments</label><br /> <textarea rows="15" cols="45" name="comments" id="tswcomments"></textarea> </td> </tr> <tr> <td align="center" colspan="2"> <input type="submit" value="Send Feedback" /><br /> Form by <a href="http://www.thesitewizard.com/">thesitewizard.com</a> </td> </tr> </table> </form> this is the feedback.php ><?php /* CHFEEDBACK.PHP Feedback Form PHP Script Ver 2.15.0 Generated by thesitewizard.com's Feedback Form Wizard 2.15.0. Copyright 2000-2009 by Christopher Heng. All rights reserved. thesitewizard is a trademark of Christopher Heng. Get the latest version, free, from: http://www.thesitewizard.com/wizards/feedbackform.shtml You can read the Frequently Asked Questions (FAQ) at: http://www.thesitewizard.com/wizards/faq.shtml I can be contacted at: http://www.thesitewizard.com/feedback.php Note that I do not normally respond to questions that have already been answered in the FAQ, so *please* read the FAQ. LICENCE TERMS 1. You may use this script on your website, with or without modifications, free of charge. 2. You may NOT distribute or republish this script, whether modified or not. The script can only be distributed by the author, Christopher Heng. 3. THE SCRIPT AND ITS DOCUMENTATION ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, NOT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. YOU AGREE TO BEAR ALL RISKS AND LIABILITIES ARISING FROM THE USE OF THE SCRIPT, ITS DOCUMENTATION AND THE INFORMATION PROVIDED BY THE SCRIPTS AND THE DOCUMENTATION. If you cannot agree to any of the above conditions, you may not use the script. Although it is not required, I would be most grateful if you could also link to thesitewizard.com at: http://www.thesitewizard.com/ */ // ------------- CONFIGURABLE SECTION ------------------------ // $mailto - set to the email address you want the form // sent to, eg //$mailto = "youremailaddress@example.com" ; $mailto = 'extreme@tregonia.net' ; // $subject - set to the Subject line of the email, eg //$subject = "Feedback Form" ; $subject = "Feedback Form" ; // the pages to be displayed, eg //$formurl = "http://www.example.com/feedback.html" ; //$errorurl = "http://www.example.com/error.html" ; //$thankyouurl = "http://www.example.com/thankyou.html" ; $formurl = "http://www.everythingdarts.com/Templates/contact.html" ; $errorurl = "http://www.everythingdarts.com/Templates/feedbackerror.html" ; $thankyouurl = "http://http://www.everythingdarts.com/Templates/feedbackthankyou.html" ; $email_is_required = 1; $name_is_required = 1; $comments_is_required = 1; $uself = 0; $use_envsender = 0; $use_sendmailfrom = 0; $use_webmaster_email_for_from = 0; $use_utf8 = 1; $my_recaptcha_private_key = '' ; // -------------------- END OF CONFIGURABLE SECTION --------------- $headersep = (!isset( $uself ) || ($uself == 0)) ? "\r\n" : "\n" ; $content_type = (!isset( $use_utf8 ) || ($use_utf8 == 0)) ? 'Content-Type: text/plain; charset="iso-8859-1"' : 'Content-Type: text/plain; charset="utf-8"' ; if (!isset( $use_envsender )) { $use_envsender = 0 ; } if (isset( $use_sendmailfrom ) && $use_sendmailfrom) { ini_set( 'sendmail_from', $mailto ); } $envsender = "-f$mailto" ; $fullname = (isset($_POST['fullname']))? $_POST['fullname'] : $_POST['name'] ; $email = $_POST['email'] ; $comments = $_POST['comments'] ; $http_referrer = getenv( "HTTP_REFERER" ); if (!isset($_POST['email'])) { header( "Location: $formurl" ); exit ; } if (($email_is_required && (empty($email) || !preg_match('/@/', $email))) || ($name_is_required && empty($fullname)) || ($comments_is_required && empty($comments))) { header( "Location: $errorurl" ); exit ; } if ( preg_match( "/[\r\n]/", $fullname ) || preg_match( "/[\r\n]/", $email ) ) { header( "Location: $errorurl" ); exit ; } if (strlen( $my_recaptcha_private_key )) { require_once( 'recaptchalib.php' ); $resp = recaptcha_check_answer ( $my_recaptcha_private_key, $_SERVER['REMOTE_ADDR'], $_POST['recaptcha_challenge_field'], $_POST['recaptcha_response_field'] ); if (!$resp->is_valid) { header( "Location: $errorurl" ); exit ; } } if (empty($email)) { $email = $mailto ; } $fromemail = (!isset( $use_webmaster_email_for_from ) || ($use_webmaster_email_for_from == 0)) ? $email : $mailto ; if (function_exists( 'get_magic_quotes_gpc' ) && get_magic_quotes_gpc()) { $comments = stripslashes( $comments ); } $messageproper = "This message was sent from:\n" . "$http_referrer\n" . "------------------------------------------------------------\n" . "Name of sender: $fullname\n" . "Email of sender: $email\n" . "------------------------- COMMENTS -------------------------\n\n" . $comments . "\n\n------------------------------------------------------------\n" ; $headers = "From: \"$fullname\" <$fromemail>" . $headersep . "Reply-To: \"$fullname\" <$email>" . $headersep . "X-Mailer: chfeedback.php 2.15.0" . $headersep . 'MIME-Version: 1.0' . $headersep . $content_type ; if ($use_envsender) { mail($mailto, $subject, $messageproper, $headers, $envsender ); } else { mail($mailto, $subject, $messageproper, $headers ); } header( "Location: $thankyouurl" ); exit ; ?> I am going to school for webdesign, but i dont begin working with php till my second year which will be after the new year. any help would be great as i am learning.
  8. I assume this program will work on our servers here?
  9. i saw that. any other tips for an awesome calendar for a web page?
  10. i dont suppose you could provide a link to it? I would like to see how it is setup cause the faq i found where it was mentioned sounded perfect is it something that can be seperate from the board?
  11. where is this tab on TCH forums that is for the calendar on here? I cant find it
  12. i understnad this, but i dont want one visitor to see that we just installed the same thing that they have used for ages. to the avgerage user who knows nothing of computers, i copied that site
  13. anyone know of any other web calendar programs? I got the one above installed and once it was running realized that this is the same calendar another site similar to ours uses and I wont allow us to be seen as copying
  14. valid point. Im actually curious to look at the calendar on here, but cant find its link
  15. Where is this at? I dont see this...
  16. this looks promising. I am the only coder and web-lacky on the site. Will this be easy for a computer "user" to understnad? Basically i provide the framework and the moderators and main admin run the site. I am 2nd in command of this site as webmaster. PI just need to verify that it has an "ease of use" feel for them
  17. Anyone have any reccomendations for a web based calendar? It can be either html or php, but needs to have an easy to use interface for the site im working with. I would prefer the calendar run of database support so that the calendar admin/mod will just be able to access the interface and then input what is needed. Then the program or script would input to the database and update the displayed webpage. these are the 2 I was looking at, but am interested in anyone here has a better option. http://www.easyphpcalendar.com/index.php http://www.calendarpad.com/ Also, any free options would be awesome too
  18. Here is the error Dreamweaver gave me. This was given after i made an images folder on my computer to store images for use on the webpage. I put the images into place and got this on upload. >Started: 4/26/2010 1:13 AM Templates\index.html - error occurred - An FTP error occurred - cannot put index.html. Access denied. The file may not exist, or there could be a permission problem. File activity incomplete. 1 file(s) or folder(s) were not completed. Files with errors: 1 Templates\index.html Finished: 4/26/2010 1:13 AM Now note that i deleted the Templates folder on the ftp before running the publish. I created the templates folder after that message and then the index and the images uploaded. The images uploaded to the existing images folder.
  19. So i got Dreamweaver CS4 today and decided to play in my site before i go and put her to work on the other sites i design with. Now im doing the tutorial i found here and it is serving me well so far. Now it explained how to set it all up and have DW "put" or publish the files to the server via DW and i did that ok with little hassle. it said when i do the "put", that it would place it in the folder i designated which was the public_html. it did that, for half of it. Instead of putting the index.html in the public_html folder, it put the Template folder on the server, inside the publi_html, and put the index in it instead of placing the index in the public folder. But it put the css in the right spot. The tutorial said nothing about the templates folder being uploaded. Does anyone know how to change this? Its a pain to have to constantly move the index or future documents up one directory when the DW should just put the index in the folder i designate. Why is it uploading the Templates folder and how can i make it stop. ~thanks to scott for catching the upload in the live chat
  20. will do
  21. hmmm...i have them just fine on my dedicated server, but on the shared one i work with on, its not the same. Awstats is not in the main menu as it is on my cPanel and when you enter the log programs, it says this. I dont quite understand how to "process" the raw data on my computer. Is there not a awstats on shared cPanel servers like there is on a dedicated server?
  22. excellent. just what he was looking for
  23. Where in the cPanel can i find the stats of the site? Things like... the detail of how many people each day how many hits on the main site which part of the main site gets the most visits etc...
  24. sounds good... *goes back to pondering more questions*
  25. im just trying to make this very painless for my friend. Thru phpbb we can move the posts and set who the poster is, but we just want to ake sure the site is not dead for a very long ammount of time
×
×
  • Create New...