BitJunkie is a great search engine, but need a few more changes to get it working, ready?
Lines (164, 166, 218):
look for "do=gear" and replace with "do=copyrights"
Line 170, replace line with:
$tmpList = $thing;
Line 182, replace line with:
if (strpos($value,"/download.torrent"))
Line 281, replace line with:
$tmpStr = substr($tmpListArr[0],strpos($tmpListArr[0],"/torrent/"),strpos($tmpListArr[0],"><img")-17);
Lines 278 to Line 298:
Look for all instances of $tmpListArr["x"]:
replace $tmpListArr["0"] with $tmpListArr[0]
replace $tmpListArr["1"] with $tmpListArr[3]
replace $tmpListArr["2"] with $tmpListArr[4]
replace $tmpListArr["4"] with $tmpListArr[5]
replace $tmpListArr["5"] with $tmpListArr[6]
* Note that all the double quotes are removed!
That's it. Have fun!
Hi there !
Thanks torrentslave. This trick worked for me. The original file was not returning any results.
Please note I add to change (Line 281) in addition to torrentslave's changes:
$tmpStr = substr($tmpListArr[0],strpos($tmpListArr[0],"/torrent/"),strpos($tmpListArr[0],"><img")-17);
with:
$tmpStr = substr($tmpListArr[0],strpos($tmpListArr[0],"torrent/"),strpos($tmpListArr[0],"><img")-17);
I also changed:
$this->updateURL = "http://www.torrentflux.com/forum/index.php/topic,1815.0.html";
What are you guys using for an editor as NONE of these are correlating via lines in either gedit or vi on my end? I have also cut and pasted searching for the exact strings that you posted Kyn3s with no luck. I have located ($tmpListArr[ ]) strings but nothing correlates exactly what your posting.... I'm using the latest version 1.01 search plugin with TF2.4 on my CentOS 5 server but that shouldn't really matter with modifying one php file.
One more question. Everything involved with this project is open source so why are people not uploading changed versions of this if it improves/corrects it? Forgive me if I'm out of line on my first post but I'm just trying to wrap my head around this because I LOVE TF. I'm more than willing to dig into the code and replace things if it is posted and I can go to line X and insert string Y but I am not a coder. I will be more than willing to upload a modified version of this for others to download in the future or put it accessible on my webserver. Anyone willing to donate, upload, email me their modified version or offer out a hand in guidance. Maybe I'm missing something obvious as I am heavily medicated and ill this week.
Thanks in advance and keep up the great work with this awesome project.