You are not logged in.

#1 2005-09-20 22:34:25

poon
Member
Registered: 2005-09-20
Posts: 4

iBrowser Installation

I'm trying to install iBrowser and am having problems.  Perhaps it's me being new to tinyMCE and not knowlegable of plugins in general but I've been looking around for half a day now not finding anything concerning my error.

I get an error "ib is undefined" when I click on the ibrowser option. 

I see that ib is defined in the file common.js but have no idea where it should be placed.

Like I said perhaps I'm dumb on overall procedures but I did follow the instructions which IMO do seem "shortcoming"

The instructions said :


   tinyMCE interface
   -----------------

   copy the provided interface file: tinyMCE.editor_plugin.js file into your iBrowser plugin
   directory and rename it to "editor_plugin.js".

   adding plugin to tinyMCE:

    tinyMCE.init({
        ...
        plugins : "ibrowser",
        theme_advanced_buttons3_add : "ibrowser",
   
    });

   For further information on how to use a plugin with tinyMCE be it iBrowser or any other plugin,
   please see the tinyMCE instructions manual!

============================
*) It did not say to create a directory called ibrowser under plugins and copy the file into it.
*) It do not tell me to create an images directory and copy the image from the images subfolder into it.

I was able to fiugure out the above two after trying several things but I'm....... tired and if you can't tell frustrated LOL.

If see the file common.js whihc resides in te inteface directory and know thats ,y problem but have no idea what to do. 

Any advice would be greatly appreciated.

Thanks!

Offline

 

#2 2005-09-21 08:55:39

mmjaeger
Member
Registered: 2004-12-27
Posts: 221

Re: iBrowser Installation

sorry to hear that you're having problems installing ibrowser.

the installation in tinymce is really straight forward.

as to the common.js file, leave it where it is - no need to change anything. just copy the tinymce_plugin file to the ibrowser directory and rename it to editor_plugin.js. check the setting in the ibrowser config file. there is no need to create any specific image directory - just set the path to the images in the config file.

Please make sure that you set the writing permissions as mentioned in the readme file.

should you still have difficulties, let me know - I'm sure we will get it working.

Offline

 

#3 2005-09-21 09:15:21

poon
Member
Registered: 2005-09-20
Posts: 4

Re: iBrowser Installation

Thanks I figured out what it was....  I installed the code in the root directory of my site not in the plugins directory which is where it should have gone (even though the installation doc doesn't say as much - unless I missed it).

Offline

 

#4 2005-09-21 09:48:02

mmjaeger
Member
Registered: 2004-12-27
Posts: 221

Re: iBrowser Installation

poon wrote:

Thanks I figured out what it was....  I installed the code in the root directory of my site not in the plugins directory which is where it should have gone (even though the installation doc doesn't say as much - unless I missed it).

if you like to use ibrowser with different wysiwyg editor like tinymce AND FCKeditor for instance you can do that - however, you still need to have the tinymce plugin directory with just the interface file - the ibrowser file can stay whereever you want them.

I'm glad you got it working.

Offline

 

#5 2005-12-29 23:47:41

aliasbdi
Member
Registered: 2005-12-28
Posts: 10

Re: iBrowser Installation

I am also puzzled as to where to place all of the ibroswer files.  I kept the zipped (ibrowser installation) folder files as they were and placed them into the TinyMCE plugins directory.  This was actually the first ibrowser directory in the plugins folder, so (following the instructions) I copied 'tinyMCE.editor_plugin.js' from the 'ibrowser/interface' directory and pasted it into the 'plugins' directory.  Then made a copy of it there and change the copied file's name to 'editor_plugin.js'.

So in the tinyMCE plugin directory is a folder called 'ibrowser'.  Inside that folder is the files 'editor_plugin.js' and 'tinyMCE.editor_plugin.js' as well as all of the original ibrowser files.  Is this correct?  ... because it is not working.

Offline

 

#6 2005-12-29 23:54:34

mmjaeger
Member
Registered: 2004-12-27
Posts: 221

Re: iBrowser Installation

you would have something like this:

plugins
....ibrowser with all the ibrowser files

then you copy the ibrowser tinymce interface files into the ibrowser directory and rename them - should be fairly easy.

Offline

 

#7 2005-12-30 00:09:25

aliasbdi
Member
Registered: 2005-12-28
Posts: 10

Re: iBrowser Installation

Yes, but the ibrowser comes with all of the inerface files already in it.  So there is no copying them to anywhere. They are already there.  That is what does not make sense to me.

Offline

 

#8 2006-01-23 22:32:08

oliver
Member
Registered: 2006-01-23
Posts: 7

Re: iBrowser Installation

Ok, you guys are my last hope. I can't believe I'm running in circles for more than 3 hours. Installation looked mighty fine and straight forward, but I can't get the iBrowser to pop up.
The javascript console reports "ib is not defined" as part of the "function iBrowser_click(editor)" function....any ideas???

Thanks so much!

Oliver

Offline

 

#9 2006-01-23 22:55:51

oliver
Member
Registered: 2006-01-23
Posts: 7

Re: iBrowser Installation

ok...finally figured it out:

tinyMCE.baseURL is not getting set properly, so it doesn't pick up common.js, with a hardcoded url it works!

PS: this is a wordpress 2.0 + ibrowser env.

Offline

 

#10 2006-01-24 15:19:03

peewee
Member
Registered: 2005-06-03
Posts: 6

Re: iBrowser Installation

I also have problems installing the Ibrowser plugin. The files are in palce (plugins/ibrowser), the init points to the plugin and the toolbar has the 'ibrowser' for the button trigger. But i got no button displayed. I made plug-ins for tinymce, so I'm no stranger with adding a new plug-in. I cleared the cache, I force reload the page, but still the button is not displayed.

Anyone, a solution for me?

Offline

 

#11 2006-02-21 01:05:34

aozuas
Member
Registered: 2006-02-21
Posts: 1

Re: iBrowser Installation

I am having problems trying to install ibraser too.

Anyone knows where I am suppose to copy the following code:

------

   adding plugin to tinyMCE:

    tinyMCE.init({
        ...
        plugins : "ibrowser",
        theme_advanced_buttons3_add : "ibrowser",
   
    });

------

Offline

 

#12 2006-02-22 21:50:48

fernandonula
Member
Registered: 2006-02-22
Posts: 1

Re: iBrowser Installation

oliver wrote:

Ok, you guys are my last hope. I can't believe I'm running in circles for more than 3 hours. Installation looked mighty fine and straight forward, but I can't get the iBrowser to pop up.
The javascript console reports "ib is not defined" as part of the "function iBrowser_click(editor)" function....any ideas???

Thanks so much!

Oliver

I have this exactly problem of ibrowser in wordpress.  I believe that he is because of tiny_mce_gzip.php.  What the same configuration and folder in tiny without being gzip this functioning normally.


the problem is in the end of the archive editor_plugin.js, to modify the line below for an absolute way, what tinyMCE.baseURL is giving "undefined"
js.src = tinyMCE.baseURL + '/plugins/ibrowser/interface/common.js ';



Fernando Nunes Lages

Last edited by fernandonula (2006-02-22 22:16:24)

Offline

 

#13 2006-09-05 15:27:21

maahacka
Member
Registered: 2006-09-05
Posts: 11

Re: iBrowser Installation

guys, I also have problems tuning iBrowser in.

That's a part of my init:

                theme : "advanced",
        plugins : "ibrowser",
        theme_advanced_buttons3_add : "ibrowser",

I have the right permissions..


I copied the editor_plugin files (tried all possible combinations of versions and names..), but the button in TinyMCE JUST WON'T F***IN SHOW! Would someone who got lucky starting iBrowser please tell me his version of tinyMCE and of iBrowser, because i think it's a matter of incompatible versions. Or even (if it's not too much, of course) send an archive file of his tiny_mce directory with everything working wink

This TinyMCE is so cool, but it's a pain in the aaa until you configure it properly. Something like Slackware, but smaller;)

Offline

 

#14 2007-11-06 11:33:29

Gafsveno
Member
Registered: 2007-03-31
Posts: 3

Re: iBrowser Installation

Thank you for your cool plugin but I'm having some problems.

The button only shows when I use IE. Nothing is displayed in Firefox sad. And when I clicked the ibrowser button, it only appeared a blank popup.

Where did I make mistakes?

Offline

 

#15 2008-03-30 22:33:45

apeee
Member
Registered: 2008-03-30
Posts: 5

Re: iBrowser Installation

Anyone knows where I am suppose to copy the following code:

------

   adding plugin to tinyMCE:

    tinyMCE.init({
        ...
        plugins : "ibrowser",
        theme_advanced_buttons3_add : "ibrowser",
   
    });

Offline

 

#16 2008-05-08 21:23:52

Photon
Member
Registered: 2008-05-08
Posts: 1

Re: iBrowser Installation

poon wrote:

I get an error "ib is undefined" when I click on the ibrowser option.

Hi all,

I was having the same issue with TinyMCE 3.0.8 (and Ibrowser 1.3.8).
Here is a workaround for this undefined error. It worked for me, by putting

Code:

var ib = null;

at the beginning of the file editor_plugin.js .
After that, iBrowser shows up, and there is no more javascript error. smile

Last edited by Photon (2008-05-08 21:24:47)

Offline

 

#17 2008-06-03 09:51:22

joe2night
Member
Registered: 2008-06-03
Posts: 1

Re: iBrowser Installation

Hi Everybody!

This error with ib undefined looks a little bit more complex, and probably it's not the matter of installation at all.
The problem comes from (like in most of the cases) the differences between browsers. The code of iBrowser is just not written well enough to be cross browser compatible.

After proceeding with normal installation steps, it works fine usually. With IE 6, IE7 and Firefox 2.x
However it does not work with Safari and Firefox 3. Probably because they are more andvanced browsers, and they already moved to some newer javascript specification.

From the solutions posted here, the "var ib = null" hack make ibrowser to lunch under Firefox 3. But I'm not sure it doesn't destroy compatibility for IE and Firefox 2. Could anyone test it? (I don't have firefox 2 and IE - since I have an old mac- installed)
But Safari can't be cheated so easily: Immediately when it arrives to the line: "ib.isMSIE  = tinymce.isIE;" generates the error "Null value".

It looks like, that the whole problem comes from, that "vital" parts of the script are placed out from editor_plugin.js to that common.js, which is not a good idea. Although the script is getting loaded (I tested it by placing an Alert('Hello'); in it), the variables are not being set in every browser...

I tried every solution posted here, and also some others, but any of them worked for both IE, firefox 2-3, and Safari.
So maybe if the author of Ibrowser is reading this forum, it would be very kind of him, if he would update the script a little bit..
but any help, from anybody else is appreciated..

Thanks!

Offline

 

#18 2008-06-10 22:00:41

grahama1970
Member
Registered: 2008-06-04
Posts: 6

Re: iBrowser Installation

Has anyone been able to get the ibrowser plugin to work in Safari? I can get the plugin to work in Firefox, but not in Safari. 
Thanks
G

Offline

 

#19 2008-06-11 16:39:44

frbavaria
Member
Registered: 2008-06-11
Posts: 2

Re: iBrowser Installation

Hi there

I also have a problem with the installation. I followed the Instruction, copied the editor plugin file, inserted the code in the TinyMCE init but still there is no button for the ibrowser. Anyone has an idea?  Im browsing with firefox and want to run ibrowser at a tinymce on twiki.

Thanks so far

frbavaria

Offline

 

#20 2008-06-12 16:12:16

frbavaria
Member
Registered: 2008-06-11
Posts: 2

Re: iBrowser Installation

Hi there again,

Ok i finally got the Button (I compared the editor_plugin_src.js with the files of other plugins and after that I knew which one to take)

, but now there is a new problem: When I click the button a new window is opened and i get the source code of the ibrowser.php. PHP is enabled on the server. Do I also have to enable it for TWiki or TinyMCE? Where?

Thanks for your help

    frbavaria

Offline

 

#21 2008-06-20 22:53:54

mphonic
Member
Registered: 2008-06-20
Posts: 1

Re: iBrowser Installation

grahama1970 wrote:

Has anyone been able to get the ibrowser plugin to work in Safari? I can get the plugin to work in Firefox, but not in Safari. 
Thanks
G

in ibrowser.php, replace the two lines that say:

resizeDialogToContent();

with:

try { resizeDialogToContent(); } catch(e) {}

alternately, you can remove this function, and it will solve popup window placement issues, as well.

Offline

 

#22 2008-06-21 17:11:02

sacha
Member
Registered: 2008-06-21
Posts: 1

Re: iBrowser Installation

I have the same problem, so apparently firefox 3 breaks ibrowser sad

oh and for people who can't get the button to appear, make sure you use the right version of the editor_plugin file for your tinymce install. The icon only appeared for me when I used the tinymce3 editor plugin.

Offline

 

#23 2008-06-26 13:51:09

iguana007
Member
Registered: 2008-06-26
Posts: 2

Re: iBrowser Installation

Photon wrote:

poon wrote:

I get an error "ib is undefined" when I click on the ibrowser option.

Hi all,

I was having the same issue with TinyMCE 3.0.8 (and Ibrowser 1.3.8).
Here is a workaround for this undefined error. It worked for me, by putting

Code:

var ib = null;

at the beginning of the file editor_plugin.js .
After that, iBrowser shows up, and there is no more javascript error. smile

WORKED FOR ME!!! THANK YOU man smile

Offline

 

#24 2008-07-02 14:32:33

mannnni
Member
From: Ger
Registered: 2008-07-02
Posts: 39

Re: iBrowser Installation

hi there,

i'm having the same problem like joe2night and sacha.
The solution: var ib = null;
doesn't work on FF3.x, Safari and Opera9.5......but a solution to get it work in FF3.x will be great.

On IE7 the script works , without placing var ib = null; into editor_plugin.js
Don't know if it also works on IE6 without using this workaround.

Maybe someone has an idea, how to get it works on IE6/7 FF2/3...

thx

Offline

 

#25 2008-07-02 16:43:50

mannnni
Member
From: Ger
Registered: 2008-07-02
Posts: 39

Re: iBrowser Installation

it's me again.....

in FF3 , after a little work around, it got ibroweser popup open. But problem is now, that i cannot insert the select picture to the textarea...( only in FF, in IE it works )

my JS skills are quit bad, but what i did to get the window open was this:

i think that there can be a problem, that the ib - object from from common.js (line 23) is not included the right way. What i did is that i replaced the
the line tinymce.ScriptLoader.load(url + '/interface/common.js'); ( in editor_plugins.js ) with the whole line of code, from
the file common.js , and hoped that there will be no error when including the script.



Code:

(function() {
    tinymce.create('tinymce.plugins.IBrowserPlugin', {
        init : function(ed, url) {

    
// tinymce.ScriptLoader.load(url + '/interface/common.js');
// below code form : common.js    
    function iBrowser() {    

    }
    var ib = new iBrowser;
    //-------------------------------------------------------------------------
    // open iBrowser
    function iBrowser_open() {            
        ib.oEditor.contentWindow.focus();
// continue with code from common.js
// code from editor_plugin.js continues
            ed.addCommand('mceIBrowser', function() {
                var e = ed.selection.getNode();
                // Internal image object like a flash placeholder
                if (ed.dom.getAttrib(e, 'class').indexOf('mceItem') != -1)
                    return;

now i got to finish work, maybe take a look tomorrow over this....

the changed file is here: http://www.feschtlesconnection.de/ibrow … _plugin.js

but i think this could not be the solution......

Last edited by mannnni (2008-07-02 16:50:43)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB