Jump to content
Latest News: (loading..)

iankil

Members
  • Content count

    118
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by iankil

  1. iankil

    [Contribution] Mindsparx admin

    Hello! Im glad you like it, the "headers already sent by..." can appear for many reasons, in this case im almost sure that you have a whitespace before the <?php code starts, the <?php has to be all the way up in every file that starts with a php tagg take a look in all files that you edit when you install the contribution specially in your boxes folder. About your buttons, there is some settings in the header.php file, you can use the default buttons or the included ones, and if you need buttons that the admin dont have you can create your own, there should be a .psd file included in the contribution. /Janne.K
  2. iankil

    [Contribution] Mindsparx admin

    You can change theme and some other settings in the admin/header.php file, but atm there is only two themes, if you want to change the color of the navigation bar, then you can change the chrome image in photoshop. Once osc3 is released i´ll create a few more themes for the admin, the blue theme is already converted to v3, and there is more to come ;) /Janne.k
  3. iankil

    [Contribution] Mindsparx admin

    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
  4. iankil

    [Contribution] Mindsparx admin

    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
  5. iankil

    [Contribution] Mindsparx admin

    Hello! I have tried this on 4 of my shops and everyone works without any issues so it´s a bit weird, Maby you have a contribution installed that i dont have that does this, i wish i could help but i have no clue what it can be... /Janne.K
  6. iankil

    [Contribution] Mindsparx admin

    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
  7. iankil

    [Contribution] Mindsparx admin

    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
  8. iankil

    [Contribution] Mindsparx admin

    I guess that you have an older version of oscommerce, the contribution works on older versions but not that feature. /Janne.k
  9. iankil

    [Contribution] Mindsparx admin

    Hi Add this to your /admin/includes/languages/english.php and the other language files define('BOX_CONFIGURATION_ADMINISTRATORS', 'Administrators');
  10. iankil

    [Contribution] Mindsparx admin

    Yes this works with STS, Please contact me instead of asking about my work here this thread is only for the contribution. /Janne.k
  11. iankil

    [Contribution] Mindsparx admin

    Hi im glad you like it :) Jonatan, the logo is in this folder admin/mindsparx_admin/template/blue, or bling /Janne.k
  12. iankil

    [Contribution] Mindsparx admin

    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
  13. iankil

    [Contribution] Mindsparx admin

    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
  14. iankil

    [Contribution] Mindsparx admin

    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
  15. iankil

    [Contribution] Mindsparx admin

    Remind your self of how successful you are everytime you login to your administration. Mindsparx admin Bling! B) http://www.mindsparx.org/mindsparx_admin_bling/ Download here: http://addons.oscommerce.com/info/6440
  16. iankil

    [Contribution] Mindsparx admin

    Its perferect for thouse who need more links, please add it on the contribution page as an addon :)
  17. iankil

    [Contribution] Mindsparx admin

    Ok thanks. i will do that :) /Janne
  18. iankil

    [Contribution] Mindsparx admin

    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
  19. iankil

    [Contribution] Mindsparx admin

    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
  20. iankil

    [Contribution] Mindsparx admin

    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:
  21. iankil

    [Contribution] Mindsparx admin

    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 == 'admin@localhost.pl') || ($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
  22. iankil

    [Contribution] Mindsparx admin

    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
  23. iankil

    [Contribution] Mindsparx admin

    customers :rolleyes:
  24. iankil

    [Contribution] Mindsparx admin

    One of them is misspelled in my lang file and the other one chould be costumers online ;) i´ll change that
  25. iankil

    New admin

    G´day all! Well, i thought the good old admin needed some customization and that’s what I have done, have a look at http://addons.oscommerce.com/info/6440 and let me know if I forgot something for the installation :rolleyes: Cheers Janne.k
×