My Assistant
Logged in as: OPPZeroCool ( Log Out )
My Controls · View New Posts · My Assistant · My Friends · 1 New Messages
If you would like to advertise your Hosting, Services or Products on Filesoup, please contact Geeker for a quote.
Torrent Per Page and Sub Pages, T-Xore |
May 21 2007, 04:40 AM
Post #1
| |
Spam Soup Group: Contributor Posts: 120 Joined: 22-September 05 Member No.: 313,949 |
as to limit the number of torrents
that it will appear in a page and to create sub
pages This post has been edited by guibean: May 21 2007, 04:41 AM Attached image(s)
-------------------- GIGANOVA.org T-Xore Mods in Test http://teste.dannlopes.cjb.net/ |
| |
May 21 2007, 10:43 AM
Post #2
| |
Spam Soup Group: BT Community Leader Posts: 374 Joined: 7-July 05 Member No.: 292,450 |
And? What do you need to know? |
| |
May 21 2007, 03:24 PM
Post #3
| |
Spam Soup Group: Contributor Posts: 120 Joined: 22-September 05 Member No.: 313,949 |
as I limit the number of torrents for
page and as I create sub pages with the continuation of the others
torrents |
| |
May 21 2007, 03:58 PM
Post #4
| |
Spam Soup Group: BT Community Leader Posts: 1,158 Joined: 30-July 04 Member No.: 160,009 |
-------------------- Need a coder ?
Check http://www.borget.info/
|
| |
May 21 2007, 04:55 PM
Post #5
| |
Spam Soup Group: Contributor Posts: 120 Joined: 22-September 05 Member No.: 313,949 |
in http://test.nova9.org/ sub pages does not possess as
meganova or mininova This post has been edited by Geeker: May 24 2007, 12:07 AM |
| |
May 21 2007, 09:37 PM
Post #6
| |
Spam Soup Group: BT Community Leader Posts: 801 Joined: 11-August 04 Member No.: 170,409 |
reaearch pagination thats the proper
term for it and u should be able to do it pretty easily. -------------------- CODE9 ADMIN Check out Code9-Group.org for the best stuff around, NOW running my IPBTracker (only IPB forum with a passkey system), membership now open. IPBTracker (Invision 2.1.* intergrated forum tracker using XBT) going final in nxt release, IPBTracker 2.0 begins development for IPB 2.2 soon. Check out IBITZY at my IPBTracker site, the best torrent spider around. |
| |
May 21 2007, 11:20 PM
Post #7
| |
Spam Soup Group: Contributor Posts: 120 Joined: 22-September 05 Member No.: 313,949 |
reaearch pagination thats the proper
term for it and u should be able to do it pretty
easily. Page Code CODE
<? require_once "config.php"; connect ($dbhost, $dbuser, $dbpass, $database); $sort = tsort ($_GET['sort']); $result = mysql_query("SELECT * FROM torrents LEFT JOIN categories ON torrents.subcat = categories.subid WHERE subid = '".strip_tags(trim($_GET['id']))."' $sort") or die (mysql_error()); $result_subcatname = mysql_query("SELECT DISTINCT name,catid,subname,subid FROM categories WHERE subid='".strip_tags(trim($_GET['id']))."'") or die (mysql_error()); $count = mysql_num_rows($result); $namerow = mysql_fetch_row($result_subcatname); // Non htmlentities are allowed in title (converted automaticly by function stheader ('Sub categoria : '.$namerow[0].' > '.$namerow[2]); if ($count == 0){ echo '<h1>No torrents where found</h1>'; footer(); die; } echo '<div id="bread-navi"><a href="index.php">Home</a> » <a href="cat.php?id='.$namerow[1].'">'.$namerow[0].'</a> » <a href="subcat.php?id='.$namerow[3].'">'.$namerow[2].'</a></div>'; echo '<h1>'.$count.' torrents in '.$namerow[2].'</h1>'; echo '<table class="tor" width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <th width="15%"><a href="subcat.php?id='.strip_tags(trim($_GET['id'])).'&sort=1">Data</a></th> <th><a href="subcat.php?id='.strip_tags(trim($_GET['id'])).'&sort=3">Nome</a></th> <th width="9%"><a href="subcat.php?id='.strip_tags(trim($_GET['id'])).'&sort=4">Tamanho</a></th> <th width="4%"><a href="subcat.php?id='.strip_tags(trim($_GET['id'])).'&sort=5">UL</a></th> <th width="4%"><a href="subcat.php?id='.strip_tags(trim($_GET['id'])).'&sort=6">DL</a></th> <th width="5%">Saúde</th> </tr>'; while ($row = mysql_fetch_array($result)){ extract($row); echo '<tr>'; echo '<td>'.substr($added,-0).'</td>'; // limitar caracteres no nome do torrent $sub = substr($torrentname,0, 65); // colocar ... quando o arquivo possuir mais que 50 caracteres $strlen_var = strlen($torrentname); if ($strlen_var >= 65) { echo '<td><a href="download.php?id='.$hash.'"><img src="images/d.gif" title="Fazer download do torrent" align="absmiddle"/></a> '.regicon($registration,$tracker).' '.desc($description).'<a href="details.php?id='.$id.'" title="'.$torrentname.'">'.$sub.'...</a></td>'; } else { echo '<td><a href="download.php?id='.$hash.'"><img src="images/d.gif" title="Fazer download do torrent" align="absmiddle"/></a> '.regicon($registration,$tracker).' '.desc($description).'<a href="details.php?id='.$id.'">'.$sub.'</a></td>'; } echo '<td align="right">'.torsize($size).'</td>'; echo '<td class="s">'.getpeer($seeds).'</td>'; echo '<td class="p">'.getpeer($peers).'</td>'; echo '<td width="48" align="center"><img src="images/h'.health($peers, $seeds).'.png"></td>'; echo '</tr>'; } echo '</table>'; footer(); ?> |
| |
May 23 2007, 01:05 PM
Post #8
| |
Spam Soup Group: BT Community Leader Posts: 374 Joined: 7-July 05 Member No.: 292,450 |
http://www.google.com/search?hl=en&q=next+previous+page+script http://www.php-mysql-tutorial.com/php-mysql-paging.php You're on the wrong forum here, go to a other forum where they talk about MAKING A WEBSITE. Stop making topics, that aint nothing to do with Tracker Software. |
| |
May 23 2007, 04:47 PM
Post #9
| |
Vegetable Group: Member Posts: 41 Joined: 7-May 07 Member No.: 452,851 |
http://www.google.com/search?hl=en&q=next+previous+page+script http://www.php-mysql-tutorial.com/php-mysql-paging.php You're on the wrong forum here, go to a other forum where they talk about MAKING A WEBSITE. Stop making topics, that aint nothing to do with Tracker Software. Agreed!!! There's been more than a few totally out of place posts here recently. If people need to learn basics about web programming/design go to a web site/forum that's about umm... basic web programming/design. Seems like this forum is going downhill due to nonsense It would appear many of the good and dedicated open source torrent related coders have been staying away from this forum... and it's because of all the ridiculousness... such a shame. I'm going to have to release all my code and especially my crawlers on a per request basis from now on because certain individuals feel like ruining stuff for the rest of us It's always discouraging (expected though I guess) when people take comments out of your own code and then claim it was code they wrote 100% by themselves. Bunch of disrespectful thieves on these forums. This post has been edited by juiced: May 23 2007, 04:51 PM |
| |
May 23 2007, 05:14 PM
Post #10
| |
Spam Soup Group: Admin Posts: 1,377 Joined: 16-January 04 From: Florida Member No.: 61,222 |
Agreed!!! There's been more than a few totally out of place posts here recently. If people need to learn basics about web programming/design go to a web site/forum that's about umm... basic web programming/design. Seems like this forum is going downhill due to nonsense It would appear many of the good and dedicated open source torrent related coders have been staying away from this forum... and it's because of all the ridiculousness... such a shame. I'm going to have to release all my code and especially my crawlers on a per request basis from now on because certain individuals feel like ruining stuff for the rest of us It's always discouraging (expected though I guess) when people take comments out of your own code and then claim it was code they wrote 100% by themselves. Bunch of disrespectful thieves on these forums. You know I don't totally agree with you on this. Considering the fact that while it wasn't actually put in a question format, the gest of it was him wanting to know how to add pagination to a Torrent indexer would seem to me to be a fitting topic for this section as opposed to a few that I have deleted! Also consider the fact that there are some people that do not know the coding of Trackers, indexer's or crawlers so how are they going to know where to place the code if they do not ask questions? While I do agree that some things people should do a search for before asking I think that you are being overly harsh and actually I don't see that forum is going down hill at all, perhaps if people would spend a bit more time actually helping someone with a legitimate question instead of being curt it wouldn't be so discouraging to others. And may I also suggest that if someone feels that something is out of place in this section that they bring it to someones attention instead of just making comments in the thread itself as this serves no purpose and just alienates and can also scare off people who are trying to learn things. As for people taking code out of someone elses and calling it there own that is really a sorry state of affairs however how does that comment relate to this thread? Again if any of you feel that a post is not appropriate for this section then please by all means PM or report the post and it will be taken care of. I have been on this forum for a number of years and I still see some of the same good and great coders here that have been here for years. You have been here for how long now? How can you make that statment that you did? -------------------- Mini Tracker Public Announce URL: http://hustlers-place.com/sbt/announce.php
Hustler's Place Lite Tracker: http://hustlers-place2.com/ttlite/index.php
Hustler's Place Crawler Using Pktorrents: http://hustlers-place2.com/crawler/index.php
Hustler's Place BT Lister: http://hustlers-place.com/mybit/index.php
(New) Hustler's Place Topsites Site: http://hustlers-place.com/topsite/index.php
Hustler's Place VIPTracker: http://hustlers-place2.com/viptracker/index.php This one
requires
you to be an active member of our forums!
|
| |
May 23 2007, 05:35 PM
Post #11
| |
Vegetable Group: Member Posts: 41 Joined: 7-May 07 Member No.: 452,851 |
QUOTE
You know I don't totally agree with you
on this. Considering the fact that while it wasn't actually put in a
question format, the gest of it was him wanting to know how to add
pagination to a Torrent indexer would seem to me to be a fitting topic for
this section as opposed to a few that I have deleted! Umm... any web site on the entire internet that displays some sort of results will need to have a way of displaying only a specified amount of them/use pagination. Just because someone wants to do that with a torrent indexer doesn't mean it's appropriate to post here in my opinion. I mean come on, there are literally thousands of other places on the internet where this information is already readily available. Why should they come here and take up space with it? Seems just flat out nonsensical to me. If you want information you can find by doing a simple search, why would you ask other people to give you answers? That to me, is lazy and disrespectful and promotes bad traits in people. I made the out of place comment about people thieving code here because I found out about it right before, and I was just frustrated. As far as things being out of place on these forums... please delete the posts related to css sources. They have nothing to do with this forum and are flat out amazingly stupid. This post has been edited by juiced: May 23 2007, 05:37 PM |
| |
May 23 2007, 05:46 PM
Post #12
| |
Spam Soup Group: Admin Posts: 1,377 Joined: 16-January 04 From: Florida Member No.: 61,222 |
Again, I don't totally agree with you
on this point, if it relates to any Torrent indexer, tracker, crawler and
can be considered an addon I don't see the harm in helping that person.
Again, I do agreee that a good portion of things can be searched but again
to not help someone is more of a put off and it is much easier to tell
someone to go search then it is to actually take your time and be patient
and help someone! And again, not everyone has a lot of coding experience etc, including myself, I am not a coder, I do try to do things on my own however I want to feel comfortable with being able to ask a question here without someone saying go here and find it for yourself, that is just discourteous in my opinion. Now as for the CSS issues, I have already before your reply here deleted 2 of those as well as another thread a few days ago! And I will state this one more time, if you see a thread you think is not appropriate or out of line PM or Report it, don't just post it in a thread saying to remove it. Umm... any web site on the entire
internet that displays some sort of results will need to have a way of
displaying only a specified amount of them/use pagination. Just because
someone wants to do that with a torrent indexer doesn't mean it's
appropriate to post here in my opinion. I mean come on, there are
literally thousands of other places on the internet where this information
is already readily available. Why should they come here and take up space
with it? Seems just flat out nonsensical to me. If you want information
you can find by doing a simple search, why would you ask other people to
give you answers? That to me, is lazy and disrespectful and promotes bad
traits in people. I made the out of place comment about people thieving code here because I found out about it right before, and I was just frustrated. As far as things being out of place on these forums... please delete the posts related to css sources. They have nothing to do with this forum and are flat out amazingly stupid. |
| |
May 23 2007, 11:12 PM
Post #13
| |
Vegetable Group: Member Posts: 41 Joined: 7-May 07 Member No.: 452,851 |
QUOTE
And again, not everyone has a lot of
coding experience etc, including myself, I am not a coder, I do try to do
things on my own however I want to feel comfortable with being able to ask
a question here without someone saying go here and find it for yourself,
that is just discourteous in my opinion. Ask whatever you want providing it's not something you can easily get the answer to by doing a google search on your own in less than 30 seconds... such as pagination. It's not "discourteous" to tell someone to look something up when they wouldn't have to ask their question if they looked it up in the first place. Thousands upon thousands upon thousands of internet resources with information already answering your questions in them in better than asking on filesoup. Although, maybe i'm just insane, and i'm wrong to think using the easiest, most efficient method is good. |
| |
May 23 2007, 11:18 PM
Post #14
| |
DJ Taktikz / STR Records Group: Member Posts: 62 Joined: 7-September 06 Member No.: 411,795 System Specs: (show/hide) 64bit x86 based
AMD 'san diego' 3700+ anthlon processor (2.41G), nforce4-a754 board, 2gb
ram, SATA 200gb HD + 350gb HD, 10MB line, nforce-anux 1.0 OS (my buddies
version of linux). same cpu, same board, same ram, SATA 200gb, usb 200gb, windows xpsp2. BAD MUTHAS! |
been a long time since i've used
pagination, i'll try to come up with something on the next ak nova
release. if anything it might end up being an ajax tabs like
feature...we'll see
-------------------- may 15, 2007 releases - ak nova 1.4 (snapshot), ak tracker
1.0.1 (snapshot). t-xore 0.4 preconfigured with ibitzy, registration captcha (ive seen it on 18 sites so far!), admin search, user search, and tons of other stuff by me and various other filesoup members! bNova stylesheet for ak nova 1.4 look for ak nova 1.7 soon! lots of features like forums, dhtml/ajax, two mass scrapes, nicer admin area, plus a ton of other stuff!! |
| |
May 24 2007, 02:54 AM
Post #15
| |
Spam Soup Group: BT Community Leader Posts: 801 Joined: 11-August 04 Member No.: 170,409 |
Ask whatever you want providing it's not
something you can easily get the answer to by doing a google search on
your own in less than 30 seconds... such as pagination. It's not
"discourteous" to tell someone to look something up when they wouldn't
have to ask their question if they looked it up in the first place.
Thousands upon thousands upon thousands of internet resources with
information already answering your questions in them in better than asking
on filesoup. Although, maybe i'm just insane, and i'm wrong to think using
the easiest, most efficient method is good. just pointing out that maybe he didn't know it was called pagination that is why i pointed out and i'll make it known that the term wasn't used in this thread till i pointed it out. Knowing what you want to do and the professional term for it can be two different things. In my honest opinion i have no objection with the person who made this thread and thats why i posted a reply. I do however agree that threads in this forum can get messy but not in the form you mentioned i refer to people asking for hosting, thats one thing that REALLY gets on my nerves, i've already spoken to snookered about it and he's promised to talk to geeker about it, he prolly forgot so i'll chase him up again . But would like to see a seperate forum for host requests i truely believe that subject has no place in this forum. People asking for coding relating to a existing script and that being a tracker, indexer, crawler or site i feel is fine in this forum. |
| |
Lo-Fi Version | 0.2295 sec -- 13 queries
GZIP Enabled Time is now: 28th May 2007 - 07:24 PM |