Quote:
Originally Posted by Hoffi
Hi,
thats good! But I use the Database for Links and Downloads and have two Main Categories. Can I easy modify it to only have the Downloads (And/or) Links. It's not very good to mix them up. 
|
Yeah it's possible; its easier if YOU have specifically separated Links and Downloads into different categories: if so, we can change the structure of the query to get items from only one category ... the query becomes more complex, so what I'll do is create a different file to use for the include and get you to test it ok ?
After installing vBIndex, the Links directory and my addon, do the following to Limit to specified Categories:
Find in vbindex.php:
PHP Code:
require('forums/get_hotlinks.php');
REPLACE WITH:
PHP Code:
require('forums/get_hotlinks_cat.php');
Get the new file attached to this post and edit the variable at the top
$cats to match the category ids you wanna include in teh hotlinks list.