|
#1
|
|||
|
|||
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'); 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 |
#2
|
||||
|
||||
You need to choose the upload template for all the cats i think...
|
#3
|
|||
|
|||
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; 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. |
#4
|
||||
|
||||
Did you add them to the sql?
|
#5
|
|||
|
|||
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. |
#6
|
||||
|
||||
Yeah it is.
Go to your database, browse categories take note of the layout, then click insert at the top and add another one |
#7
|
|||
|
|||
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. |
#8
|
||||
|
||||
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
|
#9
|
|||
|
|||
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.
|
#10
|
|||
|
|||
It was the ajax/upload.php that was missing its configuration. Added the catagories to it and all is well.
Thank you. |
Tags |
adding , categories , gazelle , torrent |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Blank page when adding torrent | clikero | Template Shares | 0 | 8th June 2010 18:04 |
[How-to] Add torrent categories | askiplop | Template Shares | 5 | 31st January 2010 21:12 |
problem adding torrents & tracker | tHe_ImPrA | Template Shares | 9 | 17th October 2009 11:47 |
Show Torrent Categories on Index Page | GauravJ123 | xBTiT | 2 | 16th September 2009 17:59 |
adding in staff | tunad | Torrent Strike | 5 | 22nd November 2008 08:57 |