View Single Post
  #135  
Old 20th October 2008, 17:55
skygate skygate is offline
Member
 
Join Date: Jul 2008
Posts: 12
Default
... there have been quite a few you you wondering what's going on with the search clowd code ... as it stands there is only one word displayed ...

It is easy to fix this if you look through the existing code ... more on this later ...

However ... even if the search cloud function is 'fixed' is is NOT a search cloud ...

... simply go to a TS site and select the search cloud function - every time you do a search you will see a random set of words - based on the torrent names and their descriptions - it NEVER worked as a proper SEARCH cloud - is simply shows up as 'pretty' tags - that have NOTHING to do with your search parameters...

The 'clown' who wrote this code - obviously does not have any idea of what a search cloud should do and how it works ...

... for a reference - go to mininova.org and look at their SEARCH CLOUD ... this functions as it should - displaying the most common search parameters ...

... ok now that we clarified that the search cloud function is total 'shite' ... here is how you fix it ...


goto the ts_tags.php code and find the following line ...

Code:
}while (!($__count < count ($tags)));
REMOVE the ! - this kills the loop as it does not satisfy the conditional (stupid) ... you should have ...

Code:
}while (($__count < count ($tags)));
... this will 'fix' the cloud display ... but there is no point - it serves no function - just random words - which is stupid!!!!!


WE have made a proper search cloud function with a little simple code and an additional SQL table entry - necessary to keep track of the most common search terms - used to generate the cloud ...

Just in case the 'real search cloud' code gets back to you know who ... we won't post it here ... let him and his team develop this themselves ... however - if you guys want help with the code - just send a PM ... we will respond (when possible - so be patient - we will) to you with the code ...

Hope this finally 'fixes' the search cloud issue once and for all ;-)

Cheers

... oops ... forgot to mention / ask if anyone has been having problems with this code ... basically does it work properly??

... we never use the wait slots ... but nevertheless wanted to check to see if the code is doing its job?

at the moment - with system enabled and configured to respond to 'usergroup based' settings ...

... we get the USER group - unable to download torrents ... the tracker reports an error ... this error is something some of you guys have been getting and literally killing yourself to find out what is causing this problem ...

The error is ...

Tracker sending invalid data: .

... ok many other things like banned client detection ... not set-up correctly will give you this message ... but most commonly - if you have the wait slot system enabled and do the following ... to reproduce the error ...

1. generate a new torrent ans start to seed it ...
2. create a new dummy user account - make sure that its a USER level account ...
3. log-in as the new user - and download the new torrent you just created ...
4. you should get the - Tracker sending invalid data: . - error reported in your bit-torrent client (use utorrent 1.7.7 or lower - it reports this error very clearly - 1.8.x also fails - but does not display the error message)

OK ... now you can see what happens - your users at the basic USER level will NOT be able to download the new torrent - for how long ... er... we don't know yet have not sat around and checked (perhaps one of you guys could do the full testing here) ...

... however is you do the testing as sysop or anything above a VIP - you will NOT get any errors - all will work fine!

... just a little warning ... that you should be aware ...

... to simply make it work for every user level ... disable the wait slot system ... in the control panel ... in the main settings section ... you will see the 10th item ...

Active Wait System Limitations?

select Disable!

the try the above test again .. it will work for ALL user levels now ...

... so to summarize ... be careful ... if you don't change the default settings - your USER level members will not be able to download torrents (the tracker will stop the download - with an error message) ...

If some of you have been using wait slot system - perhaps you can let us know if its working properly? and the waiting period for NEW members with ZERO for up / down figures ...

Hope the above info is helpful ... especially if you come across the ..

Tracker sending invalid data: .

error ...

Cheers
Reply With Quote
The Following 4 Users Say Thank You to skygate For This Useful Post:
Fynnon (20th October 2008), Krypto (22nd October 2008), SocialDirector (8th November 2008), staticxfl (22nd October 2008)