Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[SUPPORT] HTML Editor and UltraPics by MaxiDVD


Guest

Recommended Posts

Does anybody EVER answer questions or help out??? Gee whiz. I see lot's of questions and problems and NO help is offered... And it is not just on this contrib.. it has been on every one I have used!! And the search tool does not work very well .. you end up with ALL kinds of irrelavant references to sort through.. HELP...

 

Petal

 

 

I feel your pain and couldnt agree more. American run site wouldnt be this way.

 

Anyhow, while this topic has been brought up i guess i will throw my line out and see if i can get a bite.

 

I have installed this a while back and it works great, with the exception of when you click on the image to enlarge it the box comes up but no image. The text shows but the image doesnt. Any idea of what it could be?

 

Thanks

Link to comment
Share on other sites

  • Replies 474
  • Created
  • Last Reply

Top Posters In This Topic

HELP HELP HELP ... Please!

 

Can someone tell me if I downloaded the " image_html_package_1.2.1" UltraPics and HTML Editor + More Contribution # 1689

 

Do I need the HTMLArea MS2 V1.9 Contribution or is it included in the above mentioned one?

 

The discription on the 1689 sounds like it is both paks, BUT....

 

I look at the files and some of the files that are in htmlarea are not in the Ultra + HTML so in some ways it seems more condensed,, and looks like it might handle the errors I am receiving from above mess..

 

Thanks again..

Petal

Link to comment
Share on other sites

Okay, I have read every single page here, and I did get the HTMLArea v1.7 running. Everything is working great with the exception of in the Products area if you click on the Button to Choose a picture for the product, nothing happens...

 

What should I be looking for?

 

AND I know this is easy to fix, I did it on a different mod, but absolutely can't remember what I did...

 

The other solution would be to put the Original OSC Browse Button back.. What would I comment out to do that?

 

Under the Customers Menu, the Links for the Mail and the Newsletter are like this,

 

BOX_CUSTOMERS_MAIL

BOX_CUSTOMERS_NEWSLETTER

 

Which file(s) should I look at to fix it?

 

Thanks for any help offered.

Petal :-"

Link to comment
Share on other sites

Solution for the SSL problem:

 

After Hours of work i found the solution for the secure admin area problem and the warning in the IE about secure and insecure items:

 

The problem is cause because of a failing src attribute in the iframe in the javascript files.

 

Here is the solution for it:

 

Go in the editor_advanced.js or editor_basic.js and change the following lines:

 

// define different editors

var TextEdit = '<textarea ID="_' +objname + '_editor" style="width:' +editor_obj.style.width+ '; height:' +editor_obj.style.height+ '; margin-top: -1px; margin-bottom: -1px;"></textarea>';

var RichEdit = '<iframe ID="_' +objname+ '_editor" style="width:' +editor_obj.style.width+ '; height:' +editor_obj.style.height+ ';"></iframe>';

 

 

 

to

 

// define different editors

var TextEdit = '<textarea ID="_' +objname + '_editor" style="width:' +editor_obj.style.width+ '; height:' +editor_obj.style.height+ '; margin-top: -1px; margin-bottom: -1px;" src="' +_editor_url+ 'popups/blank.html"></textarea>';

var RichEdit = '<iframe ID="_' +objname+ '_editor" style="width:' +editor_obj.style.width+ '; height:' +editor_obj.style.height+ ';" src="' +_editor_url+ 'popups/blank.html"></iframe>';

 

 

Further information you will find here:

 

http://scott.yang.id.au/2003/02/page-conta...on-secure-item/

 

I hope this will help you a little bit!

 

Greetings

 

Markus

Link to comment
Share on other sites

Hello i am trying to install the contribution the last 2 days .

The installation was succesfull but i can' t upload more than one image .

i am trying to install netpbm and i want some help. I am testing the site on my localhost.

I am using easyPhP wich contains : Apache 1.3.33 - PhP 4.3.10 -PhpMyadmin 2.6.1 and mysql 4.19

i ve downloaded netpbm 10.27

I want to know where i have to install netpbm and also

in the folder catalog/netpbm/ what should i put in

 

Please help . The contribution works except the upload

Link to comment
Share on other sites

I want to know where i have to install netpbm and also

in the folder catalog/netpbm/ what should i put in

 

Please help . The contribution works except the upload

As mentioned before, Netpbm doesn't have to be "installed." Rather, you can find and download the files already compiled for different systems. You simply put the files in the catalog/netpbm folder and set the permissions to the folder and files to 755. There are nine netpbm files that you need - less if you don't use all four image formats.

 

Look at the thread that I started on April 15, 2005, and finally resolved today. http://www.oscommerce.com/forums/index.php?showtopic=146492

 

It has the details spelled out. Based on looking through these posts, I think I may have solved a problem that is very common.

Link to comment
Share on other sites

:blink: Hello I have the same issue with the netpbm. I installed 2 version but apparently one file for BMP is missing in both Versions.

 

But after 2 days of endless line by line check (after first day my Server decided to die :'( ) so I started again. Now I have almost anything working.

 

INDEX, HTML edit, HTML mail.

 

but I can not use the Ultra Pic in the admin due to strange behaviour.

 

1. I can upload files that is working

2. I can NOT upload and resize. the result is a 0 byte file at lease the name given is shown on the server.

 

When I have selected a file and uploaded it. It is not shown with the link only the

http://
is standing there if I enter the file name manually in the link it is shown fine in the shop. Also when reentering the same produkt a image will be displayed.

screen1.jpg

 

HELP! Yes I read the complete threat but nothing helped

 

and YES it it a good contribution (when this last thing is sorted out)

Link to comment
Share on other sites

Excuse me. I've just installed this contribution, but I've this problem into admin section:

wisywig.JPG

 

I've follow the latest instruction, like this:

STEP 1.1g --> FIND: /admin/categories.php
?===============================================================================
=====
?Look/search for this around line 1051:
?===============================================================================
=====


? ? ? ?} else { // create category/product info
? ? ? ? ?$heading[] = array('text' => '<b>' . EMPTY_CATEGORY . '</b>');

? ? ? ? ?$contents[] = array('text' => TEXT_NO_CHILD_CATEGORIES_OR_PRODUCTS);
? ? ? ?}
? ? ? ?break;
? ?}

? ?if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) {
? ? ?echo ' ? ? ? ? ? ?<td width="25%" valign="top">' . "\n";

? ? ?$box = new box;
? ? ?echo $box->infoBox($heading, $contents);

? ? ?echo ' ? ? ? ? ? ?</td>' . "\n";
? ?}
?>


?===============================================================================
=====
?And directly UNDERNEATH IT add this:
?===============================================================================
=====



? ? ? ?} else { // create category/product info
? ? ? ? ?$heading[] = array('text' => '<b>' . EMPTY_CATEGORY . '</b>');

? ? ? ? ?$contents[] = array('text' => TEXT_NO_CHILD_CATEGORIES_OR_PRODUCTS);
? ? ? ?}
? ? ? ?break;
? ?}

? ?if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) {
? ? ?echo ' ? ? ? ? ? ?<td width="25%" valign="top">' . "\n";

? ? ?$box = new box;
? ? ?echo $box->infoBox($heading, $contents);

? ? ?echo ' ? ? ? ? ? ?</td>' . "\n";

? ? ?// Add neccessary JS for WYSIWYG editor of category image
? ? ?if($action=='edit_category'){
? ? ? ?if (HTML_AREA_WYSIWYG_DISABLE != 'Disable'){
? ? ? ? ?echo '
? ? ? ? ? ? ? ? ?<script language="JavaScript1.2" defer>
? ? ? ? ? ? ? ? ?var config = new Object(); ?// create new config object
? ? ? ? ? ? ? ? ?config.width ?= "250px";
? ? ? ? ? ? ? ? ?config.height = "35px";
? ? ? ? ? ? ? ? ?config.bodyStyle = "background-color: white; font-family: Arial; color: black; font-size: 12px;";
? ? ? ? ? ? ? ? ?config.debug = ' . HTML_AREA_WYSIWYG_DEBUG . ';
? ? ? ? ? ? ? ? ?config.toolbar = [ ["InsertImageURL"] ];
? ? ? ? ? ? ? ? ?config.OscImageRoot = "' . trim(HTTP_SERVER . DIR_WS_CATALOG_IMAGES) . '";
? ? ? ? ? ? ? ? ?editor_generate("categories_image",config);
? ? ? ? ? ? ? ? </script>
? ? ? ? ? ? ? ';
? ? ? ?}
? ? ?}

? ?}



?@@@@@@@@@@@@ ?END /ADMIN/CATEGORIES.PHP - SAVE AND CLOSE FILE ?@@@@@@@@@@@@@@@@@@@@@@

 

so I've this

    } else { // create category/product info
         $heading[] = array('text' => '<b>' . EMPTY_CATEGORY . '</b>');

         $contents[] = array('text' => TEXT_NO_CHILD_CATEGORIES_OR_PRODUCTS);
       }
       break;
   }

   if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) {
     echo '            <td width="25%" valign="top">' . "\n";

     $box = new box;
     echo $box->infoBox($heading, $contents);

     echo '            </td>' . "\n";
   }
?>
     } else { // create category/product info
         $heading[] = array('text' => '<b>' . EMPTY_CATEGORY . '</b>');

         $contents[] = array('text' => TEXT_NO_CHILD_CATEGORIES_OR_PRODUCTS);
       }
       break;
   }

   if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) {
     echo '            <td width="25%" valign="top">' . "\n";

     $box = new box;
     echo $box->infoBox($heading, $contents);

     echo '            </td>' . "\n";

     // Add neccessary JS for WYSIWYG editor of category image
     if($action=='edit_category'){
       if (HTML_AREA_WYSIWYG_DISABLE != 'Disable'){
         echo '
                 <script language="JavaScript1.2" defer>
                 var config = new Object();  // create new config object
                 config.width  = "250px";
                 config.height = "35px";
                 config.bodyStyle = "background-color: white; font-family: Arial; color: black; font-size: 12px;";
                 config.debug = ' . HTML_AREA_WYSIWYG_DEBUG . ';
                 config.toolbar = [ ["InsertImageURL"] ];
                 config.OscImageRoot = "' . trim(HTTP_SERVER . DIR_WS_CATALOG_IMAGES) . '";
                 editor_generate("categories_image",config);
                </script>
              ';
       }
     }

   }
              
         </tr>
       </table></td>
     </tr>
   </table>
<?php
 }
?>

 

Thank you everybody

Edited by 100asa

Skype: centoasa

Skype: remigioruberto

Link to comment
Share on other sites

@asa100 this one seems to be easy for me

 

add the insert befor the "?>" then it will carry out the function and will not display it as text hope this helps.

 

Can anyone help regarding my issue please :-"

Link to comment
Share on other sites

If I have this in categories.php:

 } else { // create category/product info
         $heading[] = array('text' => '<b>' . EMPTY_CATEGORY . '</b>');

         $contents[] = array('text' => TEXT_NO_CHILD_CATEGORIES_OR_PRODUCTS);
       }
       break;
   }

   if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) {
     echo '            <td width="25%" valign="top">' . "\n";

     $box = new box;
     echo $box->infoBox($heading, $contents);

     echo '            </td>' . "\n";
   }
  } else { // create category/product info
         $heading[] = array('text' => '<b>' . EMPTY_CATEGORY . '</b>');

         $contents[] = array('text' => TEXT_NO_CHILD_CATEGORIES_OR_PRODUCTS);
       }
       break;
   }

   if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) {
     echo '            <td width="25%" valign="top">' . "\n";

     $box = new box;
     echo $box->infoBox($heading, $contents);

     echo '            </td>' . "\n";

     // Add neccessary JS for WYSIWYG editor of category image
     if($action=='edit_category'){
       if (HTML_AREA_WYSIWYG_DISABLE != 'Disable'){
         echo '
                 <script language="JavaScript1.2" defer>
                 var config = new Object();  // create new config object
                 config.width  = "250px";
                 config.height = "35px";
                 config.bodyStyle = "background-color: white; font-family: Arial; color: black; font-size: 12px;";
                 config.debug = ' . HTML_AREA_WYSIWYG_DEBUG . ';
                 config.toolbar = [ ["InsertImageURL"] ];
                 config.OscImageRoot = "' . trim(HTTP_SERVER . DIR_WS_CATALOG_IMAGES) . '";
                 editor_generate("categories_image",config);
                </script>
              ';
       }
     }

   }
?>

 

admin categories show me this:

Parse error: parse error, unexpected T_ELSE in /web/htdocs/www.100asa.it/home/securecentoasa/categories.php on line 1202

 

if I have this:

 } else { // create category/product info
         $heading[] = array('text' => '<b>' . EMPTY_CATEGORY . '</b>');

         $contents[] = array('text' => TEXT_NO_CHILD_CATEGORIES_OR_PRODUCTS);
       }
       break;
   }

   if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) {
     echo '            <td width="25%" valign="top">' . "\n";

     $box = new box;
     echo $box->infoBox($heading, $contents);

     echo '            </td>' . "\n";
   }
  
     // Add neccessary JS for WYSIWYG editor of category image
     if($action=='edit_category'){
       if (HTML_AREA_WYSIWYG_DISABLE != 'Disable'){
         echo '
                 <script language="JavaScript1.2" defer>
                 var config = new Object();  // create new config object
                 config.width  = "250px";
                 config.height = "35px";
                 config.bodyStyle = "background-color: white; font-family: Arial; color: black; font-size: 12px;";
                 config.debug = ' . HTML_AREA_WYSIWYG_DEBUG . ';
                 config.toolbar = [ ["InsertImageURL"] ];
                 config.OscImageRoot = "' . trim(HTTP_SERVER . DIR_WS_CATALOG_IMAGES) . '";
                 editor_generate("categories_image",config);
                </script>
              ';
       }
     }

   }
?>

 

all functions are ok, but always I can't upload image for new category!

Skype: centoasa

Skype: remigioruberto

Link to comment
Share on other sites

Excuse me. I've just installed this

 

 

...

 

 

? ?}

?@@@@@@@@@@@@ ?END /ADMIN/CATEGORIES.PHP - SAVE AND CLOSE FILE ?@@@@@@@@@@@@@@@@@@@@@@

 

 

so I've this

? ?} else { // create category/product info

? ? ? ? ?$heading[] = array('text' => '<b>' . EMPTY_CATEGORY . '</b>');

 

? ? ? ? ?$contents[] = array('text' => TEXT_NO_CHILD_CATEGORIES_OR_PRODUCTS);

? ? ? ?}

? ? ? ?break;

? ?}

 

? ?if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) {

? ? ?echo ' ? ? ? ? ? ?<td width="25%" valign="top">' . "\n";

 

? ? ?$box = new box;

? ? ?echo $box->infoBox($heading, $contents);

 

? ? ?echo ' ? ? ? ? ? ?</td>' . "\n";

? ?}

?> ?<--------remove this ?>

? ? ?} else { // create category/product info

? ? ? ? ?$heading[] = array('text' => '<b>' . EMPTY_CATEGORY . '</b>');

 

? ? ? ? ?$contents[] = array('text' => TEXT_NO_CHILD_CATEGORIES_OR_PRODUCTS);

? ? ? ?}

? ? ? ?break;

? ?}

 

? ?if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) {

? ? ?echo ' ? ? ? ? ? ?<td width="25%" valign="top">' . "\n";

 

? ? ?$box = new box;

? ? ?echo $box->infoBox($heading, $contents);

 

? ? ?echo ' ? ? ? ? ? ?</td>' . "\n";

 

? ? ?// Add neccessary JS for WYSIWYG editor of category image

? ? ?if($action=='edit_category'){

? ? ? ?if (HTML_AREA_WYSIWYG_DISABLE != 'Disable'){

? ? ? ? ?echo '

? ? ? ? ? ? ? ? ?<script language="JavaScript1.2" defer>

? ? ? ? ? ? ? ? ?var config = new Object(); ?// create new config object

? ? ? ? ? ? ? ? ?config.width ?= "250px";

? ? ? ? ? ? ? ? ?config.height = "35px";

? ? ? ? ? ? ? ? ?config.bodyStyle = "background-color: white; font-family: Arial; color: black; font-size: 12px;";

? ? ? ? ? ? ? ? ?config.debug = ' . HTML_AREA_WYSIWYG_DEBUG . ';

? ? ? ? ? ? ? ? ?config.toolbar = [ ["InsertImageURL"] ];

? ? ? ? ? ? ? ? ?config.OscImageRoot = "' . trim(HTTP_SERVER . DIR_WS_CATALOG_IMAGES) . '";

? ? ? ? ? ? ? ? ?editor_generate("categories_image",config);

? ? ? ? ? ? ? ? </script>

? ? ? ? ? ? ? ';

? ? ? ?}

? ? ?}

 

? ?}

? ?> ? ?<-------- add ?> here ? ? ? ? ? ?

? ? ? ? ?</tr>

? ? ? ?</table></td>

? ? ?</tr>

? ?</table>

<?php

?}

?>

 

Thank you everybody

 

 

See comments in quote think this is the problem

Edited by falcon
Link to comment
Share on other sites

:blink: Hello I have the same issue with the netpbm. I installed 2 version but apparently one file for BMP is missing in both Versions.

 

But after 2 days of endless line by line check (after first day my Server decided to die  :'( ) so I started again. Now I have almost anything working.

 

INDEX, HTML edit, HTML mail.

 

but I can not use the Ultra Pic in the admin due to strange behaviour.

 

1. I can upload files that is working

2. I can NOT upload and resize. the result is a 0 byte file at lease the name given is shown on the server.

 

When I have selected a file and uploaded it. It is not shown with the link only the  is standing there if I enter the file name manually in the link it is shown fine in the shop. Also when reentering the same produkt a image will be displayed.

screen1.jpg

 

HELP! Yes I read the complete threat but nothing helped

 

and YES it it a good contribution (when this last thing  is sorted out)

 

Ok when I set the configuration/images/enable php image manager = DISABLE then I can add and remove pictures very without problems.

 

screen2.jpg

 

Can someone tell me which files I have to check (maybe give a hint on the line) to make that work correct. Or where I missed the point at present I can exlude a netpbm problem.

 

Any :'( is highly welcome Thanks

Link to comment
Share on other sites

Hi! I've read everything here and after installing everything seems to work Except one yhing:

 

When I go to admin - catalog - define mainpage, it says : ERROR_FILE_NOT_WRITEABLE

although I've set permissions to define mainpage.php file to 777. What am I missing?

 

Thanks.

Link to comment
Share on other sites

Solution for the SSL problem:

 

After Hours of work i found the solution for the secure admin area problem and the warning in the IE about secure and insecure items:

 

The problem is cause because of a failing src attribute in the iframe in the javascript files.

 

Here is the solution for it:

 

Go in the editor_advanced.js or editor_basic.js and change the following lines:

 

? // define different editors

? var TextEdit?  = '<textarea ID="_' +objname + '_editor" style="width:' +editor_obj.style.width+ '; height:' +editor_obj.style.height+ '; margin-top: -1px; margin-bottom: -1px;"></textarea>';

? var RichEdit?  = '<iframe ID="_' +objname+ '_editor"? ? style="width:' +editor_obj.style.width+ '; height:' +editor_obj.style.height+ ';"></iframe>';

to

 

? // define different editors

? var TextEdit?  = '<textarea ID="_' +objname + '_editor" style="width:' +editor_obj.style.width+ '; height:' +editor_obj.style.height+ '; margin-top: -1px; margin-bottom: -1px;" src="' +_editor_url+ 'popups/blank.html"></textarea>';

? var RichEdit?  = '<iframe ID="_' +objname+ '_editor"? ? style="width:' +editor_obj.style.width+ '; height:' +editor_obj.style.height+ ';" src="' +_editor_url+ 'popups/blank.html"></iframe>';

Further information you will find here:

 

http://scott.yang.id.au/2003/02/page-conta...on-secure-item/

 

I hope this will help you a little bit!

 

Greetings

 

Markus

 

Markus, you rule man!!!!!

I have tried everything in this forum to solve that damn secure nonsecure problem. And your fix is the only one that worked for me.

 

Thankyou, Thankyou!

Always greatful,

Moonbeam

Edited by moonbeam

"Woohoo, Just Havin Funnn!"

Link to comment
Share on other sites

Hmmmmm...

I still have problems with Secure and nonsecure popup when I enter the image uploader(ultrapics). Does anyone know of a fix?

 

I have tried all fixes in the earlier posts...

 

Thanks,

Moon

"Woohoo, Just Havin Funnn!"

Link to comment
Share on other sites

I noticed the custom resize option when uploading a pic doesn't work. I have created the NETPBM in the catalog directory with a CHMOD of 755 along with the NETPBM files (netpbm gallery 1.4 pl2 linux). Everytime I try to upload a pic into my images folder with a specific size (say 50 x 50) after I upload it says file uploaded at x . Then I check via FTP and there is the file but at 0 bits. I have seen other posts about this problem. I was wondering if anybody has ever got this resize option to work. I would imagine the contrib is ot configured correctly to use the right NETPBM files. But I'm not too sure about it. I installed the complete package with the html editor, ultrapics, define mainpage, infopages unl, easy pop add-on, jpsy upload tool. Any help would be appreciated. Btw, great contrib!

Thom

Link to comment
Share on other sites

Hello I figured out the problem.

 

so you need to have you path's set up right in your configure.php if you have a / behind your URL. This causes the weird preview not working as well as the path will not be given when uploaded a file. screen1.jpg

 

So it looks ok: with the PHP image manager I can now

 

- upload files

- make folders

- preview images

 

Still not working is resize ... will now dig into htmlarea/popup/configure.inc.php

 

lets see which files are asked and which one I have in the netpbm folder.

 

also if someone has the netpbm files which are working please send them to me [email protected]

Link to comment
Share on other sites

I noticed the custom resize option when uploading a pic doesn't work. I have created the NETPBM in the catalog directory with a CHMOD of 755 along with the NETPBM files (netpbm gallery 1.4 pl2 linux). Everytime I try to upload a pic into my images folder with a specific size (say 50 x 50) after I upload it says file uploaded at  x  . Then I check via FTP and there is the file but at 0 bits. I have seen other posts about this problem. I was wondering if anybody has ever got this resize option to work. I would imagine the contrib is ot configured correctly to use the right NETPBM files. But I'm not too sure about it. I installed the complete package with the html editor, ultrapics, define mainpage, infopages unl, easy pop add-on, jpsy upload tool. Any help would be appreciated. Btw, great contrib!

 

 

I solved my own problem. When I had originally installed this contrib I had altered the code from a patch someone posted on the forum. I usually look in advance to much. So simply I FTD'd the original Maxdvd version php file and now it works like a charm. Only I do find that gif files won't enlarge very much with the keep aspect ratio box checked. When unchecked can enlarge to custom size. Jpg can be resized larger or smaller with aspect ratio checked or unchecked. With it checked you only enter a number in either width or height and will automatically resize the other to keep the aspect ratio of the pic the same. I am very happy with this contrib and look forward to using it for years to come.

Thom

Link to comment
Share on other sites

BIG PROBLEM IN THIS CONTRIB!

Make a new folder via pop/insert_image.html, the folder owner = apache

Try now to upload an image or to create a sub-folder in this new folder:

just impossible cause the owner is not root.

The new folder is chmod 777 so the problem is root owner.

The only way is to be in SHH has root then CHOWN the folder owner as root owner.

Anyone has go through this problem ? cause i don't find any solution...

Link to comment
Share on other sites

Galac,

 

Sounds like a problem with your instal or server, works fine for me.

 

 

Guys I have a problem, the contribution only has 6 fields to enter SM Image and XL Image... I need around 30.....

 

 

Is there any easy way to add more?

 

I tried manually adding another field and it sorta worked but it took about 15 min to do just to add one field.

 

Any ideas??

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...