3rd January 2015, 10:09
|
Member
|
|
Join Date: Oct 2014
Posts: 9
|
|
Quote:
Originally Posted by firefly007
No adding cat are a little more complicated then that.
You need to edit /classes/config
and edit add what you want to
And
So it looks something like this
PHP Code:
$Categories = array('Music', 'Applications', 'E-Books', 'Audiobooks', 'E-Learning Videos', 'Movies|HD','TV|SD','TV|SD_x264','TV|HD_x264','GAME|PC','Movies|DVD','Movies|XVID','AUDIO|MP3','Comedy','Comics'); $CategoryIcons = array('music.png', 'tv264.png', 'apps.png', 'ebook.png', 'audiobook.png', 'elearning.png', 'movieshd.png', 'comedy.png', 'comics.png');
Then make sure you have the cat icons in the cat folder
You will need to edit /sections/upload/upload.php
and add the cats to the case statement
So it looks something like this
PHP Code:
switch ($UploadForm) { case 'Music': $TorrentForm->music_form($GenreTags); break; case 'Audiobooks': case 'Comedy': $TorrentForm->audiobook_form(); break; case 'Applications': case 'Comics': case 'E-Books': case 'E-Learning Videos': case 'Movies|HD': case 'Movies|SD': case 'Movies|DVD': case 'Movies|XVID': case 'TV|SD': case 'TV|SD_x264': case 'TV|HD_x264': case 'GAME|PC': case 'AUTO|MP3': $TorrentForm->simple_form($Properties['CategoryID']); break; default: $TorrentForm->music_form($GenreTags); }
|
I make it, but the new cat still missing.
If i remove config.php, the site hasn't got any errors.
Whatt is the problem???
|