Recent Topics

1 Dec 18, 2005 00:55    

Hello all,

Total newbie here, apologies if I am on the wrong track, but I got b2evo installed & running fine, and I am having trouble getting a picture to show up in a blog entry. I was able to upload the .gif no problem, but when I go to create a blog entry and want to call the picture up, I hit the File button, select the .gif in the File Management window, then hit the "img" button, which (I think) ought to insert some code into my blog post to reference the .gif file. Instead, the code, which begins with <div class="image blah blah blah.." shows up in that little button on the File Management window, not in the post. Here is a link to the screen grab that shows what I mean:

http://www.ride424.com/images/picture1.JPG

Again, sorry if I am off on the wrong track, this just looks like very bizarre behavior. In any case, b2evo looks to be just what I needed. Thanks for any help.

Cheers,
Karl

2 Dec 18, 2005 02:26

just walk through the steps to make sure u did it right:
Check the box of the image u want,
then click the button titled "img"
and it should all be good,
if not what browser are you using?

i just noticed ur file manager looks dif (what version of b2evo u using, mines 1.6)
Take a look at http://balupton.nghosting.org/thingo.gif thats wot mine looks like.

3 Dec 18, 2005 04:21

balupton wrote:

just walk through the steps to make sure u did it right:
Check the box of the image u want,
then click the button titled "img"
and it should all be good,
if not what browser are you using?

i just noticed ur file manager looks dif (what version of b2evo u using, mines 1.6)
Take a look at http://balupton.nghosting.org/thingo.gif thats wot mine looks like.

yep - those were the steps

using IE 6.0 on an XP machine, and the b2evo is 1.6 alpha, just downloaded it within the last couple of weeks.

my File Mgt window does not have the two rename and delete buttons immediately to the right of the img button, but other than that I did not notice the difference you mention.

at least it sounds like I was trying to use things the way they were intended to work, so I feel better about that already :)

5 Dec 19, 2005 03:00

Tried it at the demo site and although there were a couple of minor differences between what I saw there and my installation, the end result was the same. Everything looked fine until I hit the img button (the upload worked ok, was able to select the file I wanted), but again the code appeared in the button and not in the blog entry:

http://www.ride424.com/images/demosite.JPG

I'll try to install Firefox tomorrow and give that a try.

Cheers
Karl

6 Dec 19, 2005 03:05

alrite my guess is that it is a security issue between the windows.
add your blog address to your trusted site lists via security in ie's options.
In the trusted sites list you will need to uncheck 'only https sites'

But it will definitly be a security issue, firefox should fix the problem.

7 Dec 19, 2005 03:22

OMG, i just tried several things in IE, and i discovered that my IE does it as well...
I use firefox by default so i never had a problem.
And i did add my blog to my trusted sites and that didnt help (so ignore my last post)

Hmm good find ;)

8 Dec 19, 2005 03:32

Tried the security fix, put the url in trusted sites, got the same result. :-/

Also noticed that the File upload box has a somewhat confusing looking thing - in the top right corner is a box where I can choose to upload to "links" or "new". At the bottom, kinda off on its own, is another radio button labeled "new" with no indication of what it is for. But that's for another day...

Cheers,
Karl

9 Dec 19, 2005 03:33

read the post right above yours ;)

10 Dec 19, 2005 05:43

Fixed in CVS (see demo site). Though it behaved different in "my" IE. I got the code at the top of the popup window.

The problem has been that the textarea_replace_selection() function that inserts the text/code uses a special method for IE, but this used the original window.

Also noticed that the File upload box has a somewhat confusing looking thing - in the top right corner is a box where I can choose to upload to "links" or "new".

Those are the filenames of your blog. In post-phoenix (our CVS branch with "experimental stuff" there are the Blog names already instead: http://demo.b2evolution.net/post-phoenix.php4/blogs/admin/?login=admin&pwd=demopass )

At the bottom, kinda off on its own, is another radio button labeled "new" with no indication of what it is for. But that's for another day...

Screenshot? Perhaps also a blog? But it should not stand on it's own. Perhaps a subfolder (with two much padding-left)?[/quote]

11 Dec 19, 2005 20:42

Ok I have a screen grab of what I am talking about:

http://www.ride424.com/images/upload.JPG

It does this when I log in as one of the users I created. This user is in the Bloggers groups and should only have edit rights on their own blog, not others, which as far as I can tell I have set up correctly.

When I log in as the admin and go to do an upload, I see something a little different:

http://www.ride424.com/images/upload2.JPG

There is no radio button on the word "links" in the lower left area until I click on it, then the radio button moves from the upper right hand list down to the where 'links' is by itself.

Cheers,
Karl

12 Dec 21, 2005 06:34

I am having similar problem on 1.6-Alpha. When I select an image and click IMG - nothing happens: the filemanager window closes and no code inserted.

13 Dec 21, 2005 20:43

kretzel, seems like a bug with IE. I'll try to look at it.

Actually, the bug that blogs there might be duplicated is fixed already.

prokop, does this still happen on the demo site?

14 Dec 21, 2005 20:47

I just tried that img tag getting put inside the img button in ie on the demo site, and it still occurs.

19 Jan 31, 2006 00:38

No, this would be the changes between CVS (demo site) and the Alpha release:
http://cvs.sourceforge.net/viewcvs.py/evocms/b2evolution/blogs/admin/_files_upload.inc.php?r1=1.14&r2=1.20

But the real fix was probably this in _files_browse.inc.php:
http://cvs.sourceforge.net/viewcvs.py/evocms/b2evolution/blogs/admin/_files_browse.inc.php?r1=1.65&r2=1.66

For this to work you'll also have to patch/change the JS function textarea_replace_selection() according to this:
http://cvs.sourceforge.net/viewcvs.py/evocms/b2evolution/blogs/rsc/js/functions.js?r1=1.7&r2=1.8 (but it should be in _files_browse.inc.php in Phoenix-Alpha).

So, now that you know how to patch it you'll have to do it and not wait some more days for the Beta.. :p

20 Mar 27, 2006 20:25

I read all that file in the CVS repository, but I haven't find a solution for this problem yet... because there are many changes to do and functions and new line implemented doesn't help to resolve this issue;

can anyone help to solve this bug of 1.6-Alpha version definitely...?

Thx in advance for your response...


Form is loading...