Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
prekill
Worker
Worker



Joined: Oct 22, 2005
Posts: 201

PostPosted: Mon Oct 09, 2006 11:47 am Reply with quote

Umm I want my index.php Download module to display for each main category the sum of all its sub categories downloads count.

How do I do that?

thanks for the helpers Wink
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Mon Oct 09, 2006 1:31 pm Reply with quote

Hmm.. please rephrase. I don't understand.

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
srhh
Involved
Involved



Joined: Dec 27, 2005
Posts: 296

PostPosted: Mon Oct 09, 2006 2:27 pm Reply with quote

Are you looking for something like an advanced download module?
Here's a live link to see the NSN GR advanced download module in action.
http://www.nukescripts.net/modules.php?name=Downloads

If it is what you are looking for, here is the link to download it.
http://www.nukescripts.net/modules.php?name=Downloads&op=getit&lid=2007
 
View user's profile Send private message
prekill







PostPosted: Mon Oct 09, 2006 7:31 pm Reply with quote

umm no.

I am using Enhanced Downloads Module V1.7a (NukeStyles).

this image will explain everything right Smile :

Image

Thanks for the help, I hope you got me this time Wink
 
srhh







PostPosted: Tue Oct 10, 2006 2:27 pm Reply with quote

Yes, NSN GR Downloads Module has that feature...
 
srhh







PostPosted: Tue Oct 10, 2006 2:35 pm Reply with quote

Ack! Post times are all screwy. My last one should have shown up at the bottom..
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Tue Oct 10, 2006 7:14 pm Reply with quote

It looks to me like it is showing the number of downloads per category / sub-category which is the accepted behaviour.
Are you saying that instead of showing the number of downloads you want it to show the number of sub-categories available under each main category?
 
View user's profile Send private message Send e-mail
prekill







PostPosted: Tue Oct 10, 2006 8:50 pm Reply with quote

No, for each main category I want it to show the number of downloads I have in all the sub categories.

let say I have main category: X
and sub categories Y and Z (inside X)

Y= 3 downloads
Z= 5 downloads

so X should be = 8.

(the sum of all sub categories downloads)...

How do I do that?

Thanks for the help!
 
prekill







PostPosted: Wed Oct 11, 2006 2:30 am Reply with quote

umm but i am using Enhanced Downloads Module V1.7a (NukeStyles).

I now know its something with the function index...

any idea what to change in order to do what we are talking about?
 
prekill







PostPosted: Sat Oct 14, 2006 8:11 am Reply with quote

umm problem is not yet you be solved.

I thought this problem will be very easy to solve.

Please anyone?
 
gregexp
The Mouse Is Extension Of Arm



Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol

PostPosted: Sat Oct 14, 2006 10:51 pm Reply with quote

I believe the fix would be to use nsn GR downloads, which in the nsn forum, you will find a nice complete post from myself to integrate standard nuke_downloads database to nsn GR downloads. Not sure about the enhanced downloads modules fix, Tell you what Ill look into it today and see what I can come up with.

_________________
For those who stand shall NEVER fall and those who fall shall RISE once more!! 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
prekill







PostPosted: Sun Oct 15, 2006 12:10 pm Reply with quote

darklord, thank you very much.

As far of my understending there is a need to change something with the $cnumm but I have no idea what to change.

waiting for response Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

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 ©