Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.1
Author Message
GanjaUK
Life Cycles Becoming CPU Cycles



Joined: Feb 14, 2004
Posts: 633
Location: England

PostPosted: Sat Feb 14, 2004 3:33 pm Reply with quote

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:
http://www.GanjaUK.com/archive-showall.html

But when you view by month, as you see all the comments show as 0 even though there are comments there.
http://www.GanjaUK.com/archive-2004-02-February.html

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.
 
View user's profile Send private message Visit poster's website
chatserv
Member Emeritus



Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico

PostPosted: Sat Feb 14, 2004 7:59 pm Reply with quote

Just noticed that, the show_month function is missing $articlecomm in its global line.
 
View user's profile Send private message Visit poster's website
GanjaUK







PostPosted: Sat Feb 14, 2004 8:07 pm Reply with quote

Can't find the show_month function in the index, where should i be looking?
 
GanjaUK







PostPosted: Sat Feb 14, 2004 8:09 pm Reply with quote

Doh! I was looking in /news not /stories_archive, its 2am here, thats my excuse. Yes that fix worked great, well done... again Wink
 
Roy_Shiker
Hangin' Around



Joined: Dec 27, 2003
Posts: 45

PostPosted: Mon Feb 16, 2004 8:56 pm Reply with quote

can you copy here the lines please Rolling Eyes
 
View user's profile Send private message Send e-mail
GanjaUK







PostPosted: Mon Feb 16, 2004 9:09 pm Reply with quote

All the info you need is posted above. Rolling Eyes

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







PostPosted: Mon Feb 16, 2004 10:26 pm Reply with quote

i thought it might be there but i wanted to be sure, thanks Smile
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.1

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©