|
#1
|
|||
|
|||
Gazelle category
Hi everybody!
First of all, I have a bad English, sorry.. I would like to create a new category. I write it in the config.php, here: $Categories = array('Music', 'Applications', 'E-Books', 'Audiobooks', 'E-Learning Videos', 'Comedy', 'Comics', 'bbbbb'); And I restart apache, sphinx, memcache, and the categories still wrong. I write it in upload.php, but when I click "Torrent", the categories only this: Music, app, e-book..... So bbbbb category is miss. Where write the new category? Or anything servers restart? And I write bbbbb category name to the ajax/upload.php, and sectrions/torrents/edit.php I hope it was understandable Last edited by afterbit; 2nd January 2015 at 19:00. Reason: i hope something |
#2
|
||||
|
||||
No adding cat are a little more complicated then that.
You need to edit /classes/config and edit add what you want to PHP Code:
PHP Code:
PHP Code:
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:
__________________
Please Support Majority Report You can contact me on Skype live:phesadent.elect but please let me know first. If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week. Due to free time I'm able to help interested member's with their tracker. Please Note! Depending on your requests I will charge you for my assistance for Tracker installs and mods. All my mods are custom and prices will very depending on the request. I'm able to install any tracker and mods including themes. Please PM me |
#3
|
|||
|
|||
i totally agree :)
__________________
Need HELP!? I can install:
|
#4
|
|||
|
|||
Quote:
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??? |
#5
|
||||
|
||||
Remove all the Mysql password (sensitive data)
and paste the complete modified config.php here and please use the PHP bbcode.
__________________
Please Support Majority Report You can contact me on Skype live:phesadent.elect but please let me know first. If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week. Due to free time I'm able to help interested member's with their tracker. Please Note! Depending on your requests I will charge you for my assistance for Tracker installs and mods. All my mods are custom and prices will very depending on the request. I'm able to install any tracker and mods including themes. Please PM me |
The Following User Says Thank You to firefly007 For This Useful Post: | ||
nicukent (13th February 2015)
|
#6
|
|||
|
|||
did ya empty the memcache for categories ?
see in the footer to clear cache and choose the categories stuff.
__________________
Need HELP!? I can install:
|
#7
|
|||
|
|||
PHP Code:
I clear memcache, and i stop it, and the config.php miss. And the site has problem with memcache, after i strt memcache with 0 data, the cat is missing. And the config.php is missing but the site hasn'g got any problem!! :( Last edited by afterbit; 3rd January 2015 at 10:36. |
#8
|
|||
|
|||
Code:
$Categories = array('Music', 'App', 'E-Books', 'Audiobooks', 'E-Learning Videos', 'Comedy', 'Comics', 'teszt'); $GroupedCategories = array_intersect(array('Music'), $Categories); $CategoryIcons = array('music.png', 'apps.png', 'ebook.png', 'audiobook.png', 'elearning.png', 'comedy.png', 'comics.png', 'teszt.png'); try like this Code:
$Categories = array('Music', 'App', 'E-Books', 'Audiobooks', 'E-Learning Videos', 'Comedy', 'Comics', 'teszt'); $CategoryIcons = array('music.png', 'apps.png', 'ebook.png', 'audiobook.png', 'elearning.png', 'comedy.png', 'comics.png', 'teszt.png'); $GroupedCategories = array_intersect(array('Music'), $Categories); Last edited by joeroberts; 31st January 2015 at 03:02. Reason: please use code tag |
#9
|
|||
|
|||
Not Working for me...
|
#10
|
|||
|
|||
u sure u added categ in upload.php ?
afterbit pm me i can add categ for ya. Bump: do that goto sections > ajax > upload > upload.php add ur category there it will show. :) Bump: let me know if u get problems again. Last edited by whisp; 31st January 2015 at 00:33. |
Tags |
category , gazelle |
|
|