TECK
09-29-2002, 10:11 PM
ok the chopped url for forums is:
forumdisplay.php?forumid=10
my goal is to replace the ".php?forumid=" with a "/" so i can spider the forums. i got it do far like that:
index.php
- forum 1
- forum 2...
when you click on the list of forums, it will show me the list of threads contained in that forum (only the title and the link):
- title 1
- title 2....
when i click on the thread link, it displays the message and the title, with a link to the actual thread.
my problem is that it uses the classic links:
forumdisplay.php?forumid=2 and
showthread.php?threadid=5
so if i create a function that will replace the ".php?forumid=" with a slash (but when i click on it to still recognise that is the actual forumdisplay.php link, that will solve my problem.
i looked at overgrow's hack and i think is not a reliable piece of code. security is non existant, connection information is included on the class file, etc. i will not use it. but his idea is great. it just needs to be simplified.
i find his system complex, to split it over weeks etc. there is no need for that. just keeping the actual forums/threads order will do just fine.
same thing with fastforward's hack. i know it can be done only using vBulletin...
let me know if you have something in mind. the ugliest part (the threads indexer) is done. all i have to do is use somehow the $REQUEST_URI into it to replace the pieces of code listed above.
thanks for helping.
forumdisplay.php?forumid=10
my goal is to replace the ".php?forumid=" with a "/" so i can spider the forums. i got it do far like that:
index.php
- forum 1
- forum 2...
when you click on the list of forums, it will show me the list of threads contained in that forum (only the title and the link):
- title 1
- title 2....
when i click on the thread link, it displays the message and the title, with a link to the actual thread.
my problem is that it uses the classic links:
forumdisplay.php?forumid=2 and
showthread.php?threadid=5
so if i create a function that will replace the ".php?forumid=" with a slash (but when i click on it to still recognise that is the actual forumdisplay.php link, that will solve my problem.
i looked at overgrow's hack and i think is not a reliable piece of code. security is non existant, connection information is included on the class file, etc. i will not use it. but his idea is great. it just needs to be simplified.
i find his system complex, to split it over weeks etc. there is no need for that. just keeping the actual forums/threads order will do just fine.
same thing with fastforward's hack. i know it can be done only using vBulletin...
let me know if you have something in mind. the ugliest part (the threads indexer) is done. all i have to do is use somehow the $REQUEST_URI into it to replace the pieces of code listed above.
thanks for helping.