Newspic-Desperation
Hey Guys,
after a night of trial-and-error i thought you could help me with this:
i already changed the db.inc.php paths - see here:
$news_path = "/usr/export/www/vhosts/funnetwork/hosting/letsrock/rotschrift/newman/gfx/news";
$news_url = "../newman/gfx/news/";
and referenced the local db.inc.php in the newman_lib.php, but the #*@! - WebMagazine wants to find the picture in the WebMagazine folder - i have no idea why...
try and see yourself @ http://letsrock.le.funpic.de/rotschrift/WebMagazine/
you have to be very quick to see the missing picture and hit the right mouse button to see its location
crazy side-effect: the smileys ARE working, the smiley´s path in the db.inc.php is:
$smileys_path = "/usr/export/www/vhosts/funnetwork/hosting/letsrock/rotschrift/newman/gfx/smileys";
$smiley_url = "../newman/gfx/smileys/";
CRAZY, ISTN´T IT?
thanks in advance for your help,
Stefan
Post replies:
Reply by: letsrock
Reply by: Peter_Vazed
line 414
//added this part to show picture is in the news preview
echo ´´;?>
In this table:
=$ar[headline];?> |
=$datum;?> / =$ar[author];?> |
2 decades ago (16.11.2004 10:23) Reply by: letsrock you mean i have to replace the above code by the beneath one? 2 decades ago (16.11.2004 10:48) Reply by: letsrock what about this: i mail you my newman_lib.php and you can change it "on the fly" - good idea? 2 decades ago (16.11.2004 10:50) Reply by: Peter_Vazed No, you have to add a line. I have uploaded the newman_lib file So you can download it. The link: [LINK] Open in your editor and save as php. If you use ConText you will she the colored code and the lines. The changes i made are as comments in the file. Play safe: never change and save a php file, but rename the old one to old_filename. The new one has the original filename. If something goes wrong, you still have the old file to start over. :car 2 decades ago (17.11.2004 12:23) Reply by: letsrock i think we finally have to change the paths: www.rotschrift.net.tf 2 decades ago (17.11.2004 12:42) Reply by: letsrock the only "improvement" was that the little arrows (more.gif) didn´t work any more like they didn´t work some time before. so i took my old newman_lib.php back... 2 decades ago (17.11.2004 12:46) Reply by: letsrock to be honest, i can´t see any difference between your newman_lib and mine in the concerning piece of code... 2 decades ago (17.11.2004 08:51) Reply by: Peter_Vazed Yep, the same. About the more gif, this gif is not in the webmagazine gfx, so it did not show up. If you copy the gif from newman gfx to webmagazine gfx it works, Now the Preview image. Have you add the image: Newman - News - Add news in Preview at the right: "add picure" :car 2 decades ago (17.11.2004 03:26) Reply by: Peter_Vazed Troubles. I already had used the sign-in in your Webmagazine. Received an email with username and pasword. But login is not possible. So i cannot add comments. Now in your newman the same: cannot login. About the Add Picture. This cannot be done in Netscape. You have to use Internet Explorer. A popup window will show up, but it uses a javacript and in Netscape it does nothing. :car |
Reply by: letsrock
p.s.: sorry for bugging you all the time