HDInnovations / UNIT3D-Community-Edition

Private Torrent Tracker Built With Laravel, Livewire and AlpineJS.
GNU Affero General Public License v3.0
1.97k stars 379 forks source link

Remove Certain Fields #258

Closed DuR4c3ll closed 6 years ago

DuR4c3ll commented 6 years ago

Description:

Remove certain fields and not exactly an issue with code but would appreciate some help, please.

Steps To Reproduce:

On the upload page and details page etc I am looking to hide the TVDB and MAL totally I do not need those. I tried commenting that out in resources/views/torrent/upload.blade.php it breaks the upload page as torrent will not upload. I did use correct comment tags

Possible Fix:

You tell me lol

HDVinnie commented 6 years ago
            <div class="form-group">
                <label for="name">TVDB ID <b>(Optional)</b></label>
                <input type="number" name="tvdb" value="0" class="form-control" required>
            </div>

            <div class="form-group">
                <label for="name">MAL ID <b>(Optional)</b></label>
                <input type="number" name="mal" value="0" class="form-control" required>
            </div>

To

                <input type="hidden" name="tvdb" value="0" class="form-control" required>
                <input type="hidden" name="mal" value="0" class="form-control" required>
DuR4c3ll commented 6 years ago

Hey it works but I'm left with on upload page untitled-1

HDVinnie commented 6 years ago

Um seems you did not do in full what I said above.

DuR4c3ll commented 6 years ago

Oh shyte sorry will get on it now

DuR4c3ll commented 6 years ago

HDVinnie I would also like to hide them on the browse page too under Current Filters along with Category. Category is moot as we only have one category.

Thanks

HDVinnie commented 6 years ago

Bud this is not issue/bug/feature related to UNIT3D. This is custom work you want to suit your needs. Please keep stuff like this to discord channels.