» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 82
0 members and 82 guests
No Members online
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Rimonabant - combat obesity and smoking at the same time
Football Betting - best nfl betting promotions at sportsbook.com.
Poker Chips - Clay and composite poker chips for home games.

Register Now! Contact Us

About this Page
This is a discussion on Another Fix within the Purged Topics forums, part of the NM Staff category; Ok ok i know those people that organzie there downloads by subcatagories and want to have more then three show ...



Go Back   Nukemods Forum » NM Staff » Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-06-2002, 03:47 PM
Junior Member
 
Join Date: Sep 2002
Location: USA
Posts: 86
Another Fix
Ok ok i know those people that organzie there downloads by subcatagories and want to have more then three show up in the download section so i figured out how to do it and i would like to let everyone else know.

Ok here is the deal you can have more than three appear but it will through the alignment out of wack and i haven't figured out how to fix that but if i do i will certainly post and let you know about it.

What i did was create about 5 sub catagories because i need that because i host online gaming updates and stuff like that so i had zero sub-cats show in the main download window and when you click the main-cat you still see them.

Here's how you do it:

Goto your modules/Downloads/ dir via ftp and open index.php to edit it.

Look for this code it is in the file 3 different times. One of the code lines should beggin with $result2 and the others should beggin with $result3. There is one with $result2 that needs changing and two with $result3 that needs to be changed.


Code:
$result2 = sql_query("select cid, title from ".$prefix."_downloads_categories where parentid=$cid order by title limit 0,3", $dbi);
Now if you want no sub-cats to show in the main download view change it to this.
Code:
$result2 = sql_query("select cid, title from ".$prefix."_downloads_categories where parentid=$cid order by title limit 0,0", $dbi);
I hope this helps some people out because it sure did help me.


-Konan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-06-2002, 05:14 PM
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
Thanks for the tip! Nice web site ya got too. I love subblack.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-06-2002, 07:00 PM
Junior Member
 
Join Date: Sep 2002
Location: USA
Posts: 86
Glad to be of some help.




-Konan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:26 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31