phpNewsManager & phpWebMagazine Quoestions

Gregor / 2 decades ago (01 April 2003 08:43)

If you need help, have any question, bug reports and anything else about phpNewsManager and phpWebMagazine goes here Happy



Post replies:


1 decade ago (26.10.2004 12:16)
Reply by: antonio
Peter_Vazed,
Thanks for your reply.
I see the lines, but, where I cut or replace the text?
Or, which text do I replace?

1 decade ago (26.10.2004 06:35)
Reply by: Peter_Vazed
Antonio
have you a php editor?
editor Context
[LINK]
or
Crimson Editor
[LINK]

In ConText with Shift/Ctrl+C you can comment lines, so they will still be there but are not working.

Now put in the new lines or changed lines.
The lines a have posted are working.

If it is not working i can send you the file.
There are al ot of errors and typos in the Newman files.
I am fixing the errors.
I have two newsmagazines on line to test.

If all errors are fixed i will test the new files.
If it is working i will open a site with information and put all files in a zip file, so it is possible to download.





:fighter
1 decade ago (26.10.2004 08:15)
Reply by: antonio
Peter_Vazed
I did what you indicated with the editor, still receive the error:
Parse error: parse error in /home/virtual/site84/fst/var/www/html/pictures.php on line 146

As you mention, is it possible to provide the files that you fixed in a zip?
The url of your 2 sites?

The site I am putting together is [LINK]
Thanks in advance.

My email is [LINK]



1 decade ago (26.10.2004 10:48)
Reply by: polaris
Peter_Vazed,
I also did lot of changes and bug fixes in news manager which all you can find on this board so if your planing to put it on download (maybe you should first ask gRAVE about this...because copyright and so) you can include those fixes to.
1 decade ago (26.10.2004 11:28)
Reply by: Peter_Vazed
Antonio

Test links:
original
[LINK]

without a few options
[LINK]

original layout
[LINK]

Can you post the lines?
pictures.php on line 146

Give me a few days to test the fixed files.

Polaris
yep, i have read this topic from start to the end, and i found your tips.
thanks.
If it all is working i will email gRave.


:fighter
1 decade ago (27.10.2004 12:59)
Reply by: antonio
Peter_Vazed &
Polaris


You make a good combination, because are two experts helping the newbies.
Here is the whole picture.php file [LINK] as "pictures.txt"
It contains some fixes made by Polaris.

Antonio
1 decade ago (27.10.2004 04:36)
Reply by: Brian
I installed phpnewsmanager and it is working great. But, when i goto the index.php file i have to login and it takes me to the admin section. My question is what file shows the news and articles for my visitors to view?
1 decade ago (27.10.2004 04:41)
Reply by: Brian
I installed phpnewsmanager and it is working great. But, when i goto the index.php file i have to login and it takes me to the admin section. My question is what file shows the news and articles for my visitors to view?

Sorry, I hit the back button and made a double post. I´m not sure how to delete it.
1 decade ago (27.10.2004 07:49)
Reply by: polaris
Brian,
you must install webmagazine which is fron-end script for news manages to display news to your visitors.
1 decade ago (27.10.2004 07:58)
Reply by: polaris
antonio,
in your pictures.php about line 146 there is this code:

$query = "SELECT * from ".$GLOBALS[´db_news´]." order by datum desc, id desc LIMIT $arn[number]";

if(!$fps = fopen($GLOBALS[´rss_path´]."/$arn[filename]","w" && file_exists($GLOBALS[´rss_path´]."/$arn[filename]")
{
?>

This is wrong! Don´t know how that code got in there, I supose you put it.
This code is for RSS and pictures.php don´t have anything to do with RSS feed.
The orgininal code which must be there is:

$res = mysql_query("SELECT * FROM ".$GLOBALS[´db_gallery´]) or die("Line 246:".mysql_error());
echo _SUBMITEDPICTURES.": ".mysql_num_rows($res);
?>

I´m sending you my pictures.php file again which is working just fine!
1 decade ago (27.10.2004 08:40)
Reply by: Brian
Thanks Polaris,

I already have some articles published. Can I use phpnewsmanager without webmagazine to generate a xml file or some other type of file with the rss code on? For now I´m just trying to put a link on the article pages so my visitors can get the rss feeds.

1 decade ago (27.10.2004 09:33)
Reply by: polaris
Brian,
you could do that but you´ll have to edit code yourself and put those functions. PhpNewsManager don´t have that options. Only thing you can do with NewsManager is creating RSS file which you can publish, nothing else.
1 decade ago (27.10.2004 11:53)
Reply by: antonio
polaris
I received the file.
It works fine, thanks.
The only small detail is that when I upload the pictures they go to the folder "gallery" so the magazine does not show them.
How do I indicate to the system that the pictures are in gallery?
The system look for the folder "gfx/news"
1 decade ago (28.10.2004 02:06)
Reply by: polaris
To add you picture to news you need to use button ADD PICTURE in you ADD NEWS section (NEWS --> Add News --> Add Picture).
By doing this, pictures will be added to gfx/news folder.

If you add pictures through Gallery (which I supose you´re trying to do) pictures will be added to gfx/gallery folder.

Regards.
1 decade ago (28.10.2004 02:20)
Reply by: antonio
polaris
I just did that, but the pictures are sent to the gallery...
I click the link "Add pictures" and it works fine, I see the title, descripcion, etc, but the system sends the picture to the gallery folder.
Then, to display the pictures I have to go ftp and move then to the gfx/news folder.