Jump to content

ssnb

Members
  • Content count

    282
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by ssnb

  1. This is the support forum for the following contribution: Store Locator V1 **** INTRODUCTION ********* This contribution will enable you to include drop down boxes that let your users select their nearest retail stores / stockists - without displaying all of them at once (useful if you don't want a large page full of contact details etc). This package contains all the files, but it does not explain how to create a new page - you will have to do that yourself (there are plenty of forum pages dedicated to explaining how to do that). Alternatively, you might want to install this package on an existing page (such as contact us) This script uses a database table to store the list of cities and contact details etc and at the moment - a separate admin page that allows you to populate the table. V2 could move the admin side into OSC admin - but I don't have the time for that right now and it works great as it is. Demo: http://www.sk8factoryshop.com/mydealer.php This script was originally created by Jennifer - http://www.scriptygoddess.com and modified a lot by me. 10 minute install and no OSC files modified. AS ALWAYS, BACK UP YOUR DB FIRST !! I will help where I can....
  2. Quick and Dirty Restrict Admin Access DOWNLOAD: http://addons.oscommerce.com/info/8050 We have about 6 admins that manage our site. I needed a way to prevent them from accidentally 'breaking' something on the site config etc. How disappointed was I to find the only way to do this was to spend hours installing a complex contribution. So I thought about maybe just hiding the links from specific users. Afterall, what the eye can't see.... So - rather than spending hours (days?) messing with your shop (and potentially breaking it!) why not use my method that I'm sharing here :-) Basically, this is an incredibly fast, and simple way to "hide" pages / boxes from specific admins. It does not prevent users from accessing pages if they already know the link - it only hides the page links (boxes) - therefore, making it harder for users to access them - since no links are on display - how do they know where to go! If they know the links - they can still access the pages. Therefore, if you need a fully featured application to manage admin access - you should install something like http://www.oscommerce.com/community/contributions,1359 (good luck - you'll need it! And it'll take you a while !) My solution should be all done in 5 minutes ! IMPORTANT: BACK UP YOUR DATABASE AND FILES FIRST. DISCLAIMER: USE AT YOUR OWN RISK HOW TO USE It's very simple. open the included file: catalog/admin/includes/column_left.php in your favourite HTML editor Compare with your own file and add my commented lines. You can see what's going on right? Basically, query the DB to look at usernames. Then, if username = 'XYZ' show ABCDEF boxes, else only show ADF boxes 1. go to your OSC admin and write down the names of the admin usernames 2. in column_left.php file, simply add the name of the main (super) admin who has access to everything. 3. further below in this file, you will the code repeated (it's commented out). This just says, if username = 'someone_else' show them ABCDEF 4) further on, you'll find the ELSE statement that says - for all other users, display only BDF - or whatever! Also attached are boxes/catalog and boxes/customers You can easily modify each individual box to show what you want. Hope that makes sense Good luck Sol
  3. ssnb

    Header Tags SEO

    Facebook Like buttons if using HTSEO I spent some time to figure it out. Here is the answer for Facebook buttons if you are using STS and / or Header Tags SEO contributions. http://addons.oscommerce.com/info/8208/v,22
  4. One final thing to work on - how to display a success message once the coupon has been added.... that would be sweet! If anyone already has a method, please share, otherwise I'll look into it.
  5. Right well, after a few more beers, I've managed to sort it... I just added in checkout_payment.php - in the upper part of the code, right after the payment classes are declared, a default payment. // load all enabled payment modules if ($order->info['total'] <= 0) { $payment = 'freeofcharge'; if (!tep_session_is_registered('payment')) tep_session_register('payment'); tep_redirect(tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL')); } Took me all day to figure this out, but now I'm happy :-) Let me know if you want the instructions...
  6. Updated: I've made significant progress! 1) Moved discount coupon code on the checkout_shipping.php page as it makes more sense there (after choose shipping method and before notes) 2) Added free of charge payment method - as trying to bypass the payment page seems impossible It works fine now EXCEPT: I can't seem to display JUST the free of charge payment method when the order total is zero - I've tried using the old trick of disabling payment methods if the order total is zero, but this seems to either end up in a browser loop error or tell me to select a payment method! I've discovered that in the DB all the payment modules are listed as sort order 0 - I don't know if this is a bug or an error specific to me, but it seems when you disable 1 payment method, they all go ! Will keep trucking on and see how I get on. If anyone wants the code info on what to do to achieve what I have doen, let me know.
  7. Hi Chemist, thanks for your reply. The contributions suggested is designed to bypass checkout / payment if the value of the item is zero. unfortunately, it doesn't work with KGT discount coupons when they are 100% discount, because the discount coupon is processed AFTER the free module is looking at cart total. I've been playing around with it for a while to see if I could modify it to get checkout_process.php to recognise a zero cart total and thereby ignore the payment modules (or choose the free one) but not having much luck. In the contribution instructions, it says to bypass the payment page add some code to catalog/checkout_payment.php but that's the same page witht he discount coupons on - so the cart total has not yet been updated to zero... When user has entered their discount coupon code and the hits confirm button, it takes them to the catalog/checkout_confirmation.php page and I am assuming it is here that the payment module check must be made, or on the the following page catalog/checkout_process.php So I am playing around with this but so far, no luck. I was hoping that someone had already worked out a way to make a 100% discount (i.e. zero total) skip the payment checking and directly proceed to checkout_success.php (via checkout_process)
  8. Hi All Can anyone help me to improve the following code I have added to checkout_confirmation? It bypasses the checkout payment page if the order total is $0.00 The problem is - it only works with a redirect to checkout_success, which is at least something, but missing out checkout_process also means missing out on the order process (i.e. sending emails, updating the DB etc) - so not very helpful really! if ($order->info['total'] <= 0) { $form_action_url = tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL'); } else { if (isset($$payment->form_action_url)) { $form_action_url = $$payment->form_action_url; } else { $form_action_url = tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL'); } } I just want to skip the payment modules if the total is $0.00 but not having much luck. Any one have this functionality working? Thanks for suggestions...
  9. ssnb

    Get 1 Free

    Hi All There is a fantastic addition to this add on by dmordred in the contributions page. It puts a link on the main product - to the free product and it works great. However, it would be nice to be able to display a message in the free product description page that links to the main product? At the moment, I can't see how to do this. Any suggestions? Thanks
  10. AUTO EMAIL REPLY Contribution link: http://addons.oscommerce.com/info/6900 Version 1 July 24th 2009 ######################## Author Sol Harris www.purpledogdesign.com INTRO I wanted a way to be able to send an auto email reply to a customer enquiry to say "thanks, we got your email, we'll reply ASAP within 1 or 2 days - and by the way, here's our phone number"! ETC.... And also - it helps the customer when they have a copy of their own enquiry! I searched the contributions section and the forum and was unable to find anything at all! I was surprised by this (and a little disappointed) so I decided to write one myself - and here it is - for better or worse. Hopefully, it will work for you as it does for me. This contribution assumes that your email is already working. Works fine on modified stores without any problem. I use it in conjunction with Visual Verify Code (http://addons.oscommerce.com/info/1560) ######################## FEATURES * Sends an "automated" response to a customer email enquiry. * Copies the content of the customer enquiry - to the customer for their records. * Sample "thank you" message included - but the variations are limitless - for example, you could put special offers in that text, opening times, whatever you want - it's another opportunity to be in your customer's inbox :-) * This contribution also adds two extra fields to your contact_us.php file "COMPANY NAME" and "TELEPHONE NUMBER". If you don't want these additions, just erase them from the code mods, or modify them to suit your purpose (i.e. change company name to website address or mobile number etc.... ######################## INSTALLATION should take about 10 minutes Just two files to change. K I S S Keep It Simple Stupid BACKUP BACKUP BACKUP any file you change FIRST so that you can go back if you need to... ########################
  11. [contribution] Mootools Slideshow: OVERVIEW This intro and OSC contribution package is written by me - I found something awesome and I want to share it with the community :-) However, I take no credit for the actual application which is entirely created by Aeron Glemann - all credit to him. Furthermore, although I have created an OSC support forum for this contribution (see below) I can only offer very limited support - the best support is available on the Author's site (see below - extensive and excellent support actually!). I have it installed on an OSC site V RC2.2a with STS template. If you install it anywhere else, you will have to figure that out yourself - but it shouldn't be too hard and there is a lot of support available for this via the Author's site (see below for links to wiki, FAQ, forum etc!) SUMMARY Slideshow is a javascript class using Mootools 1.2 to stream and animate the presentation of images on your website. You can use it anywhere you like - the license is entirely Open Source. You may NOT re-sell it. If you like it, make a donation to the author and support the little guy? This package does not dynamically pull any images from anywhere - but it IS possible to achieve this - and I am hoping others might contribute to the next OSC version (if only instructions) to enable it to do that. The author's support forum is extensive and there are some examples on there, of how to dynamically pull the data - I just haven't found the need to do that myself - yet.... but it is something I will look into for the next version (unless someone beats me to it :-0 WHAT THIS OSC CONTRIBUTION DOES - Creates an awesome FREE web2 slideshow box on your front page - You manually specify the image files to use (currently) - beautiful, fading image gallery - controlled by CSS and web2 compliant - LOTS of variable options / different ways to show stuff - It's just excellent - which is why it deserves a wider audience. FEATURES - Dynamic resizing - Slideshow can accommodate any size presentation. - Thumbnails - intelligent, auto-scrolling, tracking, etc. - Full-featured controller - completely style-able with CSS (AND ABILITY TO TURN IT OFF COMPLETELY). - Animated captions if wanted - plain text or formatted with HTML. - Fully accessible - Slideshow can be controlled with access keys. - Automagic slideshows - create slideshows from existing HTML images. - Varied hyperlinking options - Slideshow allows for mashups with Lightbox, Slimbox, etc. - CSS slide transitions - designed in stylesheets, not javascript, allow for an infinite combination of effects (plus support for all Robert Penner (effects) transitions). - Unobtrusive and degradable - Slideshow even functions with Javascript turned off! WHAT ELSE - Several variations to this script are available - Examples of these are on the author's website AUTHOR'S WEB SITE DEMOS - several variation demos available here: http://www.electricprism.com/aeron/slideshow/example1.html This package installs example 1 (basic slideshow) as that is all I needed. However, there are lots of variations that are possible if you want to modify the code - go ahead - it's not hard, often you will just need to include a different style sheet (included) and tweak the page code a little. Full instructions, support and examples on this are available on the author's site. In this distribution, you will find the following files: slideshow folder containing css/ - Folder containing stylesheet and background images. images/ - Folder with example images. index_EXAMPLE.html - Example script usage. js/ - Folder with the Slideshow scripts and Mootools 1.2.1. INSTALLATION.txt - How to install in OSC LICENCE.TXT - Copy of the MIT license information (from the Author's website) README.TXT - A copy of this text SUPPORT OSC support forum: here ! - Official development website. http://code.google.com/p/slideshow - Author Site Demos and examples. http://www.electricprism.com/aeron/slideshow/ - FAQ. http://code.google.com/p/slideshow/wiki/FAQ - WIKI Manual. http://code.google.com/p/slideshow/wiki/Slideshow - Google Group (excellent help forum but requires google account) http://groups.google.com/group/mootools-slideshow INSTALLATION EASY - 5 minute job!! Just upload the contents of the slideshow folder and modify your main home page template (STS users)! NON STS users shold be able to figure out how to change this to suit their site fairly easily! See the INSTALLATION.TXT file for full details. Enjoy!! Sol July 2009
  12. row row row your boat....

  13. ssnb

    Get 1 Free

    Hello good people of the planet OSC! Thanks for this mod Kymation Is there any way to somehow enable the free product to have colour / style / size selection capability? At the moment - I am asking people to tell me what style and colour of the freebie they want in the comments box, but of course, this is pretty annoying as some people forget or choose an option that's out of stock! Anyone know a way to achieve this? Thanks
  14. ssnb

    AJAX Attribute Manager support

    Hey thanks for the great add on I have admin access levels installed and I have added the SQL query to enable access to Group 1 - however, that ugly message that comes up "ACCESS DENIED" for clients is a bit heavy. Does anyone know how I could simply disable the entire AJAX cont for anyone other than admins? Follows is the excerpt from the install manual
  15. ssnb

    [Contribution] STS v4

    Hi Bill thanks for your reply. You're right the link does work - however what I *meant* to say in my first post was - it doesn't seem to display the correct page? I couldn't find any relevant info on the pages surrounding that link. Admittedly I didn't search much beyond - was hoping you might recall the discussion thread and could find it faster than me... Regards Sol UPDATE! Scrub that - I found it by SEARCHING for it *gasp* lol - It's on page 130 (post #2587) if anyone else wants to know! For some reason Bill's link takes you to the top of page 128 The lovely OSC forum software strikes again ;-)
  16. ssnb

    [Contribution] STS v4

    Greetings Bill Two questions, if I may 1) A while back you posted this link and I would like to read up on how to integrate a "bought" template into STS - however the link doesn't seem to lead to the right place - Can you please re-post the link to the guide? 2) Why are there 2 forums for STS and which is really the "best" one to use? I posted question 1 in the other forum but didn't get a response (sorry for the double post!) Thanks in advance Sol
  17. Hi Bill A while back you posted this link and I would like to read up on how to integrate a "bought" template into STS - however the link doesn't seem to lead to the right place - Can you please re-post the link to the guide? TIA Sol
  18. Hi - I visited your site www.petness.pt/lj and it seems to work fine in my browser (the header images all load correctly - and I might add it is a nice example of exactly how to use it). So, as I did not experience this issue you describe, I don't know what to suggest. Have you tried clearing the cache and reloading the page? Nice design by the way - may I ask if you designed this theme yourself or was it purchased? If it continues to be an issue, I would suggest visiting the slideshow forums as detailed in the installation text notes. Please keep us informed of your progress. Regards Sol
  19. Oh, scrub that, I just saw your FAQ - excellent!
  20. You're welcome, glad it worked well for you. I had a look at your site (very nice by the way - you've obviously put a lot of time and effort into that) - I wonder what font you are using for the VVC? You might want to change it as it is a bit pixelated IMO. Also - as a totally side point - what is Absinth? You might want to put a little more info on your site about how it is made / what it is made from / what it tastes of? Cheers
  21. Which version did you install? Have you read the forum posts above to check you have updated ? If the create account page is working fine, I can only imagine that you have a coding error in your contact us file. Suggest you re-check it?
  22. Please post your code here from the catalog/contact_us.php and the languages/english/contact_us.php Thanks Sol
  23. V1.2 uploaded now - with the correct SQL instructions. http://addons.oscommerce.com/info/6859 Thanks Sol
  24. Excellent! Thanks for the good news. AHHHH the SQL file must have been incorrect. I will update the package now. Thanks - Sol
×