Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Gazelle
Reply
Thread Tools
  #1  
Old 18th February 2010, 14:48
dubious dubious is offline
Member
 
Join Date: Feb 2010
Iceland
Posts: 9
Default 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
Reply With Quote
  #2  
Old 18th February 2010, 14:52
Phogo's Avatar
Phogo Phogo is offline
VIP
 
Join Date: Jan 2008
United Kingdom
Posts: 902
Default
You need to choose the upload template for all the cats i think...
Reply With Quote
  #3  
Old 18th February 2010, 15:03
dubious dubious is offline
Member
 
Join Date: Feb 2010
Iceland
Posts: 9
Default
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.
Reply With Quote
  #4  
Old 18th February 2010, 15:08
Phogo's Avatar
Phogo Phogo is offline
VIP
 
Join Date: Jan 2008
United Kingdom
Posts: 902
Default
Did you add them to the sql?
Reply With Quote
  #5  
Old 18th February 2010, 15:17
dubious dubious is offline
Member
 
Join Date: Feb 2010
Iceland
Posts: 9
Default
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.
Reply With Quote
  #6  
Old 18th February 2010, 15:25
Phogo's Avatar
Phogo Phogo is offline
VIP
 
Join Date: Jan 2008
United Kingdom
Posts: 902
Default
Yeah it is.

Go to your database, browse categories take note of the layout, then click insert at the top and add another one
Reply With Quote
  #7  
Old 18th February 2010, 15:37
dubious dubious is offline
Member
 
Join Date: Feb 2010
Iceland
Posts: 9
Default
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.
Reply With Quote
  #8  
Old 18th February 2010, 15:43
Phogo's Avatar
Phogo Phogo is offline
VIP
 
Join Date: Jan 2008
United Kingdom
Posts: 902
Default
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
Reply With Quote
  #9  
Old 25th February 2010, 22:48
boz boz is offline
Member
 
Join Date: Aug 2009
P2P
Posts: 4
Default
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.
Reply With Quote
  #10  
Old 25th February 2010, 23:43
dubious dubious is offline
Member
 
Join Date: Feb 2010
Iceland
Posts: 9
Default
It was the ajax/upload.php that was missing its configuration. Added the catagories to it and all is well.
Thank you.
Reply With Quote
Reply

Tags
adding , categories , gazelle , torrent


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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



All times are GMT +2. The time now is 07:13. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.