Hello?
1 2007-06-04 07:42:19
Re: Advanced image module for CuteNews (425 replies, posted in Script Feedback and Suggestion)
2 2007-05-30 11:10:02
Re: Advanced image module for CuteNews (425 replies, posted in Script Feedback and Suggestion)
Here's my test webpage.
You can see the issue
http://www.ivanmerz.hr/vijesti-test.php
3 2007-05-29 16:15:24
Re: Advanced image module for CuteNews (425 replies, posted in Script Feedback and Suggestion)
Hi! Ok, I've got that issue with the changing of the path. I've tried using foxfirediego's advice:
I got the fix
![]()
for me![]()
u can try do this:
[OPEN]
index.php[FIND]
config_path_image_upload = "./data/upimages";[REPLACE WITH]
$config_path_image_upload = "data/upimages";[SAVE & CLOSE]
[OPEN]
inc/images.mdu[FIND]
finalImage = link1 +\"<img border=\\\"\"+ imageBorder +\"\\\" align=\\\"\"+ imageAlign +\"\\\" alt=\\\"\"+ alternativeText +\"\\\" hspace=\\\"\"+ hSpace +\"\\\" vspace=\\\"\"+ vSpace +\"\\\" src=\\\"$config_path_image_upload/[IN-LINE ADD]
finalImage = link1 +\"<img border=\\\"\"+ imageBorder +\"\\\" align=\\\"\"+ imageAlign +\"\\\" alt=\\\"\"+ alternativeText +\"\\\" hspace=\\\"\"+ hSpace +\"\\\" vspace=\\\"\"+ vSpace +\"\\\" src=\\\"YOUR_DIR/$config_path_image_upload/[FIND]
$link1 = htmlspecialchars('<a target="_blank" href="'.$config_path_image_upload.'/'.$file.'">');[IN-LINE ADD]
$link1 = htmlspecialchars('<a target="_blank" href="YOUR_DIR/'.$config_path_image_upload.'/'.$file.'">');[SAVE & CLOSE]
ps: YOUR_DIR means NEWS, NOTICIAS, or where u put your cutenews folder!
but I get more than one error with it.
First of all, when I change the path in index.php, all I get is having my thumbnails turned into text links (although it's inside a box similar to the image)
Secondly, and most possibly connected to this one, I can't do changes in image.mdu properly. You see, where in your code it says
finalImage = link1 +\"<img border=\\\"\"+ imageBorder +\"\\\" align=\\\"\"+ imageAlign +\"\\\" alt=\\\"\"+ alternativeText +\"\\\" hspace=\\\"\"+ hSpace +\"\\\" vspace=\\\"\"+ vSpace +\"\\\" src=\\\"$config_path_image_upload/
in myne it says
finalImage = link1 +\"<img border=\\\"\"+ imageBorder +\"\\\" align=\\\"\"+ imageAlign +\"\\\" alt=\\\"\"+ alternativeText +\"\\\" hspace=\\\"\"+ hSpace +\"\\\" vspace=\\\"\"+ vSpace +\"\\\" src=\\\"".$config_http_script_dir.substr($config_path_image_upload, 1)."/\"+ path +\"\"+ selectedImage +\"\\\">\" + link2;
Now, I've tried changing this in different ways, but I always end up with the same result: none. Same goes for the other piece of code that goes like this in the version I downloaded today
$link1 = htmlspecialchars('<a target="_blank" href="'.$config_http_script_dir.'/data/upimages/'.($folder == '' ? '' : $folder.'/').$file.'">');
Any tips?
4 2005-06-27 17:50:09
Re: [HACK] Search results with highlighting and excerpts (0 replies, posted in Hacks & Tricks / FAQ)
Oooh man, this is a useful hack! Thanks a lot
5 2005-05-10 19:55:18
Re: Wishes for future versions of CuteNews (301 replies, posted in Script Feedback and Suggestion)
- Definetly a system with the ability of placing one article in multiple categories. It would work great for creating online encyclopedias, where you could sort for example in alphabetical order (I know, this one's already available in FAQ-a), but also by eras, by disciplines, and so forth. A bit on the educational side, I know..
- Well, I'm not giving up on this one: a version of Olivier's poll systems with multiple polls active, and a choice between vote restrictions for registered users or IP.... Hi Olivier!
(I'm actaully trying to do the poll thing myself, so if I should ever succed, I'll be sure to let you know)