Quote:
Originally Posted by cbr929rrerion
where is this code located?
|
Please click "
install " for updates
Old code: now looks like this.
USEAGE:
When you create the Module:
Title Row Colspan: image count (you choose a value)
Admincp => Plugin Manager => Hook Location : forumhome_complete => Forumhome: Gallery Main => EDIT
Code:
// If you HASH out "$catlimit" images will pull from all categories.
// Useage: $catlimit = 3,5,10,30,70;
// $catlimit = 3;
// Enter 1 newest, 2 most viewed, 3 most comments, 4 highest rated, 5 random.
$galleryorderby = 5;
Added Extra Options
// If you DON'T want these fields to show then value = "0" (zerro)
$showfields['title'] = 0;
$showfields['description'] = 0;
$showfields['rating'] = 0;
$showfields['user'] = 0;
$showfields['dateline'] = 0;
$showfields['views'] = 0;
$showfields['dimensions'] = 0;
$showfields['filesize'] = 0;
$showfields['posts'] = 0;
$showfields['lastpost'] = 0;
$show['category'] = 0;