View Single Post
  #11  
Old 7th May 2010, 14:36
Hasan Hasan is offline
Senior Member
 
Join Date: Apr 2010
Denmark
Posts: 29
Default
Quote:
Originally Posted by joeroberts View Post
If your getting file not found then you put it in the wrong place have a chmod problem or you misslabled it.
hmm

Step1

I open include/bittorrent.php
found and added the code u said, so its loo lie this
PHP Code:
function torrenttable($res$variant "index"$user ""$block =  "") {
        global 
$db$name$search$user$download_level,  $torrent_global_privacy$onlysearch$db_prefix$autoscrape$theme,  $btback1$btback2$btback3$free_dl;
if(
function_exists('theme_torrenttable'))return theme_torrenttable($res,  $variant$user$block); 

Then I made the bittorrent.php and added to theme/1thank

Then I found main.php at the same folder and edited

this, so its looked like this

PHP Code:
include_once'themes/'.$theme.'/bittorrent.php'
function 
OpenTable
I did everything as u wrote, but did not do chmod? What file shuold i do 777 on then ?
Reply With Quote