PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
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 Back to top

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:
Only registered users can see links on this board!
Get registered or login to the forums!


But when you view by month, as you see all the comments show as 0 even though there are comments there.
Only registered users can see links on this board!
Get registered or login to the forums!


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
The Mouse Is Extension Of Arm


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

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

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
Life Cycles Becoming CPU Cycles


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

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

Can't find the show_month function in the index, where should i be looking?
View user's profile Send private message Visit poster's website
GanjaUK
Life Cycles Becoming CPU Cycles


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

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

Doh! I was looking in /news not /stories_archive, its 2am here, thats my excuse. Yes that fix worked great, well done... again Wink
View user's profile Send private message Visit poster's website
Roy_Shiker
Hangin' Around


Joined: Dec 27, 2003
Posts: 45

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

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


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

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

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,
View user's profile Send private message Visit poster's website
Roy_Shiker
Hangin' Around


Joined: Dec 27, 2003
Posts: 45

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

i thought it might be there but i wanted to be sure, thanks Smile
View user's profile Send private message Send e-mail
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.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum