Re: Advanced image module for CuteNews
Sorry, no idea.
Thanks, anyone have try this hack with firefox?
Dear CuteNews Users! Please feel free to contact us via our new Feedback Form and please send information about bugs to our bug tracker.
You are not logged in. Please login or register.
CutePHP Forums → Script Feedback and Suggestion → Advanced image module for CuteNews
Sorry, no idea.
Thanks, anyone have try this hack with firefox?
I don't get the errors you talk about. However, the buttons to insert full image, thumb images, and clickable thumb do not work for me in Firefox.
In IE the popup image manager closes when I select any of the above 3 buttons and the correct code is inserted. Firefox on the other hand leaves the image manager open and the buttons do not insert any code...
I don't get the errors you talk about. However, the buttons to insert full image, thumb images, and clickable thumb do not work for me in Firefox.
In IE the popup image manager closes when I select any of the above 3 buttons and the correct code is inserted. Firefox on the other hand leaves the image manager open and the buttons do not insert any code...
Well that's exactly what I'm talking about.
I just put the info of the JS window
Hope someone can solve this, I just can be a tester coz my JS is like my English...it just suck!
:-)
Thats what i'm saying billbody, I do not get ANY ERRORS (including the JAVA Script prompt that you talk about - It just does not work for me in Firefox).
Anyway, hope it is fixed soon but as I use both IE and FF it does not really affect me too much.
Thats what i'm saying billbody, I do not get ANY ERRORS (including the JAVA Script prompt that you talk about - It just does not work for me in Firefox).
Anyway, hope it is fixed soon but as I use both IE and FF it does not really affect me too much.
I use most firefox, and with this kind of scripts the bbcode addon that you can add to firefox really make it a complete solution... I think we will have to wait until a guru make our lives easy ;-)
Hehe, true. I know I don't know where to start.... Don't you just hate the browser wars thing, webby shows mint in one but crap in another lalala - I do however love the -moz-border-radius: 15px; CSS thing you can do with MOZ, for instance, look at the buttons & form fields of the the comments section of my news posts in both FF and IE.
Click for my site and an example << Scroll to the bottom for the comments bit.
Finally, whats the bbcode addon that you speak of if you don't mind me asking?
Thankx for the link via PM matey, cool add-on.
Just had a power cut here so my site might not have worked earlier, all up and running now though
mmmm well I just try on IE and works ok.
But on Firefox I get this....Error: opener.document.getElementById(area) has no properties Archivo Fuente: http://......../cute/index.php?&mod=images&action=quick&area=short_story Línea: 54
Any idea?
Ok, I got the error.
The textareas in addnews.mdu and editnews.mdu are missing an id.
In addnews.mdu find this:
<textarea rows=\"8\" cols=\"74\" name=\"short_story\" tabindex=4></textarea>
change to this:
<textarea rows=\"8\" cols=\"74\" id=\"short_story\" name=\"short_story\" tabindex=4></textarea>
Do the same for full story in addnews.mdu and for short story/full story in editnews.mdu.
<!--sizeo:15--><span style="font-size:12pt;line-height:100%"><!--/sizeo-->THANKS THANKS THANKS !!!!!!
This is not working for me!
I changed to ID and now when posting news i get the error that there is no news filles in...! (changing to ID; i can insert the image, that's working, but cant post news anymore)
What can i do, this is a very handy hack for me so i want i to work...
This is not working for me!
I changed to ID and now when posting news i get the error that there is no news filles in...! (changing to ID; i can insert the image, that's working, but cant post news anymore)
What can i do, this is a very handy hack for me so i want i to work...
Mmmmm well I just follow the instructions and works fine for me
Using 1.36 and firefox
I'm also using 1.36 and firefox... But my cutenews is very hacked.
I'm also using xfields, can that have something to do with it???
I'm also using 1.36 and firefox... But my cutenews is very hacked.
I'm also using xfields, can that have something to do with it???
Don't really know, I just do a clean install and hack only with this one and the newsletter hack.
sorry can 't help iu more
Ok thanks, ill wait for some respons of FI-DD.
I would prefer if it was possible to let the text float left or right of the image/thumb. Right now floating doesn't seem to be possible.
Choosing "Image align = left/right" is exactly doing this, I think.
Choosing "Image align = left/right" is exactly doing this, I think.
No it doesn't. It just aligns it to the left or right but the text isn't floating. I have to add css (style="float:left" oder style="float:right") to each image or thumb in the source code.
If I choose align only a single line of text is next to the image but not a text block or paragraph.
Just see the examples:
align:
float:
I don't know why it's not working for you but the text is floating to the left or right of the picture for me.
And the html reference is saying the same, I think: http://en.selfhtml.org/html/grafiken/ausri...htm#textumfluss
Today it works also for me using align. I don't know what was wrong. Maybe it was a cache problem.
But I have another question: would it be possible to include css option as margin into the hack? I know vspace and hspace are included but I think by using css you could position the image much better. I for example do not want to have any space on the left and on top but on the right and bottom of the pic. That can't be done with hspace vspace but if you are using css. Have you ever thought about this?
Another suggestion/question:
When inserting images it's always inserted the absolute path. Is there any way inserting the relative path instead? Right now I have to modify the path of the images every time I upload the news from my test server to the working server. If the relative path was inserted this wouldn't make any difference.
Change this:
link1 +\"<img border=\\\"\"+ imageBorder +\"\\\" align=\\\"\"+ imageAlign +\"\\\" alt=\\\"\"+ alternativeText +\"\\\" hspace=\\\"\"+ hSpace +\"\\\" vspace=\\\"\"+ vSpace +\"\\\" src=\\\"$config_http_script_dir/data/upimages/\"+ path +\"\"+ selectedImage +\"\\\">\" + link2;
to this:
link1 +\"<img border=\\\"\"+ imageBorder +\"\\\" align=\\\"\"+ imageAlign +\"\\\" alt=\\\"\"+ alternativeText +\"\\\" hspace=\\\"\"+ hSpace +\"\\\" vspace=\\\"\"+ vSpace +\"\\\" src=\\\"$config_path_image_upload/\"+ path +\"\"+ selectedImage +\"\\\">\" + link2;
and this:
$link1 = htmlspecialchars('<a target="_blank" href="'.$config_http_script_dir.'/data/upimages/'.$file.'">');
to this:
$link1 = htmlspecialchars('<a target="_blank" href="'.$config_path_image_upload.'/'.$file.'">');
One genious made this... But. I've encoutered one problem. What about all the images that have been uploaded previously? There haven't been made any tumbs of them,which means that I have a very large portion of the upload page showing the following error message: Warning: getimagesize(./data/upimages/thumbs/trobbelpc.png): failed to open stream: No such file or directory in /home/1/v/villaveien-skole/Cutenews/inc/images.mdu on line 433. The errormessage comes for each picture that has been uploaded. What can I do to get rid of theese error messages? Please don't tell me I have to upload each and every image once more - for there are several images uploaded...
Same error for me , Any idea ?
Simply get the thumbs of those images into the thumbs folder - by reuploading the pictures or with a different script.
Well , I solved it pretty easly , because i use FCKeditor anyhow i created a subdirectory called avatars and underneth it /thumbs and directed the script to there so it will have an empty directory .
Great script and solution ! thanks !
CutePHP Forums → Script Feedback and Suggestion → Advanced image module for CuteNews
Powered by PunBB, supported by Informer Technologies, Inc.
The pun_antispam official extension is installed. Copyright © 2003–2009 PunBB.