I actually have to install them and try them. As soon as I do, i´m talking to you mister big boss :)
omth99
Member
Thanks for the reply Polaris, <br /> <br />I was wondering if you could be more specific about <br /> <br /> ***mysql query: WHERE frontpage = 1*** . <br /> <br />Any help is highly apreciated here. <br /> <br />Best wishes <br /> <br />
polaris
Member
Hm...do you have demo somewhere installed? This fix takes about 10-15 minutes so I could try to put it in your demo. <br /> <br />I´ll try to explain. In newman_lib.php there is function ShowNewsList. <br />There is query: <br />$query = "SELECT * FROM ".$GLOBALS[´db_news´]; <br />$query .= " WHERE type=´1´ "; <br /> <br />so here you could put just another WHERE something like this <br />$query = "SELECT * FROM ".$GLOBALS[´db_news´]; <br />$query .= " WHERE type=´1´ AND frontpage=´1´"; <br /> <br />Regards. <br /> <br /> <br />
polaris
Member
Ok. I´ve managed to make this. I could try to send this modification but you´ll need to make modification to several files. Or I can just send you my modified files (which are modified also on some other levels). <br />Now I´m working to displayed span pages when you click on category link if there is more that 10 (or some other number) news in that category.
polaris
Member
Span pages are finished. For every category where is more news than you specify, there is listing like Page: Prev 1 2 3 4 Next. <br />This was made by adding new function in newman_lib.php but also chaning some core code. <br /> <br />Regards.
polaris
Member
If you have problem with crashing IE6 (IE 5+) when you add news, you can find resolution at this address: <br />http://www.faqts.com/knowledge_base/view.phtml/aid/11608 <br /> <br />Problem is in StoreCaret JavaScript function for storing current cursor position (needed when adding picture/smileys etc in your news). <br /> <br />You can find this function at newsman.js file. <br /> <br />Regards.
omth99
Member
Hi Polaris, <br /> <br />Is it possible to email or post or upload those new modified files? or just the chaged codes and functions? <br /> <br />Best wishes, <br />
polaris
Member
It is possible but problem is that I´ve changed this script a lot. I´ve add some new features (like comments for polls, span pages for news) which some of them require updating your database and several files. <br />By reading this topic you should find all fixes that I´ve made (if not all then most of then) and if you require some specific file, I could send it to you.
dellsworth
Member
what do I change to remove ´ showing up instead of apostrophes in picture captions?
dellsworth
Member
okay that should say acute with an ampersand in front of it in the last post.
dellsworth
Member
What do I need to change in the code to remove ampersandacute showing up in picture captions instead of apostrophes? <br /> <br />Thank You <br /> <br />David
taxifunk
Member
Wow! What a thread! Thanks for all your support, polaris. Might reread this myself a bit next year. :smile:
polaris
Member
dellsworth, don´t really understand what you want to do...can you be more specific? with some example maybe? <br /> <br />TAXIFUNK, Your Welcome. :)
mehli2002
Member
Hi <br /> <br />i posted another thread in the forum about my issues with phpNewsManager and PHP´s register globals settings. <br />Register Globals is set to off and therefore all forms in the newman script don´t work for me. <br />As I read, some people got that to work, so would someone please post /email a link to the newest files or send them by mail? <br /> <br />Thanks, <br /> <br />Jo
mehli2002
Member
Hi <br /> <br />i posted another thread in the forum about my issues with phpNewsManager and PHP´s register globals settings. <br />Register Globals is set to off and therefore all forms in the newman script don´t work for me. <br />As I read, some people got that to work, so would someone please post /email a link to the newest files or send them by mail? <br /> <br />Thanks, <br /> <br />Jo
pablouin
Member
How do I keep phpmanager from displaying this message at the start of news files <br /> <br />Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Program Files\xampp\htdocs\newman\functions.php on line 113 <br /> <br />Thanks Paul
Edited
polaris
Member
pablouin, you run NewsManager on IIS server? <br /> <br />mehli2002, I´ve reply to you on that another thread. <br /> <br />Regards.
dellsworth
Member
When an entry as a picture caption is entered, and it includes an apostrophe as in the word "kid´s", the apostrophe is replaced with an ambersand and the word acute. There´s obviously some code that´s not right somewhere and I want to correct it if I can. Is that clearer?
dellsworth
Member
When an entry as a picture caption is entered, and it includes an apostrophe as in the word "kid´s", the apostrophe is replaced with an ambersand and the word acute. There´s obviously some code that´s not right somewhere and I want to correct it if I can. Is that clearer?
polaris
Member
Oh. I see. You should check code where picture is placed in database (caption of picture). Right now, I don´t have time to do that, but will try later.
boydie
Member
I´m have a problem when I type in a UK pound sign it´s showing as sometype of L
metodman
Member
sorry, <br />but I have a problem with the login action, if you try to log with an unregistred account you can post comment...I have checked the newman_lib script and it stop only the empty login post: <br /> <br />if (empty($GLOBALS[´login´])) <br /> echo _PLEASE_LOGIN_FIRST; <br /> <br /> else <br /> <br />how can we stop all the unregistred users??? <br /> <br />HELP me! <br /> <br />if the bug is fixed in an other thread or post, please repost the link because I don´t find anything about this with the site search engine.
polaris
Member
Well, this is problem with Web Magazine script. <br /> <br />In newman_lib.php file you should check for line 493 (or near by), for there peace of code (it´s from line 493 to 498): <br />------------------------------------------------------------------------------- <br /><? <br /> if (empty($GLOBALS[´login´])) <br /> echo _PLEASE_LOGIN_FIRST; //echo ´Please login first! If you still dont have an account, register it <a href="signup.php">here</a>´; <br /> else <br /> { <br /> ?> <br />------------------------------------------------------------------------------- <br /> <br />Change it to look like this: <br /> <br />------------------------------------------------------------------------------- <br /><? <br /> $passek = CheckLogin($GLOBALS[´login´],$GLOBALS[´pass´]); <br /> if ($passek <> "ok") <br /> echo _PLEASE_LOGIN_FIRST; //echo ´Please login first! If you still dont have an account, register it <a href="signup.php">here</a>´; <br /> else if ($passek == "ok") <br /> { <br /> ?> <br />------------------------------------------------------------------------------- <br /> <br />Save and exit. Try now. <br /> <br />Regards.
polaris
Member
I hope you will manage to read code I´ve posted. <br /> <br />It´s a little mixed up because those auto-replace for smileys (bad thing!). <br /> <br />Regards.
metodman
Member
I´m tryng with this code: <br /> <br /><? $passek = CheckLogin($GLOBALS[Ā“loginĀ“],$GLOBALS[Ā“passĀ“]); <br />if ($passek <> "ok") <br />echo _PLEASE_LOGIN_FIRST; //echo Ā“Please login first! If you still dont have an account, register it hereĀ“; <br />else if ($passek == "ok") <br />{ <br />?> <br /> <br />but it don´t works, it stop the blank and unregistred posts but I can´t post comment like registred user. <br />thank you for your help.
sorry, <br /> <br />I wrote the code with the first line, <br /> <br />but it didn´t work. <br /> <br />thank you. <br /> <br /> <br />
metodman
Member
sorry, <br /> <br />I wrote the code with the first line, <br /> <br />but it didn´t work. <br /> <br />thank you. <br /> <br /> <br />
polaris
Member
Please send your php file to my email smokvin.list@gmail.com <br /> <br />Regards.
polaris
Member
Please send your php file to my email smokvin.list@gmail.com <br /> <br />Regards.
polaris
Member
Everything seems ok in php file. Do you have register_globas set to ON in your php.ini file? <br /> <br />Regards.
letsrock
Member
I can´t make the RSS work - perhaps one of the support team can have a look? <br /> <br />http://letsrock.le.funpic.de/rotschrift/newman <br /> <br />Login: admin <br />Pwd: admin
letsrock
Member
I have rewritten functions.php - now i get an output like this: letsrock.le.funpic.de/rotschrift/newman/rss/news.rss <br />Is this correct?
Maybe polaris knows, all I noticed german 1 & 1 server switched to php version 5.1 last Sunday night, sorry my php is like my french, copied out of a tool that made it, a dicitionary or non existent. Working on that but itll take longer than I thought. Some other things are sorta happening on me, and they ain“t all bad to learn, either. Nice holidays :winter ;)
taxifunk
Member
When I log in to your first link using the passwords mentioned underneath I get a clean looking RSS editing mask I did not want to mess with. I dont get the error message displayed by your second link. Maybe I would only get that if messing with the Rss mask which I would not want to do without agreeing on that first unless I was an experienced IT programmer. <br /> <br />Or it was fixed in the meantime. Btw, do you change + write manually which is probably the whole challenge of our site for that, or do you also use elements to be found in dreamweaver or ms frontpage, web creator or the like?
Edited
artful
Member
got an error after trying to install version 1.48 <br /> <br />ERROR 87: Access denied for user: ´www@localhost´ (Using password: NO)
taxifunk
Member
Sorry no one replied to your other thread either, yet http://www.skinbase.org/msgboard.php?topicid=1673 <br /> <br />Some are busy with a lot of improvements and some might be still on holiday trips, hope we get an answer a bit later <br />
polaris
Member
Did you write correct information about your database? (name, password, username etc.)
djghost
Member
Help me please. <br /> <br />I have installed WebNews to link http://www.dmwn.com/public/news/ <br />and webman to link http://www.dmwn.com/public/newsman/ <br /> <br />if I carry out login they give me the error: <br /> <br />ERROR 87: Can´t connect to MySQL server on ´localhost´ (10061) <br /> <br />I have not understood as I must shape db.inc.php ???? }:? }:? <br /> <br />thist web site is very important, help please <br /> <br />bye
djghost
Member
Help me please. <br /> <br />I have installed WebNews to link http://www.dmwn.com/public/news/ <br />and webman to link http://www.dmwn.com/public/newsman/ <br /> <br />if I carry out login they give me the error: <br /> <br />ERROR 87: Can´t connect to MySQL server on ´localhost´ (10061) <br /> <br />I have not understood as I must shape db.inc.php ???? }:? }:? <br /> <br />thist web site is very important, help please <br /> <br />bye
djghost
Member
Help me please. <br /> <br />I have installed WebNews to link http://www.dmwn.com/public/news/ <br />and webman to link http://www.dmwn.com/public/newsman/ <br /> <br />if I carry out login they give me the error: <br /> <br />ERROR 87: Can´t connect to MySQL server on ´localhost´ (10061) <br /> <br />I have not understood as I must shape db.inc.php ???? }:? }:? <br /> <br />thist web site is very important, help please <br /> <br />bye
djghost
Member
Hi polaris tnx for the reply... <br /> <br />Yes, in the database is present: <br /> <br />18 table... <br /> <br /> WeekA <br /> admin <br /> gallery <br /> groups <br /> news <br /> news_comments <br /> news_logged <br /> news_pics <br /> partners <br /> pictures <br /> pnews <br /> rss <br /> smileys <br /> story <br /> topic <br /> users <br /> weather <br /> weekQ <br /> <br />automatic creatle of the instal process, the last message of this prosess is: <br />phpNewsManager is succssesfuly installed <br />Now, for your safety, change permission back to 644 for file db.inc.php and delete install.php file !!! <br /> <br />PS: I have seen the db.inc.php in my server, and is empty. <br /> <br />Is Normal??
shafi
Member
Hi! I´ve just installed PHPNewsManager on my site I was able to login to the admin section only after I manually went into mysql and created the admin user. I logged into the admin section and then tried to create a news item but it did not save it. It seems that my script is not saving the information to the database. I am not getting any error messages. Also, when I try to upload a picture I get the following error - Warning: Missing argument 1 for CheckLogin() in /home/bedtyme/public_html/Chipmunk/functions.php on line 80 Warning: Missing argument 2 for CheckLogin() in /home/bedtyme/public_html/Chipmunk/functions.php on line 80 Any help on this matter would be greatly appreciated. I am looking forward to being able to work with this script. Thanks alot
shafi
Member
Hi! I´ve just installed PHPNewsManager on my site I was able to login to the admin section only after I manually went into mysql and created the admin user. I logged into the admin section and then tried to create a news item but it did not save it. It seems that my script is not saving the information to the database. I am not getting any error messages. Also, when I try to upload a picture I get the following error - Warning: Missing argument 1 for CheckLogin() in /home/bedtyme/public_html/Chipmunk/functions.php on line 80 Warning: Missing argument 2 for CheckLogin() in /home/bedtyme/public_html/Chipmunk/functions.php on line 80 Any help on this matter would be greatly appreciated. I am looking forward to being able to work with this script. Thanks alot
djghost
Member
if it is not succeeded to write on line (in the installation process) the file db.inc.php how can write it I???? <br /> <br />and then to make the FTP Upload ???
hegedus
Member
Hi! <br /> <br />I´ve as the same problem: <br /> <br />IĀ“ve just installed PHPNewsManager on my site I was able to login to the admin section only after I manually went into mysql and created the admin user. I logged into the admin section and then tried to create a news item but it did not save it. It seems that my script is not saving the information to the database. I am not getting any error messages. <br /> <br />I´ve set <br /> <br />Order Deny,Allow <br />Deny from all <br />Allow from 127.0.0.1 <br />php_flag register_globals on <br /> <br /> <br />on .htaccess in root directory too <br /> <br />how can I show the articles? I´m on localhost <br /> <br />please help me
polaris
Member
djghost, <br /> <br />db.inc.php should not be empty. <br />It should write while installing. I guess you didn´t put right permission while installing so system coundn´t write in it. Try to set permission to write (777) and then run installation process again. <br /> <br />The rest of you, sorry, I didn´t look into new version of script because I´ve heavily modified my script. Also, sorry, but at this moment I don´t have time to look in it for any bugs. Well, that script isn´t my product. I´m just one, so to tell, advanced user who fixed most of bugs in it and added new features ;) <br /> <br />Mr. gRAVE is owner but he is unfortunately rarely here... :(
checog0
Member
I want to know if its possible to config webmag after breaking news show the news in two columns...
polaris
Member
Everything is possible :) The real question is, how? It should not be big problem. Just need to change html (design).
checog0
Member
Can any body tell my how to put news in two colums???