Ban list MOD [Sort by name...)

phpBB2 SEO Advanced mod Rewrite support forum.
This mods performs URL rewriting for phpBB, injecting categories, forums and topic titles in their URLs.

Moderator: Moderators


Ban list MOD [Sort by name...)

Postby Autinhyeu » Fri Oct 10, 2008 3:04 pm

Dear ;)
i use "Ban list MOD" ( http://www.phpbb.com/community/viewtopi ... &t=1214735 ) but i can view list ban with "members name" or "Ban start date" or "Ban end date"...
You can view it at here: http://www.autinhyeu.com/ban_list.php
Please click to view sort by name, by start date or by end date.
I hope you can understand it.
Thanks you very much for all :)
Regards.
P/S: Sorry my English is not good :)
Sorry, i mistake, i use Advanced SEO URL :|
Autinhyeu
PR0
PR0
 
Posts: 56
Joined: Sat Aug 09, 2008 8:33 am

Advertisement

Postby dcz » Sun Oct 12, 2008 7:55 am

In ban_list.php, try to add :

Code: Select all
$seo_delim = strpos($sort_url, '?') !== false ? '&' : '?';


after :
Code: Select all
$sort_url = append_sid("{$phpbb_root_path}ban_list.$phpEx", implode('&', $sort_params));


And then replace :

Code: Select all
'&sk=a&sd='


with :
Code: Select all
$seo_delim . 'sk=a&sd='


three times, should do it ;)

++
dcz
Administrateur - Site Admin
Administrateur - Site Admin
 
Posts: 17678
Joined: Fri Apr 28, 2006 9:03 pm

Postby Autinhyeu » Sun Oct 12, 2008 10:11 am

Thanks, it's work with sort by name, but dont work with sort by start date and end date...
Help me again :)
Thanks you.
Autinhyeu
PR0
PR0
 
Posts: 56
Joined: Sat Aug 09, 2008 8:33 am

Postby dcz » Sun Oct 12, 2008 3:04 pm

Have you performed the last code change three times as I told you ?
dcz
Administrateur - Site Admin
Administrateur - Site Admin
 
Posts: 17678
Joined: Fri Apr 28, 2006 9:03 pm

Postby Autinhyeu » Sun Oct 12, 2008 7:10 pm

Sorry, i have mistake :oops:
It working ;)
Thanks you.
Autinhyeu
PR0
PR0
 
Posts: 56
Joined: Sat Aug 09, 2008 8:33 am


Return to phpBB2 Advanced mod Rewrite

Who is online

Users browsing this forum: No registered users and 1 guest