2012-02-03, 06:46 AM
2012-02-03, 02:14 PM
you can add a rewrite rule in your .htaccess
Thats just a template for it you need more code after "RewruiteRule"
RewriteEngine on
# Some hosts require RewriteBase to make RewriteRules work.
RewriteBase /
RewriteRule
Thats just a template for it you need more code after "RewruiteRule"
2012-02-03, 02:20 PM
Edit ./inc/init.php
Replace:
with:
Also edit .htaccess and replace each instance of .html with .irc
Replace:
define('FORUM_URL', "forum-{fid}.html");
define('FORUM_URL_PAGED', "forum-{fid}-page-{page}.html");
define('THREAD_URL', "thread-{tid}.html");
define('THREAD_URL_PAGED', "thread-{tid}-page-{page}.html");
define('THREAD_URL_ACTION', 'thread-{tid}-{action}.html');
define('THREAD_URL_POST', 'thread-{tid}-post-{pid}.html');
define('POST_URL', "post-{pid}.html");
define('PROFILE_URL', "user-{uid}.html");
define('ANNOUNCEMENT_URL', "announcement-{aid}.html");
define('CALENDAR_URL', "calendar-{calendar}.html");
define('CALENDAR_URL_YEAR', 'calendar-{calendar}-year-{year}.html');
define('CALENDAR_URL_MONTH', 'calendar-{calendar}-year-{year}-month-{month}.html');
define('CALENDAR_URL_DAY', 'calendar-{calendar}-year-{year}-month-{month}-day-{day}.html');
define('CALENDAR_URL_WEEK', 'calendar-{calendar}-week-{week}.html');
define('EVENT_URL', "event-{eid}.html");
define('INDEX_URL', "index.php");
with:
define('FORUM_URL', "forum-{fid}.irc");
define('FORUM_URL_PAGED', "forum-{fid}-page-{page}.irc");
define('THREAD_URL', "thread-{tid}.irc");
define('THREAD_URL_PAGED', "thread-{tid}-page-{page}.irc");
define('THREAD_URL_ACTION', 'thread-{tid}-{action}.irc');
define('THREAD_URL_POST', 'thread-{tid}-post-{pid}.irc');
define('POST_URL', "post-{pid}.irc");
define('PROFILE_URL', "user-{uid}.irc");
define('ANNOUNCEMENT_URL', "announcement-{aid}.irc");
define('CALENDAR_URL', "calendar-{calendar}.irc");
define('CALENDAR_URL_YEAR', 'calendar-{calendar}-year-{year}.irc');
define('CALENDAR_URL_MONTH', 'calendar-{calendar}-year-{year}-month-{month}.irc');
define('CALENDAR_URL_DAY', 'calendar-{calendar}-year-{year}-month-{month}-day-{day}.irc');
define('CALENDAR_URL_WEEK', 'calendar-{calendar}-week-{week}.irc');
define('EVENT_URL', "event-{eid}.irc");
define('INDEX_URL', "index.php");
Also edit .htaccess and replace each instance of .html with .irc