Latest News: (loading..)

Search the Community

Showing results for tags 'admin'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News and Announcements
    • News and Announcements
    • Partner Announcements
    • Ambassadors
  • Commercial Support
    • Developer Feedback
  • osCommerce Online Merchant v2.x
    • General Support
    • Installation and Configuration
    • Upgrading from Earlier Versions (v2.x to v2.x)
    • Add-Ons
    • Tips and Tricks
    • Security
  • Development
    • osCommerce Online Merchant v2.4
    • osCommerce Online Merchant Community Bootstrap Edition
    • osCommerce Online Merchant v3.x
    • Development Proposals
  • General
    • OSCOMMERCE.TV
    • Next Steps / Optimizations / Marketing
    • Live Shop Reviews
    • E-Commerce Laws
    • General Discussions
    • PHP / SQL / Web Design

Found 20 results

  1. This uses the hooks system and tabbed display of admin / orders implemented by the Paypal App. It adds a tab to admin / orders which lists all orders from the customer of the current order. The current order is highlighted. Clicking on one of the other orders will load it instead. Works for all orders, not just those paid by Paypal. COMPATIBILITY Compatible with the tabbed admin orders page of the Paypal App in any version of osCommerce (2.2RC2, 2.3.x). FILENAMES DEPRECATED - if your admin / orders page is not called orders.php you'll have to change the hard-coded name in the module. Not compatible with BS EDGE Hooks of 2016-10-03 (which don't cover admin). Uses tradition language defines, not Paypal App-style. INSTALLATION Just copy the 3 files to your store. No code changes and no admin install - it just works. DOWNLOAD from the addons area http://addons.oscommerce.com/info/9511 GITHUB also available in a branch on its own in a fork of gburton/Responsive-osCommerce at: https://github.com/BrockleyJohn/Responsive-osCommerce/tree/addon_customer_orders_tab
  2. Hello all, I am new to the FORUM and a novice on OSCOMMERCE. we recently updated to OQC 2.3.3, and added an SSL certificate and since have not been able to login to the admin part of our site/store. It has locked us out for too many attempts, and does not have a forgot password function. I thought I had the password, but still would not allow entry login. I am wondering if it due to SSL change? Either way, I am wanting to learn how to login back in not knowing the password? Many thanks!
  3. Hi, Quick question: Is anyone aware of a quick and simple mod suitable for 2.3.4 that will allow comments to be added to the order screen (admin/orders.php) that can only ever be seen by admin? Many Thanks
  4. Hi All I was really hoping someone could help with the problem I'm experiencing. I've tried to migrate my site from localhost to a live production server but can't seem to get the admin page to work. I've changed my configure.php files and the configure.php file for the main site seems to be working perfectly fine as I can access and run the site normally. However when I try to access the admin index.php I get the following error: Where 'live/catalog/' is the folder in which I have my site saved. I suspect that it might be something wrong with my configure.php file for the admin side but can't seem to grasp what exactly is incorrect. this is what I have currently: Thanks in advance to anyone who can help :)
  5. Hi everyone, I have installed Oscommerce 2.3.4 and when i create a new product, if the new product image be the same as previous pictures, previous pictures are being overwritten by the new picture. It seems that Oscommerce stores all pictures in a same huge picture folder. Is there any easy fix for this other than changing the name of the pictures all the time? Thank you
  6. Hi everyone, I have oscommerce 2.3.4 and I tried to install this add on: https://apps.oscommerce.com/Get&g5umb&Sfl8h in order to be able to select the folder that product images are uploaded into but after changing files (Admin/categories.php and Admin/includes/languages/english/categories.php) I can no longer load categories.php when i run this URL: admin/categories.php. I receive error HTTP ERROR 500. I will attach the code for Admin/categories.php here and would be much grateful if someone can look into it and see whats wrong. Thank you very much. Thanks kevin categories.php
  7. hey everyone, I have a unique problem, at least I have searched the past (2) days and not found a solution. I have recently received a client that has a older version of osCommerce v2.2 RC2 and I have gone through the process of securing the site and making Google happy with all pages on frontend https. Problem now is that the admin section is giving me a mixed content issue, obviously the form is trying to process non-https and I can't seem to locate in the functions where to adjsut the processing. I've tried quite a few things. I have modified other frontend files inside the /catalog directory to use the function $request_type, false but to no avail, it doesn't seem to work for the login form action/process. Please help! My current code is below. <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2013 osCommerce Released under the GNU General Public License */ $login_request = true; require('includes/application_top.php'); require('includes/functions/password_funcs.php'); $action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : ''); // prepare to logout an active administrator if the login page is accessed again if (tep_session_is_registered('admin')) { $action = 'logoff'; } if (tep_not_null($action)) { switch ($action) { case 'process': if (tep_session_is_registered('redirect_origin') && isset($redirect_origin['auth_user']) && !isset($HTTP_POST_VARS['username'])) { $username = tep_db_prepare_input($redirect_origin['auth_user']); $password = tep_db_prepare_input($redirect_origin['auth_pw']); } else { $username = tep_db_prepare_input($HTTP_POST_VARS['username']); $password = tep_db_prepare_input($HTTP_POST_VARS['password']); } $actionRecorder = new actionRecorderAdmin('ar_admin_login', null, $username); if ($actionRecorder->canPerform()) { $check_query = tep_db_query("select id, user_name, user_password from " . TABLE_ADMINISTRATORS . " where user_name = '" . tep_db_input($username) . "'"); if (tep_db_num_rows($check_query) == 1) { $check = tep_db_fetch_array($check_query); if (tep_validate_password($password, $check['user_password'])) { // migrate old hashed password to new phpass password if (tep_password_type($check['user_password']) != 'phpass') { tep_db_query("update " . TABLE_ADMINISTRATORS . " set user_password = '" . tep_encrypt_password($password) . "' where id = '" . (int)$check['id'] . "'"); } tep_session_register('admin'); $admin = array('id' => $check['id'], 'username' => $check['user_name']); $actionRecorder->_user_id = $admin['id']; $actionRecorder->record(); if (tep_session_is_registered('redirect_origin')) { $page = $redirect_origin['page']; $get_string = ''; if (function_exists('http_build_query')) { $get_string = http_build_query($redirect_origin['get']); } tep_session_unregister('redirect_origin'); tep_redirect(tep_href_link($page, $get_string)); } else { tep_redirect(tep_href_link(FILENAME_DEFAULT)); } } } if (isset($HTTP_POST_VARS['username'])) { $messageStack->add(ERROR_INVALID_ADMINISTRATOR, 'error'); } } else { $messageStack->add(sprintf(ERROR_ACTION_RECORDER, (defined('MODULE_ACTION_RECORDER_ADMIN_LOGIN_MINUTES') ? (int)MODULE_ACTION_RECORDER_ADMIN_LOGIN_MINUTES : 5))); } if (isset($HTTP_POST_VARS['username'])) { $actionRecorder->record(false); } break; case 'logoff': tep_session_unregister('admin'); if (isset($HTTP_SERVER_VARS['PHP_AUTH_USER']) && !empty($HTTP_SERVER_VARS['PHP_AUTH_USER']) && isset($HTTP_SERVER_VARS['PHP_AUTH_PW']) && !empty($HTTP_SERVER_VARS['PHP_AUTH_PW'])) { tep_session_register('auth_ignore'); $auth_ignore = true; } tep_redirect(tep_href_link(FILENAME_DEFAULT)); break; case 'create': $check_query = tep_db_query("select id from " . TABLE_ADMINISTRATORS . " limit 1"); if (tep_db_num_rows($check_query) == 0) { $username = tep_db_prepare_input($HTTP_POST_VARS['username']); $password = tep_db_prepare_input($HTTP_POST_VARS['password']); if ( !empty($username) ) { tep_db_query("insert into " . TABLE_ADMINISTRATORS . " (user_name, user_password) values ('" . tep_db_input($username) . "', '" . tep_db_input(tep_encrypt_password($password)) . "')"); } } tep_redirect(tep_href_link(FILENAME_LOGIN)); break; } } $languages = tep_get_languages(); $languages_array = array(); $languages_selected = DEFAULT_LANGUAGE; for ($i = 0, $n = sizeof($languages); $i < $n; $i++) { $languages_array[] = array('id' => $languages[$i]['code'], 'text' => $languages[$i]['name']); if ($languages[$i]['directory'] == $language) { $languages_selected = $languages[$i]['code']; } } $admins_check_query = tep_db_query("select id from " . TABLE_ADMINISTRATORS . " limit 1"); if (tep_db_num_rows($admins_check_query) < 1) { $messageStack->add(TEXT_CREATE_FIRST_ADMINISTRATOR, 'warning'); } require(DIR_WS_INCLUDES . 'template_top.php'); ?> <table border="0" width="100%" cellspacing="2" cellpadding="2"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0" height="40"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <?php if (sizeof($languages_array) > 1) { ?> <td class="pageHeading" align="right"><?php echo tep_draw_form('adminlanguage', FILENAME_DEFAULT, '', 'get') . tep_draw_pull_down_menu('language', $languages_array, $languages_selected, 'onchange="this.form.submit();"') . tep_hide_session_id() . '</form>'; ?></td> <?php } ?> </tr> </table></td> </tr> <tr> <td> <?php $heading = array(); $contents = array(); if (tep_db_num_rows($admins_check_query) > 0) { $heading[] = array('text' => '<strong>' . HEADING_TITLE . '</strong>'); $contents = array('form' => tep_draw_form('login', FILENAME_LOGIN, 'action=process')); $contents[] = array('text' => TEXT_USERNAME . '<br />' . tep_draw_input_field('username')); $contents[] = array('text' => '<br />' . TEXT_PASSWORD . '<br />' . tep_draw_password_field('password')); $contents[] = array('align' => 'center', 'text' => '<br />' . tep_draw_button(BUTTON_LOGIN, 'key')); } else { $heading[] = array('text' => '<strong>' . HEADING_TITLE . '</strong>'); $contents = array('form' => tep_draw_form('login', FILENAME_LOGIN, 'action=create')); $contents[] = array('text' => TEXT_CREATE_FIRST_ADMINISTRATOR); $contents[] = array('text' => '<br />' . TEXT_USERNAME . '<br />' . tep_draw_input_field('username')); $contents[] = array('text' => '<br />' . TEXT_PASSWORD . '<br />' . tep_draw_password_field('password')); $contents[] = array('align' => 'center', 'text' => '<br />' . tep_draw_button(BUTTON_CREATE_ADMINISTRATOR, 'key')); } $box = new box; echo $box->infoBox($heading, $contents); ?> </td> </tr> </table> <?php require(DIR_WS_INCLUDES . 'template_bottom.php'); require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
  8. How do you make the oscommerce admin login and admin content to be under https:? I have tried to change it from configure.php files in this way <?php define('HTTP_SERVER', 'https://servername.com); define('HTTPS_SERVER', 'https:// servername.com '); define('ENABLE_SSL', 'true'); define('HTTP_CATALOG_SERVER', 'https:// servername.com '); define('HTTPS_CATALOG_SERVER', 'https:// servername.com '); define('ENABLE_SSL_CATALOG', 'true'); But it is giving me the "redirected you too many times." error. Could you advise me on what would cause this and suggest any solutions?
  9. Not sure if “timeout” is the proper term or even the problem here. Basically what happens is if someone is in the admin side, editing a product description for example. Then steps away for a while (about 10 - 20 minutes) and comes back and continues editing the description. Then presses “save” everything on the product page gets flushed and the database for that product is then populated with empty information. Price is gone, description gone, product name gone. We can prevent this by opening a new browser window first, to look at orders or something. Then press save. My assumption is that there is something built into osCommerce (maybe a security feature) that times out, or logs out of the session when there is no activity for a certain amount of time. Then when a server request is made (like updating product information, or refreshing the orders page) it reconnects and all is good (doesn't ask for password at this point). Except that it flushes out everything in the GET first, then sends the empty information to the database which deletes everything for that product in the database and fills it in with nothing. Is there some place I can turn this off? re-write it to NOT flush the GET info first? Anyone else have this problem? Am I wrong and there's something else causing this? One solution I thought of is to have a browser tab always open with a special page in the admin that refreshes itself every 9 minutes. This might work, but I'd rather fix the real problem first. As you can tell, I am not a programmer. Hopefully I have explained everything properly enough. Thanks in advance.
  10. Some reason we should go forward. @@GLWalker and @@burt started BS community adaptations, but would be great some structure work. GLWalker started a github repo but need some update converge to the latest BS and add to common platform. By my opinion the admin site should be table based with BS. Starting point could be http://wenzhixin.net.cn/p/bootstrap-table/docs/examples.html Any thoughts?
  11. hello looking at the start for a responsive admin from gl walker. i liked the looks and feel of this responsive design for my webshop i also needed a multi store admin. the result is multi store responsive shop and admin with more than 120 addons along with gl walkers design i also mixed in some elements from TSIMI and Gergely bs admin Addons are to name a few : - seperate prices per customer groups ( plus all addons ) SPPC - html emails for new customer, orders etc - multi store but can be used as single shop of cource - content modules for index, product info, contact us etc - option type for products - SEO urls - Headertags - JAVA ans CSS can loaded from own site or from a CDJNS - add new order - Supertracker etc i am now at a point that i am a little developer blind. so a fresh pair of eyes should be helpful All code is from 2.3.4 and 2.3.4. gold. All addons are based on 2.3.4 the files can be found at https://github.com/nieuw1409/admin_responsive thanks to everybody who made the original addons without them i never could put this together greeting eric
  12. Hello, wanting to install the module "Paypal App" link http://addons.oscommerce.com/info/9184 when copying the file into the shop, I discovered that there's 6 folders and 1 file named : "admin". These are the directories: : d1: paypal app-4_039/catalog/admin/ d2: paypal app-4_039/catalog/includes/hooks/admin/ d3: paypal app-4_039/catalog/includes/apps/paypal/admin/ d4: paypal app-4_039/catalog/includes/apps/paypal/hooks/admin/ d5: paypal app-4_039/catalog/includes/apps/paypal/languages​/English/admin/ d6: paypal app-4_039/catalog/includes/apps/paypal/languages​​/English/hooks/admin/ and this file: f1: paypal app-4_039/catalog/includes/apps/paypal/languages​​/English/admin.php - For the first file d1, no problem, I'll just copy its contents into the admin folder of my shop (I've already renamed). - For folders until d6 d2 and f1 file: That's my question. It must rename or not? (For security measures). Thank you in advance for your help.
  13. This thread is for answering questions about the Quill.js product description addon, at http://addons.oscommerce.com/info/9319. Please note that this is for the addon only, I am not a quill developer, so I may not be able to answer questions about the inner workings of Quill.
  14. I had a client that wanted to be able to search the admin categories / products page using multiple keywords in the search box. As an example, they wanted to be able to search for “ces wing” and have that return products including “Cessna 170 Left Wing Tip” just as easily as “Wing Elevator for Cessna 170.” It’s essentially a multiple wildcard array for keyword bits as opposed to a single wildcard for the entire search. It’s also very easy to install! Just modify one file and a couple of lines at that: http://addons.oscommerce.com/info/9310
  15. I could not find any posts on this using search so I will create a new post. admin -> modules -> boxes Currently the way in which the order one places the boxes on the store can be troublesome. Although sort order is effective if you understand how to use it right, you are penalized by having duplicate items with the same number. 1. add a "sort by" function to the headings. If one clicks on Modules in the heading it will sort the list of box names according to A-Z and then with a second click Z-A. If one clicks on the sort order it will sort the numbers ascending from 1..N and second click descending from N..1. In this way at least one can check if they have 2 boxes with the same number by clicking on "Sort Order" 2. Create a graphical layout and allow drag dropping components from one area to the other instead of having to deal with numbers. Allow any placement with "jump to guide/grid" 2.a. An alternative might be to have columns (left, right) and a add item dialogue button that allows you to add the box modules under that side. The order in which the box module name appears in the list is how it will appear in the store. With jQuery this might be made easier as drag drop should be able to allow moving then to change their order. I believe word press admin has a functional example of this technology. -Blue Penguin
  16. Hi, My Oscommerce admin login page not show any thing, first time when i login it asking me password then i put the password it show me the admin page with userid or password but it redirect to home page.... after that i will open login page its show blank page.... please help me for that
  17. Question for anyone: What's a good add-on for adding / or directions for adding an extra field (ie: text field) that also works with EP and OSC v2.3.4? Thanks.
  18. Hi there! I have OSC installed, and everything seemed to work just well. I have two languages installed; English (from installation) and Swedish (downloaded). Since all my costumers live in Sweden I decided to remove the English language. Since then, no products can be found on the main catalog page. If I try to add a new product or category in the admin section and click Save, no product or category is added. I get no error message. I have checked phpmyadmin, and all the products and categories are there. I have made no change to the database, all I did was removing the English language. I didn't remove any files from the server, just the post in the admin section. I have seen this problem before in the forums, but without any answer. Can anyone please help? I really need my shop up and running! Thanks in advance, Tobias Henricsson
  19. I'm running v2.3.3. I downloaded this contribution: http://addons.oscommerce.com/info/8727 I've followed all of the instructions properly. Okay, so here is where it all falls apart. I'm browsing the admin section, and decide to visit the "Sliders" admin area under "Configuration"... When I click on "Sliders", I am logged out, and a new session ID is generated (login.php?osCAdminID=<new session id here>) When I log back in, I land on the "Sliders" admin panel (with same session ID shown on login page). If I then try to upload a slider, I'm logged out, and a new session ID is generated (shown on the login page). So there you have it - when I try to navigate to the slider settings page, I'm logged out, and when I try to upload an image, I'm logged out. I have no other issues with this happening anywhere else on the store or any other session issues. My store is running perfectly fine. I installed this addon, and this issue only arises when accessing or using the particular admin panel for the addon. Any help would be appreciated! Cordially, Robert Whitis
  20. Dear All I want to have an module wherein the admin can see Shopping Basket of current users prior to check out Is there are ready made module available? Awaiting your response on the same Thanks