Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Dennis_gull

Archived
  • Posts

    368
  • Joined

  • Last visited

Everything posted by Dennis_gull

  1. didnt anyone have a similar problem? theres one way I can display just one background if I only have one item but then I wouldnt be able to have a left and right side.
  2. Hey, i uploaded a picture displaying my issue. so here it is: This is the contribution im using: Product Listing in Columns Heres the code Im using for displaying the rows: if ($rows == "1") { $list_box_contents[$row] = array('params' => 'class="productListing-even"'); //2.2 modification ,add width in td $class_for_buy_now = 'class="productListing-even" width="'.$tdsize.'%"'; $counter = $row; } if (($rows/2) == floor($rows/2) && ($row > $counter)) { $list_box_contents[$row] = array('params' => 'class="productListing-even"'); $class_for_buy_now = 'class="productListing-even"'; $counter = $row; } else { if ($row > $counter) { $list_box_contents[$row] = array('params' => 'class="productListing-odd"'); $class_for_buy_now = 'class="productListing-odd"'; $counter = $row; } } hope someone can help me on this one because I've been working on this for some time now with a lot of issues.
  3. I did input the SQL statement but maybe I did something wrong, it sure looks like that now when I think about it cause I have the "Super Download Shop" contribution installed too and after installing the SEO both the affiliate system and the download manager stopped working but it worked for other people. I will try to install SEO again tomorrow and see what happens.
  4. I didnt, but maybe I installed something wrong. Anyways, I dont think I gonna use the SEO URL because I rather use the affiliate system and as they didnt work together I dont really have a choice.
  5. Did anyone get this to work with SEO URLs? I get this error on checkout: 0 - insert into affiliate_sales (affiliate_id, affiliate_date, affiliate_browser, affiliate_ipaddress, affiliate_value, affiliate_payment, affiliate_orders_id, affiliate_clickthroughs_id, affiliate_percent, affiliate_salesman) values ('5', '2007-02-13 17:37:53', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1', '213.89.67.67', '18.69', '0.37', '0', '0', '02.0000', '5') [TEP STOP] If I have to choose I gonna stay with the affiliate system rather then SEO URLs. PS: Can I change some code to get the banners to work with .swf files? Flash is kinda kickass when it comes to advertising
  6. I just installed "Ultimate SEO URLs - 2.1d with optional Admin settable Product and Category URLs" thats the latest one (except the memory exhausted fix) and I didnt find anything else that was wrong.. Except that the affiliate system didnt support it.
  7. I cant get this to work with SEO URLs, any idea why? If I choose "Enable SEO URLs?" false. The download shows and if I have it on true It doesnt.
  8. Bah it does have an effect on the affiliate system, I cant checkout the products now. Instead I get: 0 - insert into affiliate_sales (affiliate_id, affiliate_date, affiliate_browser, affiliate_ipaddress, affiliate_value, affiliate_payment, affiliate_orders_id, affiliate_clickthroughs_id, affiliate_percent, affiliate_salesman) values ('5', '2007-02-13 17:37:53', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1', '213.89.67.67', '18.69', '0.37', '0', '0', '02.0000', '5') [TEP STOP]
  9. This doesnt have any effects on the affiliate system right? @ c-m: Just open Dreamweaver and search for seo, then when you find the line you just check the other file how it looks like at the same place..
  10. me again, just wanna say that it works now when I turned "Use TrueType fonts?" off.
  11. But.. now I only get the black box >< I've tried both the 2.6 and 2.5 validation_png.php
  12. Hey, I just installed the mod but I didnt get a new selection in the admin file.. I uploaded the files and if I check the db I can see the files... aha I need to upload both the 2.5 and 2.6? :huh:
  13. Hello, first of all I wanna thank you for a nice contribution secondly I wanna ask you a fast question: Is there any way I could place this box in a subcategory and let it show featured products from the that main category? When I place the box there I will get featured products from all over the shop.
  14. ah :rolleyes: I installed everything now and it works nice, but I was just wondering what purpose "update" has. I created a group called "movie pack" added three items and then made an order, after I got the downloads I changed the pack "movie pack" to add even more products and then I updated the order but the updated items to the pack didnt show
  15. About this contribution: I installed everything but I ran the SQL files but I didnt have any new files in the order_status_id, theres just the three original once there. Shouldnt there be updated and Download Now Available there too?
  16. Hello AlexStudio, nice contribution I will install this today but I just had one question regarding shops with downloads. You know the "Buy now" button it will pull the product to the shopping cart if you remove this statement in application_top.php: if (tep_has_product_attributes($HTTP_GET_VARS['products_id'])) { tep_redirect(tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id'])); And that will leave me with $cart->add_cart($HTTP_GET_VARS['products_id'], $cart->get_quantity($HTTP_GET_VARS['products_id'])+1); the thing is, it will not get the attribute and Im trying to figure out how to fix this. Do you have any solution on this?
  17. gabrielk I was thinking.. isnt there better if people get to pick a username when they creat an account.. so that the user can both login on the site with the username and later on that username is used in the forum? at the moment they get a username for the forum and I allowed them to change it later. Thats fine though but just had a thought..
  18. Just got one question about this contribution: How does it work when someone buy the product thats getting sold? Will the person that makes the sale get an email with the buyers email address? or will the sale report to me and will I have to deal with it afterwards? PS: Can the seller add download able products?
  19. ZoMBiE the code doesnt work without this string: $totalitemsincategory = tep_count_products_in_category($categories['categories_id']); the file you got have: $totalitemsincategory = ''; But I dont really think I see any difference. Although I cant check the database queries now.
  20. Hello, I just installed the latest product tab contribution and when im using it in IE I will get sent back to the index site every time I press a tab. Also is there a way to get past this big loading time every time you enter product_info.php?
  21. Okay I got it to work, everything is perfect now :) I used your first code and last one: // Added for phpBB-osCommerce Bridge define("IN_LOGIN", true); define('IN_PHPBB', true); $phpbb_root_path = './phpbb2'; include($phpbb_root_path . 'extension.inc'); include($phpbb_root_path . 'common.'.$phpEx); // End phpBB-osCommerce Bridge And // Added for phpBB-osCommerce Bridge // Find if username exists already, append a number if it does. // Username = first name + last initial + number. // This function is repeated in account_edit.php & login.php $new_username = strtolower($firstname) . strtolower(substr($lastname,0,1)); $unQuery = tep_db_query("SELECT count(*) AS count FROM ".TABLE_PHPBB_USERS." WHERE username LIKE '".$new_username."%'"); if($unQuery) { $unResult = tep_db_fetch_array($unQuery); if($unResult['count']>0) { // Username exists; find out how many there are an append the next # to it. $unCount = $unResult['count']; $unCount++; } } else { $unCount = ''; } $new_username = $new_username.$unCount; // This array set is repeated (with some differences) in login.php // We’re only entering the most basic information, relying on // the forum defaults for most things. $sql_data_array2 = array( 'user_id' => $customer_id, 'username' => $new_username, 'user_password' => md5($password), 'user_session_time' => time(), 'user_regdate' => time(), 'user_email' => $email_address, 'user_from' => tep_get_zone_name((int)($country),(int)($zone_id),0) ); tep_db_perform(TABLE_PHPBB_USERS, $sql_data_array2); // Insert our new user into the default group. // If you want your new signups to go to a different group, // change "VALUES ('1'" to the actual user group id. tep_db_query("insert into " . TABLE_PHPBB_USER_GROUPS . " (group_id, user_id, user_pending) VALUES ('1', $customer_id, 0)"); $admin='0'; session_begin($customer_id, encode_ip(tep_get_ip_address()), PAGE_INDEX, FALSE, $autologin, $admin); // End phpBB-osCommerce Bridge insead of the code from the install text. Thanks for the help, its now the fun part begins... Time to mod the forum :D
  22. CThomas i've had the exact same problem as you (with the create_account login and with the edit account) First of all I just wanna say I just fixed the edit account part. Im not 100% sure this wont affect something in a bad way (at least it cant make it worse :)) But I just deleted the statement that was bugged: 'user_from' => tep_get_zone_name((int)($customer_country_id),(int)($customer_zone_id)), But to the create account login problem you seem to solved. You said: Replace $check_customer_query = tep_db_query("select customers_id, customers_firstname, customers_password, customers_email_address, customers_default_address_id from " . TABLE_CUSTOMERS . " where customers_email_address = '" . tep_db_input($email_address) . "'"); with.... But I dont have that code in my create_account.php file any idea what to do now? PS: daniel2006 I know this is quite late but your problem was in /catalog/include/configure.php file, it should look like this define('DIR_WS_HTTPS_CATALOG', '../'); Another little error I got (not a big deal though, the other stuff is more needed) is that I still cant log in via the forum_admin_login.php I get this error: Fatal error: Call to undefined function: encode_ip() in *****.se/admin/forum_admin_login.php on line 17
  23. Okay.. after some days of work I found out that I had two different phpBB DB information. The first time I installed it I got an error so I installed it on phpBB2_ instead of phpBB_ but now it works good. and everything else works too. Thanks for a good contribution.
  24. Sorry for spamming but I think I've made some progress. First of all I dont get that error when I log in anymore and I deleted the forum Query and made a new one so now I only have one number and thats 904 but even so I still get the same major problem. The account doesnt get created in the phpBB forum. What should I do about this?
×
×
  • Create New...