Jump to content

Chubbs

Members
  • Content count

    18
  • Joined

  • Last visited

About Chubbs

  • Birthday 08/05/1986

Profile Information

Recent Profile Visitors

6,338 profile views
  1. Rather then wait on someone to get around to doing this, I managed to figure out how to get insaini's Canada Post Automated Labels 2.0 AND Canada Post Shipping Module 4.0 for osCommerce 2.2 working for 2.3.1. I've also updated the install document and hopefully didn't miss anything. My Coding skills are enough to get me by, so can not guarantee you will get any support from me. Hopefully someone with good skills will be able to pick this up and provide any support that's needed. You can find the contribution here: http://addons.oscommerce.com/info/7900
  2. So as the title says, I can't seem to get Threat Scanner v1.0 working on osC 2.3.1 right now. I do have Mindsparx admin installed, and its suppose to auto detect new contributions, and so far it has been, but Threat scanner doesn't show up that I've seen. I followed the install instructions, and the only thing left out of them was the update to column_left.php, but that doesn't matter since Mindsparx has your block comment out that file. I've tried accessing Threat Scanner directly (/admin/threat_scanner.php) and I at least get a result. The page loads the Header, Heading title for Threat Scanner, then jumps right to the footer. And I know that threat_scanner.php is more involved then just that. Anyone have any idea's whats going on? Any help would be greatly appreciated.
  3. This took a while longer then it probably should have for me to do, but I decided to share it because after doing a google site search I didn't come up with anything similar. I wanted to make the Stock Categories box a bit more easier to differentiate between Primary and Subcategories, and while I know there are some complete contributions for 2.3 currently, I didn't feel they were what I was looking for. In the end, my solution was just a few code edits. in your /catalog/ext/jquery/ui/THEME_NAME/jquery-ui-X.X.X.css add the following lines somewhere that is good for you. /* Categories Box --------------------------*/ .categoryBox-active { color: #d00000; font-weight: bold; } .categoryBox { color: #000000; } Then in /catalog/includes/modules/boxes/bm_categories.php Find: if (isset($cPath_array) && in_array($counter, $cPath_array)) { $categories_string .= '<strong>'; } Replace with: if (isset($cPath_array) && in_array($counter, $cPath_array)) { $categories_string .= '<span class="categoryBox-active">'; } else { $categories_string .= '<span class="categoryBox">'; } and a little further down Find: if (isset($cPath_array) && in_array($counter, $cPath_array)) { $categories_string .= '</strong>'; } and Replace it with $categories_string .= '</span>'; This should allow you to edit what your Active / Non active Category links look like. The above code will make the active selection Red and Bold, but you can change the color to anything by modifying the hex color code. I put this in the theme's css file so that if you want to change your theme, you can copy the css code to your other theme's css and edit it there too if you want it to look different based on theme. Additionally to make identification between primary and subcategory links easier, you can create 2 images. I'm using some from an old 2.2 contribution I was using of some 8x7 sideways triangles. Upload the images to your /catalog/images folder then in again /catalog/includes/modules/boxes/bm_categories.php Find: for ($i=0; $i<$tree[$counter]['level']; $i++) { $categories_string .= " "; } and right UNDER it add if ($tree[$counter]['level'] == 0) { $categories_string .= tep_image(DIR_WS_IMAGES . 'PRIMARY IMAGE NAME', '', '8', '7'); } else { $categories_string .= tep_image(DIR_WS_IMAGES . 'SUBCATEGORY IMAGE NAME', '', '8', '7'); } Replacing "PRIMARY IMAGE NAME" and "SUBCATEGORY IMAGE NAME" with whatever your two images are. The result of both of these edits is something similar to
  4. Chubbs

    [Contribution] STS v4

    Hopefully someone can help me out here... I just found out I have a really strange bug today. After fixing up some code I didn't quite finish fixing for UltraPics, I got all the pictures showing correctly... Then noticed that my Review and Add to Cart buttons arn't working (no link attached to the image) After some testing I've limited the problem to atleast my Product Content Template. In admin I switched the theme to full, after renaming the product_info templates to work for all products since I've removed the stock stuff. doing this, made the add to cart button work. But the review's button still doesn't work. After reviewing all the code in my content template, I can't find any errors myself. I even went so far as to use http://www.chubbscorner.com/catalog/gift-c...sts_debug=debug and http://www.chubbscorner.com/catalog/gift-c...sts_debug=debug to compair the 'content' output to find the buttons are exactly the same. If someone has some time, and can make any sense of this and help me fix this oddity I'd be very appreciative. If all else fails I'd hate to think I have to rewrite the template from scratch and hope it works.
  5. For STS Users, STS wants to template all your pages in /catalog/ Because of this we have to exclude the RSS feed from being templated. To do this, as found here You need to go to /catalog/includes/modules/sts ->Open sts_default.php At about line 42 you should see if (strstr($scriptbasename, "popup")|| strstr($scriptbasename, "info_shopping_cart")) return ''; // We don't use template for these scripts right under that put if (strstr($scriptbasename, "popup")|| strstr($scriptbasename, "rss")) return ''; // We don't use template for these scripts and the rss feed should be working again. To make the icons show up again, go threw your template files and apply the image code's as you would following the install.txt ie) /catalog/includes/sts_templates/~your template~/ -> sts_template.html make your head content <head> <!--$headcontent--> <link rel="stylesheet" type="text/css" href="stylesheet.css"> <?php if (!isset($lng) || (isset($lng) && !is_object($lng))) { include_once(DIR_WS_CLASSES . 'language.php'); $lng = new language; } reset($lng->catalog_languages); while (list($key, $value) = each($lng->catalog_languages)) { ?> <link rel="alternate" type="application/rss+xml" title="<?php echo STORE_NAME . ' - ' . BOX_INFORMATION_RSS; ?>" href="<?php echo FILENAME_RSS, '?language=' . $key; ?>"> <?php } ?> </head> for the icon to show up in the URL bar. If you use Custom templates for Products or Manfactures you will have to apply these changes to them as well for the icon's to show up.
  6. I too am getting this problem. When STS is turned off all the RSS symbols appear and the feed works fine. Turn STS on and nothing works.
  7. Chubbs

    photo gallery for oscommerce

    I've got another problem. Before fixing the logout problem, When trying to leave a comment on a picture in the gallery I was getting booted to index.php and logged out. The comment isn't saved. Since telling highslide to keep the osCid in the form box, Im now just booted to index.php and the comment isn't saved. I've looked in the gallery_processes.php even, and I can't seem to figure this out. Gallery is installed at http://www.v2.chubbscorner.com/catalog/gallery.php if someone wants to verify. (tested in Opera 9 and IE 7)
  8. Chubbs

    photo gallery for oscommerce

    I ended up getting it working. After making the /catalog/gallery/ folder myself and giving it 777 permissions assuming thats what was needed, and fixing my catalog/includes/database_tables.php file (somehow the gallery addititon didn't save). I applyed Lee's fix for the highslide java script calls. After successfully adding a picture threw My account> Gallery, I got the error in the ../boxes/gallery.php fixed by Lee again here after getting all that fixed and working the admin upload fixed itself... I didn't have to do anything to get it to start working. Next came using a file compairsion program I compaired the highslide css so I could combine it and put it into the main style sheet. I found when 'trying' to edit one the other would take over so just put it all in one uniform place. Prior to this the Edit and Comments boxes were completely screwy. All thats left is to edit the css of the iframes so that it suits the site. A big thanks to the contributer for the contribution, and Thank you Lee for having already fixed my problems once I found them :)
  9. Chubbs

    photo gallery for oscommerce

    Guess it doesn't allow editing after a set time... Hate double posting. Anyways I read back a few pages. As far as my "Warning: Cannot modify header information" problem goes. The suggested extra charters after ?> isn't whats causing it. I checked the general.php file, and all other admin files I had to edit.
  10. Chubbs

    photo gallery for oscommerce

    Thanks for this contribution, I'm getting a weird error though when using v0.9 (osC v2.2 RC2a, PHP v5.2.5, MySQL v5.0.75) When I try and view My gallery threw My account > My Gallery. I get a screen with 1146 - Table 'heraldso_ccshopv2.TABLE_GALLERY_SUPERUSERS' doesn't exist select count(*) as total from TABLE_GALLERY_SUPERUSERS where cID = '2' [TEP STOP] I have verified that both the Gallery and Gallery_Superusers exist in the database. I've also tried making my test user a super user. The change is registered in the sql database, I checked, but I still get this error. Thinking I fuged the install somewhere, I went back and rechecked all the file edits and everything is as it should be. ______ Also, I noticed that Admin > Gallery > Clean Gallery results in the following error Cleaning folder ../gallery/thumbnails ... Warning: dir(../gallery/thumbnails) [function.dir]: failed to open dir: No such file or directory in 'root'/catalog/admin/gallery.php on line 52 Fatal error: Call to a member function on a non-object in 'root'/catalog/admin/gallery.php on line 53 condensing 'root' to where everything is installed)[/code] Thinking that this was caused by the files not existing, I try doing an admin upload, and get Warning: copy(root/catalog/gallery/2_1.jpg) [function.copy]: failed to open stream: No such file or directory in 'root'/catalog/admin/gallery_upload.php on line 57 Warning: Cannot modify header information - headers already sent by (output started at 'root'/catalog/admin/gallery_upload.php:57) in root/catalog/admin/includes/functions/general.php on line 22 (again condensing root to where the stuff actually is) Anyone have any ideas on where I could begin to try and fix this. I do use STS but for sake of testing, disabled it to see if it makes a difference, it doesn't. Thanks in advance :)
  11. Chubbs

    Order Confirmation Problem

    Update Yup... that was wierd... Even live it works fine now *very puzzled*. Thats for the help though Coopco. Now... I need to see if there is a way to get the Paypal checkout show each item
  12. Chubbs

    Order Confirmation Problem

    update: After removing, and reinstalling / enabeling the Paypal Standered Module in the admin section, and putting all the information back in i went back to the Order Confermation page and everything seems fine *puzzled* I did set it to sandbox instead of live so after playing with it a few times i'll see if that makes any difference
  13. Chubbs

    Order Confirmation Problem

    I don't think its that, Cause I recently intigrated a Simple PHP script gallery into my main site One instance of the code is, $fp = fopen($piclist, 'r'); And as you can see on my Test Page There is no errors about using fopen
  14. Chubbs

    Order Confirmation Problem

    I've gotten most of my site set up, and it just occured to me that i hadn't done any dummy purchases yet. Its a good thing I did. Below the Order confirmation boxes (Delievery address, Shipping address, Product(s)) i get a whole list of errors related to paypal standered. I Thought i had PayPal standered set up properly in the admin/modules, Any any ideas or suggestions would be greatly apprecieated. Thanks -Chubbs
×