| Author |
Message |
GanjaUK Life Cycles Becoming CPU Cycles

Joined: Feb 14, 2004 Posts: 633 Location: England
|
Posted:
Sat Feb 14, 2004 3:33 pm |
|
This problem has been in the nuke since I installed it from 7.0.
When viewing the story archive, it works fine when you view ALL STORIES:
But when you view by month, as you see all the comments show as 0 even though there are comments there.
Is there a fix for this, as I checked nuke cops archive and they seem to have fixed it where as I know other people with nuke 6.X with the same problem as me. |
|
|
|
 |
chatserv The Mouse Is Extension Of Arm

Joined: May 02, 2003 Posts: 1396 Location: Puerto Rico
|
Posted:
Sat Feb 14, 2004 7:59 pm |
|
Just noticed that, the show_month function is missing $articlecomm in its global line. |
|
|
|
 |
GanjaUK Life Cycles Becoming CPU Cycles

Joined: Feb 14, 2004 Posts: 633 Location: England
|
Posted:
Sat Feb 14, 2004 8:07 pm |
|
Can't find the show_month function in the index, where should i be looking? |
|
|
|
 |
GanjaUK Life Cycles Becoming CPU Cycles

Joined: Feb 14, 2004 Posts: 633 Location: England
|
Posted:
Sat Feb 14, 2004 8:09 pm |
|
Doh! I was looking in /news not /stories_archive, its 2am here, thats my excuse. Yes that fix worked great, well done... again  |
|
|
|
 |
Roy_Shiker Hangin' Around

Joined: Dec 27, 2003 Posts: 45
|
Posted:
Mon Feb 16, 2004 8:56 pm |
|
can you copy here the lines please  |
|
|
|
 |
GanjaUK Life Cycles Becoming CPU Cycles

Joined: Feb 14, 2004 Posts: 633 Location: England
|
Posted:
Mon Feb 16, 2004 9:09 pm |
|
All the info you need is posted above.
Open \modules\Stories_Archive\index.php
Find
| Code: | | function show_month |
Add $articlecomm in with the other globals
ie:
global $prefix, $user_prefix, $articlecomm, $db, |
|
|
|
 |
Roy_Shiker Hangin' Around

Joined: Dec 27, 2003 Posts: 45
|
Posted:
Mon Feb 16, 2004 10:26 pm |
|
i thought it might be there but i wanted to be sure, thanks  |
|
|
|
 |
|
|
|
|