|
#1
|
|||
|
|||
Help SearchRewrite & List Torrent
1、I have enable SearchRewrite, but the url display like this: details.php?id=11 ,how to change it like:11-ie-cache-fix.html ? or ie-cache-fix.html ?
2、why do not display seeds o and leechers 0 torrents? what shoul i do let them display? |
#2
|
||||
|
||||
in include/rewrite.php is where it changes all the links.
you well also need to fix rewrite.htaccess
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent Do not ask me to make a mod for any other source Do not Ask me to setup your site. I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum My Current Demo is here http://demo.btmanager.org/ |
#3
|
|||
|
|||
Quote:
PHP Code:
|
#4
|
||||
|
||||
that is a search and replace system it search's for a text and replaces them with a defined text like so
search for http://yoursite/index.php replace with http://yoursite/home and again search for details.php?id=([0-9]*) (this ([0-9]*) denotes to look for only a number) replace with (found number)-ie-cache-fix.html example PHP Code:
you need to set the rule Code:
RewriteRule ^([0-9]*)-ie-cache-fix.html details.php?id=$1
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent Do not ask me to make a mod for any other source Do not Ask me to setup your site. I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum My Current Demo is here http://demo.btmanager.org/ |
#5
|
|||
|
|||
Quote:
I know what you mean, I need that if I want to Torrent Name appears as the end of the URL. For example: My Torrent name is: No Strings Attached 2011, my website is http://www.yoursite.com , Then the URL will now show http://www.yoursite.com/details.php?id=1, I want to show the URL http://www.yoursite.com/No-Strings-Attached-2011.html, how to change it? Other pages are similar to the above situation. Now,the URL shown by default. In addition: It seems that the default only recognizes the first Tracker, how can it recognize Additional Tracker, and display the Trackers and the Additional Tracker's seeds and leechers |
Tags |
list , searchrewrite , torrent |
|
|