Jump to content

drumcentral

Members
  • Content count

    51
  • Joined

  • Last visited

Everything posted by drumcentral

  1. drumcentral

    ADDING NEW PRODUCT FIELD

    Hi there. I took the advice in your post and added the Add New Product fields contribution. I added it as a RRP field, and it seems to be okay so far. I've been trying to find how to disable the RRP: £ field to not display when there is no RRP inserted in the admin section. You can see what I've done so far at www.drumcentral.co.uk. If you look at single product you can see where I've put it. I've also been trying to shift the RRP field up in the edit/add new product page in admin, so it's beside the other price fields. Should I be looking at the mysql database? I managed to get the field to display in the product listing page: http://www.drumcentral.co.uk///accessories...-c-318_460.html The site is fairly heavily modded, so it was hard work putting all the new code in! Any help would be great! Kenny
  2. drumcentral

    photo gallery for oscommerce

    Thanks for the code to show thumbnails in the admin. I have another problem; almost every day now, some spamming robot is adding hundreds of lines of text and links to other sites in the comment box in the first image. Does anyone have any ideas how to stop this?
  3. drumcentral

    photo gallery for oscommerce

    Hello again. Just like the user who posted here earlier, I was wondering if there was an easy way to sort the pictures by upload date? The newest ones are currently added to the end of the page. Kenny
  4. drumcentral

    photo gallery for oscommerce

    Hi Andy. do you mean that you'd prefer it to look something like my page?: www.drumcentral.co.uk/gallery.php To change the text you've highlighted, open catalog/gallery.php Find line 188 and you should see: <p>Klik <a href="gallery_user.php">hier</a> om uw eigen foto's toe te voegen aan deze gallerij. Just change it to What you need. I changed mine to: <p>Click <a href="gallery_user.php"><b>HERE</b></a> to add your own pictures to these galleries. Show us your kits or setups, and pics of your band or school playing live. You must have an active Drum central account and be logged in to post pictures.<br<b>Conditions for upload:</b> <li>Maximum 6 pictures; <li>Only jpg files are allowed; <li>Filesize may not exceed 1mb; <li>Dimensions may not exceed 1280px X 1024px To remove the image at the top of the page, in gallery.php go to line 152 - 153 and you should see: <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_specials.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> I changed mine to: <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"></td> You can change the header text in: catalog/includes/languages/english/gallery.php line 14: define('HEADING_TITLE', 'Photo gallery'); Just change it to: define('HEADING_TITLE', 'Gallery'); The box in the column will still say 'Photo Gallery'. To change the box title, go to: catalog/includes/languages/english.php and edit the line you added. I changed mine to: define('BOX_HEADING_GALLERY', 'Photo Gallery'); define('TEXT_GALLERY', 'Your Pictures'); Hope all this makes sense... and I hope I've done it right! Kenny
  5. drumcentral

    photo gallery for oscommerce

    It might be that your server is running SQL 4 (maybe?) the text below is the start of the MYSQL from the contrib which seems to say that it's for version 5.0.21 Maybe I'm wrong..... Can you find out which version of MYSQL is on your server? -- phpMyAdmin SQL Dump -- version 2.8.1 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generatie Tijd: 24 Aug 2008 om 12:57 -- Server versie: 5.0.21 -- PHP Versie: 5.1.4 -- I've also noticed that there should be a space just before the last ';' So it should be: AUTO_INCREMENT=18 ; but yours is: AUTO_INCREMENT=18; Of course, this may make no difference at all!! Kenny
  6. drumcentral

    photo gallery for oscommerce

    Hmm. okay, I've just added this to the head section of gallery.php: <meta http-equiv="refresh" content="30"> This will force a refresh after 30 seconds, or however many seconds you like. Not an ideal fix, but it might help. Kenny
  7. drumcentral

    photo gallery for oscommerce

    I may have found a way to make the pages show the new uploaded images by using an old-fashioned bit of java script: I've put this into both gallery.php and gallery_user.php Place this at the top of your page, in the head part: <script language=" JavaScript" ><!-- function MyReload() { window.location.reload(); } //--></script> [b]Then change your <Body> to say;[/b] <Body onLoad=" MyReload()" > let me know if this works for you. Kenny
  8. drumcentral

    photo gallery for oscommerce

    Hi there. I make all my changes on my live site! I wish there was a way to force a refresh on the customer/users browser. Some people using the gallery for the first time might not know how to do that, or understand what it means. I think I will follow your changes. I did think that 100k and 800/600 was too small for most people. And I will add the extensions as you did. Many thanks. Kenny
  9. drumcentral

    photo gallery for oscommerce

    Thanks. Yes, I has assumed that it was a cache issue. Just wasn't sure if it was a local or oscommerce online cache. After forcing a refresh it all appeared. I might put that info on the gallery page to help users. Kenny
  10. drumcentral

    photo gallery for oscommerce

    I've just noticed that I have the same problem!
  11. drumcentral

    photo gallery for oscommerce

    Hah. Managed to find the answer to the Flash movies appearing in front of the zoomed pics. I went to the Highslide site: http://highslide.com/forum/viewtopic.php?t...highlight=flash They have the answers. You have to change/add a minor thing in the Flash movies. Kenny
  12. drumcentral

    photo gallery for oscommerce

    Thanks for all the help. The extra /// in the address has always been there. It seems to have appeared after the secure certificate was installed some time ago. Everything on the site works with one slash or three, so I've never attempted to change it. (if it ain't broke etc) It is a little bit odd. When I was testing the gallery pages earlier, just after I installed the contribution, everything was working fine, except for the problem with the Flash images. I'll have a look at the cache. EDIT: I had added a line to my .htaccess file This was causing the images to stop zooming. Can you guys have another look and tell me what you think about the Flash problem? www.drumcentral.co.uk/gallery.php Could this be a javascript thing? Maybe in highslide.js ? Thanks again. Kenny
  13. drumcentral

    photo gallery for oscommerce

    Hi there. Thanks for putting this contribution together and sharing it with us all. I've successfully managed to integrate it onto my (heavily edited) site. I have a small problem. I use Flash for the header image and for various banner adverts. When I click on an image in the gallery, the image zooms in in front of the page, but appears behind the Flash items! Have you any clues as to how I might make them appear in front of everything? You can see my results at: www.drumcentral.co.uk/gallery Many thanks Kenny
  14. drumcentral

    Request Product Info

    Sorry to hear that it's not working for you. I am using the latest version of this mod, and it works for my site. There's probably something in your code, if you've previously modified your oscommerce files. I know it seems to work better with Firefox (surprise!)
  15. drumcentral

    Request Product Info

    Hi Jack. Thanks for the info. After a bit of experimenting I managed to find the code in the catalog/contact_us.php file and inserted it into the catalog/request-product-info.php file. After Line 114, which should be: <?php if ($messageStack->size('request_info') > 0) { ?> insert this code from the catalog/contact_us file: <?php } else { if (tep_session_is_registered('customer_id')) { $account_query = tep_db_query("select customers_firstname, customers_lastname, customers_email_address from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$customer_id . "'"); $account = tep_db_fetch_array($account_query); $name = $account['customers_firstname'] . ' ' . $account['customers_lastname']; $email = $account['customers_email_address']; } ?> This should automatically add the logged-in customers name and email address the the form fields. I hope this is of some use to everyone. Thanks again.
  16. drumcentral

    Request Product Info

    Hi there, many thanks for this great little contribution. It's all working fine on our site: Drum Central I wondered if you could help me with one minor thing? When a customer is logged into the site, and clicks on the regular 'Contact Us' link, his or her name and email address are automatically filled in on the form. However, when using the 'Product Request' link the name or email address are not pre-filled. It would be great if you had any clues.....
  17. drumcentral

    Extra Images - v 1.6.1 package

    Hi there, I wish i knew I'm trying to find out how to make the thumbnails in the catalog bigger, and the thumbnails in admin smaller! If I find out I'll post it somewhere here. Kenny
  18. drumcentral

    Extra Images size in admin

    Hi there. I wish I could help. I'm also trying to do the same thing. And I'm trying to increase the size of the extra images shown in the catalog page. If I come across any good ideas, I'll let you know. Kenny
  19. drumcentral

    Manufacturer Description Field

    Hi there. Thanks for the link. I've installed the Additional Info v1.2 module and edited my existing files. I also added the MYSQL table. All seems to be okay; the link is there in Admin which opens a new page ( Additional Description Manager ) with the drop-down menu. However, when I select any of the drop-down items and click the 'Submit' button, I get an error page. The address shown in the browser bar is: http://admin/additional_description.php Normally any address in my admin section would have something like: http://www.mysite.co.uk//admin/manufacturers.php I've re-checked all my edits, and all file permissions, but can't spot anything. Does anyone have any ideas about what I need to change to make this work? Many Thanks
  20. drumcentral

    Manufacturer Description Field

    Hi There, I'm also looking for the same thing. I've successfully added the Category Descriptions V 1.0 mod which works well. I've even tried hacking this to create a version for the Manufacturers, but with no success. If anyone out there has any ideas, I'd love to hear them. Thanks www.drumcentral.co.uk www.scottishdrumday.co.uk
  21. I wish I knew! It's the same with our site. It's VERY frustrating and I know from customer feedback that it definately puts them off finishing the sale when there's no items listed. I had it working, but only partially, as described in this thread. Only a certain amount of text of the items was displayed. This was before I changed to the Paypal IPN module.
  22. drumcentral

    Admin orders not showing Help please

    Hi there, I've recently been having a similar problem since installing the Paypal IPN module. The module is not activated now. Somehow the setting in my 'Admin/Configuration/E-Mail Options/E-Mail transport method' had been changed from SMTP to SENDMAIL and so the orders were not showing up in admin and I was not getting any order emails. Since changing this setting back to SMTP, all orders are now showing up. Of course, your server may be different, but it's worth a try. I'm not sure if you'll be able to see your pending orders. Since installing the Paypal IPN module, another minor annoyance has been happening. When someone buys from our site using Paypal, only part of the order is showing up on the Paypal payment pages, only around 127 letters and spaces. So, if the order is for a lot of items only the first few are shown. This is not great for the customer or us! If anyone out there knows how to repair this, it would be wondeful! I hope this helps. Kenny
  23. drumcentral

    Problems with Extra Image

    I have the identical problem, but hadn't realised it was the Extra Images Contribution that was causing this. I might try removing it and see if that solves it. It only seems to happen when I browse to Admin/index.php If I go to any other address in admin it's fine, but it's still annoying! It would be great if someone new how to fix this. These are the files I edited or changed when installing Extra Images: /admin/includes/filenames.php /admin/includes/database_tables.php /admin/includes/boxes/catalog.php /admin/includes/languages/english.php /catalog/includes/filenames.php /catalog/includes/database_tables.php /catalog/includes/languages/english.php /catalog/product_info.php Kenny
×