• [MOD]Another Simple News Publishing Mod 5 0 5 1
Currently:  

Author Topic: [MOD]Another Simple News Publishing Mod  (Read 351581 times)

0 Members and 1 Guest are viewing this topic.

Offline ID25

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: [MOD]Another Simple News Publishing Mod
« Reply #75 on: August 11, 2005, 11:56:45 PM »
Maybe you can write, what i must change?

TheOracle

  • Guest
Re: [MOD]Another Simple News Publishing Mod
« Reply #76 on: August 12, 2005, 12:04:35 AM »
Quote

Maybe you can write, what i must change?


Change where exacly ?

Offline ID25

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: [MOD]Another Simple News Publishing Mod
« Reply #77 on: August 12, 2005, 12:23:18 AM »
I don't understand you

TheOracle

  • Guest
Re: [MOD]Another Simple News Publishing Mod
« Reply #78 on: August 12, 2005, 12:25:09 AM »
I mean : Which one do you wish to change exacly ? News.php file ?

Offline ID25

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: [MOD]Another Simple News Publishing Mod
« Reply #79 on: August 12, 2005, 12:35:54 AM »
yes, at now is good idea change this :)
news.php

maybe you can write here full news.php to 4images 1.7.1 ?

TheOracle

  • Guest
Re: [MOD]Another Simple News Publishing Mod
« Reply #80 on: August 12, 2005, 12:53:24 AM »
How can I change elements into something I do not use yet ?  ! ;)

Offline ID25

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: [MOD]Another Simple News Publishing Mod
« Reply #81 on: August 12, 2005, 12:58:51 AM »
need to see :)
if you want, i can post there global.php or something :)

TheOracle

  • Guest
Re: [MOD]Another Simple News Publishing Mod
« Reply #82 on: August 12, 2005, 01:04:43 AM »
Unfortunitely, I have no knowledge over global.php file.

Offline ID25

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: [MOD]Another Simple News Publishing Mod
« Reply #83 on: August 12, 2005, 01:08:14 AM »
ok, thank's for help :)

TheOracle

  • Guest
Re: [MOD]Another Simple News Publishing Mod
« Reply #84 on: August 12, 2005, 01:48:03 AM »
I just remembered something.

In your global.php file,

find :

Quote

//error_reporting(E_ERROR | E_WARNING | E_PARSE);


or :

Quote

//error_reporting(E_ALL);


On either case, replace with :

Code: [Select]

error_reporting(E_ALL);


Then, reload your news.php file from the web and tell me if you see any error messages from the top header of that page.

Offline ID25

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: [MOD]Another Simple News Publishing Mod
« Reply #85 on: August 12, 2005, 02:14:51 AM »
it's good idea :)

Code: [Select]
Notice: Undefined index: auth_viewcat in /var/www/mysite/images/includes/auth.php on line 72
Notice: Undefined index: comment_user_name in /var/www/mysite/images/news.php on line 67
Notice: Undefined index: comment_user_name in /var/www/mysite/images/news.php on line 67
Notice: Undefined index: comment_user_name in /var/www/mysite/images/news.php on line 67
Notice: Undefined index: comment_user_name in /var/www/mysite/images/news.php on line 67
Notice: Undefined index: comment_user_name in /var/www/mysite/images/news.php on line 67
whats there in auth.php ? hmmm

TheOracle

  • Guest
Re: [MOD]Another Simple News Publishing Mod
« Reply #86 on: August 12, 2005, 02:21:22 AM »
Right on the spot.

In your news.php file,

find :

Quote

$comment_user_name = htmlspecialchars($news_row[$i]['comment_user_name']);


replace with :

Code: [Select]

//$comment_user_name = htmlspecialchars($news_row[$i]['comment_user_name']);


It doesn't seem to be used anywhere else in that file.

Then, save the file and reload the page again to see if it works. ;)

Offline ID25

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: [MOD]Another Simple News Publishing Mod
« Reply #87 on: August 12, 2005, 02:30:35 AM »
 At now:
Notice: Undefined index: auth_viewcat in /var/www/mypage/images/includes/auth.php on line 72

there is:
   if ($val['auth_viewcat'] != AUTH_ALL) {


and not working news...

TheOracle

  • Guest
Re: [MOD]Another Simple News Publishing Mod
« Reply #88 on: August 12, 2005, 02:37:50 AM »
Does it say the same on all the pages ?

Offline ID25

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: [MOD]Another Simple News Publishing Mod
« Reply #89 on: August 12, 2005, 02:39:43 AM »
yes :cry: