Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

bad_lemming

Archived
  • Posts

    121
  • Joined

  • Last visited

Profile Information

  • Real Name
    Derrick

bad_lemming's Achievements

  1. http://www.oscommerce.com/community/contributions,1289 I would like to make a few changes to this contribution: 1) Bring it up to ms2 standards (I think that is what it is that defines filenames in the filenames.php rather than application top etc...) 2) Base the extra images off of the product name rather than the product model, as product model is not always used. 3) I would like to add an additional set of image dimensions to allow for the "non main" images to be smaller than the "main" image. 4) I would also possibly like to add functionality for upload of files from the admin, but this is optional. I think I have probably 50% of the knowledge to get this done, is there anyone who would be willing to guide me through this? I would do the work, basically I need a dependable source of knowledge (osc and php)
  2. meh, i figured out the problem, for some reason I had cleared out the orders_products table at some point, sorry for the uneeded post.
  3. I installed this contribution a few months ago. I am now getting ready to go live so I am checking out my proccesses to make sure all is well. Well, now for some reason, my products aren't showing up on my invoices/packing slips. Any ideas?
  4. I have a question about this contribution. What I am basically trying to accomplish is to offer a discount for multiple items within one catagory. for example, if I have a category called "widgets", I want to offer a volume discount for any other products in that category, but not a discount for products in other categories. does that make sense? can this contri accomplish this?
  5. appreciate the fast reply. Well, part of my mistrust is the module, and part of it is my inexperience, I have not gotten familiar with the way things work, so I would like to make a few test purchases to get used to how it works. Is something like this possible after install? Will it work if I test for awhile just cause i am a panty?
  6. Now for my question. The install suggests we skip the testing, is this wise? I am a little uncomfortable doing this. Is there any reason why I shouldn't test (like it wouldn't work anyways?)
  7. I made this thread in an effort to consolidate issues with this Contribution. http://www.oscommerce.com/community/contri...ch,USPS+Methods
  8. I really ought to sleep more before posting in this place, people are going to laugh when they find out my first language is english and i butcher it so miserably. what I meant to say was I tried both margin and padding int the .css, and both of these left the arrow in it's original position and indented the words. oh and the arrow doesn't really "pulse", it more "scrolls". :)
  9. hi (me again), I had a question. Would it be possible to change the image to something special to indicate the catagory you are presently in? Somewhere like the errorspan css change, but have it effect the picture? I started off wanting to add a padding-left: 5px; to have the item indent more, but that left the arrow image un indented, so i tried then I got the idea of wouldn't it be cool to have a little animated gif that made the arrow kinda "pulse" at the current catagory? I made the arrow that pulses, but have no idea how to make it work in your code. How hard would this be to do?
  10. doh! thank you, and yes, it was still helpful! (someone really ought to invent a search function for these linux machines :))
  11. Figured I would give it one more bump before I went to bed tonight :) Sorry if it is such a lame question, i am just not confident with php and was wondering if I made the changes will it have any results other than what seems obvious to me. I guess keeping it in it's current format really doesn' t HURT if it works, but I'd like to get things as unklugey as possible (that is, assuming it is kluged at all in the first place) before going live. :)
  12. I have installed this mod and it seems to work great, but I am went in to do your patch (adding the line to cache.php) and I have found I dont have a chache.php? Granted, I went in and apparently dind't have caching turned on, but now I do, and it is still not there? Am I missing something?
  13. /bump I hope this question makes sens, would be nice to get some feedback.
  14. I recently installed the Login box to my store that I have been working on (seems like forever now) and I got to looking at the code and noticed something strange: <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License IMPORTANT NOTE: This script is not part of the official osC distribution but an add-on contributed to the osC community. Please read the README and INSTALL documents that are provided with this file for further information and installation notes. loginbox.php - Version 5.4 This puts a login request in a box with a login button. If already logged in, will not show anything. Modified to utilize SSL to bypass Security Alert */ // WebMakers.com Added: Do not show if on login or create account or PWA screen if ((!strstr($_SERVER['PHP_SELF'],'login.php')) and (!strstr($_SERVER['PHP_SELF'],'create_account.php')) and (!strstr($_SERVER['PHP_SELF'],'Order_Info.php')) and (!strstr($_SERVER['PHP_SELF'],'Order_Info_Process.php')) and (!tep_session_is_registered('customer_id'))) { ?> <!-- loginbox //--> <?php if (!tep_session_is_registered('customer_id')) { ?> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_LOGIN_BOX); new SideLoginBoxHeading($info_box_contents, false, false); $loginboxcontent = tep_draw_form('login', tep_href_link(FILENAME_LOGIN, 'action=process', 'SSL')) . BOX_LOGINBOX_EMAIL . tep_draw_input_field('email_address', '', 'size="10" maxlength="100" style="width: ' . (BOX_WIDTH-30) . 'px"') .'<br><br>' . BOX_LOGINBOX_PASSWORD . tep_draw_password_field('password', '', 'size="10" maxlength="40" style="width: ' . (BOX_WIDTH-30) . 'px"') . '<br><br>' . tep_image_submit('button_login.gif', IMAGE_BUTTON_LOGIN) . '</form>' .'<a href="' . tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . BOX_LOGINBOX_FORGOT_PASSWORD . '</a>' . '<a href="' . tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL') . '">' . BOX_LOGINBOX_TEXT_NEW . '</a>' ; $info_box_contents = array(); $info_box_contents[] = array('align' => 'center', 'text' => $loginboxcontent); new SideLoginBox($info_box_contents); ?> </td> </tr> <?php } //---------BOF Part in question-------------------- else { // If you want to display anything when the user IS logged in, put it // in here... Possibly a "You are logged in as :" box or something. } ?> <!-- loginbox_eof //--> <?php // WebMakers.com Added: My Account Info Box (but not for PWA clients } //-----------EOF Part in question------------------------ else { if ((tep_session_is_registered('customer_id')) && (!tep_session_is_registered('noaccount'))) { ?> <!-- my_account_info //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => BOX_HEADING_LOGIN_BOX_MY_ACCOUNT); new SideLoginBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW, '', 'SSL') . '">' . LOGIN_BOX_PRODUCTS_NEW . '</a><br>' . '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . LOGIN_BOX_MY_ACCOUNT . '</a><br>' . '<a href="' . tep_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL') . '">' . LOGIN_BOX_ACCOUNT_HISTORY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_ACCOUNT_EDIT, '', 'SSL') . '">' . LOGIN_BOX_ACCOUNT_EDIT . '</a><br>' . '<a href="' . tep_href_link(FILENAME_ADDRESS_BOOK, '', 'SSL') . '">' . LOGIN_BOX_ADDRESS_BOOK . '</a><br>' . '<a href="' . tep_href_link(FILENAME_ACCOUNT_NOTIFICATIONS, '', 'NONSSL') . '">' . LOGIN_BOX_PRODUCT_NOTIFICATIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_LOGOFF, '', 'NONSSL') . '">' . LOGIN_BOX_LOGOFF . '</a>'); new SideLoginBox($info_box_contents); ?> </td> </tr> <!-- my_account_info_eof //--> <?php } } ?> Shouldn't the part, near the middle that I have spaced out and commented with part in question, be deleted? I am GREEN when it comes to PHP but it seems to me that the account info part really belongs in the Elese statement attached to : if (!tep_session_is_registered('customer_id')) I was planning on modding this so that I could control the styles from logged on to not logged on seperatly. but before I did anything I decided to ask about this as it seems odd to me. Thanks in advance for any responses.
×
×
  • Create New...