Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

npn2531

Pioneers
  • Posts

    1,159
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by npn2531

  1. It can be really tedious to work this kind of stuff out, lots of trial and error. To get the 2nd and 3rd levels to behave independently you may have to add additional selectors. Keep adding li's and/or ul's or break up combined selectors. For example this would address the 2nd level but not the first: .sf-menu li li{ left: 0; top: 2.1em; } (thats just off the top of my head, don't take it too literally) To get the original code I got this from go here, and look at the CSS, it may help: http://users.tpg.com.au/j_birch/plugins/superfish/#getting-started
  2. Actually you seem to be pretty close: try moving the closing ul tags underneath the added link. In other words change it to this: // EXTRA NONLIST LINKS BELOW $output.='<li><li><a href="' . tep_href_link( FILENAME_FOO ) . '">' . ADD_LINK_ONE. '</a></li></li><li><a <li><a href="' . tep_href_link( FILENAME_FOO ) . '">' . ADDED_LINK_TWO . '</a></li></li> '; // Close off nested lists for ($nest = 1; $nest <= $GLOBALS['this_level']; $nest++) { //closing tags for entire list $output .= '</ul><!--close last subcat--></li></ul><!--close list-->'; } return $output; I'm guessing here, you just have to experiment. Note also I have added, ADDED_LINK_ONE and ADDED_LINK_TWO. Those links you can define in your language files as needed.
  3. Good catch. Yes, use the OSC function 'tep_href_link' instead of the standard html format for the reason given by Jim above.
  4. To add a link (hard code an extra link) open includes/module/cat_navbar.php and change: // Close off nested lists for ($nest = 1; $nest <= $GLOBALS['this_level']; $nest++) { //closing tags for entire list $output .= '</ul><!--close last subcat--></li></ul><!--close list-->'; } // EXTRA NONLIST LINKS BELOW $output.=''; return $output; To: // Close off nested lists for ($nest = 1; $nest <= $GLOBALS['this_level']; $nest++) { //closing tags for entire list $output .= '</ul><!--close last subcat--></li></ul><!--close list-->'; } // EXTRA NONLIST LINKS BELOW $output.='<li><a href="/link1">My hardcoded link</a></li><li><a href="/link2">another hardcoded link</a></li> '; return $output;
  5. Your file looks fine, I don't see a problem. You should be able to send out email everyone in your subscribers list with a value of '2' in the field subscribers.customer_newsletter . Note that no attempt has been made to test the bulkmail module with the cron jobs. Perhaps I don't understand what problem you are having, try restating exactly what the issue is.
  6. The bulkmailer will send out to everyone. You are 95% of the way there if you are getting the proper list of recipients. Since you know how to configure the mailhive module (having run it successfully before), you most likely have a typo or have just missed something in converting to the subscribers table in mailhive/mailbeez/bulkmail.php. -Check to be sure you have made the changes in the 'function install()' portion (bottom half) of that file If you post the entire file here and I should be able to spot the problem quickly.
  7. When you click 'list recipients' in the bulkmail sender admin, does it display the correct subscribers? And yes, the layout, format and general operation of the mailbeez modules are much better than the stock OSCommerce mailer.
  8. You can use your table 'subscribers' instead of 'customers' in the mailbeez bulkmail module. You only need to make changes in one file, mailhive/mailbeez/bulkmail.php: What you need to do is go through that file, it's not big, and change the name of the customers table to subscribers table. For example: $query_raw = "select c.customers_firstname, c.customers_lastname, c.customers_id, c.customers_email_address from " . TABLE_CUSTOMERS . " c where c.customers_newsletter = " . MAILBEEZ_BULKMAIL_CUSTOMERS . " "; would become $query_raw = "select s.subscribers_firstname, s.subscribers_lastname, s.subscribers_id, s.subscribers_email_address from " . TABLE_SUBSCRIBERS . " s where s.customers_newsletter = " . MAILBEEZ_BULKMAIL_CUSTOMERS . " "; There are a couple of other places but the pattern is the same. Essentially everywhere you see c. change it to an s., change 'customers' to 'subscribers', etc. You are in luck since the field name in both tables are the same (ie _firstname, _lastname and so forth). (Note I am assuming that the field in subscribers.customers_newsletter is the field in your custom table that determines the who is subscribed to your newsletter.)
  9. The authors of this contribution and the contribution sold by jhem have not provided a working demo. Who knows if these contributions work or not? The 'demo' that has been provided by Michalke has no login, no shipping cart, no checkout pages, no customer account pages or a payment module.
  10. The official Mailbeez is fine, I meant to say my unofficial BULKMAIL module contribution I wrote for the Mailbeez system has the bug. In fact the reason I wrote this module is because the Mailbeez System works really nicely.
  11. PS -There is one little bug: The mailbeez module has a way of setting how many copies of a mailing should be sent to the admin email. In the bulk mail module, it works like an 'on or off' button for the email copies, ignoring the number you enter. In other words, if you set it to any number of copies, no matter what the number, it will send 1 copy to you for every person on the mailing list as it mails. Set it to not send copies, and it won't send any copies, as it should.
  12. I'm not a lawyer, but just don't send spam, only send to people who signed up, include your physical address, an unsubscribe method, and never give out or sell the list.
  13. Does this contribution a security risk of some kind? It is requiring you to put your Facebook API key, application id and application secret unencryped in a catalog level file, fbconnect.php. Any comments or thoughts about that?
  14. I thought I knew about iFrames, but perhaps you can explain what your's is doing: For example if you go to http://apps.facebook dot com/koenigagrar/index dot php?cPath= and just keep hitting the return button, it justs throws up your product listing in an ever changing random order. That's not OSCommerce coding. Also your app is on apps dot facebook dot com/koenigagrar/ whereas your facebook page is on another FB page entirely, www dot facebook dot com/koenig.agrar Normally when you see a shop app on a FB page it is one of the tabs within the same page. What is happening with yours is that when you click the 'produckte' your address is still within koenig.agrar , as it should be but when you click on anything on that page you leave koenig.agrar entirely and go to koenigagrar.
  15. I don't know. I'll discuss it with my Therapist and get back to you. But, seriously, if you find this intriguing maybe you should get out more.
  16. I will try to set up a OsC-demoshop (with login-button) as soon as I have time. I use a contribution called "Ask a question" which also stores product id in the session URL, much like the add_to_cart-button. Believe me this works. Honestly, this took me three weeks, tons of coffee an cigarettes to find everything out and two hours to set it up. This is really simple and quickly done. You should put up a demo, with a working login and add to cart button. It sounds like it would be simple and could be quickly done. ps Why do two urls go to same page? These both go the same place http://apps dot facebook dot com/koenigagrar/ and http://apps dot facebook dot com/koenigagrar/product_info.php?products_id=489
  17. The login page, or anything beyond shopping_cart.php requires SSL. You can't get a SSL certificate for an iFrame on a FB page. There is nothing in your contribution about how to get around that. If you have put a working OSCommerce login page on a FB page, would you explain how? Your contribution as you have posted it dead-ends at the shopping cart, if not before.
  18. Since your contribution has no way for anyone to login, wouldn't having the shopping cart in the iFrame on FB be a dead-end?
  19. When you had the buy button working on the old shop was it putting a product in shopping_cart.php on the OSCommerce shop within the iframe, or to shopping_cart.php on an OSCommerce shop on an external site (external to the FB page with the iframe) ?
  20. It sounds like you are saying you have not installed an OSCommerce shop on a FB page other than the ones you have provided links to in this thread. And the ones you have provided links to do not have a shopping cart page, checkout pages, a place to login, account pages, or anyway to add anything to a shopping cart. If you have never installed it how do you know, for example, that a buy button, or a payment module would work? (Also it's not clear if your shop is on http://apps dot facebook dot com/koenigagrar/index dot php?cPath= or http://apps dot facebook dot com/koenigagrar/product_info dot php?products_id=468&osCsid=e5c6a8f8b4f9a9c4830200a3ed9522b7 ) What's odd is that the two links above that you provided are not generating unique product strings for different products. And you never go from the index page to the product page or vice versa.
  21. Try what? The contribution consists of general information on becoming a FB developer and creating an iframe, and two paragraphs on how to upload the entire OSCommerce shop, alter includes/configure.php and redirect the output of the submit button to external site. No files, no working demo. Good luck with that submit button, or buy button, sending parameters to your externally located OSCommerce shop without first generating a product query string in the OSCommerce index page on FB. Please demonstrate a working buy-button on your link above, or another FB/OSCommerce page and I'll take this seriously enough to spend the time 'trying this'. Or even a working 'add to cart' button. If you can't demonstate that button you are asking people to spend a lot of time installing an iframe that displays products, and does little more, on a FB page, that you appear to be labeling a FB/OSCommerce integration.
  22. Visiting your link your FB page, I only see the index page (minus a product string) in the browser no matter what is clicked on. There is no way to add a product to a shopping cart, much less process a sale, and there is no place to login, or for a customer or user to create an account, or view customer account information. This contribution appears to do nothing more than display products. That is a long way from integrating a shopping cart into FB.
  23. I understand now, this contribution doesn't integrate an OSCommerce shop into FB, it just does a really nice job of displaying products on your FB page. If you do figure out how to integrate the two, you'll be a Rockstar around here.
  24. I see, do you mean when the customer signed on to their OSCommerce account, or started the checkout process, then they would be forwarded out of FB to the OSCommerce shop? or: Have you worked out a feed of the OSCommerce shopping cart, or perhaps even the posting of 'buy' button to a FB payment module? (something similar to how Paypal works with OSCommerce).
×
×
  • Create New...