Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

iankil

Pioneers
  • Posts

    118
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by iankil

  1. Hello

    Its probably a simple fix, look in admin/includes/boxes/ If you want to keep an old box (for example customers.php) or if you use a new (for example seo.php)you need to remove the <td><tr> and </td></tr> tags

    Have a look in one of the boxes that came with the Mindsparx_admin files to see what you need to do, there is also one or two variables you need to comment out in your new box.

    /Janne.K

  2. Hello!

    You can probably install it without any problems even if your store stuffed with contributions, Just make a backup of your admin and give it a try, its simple, 5-10 minutes install. The new version 2.0 picks up all your links and places them in the dropdowns automaticly, so when you install contributions you dont have to think at the admin at all.

     

    And ones it´s installed you have a few settings that you can edit in the admin header file, there you can choose to use the defult buttons or the new ones and change width etc.

     

    And if you need to add more buttons in the main navigation bar (not the dropdowns) then look in the admin header.php fil and you will probably understand the logic if you have done basic coding before

     

    Good luck ;)

     

    /Janne.k

  3. Hi!

    Just replace the whole MAX_DISPLAY_SEARCH_RESULTS with any number, 20 for example.

     

    About the next page links, i guess that they should be able to change indivilually but they are probably colliding some how and hopefully it´s a easy fix. Im very bussy atm so if anyone is up for a chalange go ahead ;)

     

    Janne.K

  4. Hi

    In your admin menu take a look at configuration/maximum values and search result, if that is sett to 6 then increase it to 20 for example, you can also change that in the codes in admin/index.php look for MAX_DISPLAY_SEARCH_RESULTS and replace that with any value you like.

     

    I tried to click on the next page just like you explained and on my store it works, txngent had similar problems in the attribute page? so if there is others with similar problems please let us know.

     

    /Janne.K

  5. Hi

     

    I tried to find the admin level mod, but im not sure which one you mean can you paste a link so i can see what it looks like.

     

    And about the error, if you mean this:

     

    /*

    $Id: orders.php,v 1.112 2003/06/29 22:50:52 hpdl Exp $

     

    its just a comment that i forgot to erase, i use parts from orders.php file and its from that file, i´ll remove the comment next upload if there is any.

     

    /Janne.k

  6. Azer was right it needs to be more userfriendly so i made another version thats 10 times more easy to install and use

     

     

    Whats new in version 2.0

     

    Alot,the whole system is rewriten so its multi langual and template based, you are able to change template and width in the header.php file by changing the values defined there

     

    The whole link system is changed so you dont have to add links manually, the new admin looks for all your links and places them in the

    dropdowns automaticly, so when you install new contributions, just follow the install instructions and Mindsparx_admin will put the link in the dropdown for you ;)

     

    The install is 6 easy steps and minimal of files used by oscommerce is changed.

     

    (its larger than 300 k so it might not be on the contribution page yet)

    Download it here: http://addons.oscommerce.com/info/6440

     

    Cheers Janne.k

  7. Hello Azer!

    To be honest i haven't put much tought to this contribution since i dont know if there is a need for a new admin, but i wanted one and i built it for me and now im sharing it with the rest.

     

    Since all admin files needs to be changed for this contribution i thougt that its easy to just replace the width i have set, to your own before you paste the code :) but you are right it would be much more easy to do that from one file, and it´s a easy fix.

     

    And creating a template folder is something that i will do to. I´ll see what the response is for a new admin and if there is need for one, i will look in to creloaded version and see if there is some thing i like with it.

     

    /Janne.k

  8. Ok...It works !!!! I had to change it before I pasted the code into all admin files !!! :blush:

     

    Thank you so much.

     

    I think you must modify install.txt and add that we have to add into catalog/admin/includes/languages/english.php (or (espanol.php, german.php...etc) some defines for:

     

    <!--1st drop down menu --> // Configuration Drop Down Menu

     

    for example:

     

    define('BOX_CONFIGURATION_MINIMUM_VALUES','Minimum values');

    define('BOX_CONFIGURATION_MAXIMUM_VALUES','Maximum values');

    ...

     

    Regards,

     

    ReyBlack

     

     

     

    Ok thanks. i will do that :)

     

    /Janne

  9. Hi,

     

    I have added your cool contrib but I run into the following problem

     

    Example; when I want to change some setting in the store then the edit screen does not show

     

    When I want to change the [store name] I can click edit and I can make the change

     

    When I want to update a setting like [Country] I click [Edit] and the normal change window (where the edit button shows) is gone and I cannot make a change

     

    Can you help?

     

    Thanks

     

     

    Hi, im not sure if this is because this contribution since its not going that deep in to the codes. The only thing i can think of is that it's interfaring with the java script this contrib requires, but im not sure. Try to remove the java script from the header and see if it works and try to run the shop with your old configuratipn.php file and see if the problem was there before you installed this contribution.

     

    /Janne.k

  10. Hi all !! Iankil...this is a fantastic job. I've installed yesterday and i'm adding contribs. new links that i have in my store.

     

    Now I wanna change the width of the admin pages (larger than now is), but i don't find where to change it. ¿can you help me?

     

    I'm having some problems when I add a new "headerlink" because of the size....

     

    Thank you.

     

     

    Hi im glad you like it ;)

     

    To change the width on the page requires that you change the width on all pages under the Admin folder, if you look at first <table> in index.php for an example its 1000 pixels wide, change that to what ever value you need and the rest of the page will follow since the resta of the values are set to 100%. This shouldnt thake more that 5- 10 minutes...

     

    Good luck

     

    /Janne

  11. Quick question, I just installed it and everything looks great! I have one minor error, however, when I click on the "stock report" link in the welcome page it takes me to www.xxx.com/admin/FILENAME_STATS_LOW_STOCK?selected_box=reports and i get a 404 page missing error rather than going to the actual "stats_low_stock.php" page. It also does this from the menu under "Reports"

     

    I checked my includes/filenames.php and have it defined so I'm not sure if I may be missing something else?

     

     

    Hi!

    I downloaded the files and installed it without any problems, see if the file stats_low_stock.php is in the admin folder. :huh:

  12. Hi!

    Your first problem:

    It looks like you have a older version of Osc and the loginpage looks very different, i don´t have that version installed but i made you an other login page that should work with the code that you pasted, try it and let me know if it works,

     

     

    <?php

    /*

    $Id: login.php,v 1.17 2003/02/14 12:57:29 dgw_ Exp $

     

    osCommerce, Open Source E-Commerce Solutions

    http://www.oscommerce.com

     

    Copyright © 2002 osCommerce

     

    Released under the GNU General Public License

    */

     

    require('includes/application_top.php');

     

    if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'process')) {

    $email_address = tep_db_prepare_input($HTTP_POST_VARS['email_address']);

    $password = tep_db_prepare_input($HTTP_POST_VARS['password']);

     

    // Check if email exists

    $check_admin_query = tep_db_query("select admin_id as login_id, admin_groups_id as login_groups_id, admin_firstname as login_firstname, admin_email_address as login_email_address, admin_password as login_password, admin_modified as login_modified, admin_logdate as login_logdate, admin_lognum as login_lognum from " . TABLE_ADMIN . " where admin_email_address = '" . tep_db_input($email_address) . "'");

    if (!tep_db_num_rows($check_admin_query)) {

    $HTTP_GET_VARS['login'] = 'fail';

    } else {

    $check_admin = tep_db_fetch_array($check_admin_query);

    // Check that password is good

    if (!tep_validate_password($password, $check_admin['login_password'])) {

    $HTTP_GET_VARS['login'] = 'fail';

    } else {

    if (tep_session_is_registered('password_forgotten')) {

    tep_session_unregister('password_forgotten');

    }

     

    $login_id = $check_admin['login_id'];

    $login_groups_id = $check_admin[login_groups_id];

    $login_firstname = $check_admin['login_firstname'];

    $login_email_address = $check_admin['login_email_address'];

    $login_logdate = $check_admin['login_logdate'];

    $login_lognum = $check_admin['login_lognum'];

    $login_modified = $check_admin['login_modified'];

     

    tep_session_register('login_id');

    tep_session_register('login_groups_id');

    tep_session_register('login_first_name');

     

    //$date_now = date('Ymd');

    tep_db_query("update " . TABLE_ADMIN . " set admin_logdate = now(), admin_lognum = admin_lognum+1 where admin_id = '" . $login_id . "'");

     

    if (($login_lognum == 0) || !($login_logdate) || ($login_email_address == '[email protected]') || ($login_modified == '0000-00-00 00:00:00')) {

    tep_redirect(tep_href_link(FILENAME_ADMIN_ACCOUNT));

    } else {

    tep_redirect(tep_href_link(FILENAME_DEFAULT));

    }

     

    }

    }

    }

     

    require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_LOGIN);

    ?>

    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

    <html <?php echo HTML_PARAMS; ?>>

    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

    <title><?php echo TITLE; ?></title>

     

    <link rel="stylesheet" type="text/css" href="includes/stylesheet.css">

    </head>

    <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF">

    <br>

    <br>

    <br>

    <br>

    <br>

     

    <?php echo tep_draw_form('login', 'login.php','action=process'); ?>

    <table style="border:solid 1px; border-color:#CCCCCC;" width="300px" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">

    <?php

    if ($HTTP_GET_VARS['login'] == 'fail') {

    $info_message = TEXT_LOGIN_ERROR;

    }

     

    if (isset($info_message)) {

    ?>

    <tr>

    <td colspan="2" class="smallText" align="center"><?php echo $info_message; ?></td>

    </tr>

    <?php

    } else {

    ?>

     

    <?php

    }

    ?>

    <tr>

    <td width="167" valign="middle" class="dataTableHeadingRow" style="font-family:Verdana, Arial, Helvetica, sans-serif; font-weight:bold; font-size:12px; color:#FFFFFF; ">  <?php echo HEADING_TITLE; ?></td>

    <td width="131" align="center" valign="middle" class="dataTableHeadingRow" style="font-family:Verdana, Arial, Helvetica, sans-serif; font-weight:bold; font-size:12px; color:#FFFFFF; "><?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>

    </tr>

    <tr>

    <td height="40" colspan="2" valign="bottom" class="infoBoxContent"><?php echo ENTRY_EMAIL_ADDRESS; ?><br><?php echo tep_draw_input_field('email_address'); ?></td>

    </tr>

    <tr>

    <td height="40" colspan="2" valign="bottom" class="infoBoxContent"><?php echo ENTRY_PASSWORD; ?><br><?php echo tep_draw_password_field('password'); ?></td>

    </tr>

    <tr>

    <td height="50" colspan="2" align="center" valign="middle" class="infoBoxContent">

    <?php echo tep_image_submit('button_confirm.gif', IMAGE_BUTTON_LOGIN); ?><br>

    <?php echo '<a class="sub" href="' . tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a><span class="sub"> </span>'; ?></td>

    </tr>

    </table></form>

     

     

    <br>

    <?php require(DIR_WS_INCLUDES . 'footer.php'); ?></td>

     

    </body>

     

    </html>

     

     

     

     

     

     

     

     

    Your other problem is that your Config drop cant find the language file used, so try to paste this code to one of your lang files (should be polski.php or similar) or try to paste it to that lang file that works in that menu:

     

     

    // configuration box text in includes/boxes/configuration.php

    define('BOX_HEADING_CONFIGURATION', 'Configuration');

    define('BOX_CONFIGURATION_MYSTORE', 'Settings');

    define('BOX_CONFIGURATION_MINIMUM_VALUES', 'Minimum Values');

    define('BOX_CONFIGURATION_MAXIMUM_VALUES', 'Maximum Values');

    define('BOX_CONFIGURATION_IMAGES', 'Images');

    define('PROD_PIC', 'Product pictures');

    define('BOX_CONFIGURATION_CUSTOMER_DETAILS', 'Customer Details');

    define('BOX_CONFIGURATION_MODULE_OPTIONS', 'Module Options');

    define('BOX_CONFIGURATION_SHIPPING_PACKING', 'Shipping/Packing');

    define('BOX_CONFIGURATION_PRODUCT_LISTING', 'Product Listing');

    define('BOX_CONFIGURATION_STOCK', 'Stock');

    define('BOX_CONFIGURATION_LOGGING', 'Logging');

    define('BOX_CONFIGURATION_CACHE', 'Cache');

    define('BOX_CONFIGURATION_EMAIL_OPTIONS', 'E-Mail Options');

    define('BOX_CONFIGURATION_DOWNLOAD', 'Download');

    define('BOX_CONFIGURATION_GZIP_COMPRESSION', 'GZip Compression');

    define('BOX_CONFIGURATION_SESSIONS', 'Sessions');

    define('BOX_CONFIGURATION_ORDER_EDITOR', 'Order editor');

    define('BOX_TITLE_ORDERS', 'Orders');

    define('BOX_TITLE_STATISTICS', 'Statistics');

    define('BOX_ENTRY_SUPPORT_SITE', 'Support Site');

    define('BOX_ENTRY_SUPPORT_FORUMS', 'Support Forums');

    define('BOX_ENTRY_CONTRIBUTIONS', 'Contributions');

    define('BOX_ENTRY_CUSTOMERS', 'Customers:');

    define('BOX_ENTRY_PRODUCTS', 'Products:');

    define('BOX_ENTRY_REVIEWS', 'Reviews:');

    define('BOX_CONNECTION_PROTECTED', 'You are protected by a %s secure SSL connection.');

    define('BOX_CONNECTION_UNPROTECTED', 'You are <font color="#ff0000">not</font> protected by a secure SSL connection.');

    define('BOX_CONNECTION_UNKNOWN', 'unknown');

    define('CATALOG_CONTENTS', 'Contents');

    define('REPORTS_PRODUCTS', 'Products');

    define('REPORTS_ORDERS', 'Orders');

    define('TOOLS_BACKUP', 'Backup');

    define('TOOLS_BANNERS', 'Banners');

    define('TOOLS_FILES', 'Files');

    define('BOX_CONFIGURATION_ADMINISTRATORS', 'Administrators');

     

     

    make sure that you dont define the same words twise, just use the ones you need.

    I hope this helps, good luck!

     

    /Janne

  13. Hi and thanks ;)

     

    The login page is from the latest osc release v2.2 Release Candidate 2a, the only changes i have done is for design. The loginpage that i provided is not needed for the admin to work it’s just a designed version, so you could probably use your old one and hopefully that should work...

     

    /Janne

  14. Hello!

     

    I have got a few questions about how to add links, and how to install the admin area, so i tought i´ll start a topic about it.

    Mindsparx admin is a better looking admin with a new layout and a horisontal meny based on dynamicdrive.com's Chrome Css drop Menu, you can see what it looks like here:

     

    http://www.mindsparx.org/mindsparx_admin/

     

    and the contrib is here: http://addons.oscommerce.com/info/6440

     

    The installation shouldn't takes more than 10 minutes for an experienced oscommerce user.

     

    All the links is now moved to the header and how to add them is explained at the end of the Install file, there is also a few links to the most used contribution, and if you have any links that you created please add them here for others to use.

     

    Cheers!

  15. Hi!

    I have searched everywhere for a solution of this problem i have with my shop.

     

    I have SDS contrib installed and it works fine but when i purchase a download i register and follow all the steps to http://myurl.org/checkout_confirmation.php but if i change checkout_confirmation.php to checkout_success.php in the url i get to the download without paying.

     

    Is this only happening on my shop or is this a known problem, and is there a good solution for this?

     

    /Ian

×
×
  • Create New...