Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

numbersix

Archived
  • Posts

    2
  • Joined

  • Last visited

Everything posted by numbersix

  1. Hello for that "deconnect" stuff, I just made a very simple thing. So far, it works. But as I'm not a professionnal coder, it may have some hideous hidden defaults... give it to you as it is : In admin/includes/boxes/supplierarea.php , I had a link : . '<a href="' . tep_href_link(FILENAME_SUPPLIER_DECONNECT, 'gID=1&selected_box=supplierarea') . '" class="menuBoxContentLink">' . BOX_HEADING_SUPPLIER_DECONNECT . '</a><br>' In admin/includes/languages/(...).php , I had this : define('BOX_HEADING_SUPPLIER_DECONNECT','<br />Deconnexion'); In admin/includes/filenames.php, I had this : define('FILENAME_SUPPLIER_DECONNECT', '../supplier/suppliers_deconnect.php'); And I create this file "supplier/suppliers_deconnect.php" wich is pretty simple : <?php session_start(); session_destroy(); header('Location:supplier_area.php'); ?> That certainly not is a good and clean solution, but so far... It works.
  2. Hello Nice contrib here. It took me a wholme day to install it on a local server. As I work on oscss, instead of oscommerce, I had to modify a few things. So now suppliers can add their products, great. the point is that when added, they cannot modify them. I guess they should. I'm still working on it, but if you have an idea of where this issue may come from...
×
×
  • Create New...