osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Dynamic Mopics Admin - Please help!

This is a discussion on Dynamic Mopics Admin - Please help! within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Totally new to oscMax - been lurking for ages because I didn't feel confident about modding inside the template system ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-12-2005, 09:22 AM
Lurker
 
Join Date: Mar 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
recusant
Default Dynamic Mopics Admin - Please help!

Totally new to oscMax - been lurking for ages because I didn't feel confident about modding inside the template system - much easier than I thought. So, I've just started and I'm asking for help already!

I need easy admin access to upload images. Has anyone managed to successfully integrate Sebastian Fränk's Dynamic Mopics Admin contrib? It's two very small pieces of code in admin/categories + an SQL file and it looks like it should work... I've been trying to get it to work for days (and nights).

Better still, has anyone managed to add MaxiDVD's Ultimate Images Pack to oscMax? (It's the first thing I usually add to a standard osC 2.2) - total control and really quick and easy admin access to upload the basic sm, med,& lrg, plus extra images.

Quick and intuitive image management is a must so if there's no way around this, I'll have to get back to using stock osC, which is a shame because, otherwise, I'm totally impressed with the package and all the work that's gone into it, for which, regardless of the outcome here, thanks guys and congratulations.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 11-13-2005, 01:06 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,788
Thanks: 5
Thanked 104 Times in 90 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default RE: Dynamic Mopics Admin - Please help!

Well it is not in the package as no one requested it......

See:
http://oscdox.com/PNphpBB2-viewtopic-t-5078.html

Do you have the contrib numbers???
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 11-13-2005, 01:27 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,788
Thanks: 5
Thanked 104 Times in 90 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default RE: Dynamic Mopics Admin - Please help!

Dynamic MoPics Admin - what error are you getting? Does not look like it should conflict with anything....

UltraPics - MS2 Image Addon Pack?

Might be a bit harder as we don't use the same WYSIWYG editor - MaxiDVD's only works with IE and ours works with IE/OPERA/FIREFOX ect...

TOO much to do and soo little time.

Try and addin your self using Beyond Compare.... Remember that much of the code moved to the template directory....

if you have problems - post the error/problem/code and we can try and help...

Good Luck....
Good Luck
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 11-14-2005, 07:41 PM
Lurker
 
Join Date: Mar 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
recusant
Default RE: Dynamic Mopics Admin - Please help!

Thank you for your replies jpf - I've been persevering with it and still getting nowhere. The UltraPics contrib does have that IE-only wysiwyg drawback but its a small loss for what you get. Try it on a clean install of osC2.2 - it just drops right in and provides a great image-enabled interface where you can see exactly what you're doing and do exactly what you want. Only niggle I've ever had with it was the lack of sorting in the image uploader when a large number of images were involved but that was easily fixed by better folder organisation. Having said that, I don't fancy trying to integrate it. You said it - time get's scarce!

I described Dynamic Mopics Admin as a contrib - it's actually just an add-on URL:[http://www.oscommerce.com/community/...s,1114/page,6] to the Dynamic Mopics contrib.

I've got myself into a big mess of my own making! I first added the Hide Products From Groups contrib. I then added Sebastian Frank's Dynamics Mopics Admin contrib which should allow admin access to non-ftp administrators to upload images. In fairness to Sebastian, he did say, "this is not a final version. See it as a v0.1." but he also said, "these changes work for my store."

The Dynamics Mopics Admin addon is not working at all. As I understand it, on the New Product page, I should browse to and select the main thumbnail image - image.jpg - and, from another folder on my computer, I select a larger version with the same filename; DynamicMopicsAdmin adds a number - actually a string + a number - that will increment for each additional image starting at: {imagebase}_pic1.jpg) i.e. the uploaded image will be renamed as image_pic1.jpg

I'm getting an upload success message for each image but only one image, the thumbnail, has been uploaded properly. The larger image uploads, not to the images/images_big directory but to the images/ directory and it is renamed not as "image_pic1.jpg" but as "_pic1.jpg"

Looking at the code, however, that's exactly where I would expect it to go so I'm at a loss to know how this is supposed to work:

Code:
case 'new_product_preview':
// copy image only if modified
        $products_image = new upload('products_image');
        $products_image->set_destination(DIR_FS_CATALOG_IMAGES);
        if ($products_image->parse() && $products_image->save()) {
          $products_image_name = $products_image->filename;
        } else {
          $products_image_name = (isset($HTTP_POST_VARS['products_previous_image']) ? $HTTP_POST_VARS['products_previous_image'] : '');
        }
  // added by Sebastian Fränk begin
  // for Dynamic MoPics
          for ($i=1; $i<MAX_PICTURES_UPLOAD + 1; $i++) {
            if (isset($GLOBALS['file_' . $i]) && tep_not_null($GLOBALS['file_' . $i])) {
              $upload_file_image = new upload('file_' . $i);
              $upload_file_image->set_destination(DIR_FS_CATALOG_IMAGES);
              $upload_file_image->parse();
           	  $image_base = substr($HTTP_POST_VARS['products_previous_image'], 0, -4);
              $upload_file_image->set_filename($image_base . '_pic' . $i . '.jpg');
              $upload_file_image->save();
            }
          }
  // added by Sebastian Fränk end
        break;
Problem is, even if I get it to upload correctly, the thumbnail has a click-to-enlarge link only if the Big Images Directory in Admin/Configuration/Dynamic Mopics is set to blank i.e. if the default setting, images_big, is deleted. Then, when you click on the link, it's the thumbnail that pops up! I checked to see when the addon was uploaded. It was 22 Jan 05 - just had a feeling it might have been All Fools Day.

I FTP'd an image_pic1.jpg (and also tried an image_1.jpg + corresponding admin/Mopics_config setting) to the images/images_big directory but still no click-to-enlarge link.

EOF tether
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Dynamic Mopics - Now you see me - Now you don't cameroti osCMax v2 Features Discussion 10 12-15-2005 12:59 PM
Dynamic MoPics upgrade? robroymedia osCMax v1.7 General Mods Discussion 5 06-16-2005 08:24 AM
Will Dynamic Mopics work for me? mhtrozzo osCommerce 2.2 Modification Help 0 08-22-2004 02:52 PM
how to use dynamic mopics? i want to put more than 1 pic Anonymous osCMax v1.7 General Mods Discussion 3 07-25-2004 02:14 PM
Dynamic Mopics Possible Cure auntie22 osCMax v1.7 Installation 5 02-16-2004 06:46 PM


All times are GMT -8. The time now is 11:48 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax