Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Gazelle (http://www.bvlist.com/forumdisplay.php?f=40)
-   -   Need help adding torrent categories to gazelle. (http://www.bvlist.com/showthread.php?t=4536)

dubious 18th February 2010 14:48

Need help adding torrent categories to gazelle.
 
I got gazelle and xbt installed, now it is just time to change things.
I am trying to add a torrent category for games, movies and documentaries.

My config.php file is as follows:
Code:

$Categories = array('Music', 'Applications', 'E-Books', 'Audiobooks', 'E-Learning Videos', 'Comedy', 'Comics', 'Games', 'Movies', 'Documentaries');

$CategoryIcons = array('music.png', 'apps.png', 'ebook.png', 'audiobook.png', 'elearning.png', 'comedy.png', 'comics.png', 'games.png', 'movies.png', 'documentaries.png');

And i added to the file in sections/torrents/edit.php:
case 'Applications':
case 'Comics':
case 'E-Books':
case 'E-Learning Videos':
case 'Games':
case 'Movies':
case 'Documentaries':

The categories show up but when i try the upload page and select either games, movies or documentaries i get a message about an "Invalid action!"

It worked for me the other day but i took everything down to start over and now i am forgetting something.
I have been reading up on way to many things these few days and now it's all kinda mushed together.

Can you tell me what files i need to change to add my categories?

Thx

Phogo 18th February 2010 14:52

You need to choose the upload template for all the cats i think...

dubious 18th February 2010 15:03

I added the " case 'Movies' etc." to use the simple_form but nothing shows up. Just the "invalid action!" where the forms should show up.

Code:

break;
   
    case 'Applications':
    case 'Comics':
    case 'E-Books':
    case 'E-Learning Videos':
    case 'Games':
    case 'Movies':
    case 'Documentaries':
        $TorentForm->simple_form();

break;

I am new to Linux in general and i do not know much of anything in php and mysql (gonna order some books next week).
When you say choose the upload template, are you talking about the forms wich need to be filled out when you upload something?

I thought that if i added the case 'Movies' to use the simple_form it would show up.
Every other category is working, just not the new ones that i added.

Phogo 18th February 2010 15:08

Did you add them to the sql?

dubious 18th February 2010 15:17

No i dont think so. and i am not quite sure where to put them.

Adding something to the sql, that is the phpmyadmin thing right?

sry for the noobnez, gotta start somewhere.

Phogo 18th February 2010 15:25

Yeah it is.

Go to your database, browse categories take note of the layout, then click insert at the top and add another one

dubious 18th February 2010 15:37

In my database i cant see a listing for categories, the only thing that has categories in it is the ticket_categories, and that dose not show any of the torrent categories in the site.

Maybe i have a bad install.

Phogo 18th February 2010 15:43

i haven't used the source in awhile and rc 2.0 comes out on the 20th of this month. i advise wait a while because you will prob want to upgrade anyway

boz 25th February 2010 22:48

I was in the same predicament that you are but I found out the last file that needs changed. it's in the sections/ajax/upload.php file. change your categories and it will work like gold. I dont know if this is updated or not but I figure I would let you know.

dubious 25th February 2010 23:43

It was the ajax/upload.php that was missing its configuration. Added the catagories to it and all is well.:ok:
Thank you.


All times are GMT +2. The time now is 01:07.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.