Jump to content

Ninjakreborn

Members
  • Posts

    3,922
  • Joined

  • Last visited

Everything posted by Ninjakreborn

  1. I found the circular thing to allow me to draw circles perfectly, but it highlights the entire color around the circle, everything inside the circle, I need it to just color the lines around the circle, is there anyway to do this.
  2. [quote]Miscellaneous Topics that do not fall into all of the other forums. You can have personal discussions here about the weather, your car, your dog or whatever.. Have fun :) [/quote] I almost always ask my questions here, even if it was for third party software, of even perl, I would ask in the other languages post.  I ask allmost everything I need to ask here, just about.
  3. I have go get something done, I have learnt a lot about photoshop.  I haven't asked questions here in awhile until I started on this.  I have a circle, cut into 2 different parts, left side, and right side, they come together on the page to form the navigation.  It's for something that was already created I am just modifying it.  The thing is, I converted both files over to psd, I know now it's very important to have those copies, so I did that, thanks to andy, so now I have the psd versions, I practiced awhile, learn some more things, created all my text layers.  Now on my background layer I have one round circle in front of every text area(where I will put links with a site map in the XHTML.  For now I have to keep removing the circles everytime I adjust the text, I need to get each circle on the same layer as it's text.  I have 1 new layer for each section of text, I need the circles on this section.  The reason is it'll be 100 times easier to adjust and move around when needed, and when I mess with the circles to move them, then use the bucket to fill back in the area underneath them where they went it's slowly starting to degrade the circles, they are starting to break apart and disappear a little at a time.  It's just a circular red line, a thin red line, but I can't draw a circle, I wanted to create tehm on there appropriate pages, and just mark out the circles on the background, so I can adjust it when necessary, how do I get it to where I can draw a perfect circle, then have the lines of the circle get marked with a color of my choice?
  4. Thank you, I appreciate it, t his will work, I had someone who told me to import it, but I didn't know how, thanks again.
  5. I tried some more, I took the gif versions, I edited them quite a bit, I deleted all the text, and for a circular button I have there I replicated it over and over again, moved them around properly, then I created a .psd version so I cna make changes in layers then continuously resave over the .gif so I always have the layered version, but for some reason, no matter what I do it's not allowing me to create new layers for the psd file.
  6. it's been awhile since I have had to ask this many questions, I created the 2 gif's into psd files, so any changes I make will be easy to work with later, but it won't even let me create layers they are named filename.psd but there not letting me create layers for them, the create layer is grayed out, and the entire layers menu is grayed there isn't even one option available for me there.
  7. When you escape a string in mysql, for instance when you have the / symbolw hich is used to escape the character, if you want to escape the escape it's // then it said something about escaping the escape to the escape it's like //// to get that to escape right, by what i have read so try // if it doesn't work try ////
  8. very helpful, the thing was up and running perfectly in less than 20 seconds.
  9. How would I go about getting one of those randomly generated pics with numbers/letters for verification purposes on a site to prevent people from randomly signing up, or bots from randomly signing up.
  10. that'll work, it started working after I changed that by the way, thanks.
  11. What about emailing it to 2-3 people?
  12. I don't understand one thing, I ahve had this problem for months, multiple projects, and sometimes multiple servers.  It says the mail sends but it doesn't sometimes I never get the emails, sometimes I do.  For instance on a project, I was added to a list in a database, I tried to mail but I never got an email(and the email was in there right), but what happened is the other people said they were getting them. And on my own site, the contactus form works, but when I set up the quickquote to test it, it has my email, it's like this $to = "businessman332211@hotmail.com, {$_POST['qqemail']}"; but it never sends an email even though it says it does.
  13. oh shit, I optimized based on my thumbnail size so it changed the sizes of the pictures on the big pages how the hell am I going to fix this,
  14. I optimized, in fireworks, it's called optimize.
  15. My experience that I have had before, allowed me to complete this, I just redid some of the coding prehind the program, and it works now, thanks.
  16. Or would javascript be safe enough to use for this
  17. [code]<div class="wrapperAttribsOptions"> <h4 class="optionName back"><label class="attribsInput" for="attrib-60-285">Custom Laminate:</label></h4> <div class="back"><input type="text" name="id[txt_60]" size="32" maxlength="32" value="" id="attrib-60-285" />[/code] That is what the view source outputs, it outputs something a little different for each one, I am afraid if I change the wrong one, i only want a way to have it affect that one text box, that is why I was hoping to just throw it in there on the other page, without getting into that page, so I could replicate the process if we had to redo it for 4-5 different types of text inputs.
  18. After doing some visual recon, I discovered how they set it up, they put each type of input into a different section, I found the one on text, I understand everything, because I know php now, but I am confused on how I could add it in for htat one type of text field, because later if we have another text type we need to fill with a specific value I am worried there might be problems, advice anyone, I found this by looking around? [code]    <?php             // text                   if (($products_options_names->fields['products_options_type'] == PRODUCTS_OPTIONS_TYPE_TEXT)) {                     //CLR 030714 Add logic for text option                     //            $products_attribs_query = zen_db_query("select distinct patrib.options_values_price, patrib.price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$_GET['products_id'] . "' and patrib.options_id = '" . $products_options_name['products_options_id'] . "'");                     //            $products_attribs_array = zen_db_fetch_array($products_attribs_query);                     if ($_POST['id']) {                       reset($_POST['id']);                       foreach ($_POST['id'] as $key => $value) {                         //echo ereg_replace('txt_', '', $key) . '#';                         //print_r($_POST['id']);                         //echo $products_options_names->fields['products_options_id'].'|';                         //echo $value.'|';                         //echo $products_options->fields['products_options_values_id'].'#';                         if ((ereg_replace('txt_', '', $key) == $products_options_names->fields['products_options_id'])) {                           // use text area or input box based on setting of products_options_rows in the products_options table                           if ( $products_options_names->fields['products_options_rows'] > 1) {                             $tmp_html = '  <input disabled="disabled" type="text" name="remaining' . TEXT_PREFIX . $products_options_names->fields['products_options_id'] . '" size="3" maxlength="3" value="' . $products_options_names->fields['products_options_length'] . '" /> ' . TEXT_MAXIMUM_CHARACTERS_ALLOWED . '<br />';                             $tmp_html .= '<textarea class="attribsTextarea" name="id[' . TEXT_PREFIX . $products_options_names->fields['products_options_id'] . ']" rows="' . $products_options_names->fields['products_options_rows'] . '" cols="' . $products_options_names->fields['products_options_size'] . '" onKeyDown="characterCount(this.form[\'' . 'id[' . TEXT_PREFIX . $products_options_names->fields['products_options_id'] . ']\'],this.form.' . TEXT_REMAINING . TEXT_PREFIX . $products_options_names->fields['products_options_id'] . ',' . $products_options_names->fields['products_options_length'] . ');" onKeyUp="characterCount(this.form[\'' . 'id[' . TEXT_PREFIX . $products_options_names->fields['products_options_id'] . ']\'],this.form.' . TEXT_REMAINING . TEXT_PREFIX . $products_options_names->fields['products_options_id'] . ',' . $products_options_names->fields['products_options_length'] . ');" id="' . 'attrib-' . $products_options_names->fields['products_options_id'] . '-' . $products_options_value_id . '" >' . stripslashes($value) .'</textarea>' . "\n";                           } else {                             $tmp_html = '<input type="text" name="id[' . TEXT_PREFIX . $products_options_names->fields['products_options_id'] . ']" size="' . $products_options_names->fields['products_options_size'] .'" maxlength="' . $products_options_names->fields['products_options_length'] . '" value="' . stripslashes($value) .'" id="' . 'attrib-' . $products_options_names->fields['products_options_id'] . '-' . $products_options_value_id . '" />  ';                           }                           $tmp_html .= $products_options_details;                           break;                         }                       }                     } else {                       $tmp_value = $_SESSION['cart']->contents[$_GET['products_id']]['attributes_values'][$products_options_names->fields['products_options_id']];                       // use text area or input box based on setting of products_options_rows in the products_options table                       if ( $products_options_names->fields['products_options_rows'] > 1 ) {                         $tmp_html = '  <input disabled="disabled" type="text" name="remaining' . TEXT_PREFIX . $products_options_names->fields['products_options_id'] . '" size="3" maxlength="3" value="' . $products_options_names->fields['products_options_length'] . '" /> ' . TEXT_MAXIMUM_CHARACTERS_ALLOWED . '<br />';                         $tmp_html .= '<textarea class="attribsTextarea" name="id[' . TEXT_PREFIX . $products_options_names->fields['products_options_id'] . ']" rows="' . $products_options_names->fields['products_options_rows'] . '" cols="' . $products_options_names->fields['products_options_size'] . '" onkeydown="characterCount(this.form[\'' . 'id[' . TEXT_PREFIX . $products_options_names->fields['products_options_id'] . ']\'],this.form.' . TEXT_REMAINING . TEXT_PREFIX . $products_options_names->fields['products_options_id'] . ',' . $products_options_names->fields['products_options_length'] . ');" onkeyup="characterCount(this.form[\'' . 'id[' . TEXT_PREFIX . $products_options_names->fields['products_options_id'] . ']\'],this.form.' . TEXT_REMAINING . TEXT_PREFIX . $products_options_names->fields['products_options_id'] . ',' . $products_options_names->fields['products_options_length'] . ');" id="' . 'attrib-' . $products_options_names->fields['products_options_id'] . '-' . $products_options_value_id . '" >' . stripslashes($tmp_value) .'</textarea>' . "\n";                         //                $tmp_html .= '  <input type="reset">';                       } else {                         $tmp_html = '<input type="text" name="id[' . TEXT_PREFIX . $products_options_names->fields['products_options_id'] . ']" size="' . $products_options_names->fields['products_options_size'] .'" maxlength="' . $products_options_names->fields['products_options_length'] . '" value="' . htmlspecialchars($tmp_value) .'" id="' . 'attrib-' . $products_options_names->fields['products_options_id'] . '-' . $products_options_value_id . '" />  ';                       }                       $tmp_html .= $products_options_details;                       $tmp_word_cnt_string = '';                       // calculate word charges                       $tmp_word_cnt =0;                       $tmp_word_cnt_string = $_SESSION['cart']->contents[$_GET['products_id']]['attributes_values'][$products_options_names->fields['products_options_id']];                       $tmp_word_cnt = zen_get_word_count($tmp_word_cnt_string, $products_options->fields['attributes_price_words_free']);                       $tmp_word_price = zen_get_word_count_price($tmp_word_cnt_string, $products_options->fields['attributes_price_words_free'], $products_options->fields['attributes_price_words']);                       if ($products_options->fields['attributes_price_words'] != 0) {                         $tmp_html .= TEXT_PER_WORD . $currencies->display_price($products_options->fields['attributes_price_words'], zen_get_tax_rate($product_info->fields['products_tax_class_id'])) . ($products_options->fields['attributes_price_words_free'] !=0 ? TEXT_WORDS_FREE . $products_options->fields['attributes_price_words_free'] : '');                       }                       if ($tmp_word_cnt != 0 and $tmp_word_price != 0) {                         $tmp_word_price = $currencies->display_price($tmp_word_price, zen_get_tax_rate($product_info->fields['products_tax_class_id']));                         $tmp_html = $tmp_html . '<br />' . TEXT_CHARGES_WORD . ' ' . $tmp_word_cnt . ' = ' . $tmp_word_price;                       }                       // calculate letter charges                       $tmp_letters_cnt =0;                       $tmp_letters_cnt_string = $_SESSION['cart']->contents[$_GET['products_id']]['attributes_values'][$products_options_names->fields['products_options_id']];                       $tmp_letters_cnt = zen_get_letters_count($tmp_letters_cnt_string, $products_options->fields['attributes_price_letters_free']);                       $tmp_letters_price = zen_get_letters_count_price($tmp_letters_cnt_string, $products_options->fields['attributes_price_letters_free'], $products_options->fields['attributes_price_letters']);                       if ($products_options->fields['attributes_price_letters'] != 0) {                         $tmp_html .= TEXT_PER_LETTER . $currencies->display_price($products_options->fields['attributes_price_letters'], zen_get_tax_rate($product_info->fields['products_tax_class_id'])) . ($products_options->fields['attributes_price_letters_free'] !=0 ? TEXT_LETTERS_FREE . $products_options->fields['attributes_price_letters_free'] : '');                       }                       if ($tmp_letters_cnt != 0 and $tmp_letters_price != 0) {                         $tmp_letters_price = $currencies->display_price($tmp_letters_price, zen_get_tax_rate($product_info->fields['products_tax_class_id']));                         $tmp_html = $tmp_html . '<br />' . TEXT_CHARGES_LETTERS . ' ' . $tmp_letters_cnt . ' = ' . $tmp_letters_price;                       }                       $tmp_html .= "\n";                     }                   } ?> [/code]
  19. Ok, I tried asking the zencart forums, they pointed me to the right files, I fixed the style issues, and worked up the system, but no-one as of yet has given me any advice on this so far.  The reason I am having a problem, is I am trying to figure out how to dynamically create it, anyone have any advice on this, I am working on both pages that have to do with the templates, that deals with attributes, the other page that dynamically creates them, I am a little scared to touch, the other page, is it possible to do that?  I need a general system because if may need to be replicated if we need to do it for more attributes later, to have a similar system.
  20. See I have it doing everything I need, it's on a zencart shopping cart system.  I have it dynamically creating a url just fine, depending onw hat attributes were chosen, it creates a link and passes all item information over to a color pallete we create, they pick a color it passes all information back to the other page in a get query.  Thing is we need to get to the point were I can take one of the parameters returned from the get query to allow me to populate that text field, but that text field is heavily dynamically created on a page using a large number of various factors set in admin, so I have no direct access to the actual text field, none at all, I have to find a way to pop it in there anyway, and javascript, if they have it disabled, the whole system won't work properly.
  21. This is a difficult question, it's too long of a story to explain so let me keep it simple.  You know how javascript can get an element information by id, or directly accessing it, well can that be done with php.  For instance, I have a get query coming to a page, and I have to populate a text field, It's ingraved deep within a system, it's zencart, so Idon'tknow where to find the system, so I was hoping I could put some code in another area, capture that get query, and put it into the text field, without directly putting <?php echo $_GET['variable']; ?> into the field area, is there a way to do this, at all?  in just php.
  22. I didn't those are the same dimensions.  I optimized it, I haven't compressed it yet, I just optimized them so it loads faster, until I have time to go over the site again later on down the road.
  23. I see thanks for the advice, I walk away with new knowledge even today, thanks again.
  24. Ok, so when you use brackets, you need the ' ' because I never needed those before, so it depends on my format so if I use brackets, which I always do, then I need to include those single quotes around it everytime?
  25. It worked after that, I know it wouldnt have been the { } those are suppose to be used based on the manual, but the $row[variable] was suppose to be used when extrapolating, can someone explain this too me, this has almost knocked me off of my chair, this whole time I have been programming like that, getting into a bad habit, I was told, and read it's best and recommended to use this format when extrapolation [code] <?php {$_POST[variable]} {$_GET[variable]} {$row[variable]} // or whatever variable your array was set too?> [/code]
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.