Easily add new Category icons 1.0 --> Adds new post icons and no new post icons to each category, so you dont have the same on.gif and off.gif for each category! ->> Install and use. Simply install this mod as you like and upload the files, Managecats.pl, BoardIndex.pl and english.lng. Go to your Manage Cats section in the admin center, and change the name of the images for each category. If you don't supply a name your default images will be used. Then go to your BoardIndex and see the new icons in use! ->> Thanks, A special thanks to cae who was able to get this in working order. Without him it wouldn't of been possible. ;-) If you want me to add anything to this mod or fix a bug let me know by emailing me or posting a message in BoardMod. ;D Big P. webmaster@rapmad.com Big P http://www.rapmad.com Sources/ManageCats.pl fopen(FILE, ">$boardsdir/$FORM{'id'}.cat", 1); print FILE "$FORM{'catname'}\n"; print FILE "$FORM{'catgroups'}\n"; for ($i = 2; $i < @catinfo; $i++) { chomp @catinfo; $catinfo =~ s/[\n\r]//g; print FILE "$catinfo[$i]\n"; } fclose(FILE); fopen( ICON, ">$boardsdir/$FORM{'id'}.ico"); print ICON "$FORM{'caticonon'}\n"; print ICON "$FORM{'caticonoff'}"; fclose(ICON); fopen(FILE, "$vardir/cat.txt"); @categories = ; fclose(FILE); fopen(ICON, "$boardsdir/$curcat.ico"); @icons = ; fclose(ICON); $curcat =~ s/[\n\r]//g; fopen(CAT, "$boardsdir/$curcat.cat"); @catinfo = ; fclose(CAT); fopen(ICON, "$boardsdir/$curboard.ico"); @icons = ; fclose(ICON); $txt{'44'}:
$txt{'672'}
$icons{'01'}
$icons{'04'}
$icons{'03'}
$icons{'02'}
$icons{'05'}
$icons{'03'}
$txt{'44'}:
$txt{'57'}:
$txt{'44'}:

$icons{'06'}  $txt{'57'}:

$icons{'07'} 
print <<"EOT"; $txt{'43'}: $curcat fopen(ICON, "$boardsdir/$curcat.ico"); @icons = ; fclose(ICON); $caticonon = $icons[0]; $caticonoff = $icons[1]; if ($icons[0] eq '') {$icons[0]="on.gif";} if ($icons[1] eq '') {$icons[1]="off.gif";} Sources/BoardIndex.pl foreach $curboard (@{$catboards{$curcat}}) { chomp $curboard; fopen(FILE, "$boardsdir/$curboard.dat"); $curboardname = ; fopen(ICON, "$boardsdir/$curcat.ico"); @icons = ; fclose(ICON); $new = qq~$txt{'333'}~; } else { $new = qq~$txt{'334'}~; if ($icons[0] eq '') {$icons[0]="on.gif";} $new = qq~$txt{'333'}~; } else { if ($icons[1] eq '') {$icons[1]="off.gif";} $new = qq~$txt{'334'}~; $txt{'333'}    $txt{'334'}   EOT if($showmarkread) { print qq~ $img{'markallread'}~; } print <<"EOT";   EOT if($showmarkread) { print qq~ $img{'markallread'}~; } print <<"EOT"; english.lng $txt{'333'} = "New Posts"; $txt{'334'} = "No New Posts"; $icons{'01'} = "New Post Icon:"; $icons{'02'} = "No New Post Icon:"; $icons{'03'} = "(leave empty to use default icon)"; $icons{'04'} = "Place the name for your new post icon."; $icons{'05'} = "Place the name for your no new post icon."; $icons{'06'} = "New Icon:"; $icons{'07'} = "No New Icon:";