/** * @author Bhavesh Ramburn * @copyright Copyright Bhavesh Ramburn, Icelabz.net (c) 2004-2008 * @package Minerva SEO (minervaseo.com) * @version 0.4.2 Fri May 02 21:20:29 GMT 2008 21:20:29 * @link http://minervaseo.com IPBSEO (MinervaSEO) HomePage * @link http://icelabz.net Authors homepage * @link http://minervaseo.com/license/ License (please read) * **/ /**--------------------------------- * FORUM *--------------------------------*/ $forum_rule = array( '(.*?)-f([0-9]+).html$', '$forum_title-f$forum_id.html', 'showforum=$matches[2]' ); $forum_multipage_rule = array( '(.*?)-f([0-9]+)-p-([0-9]+).html$', '$forum_title-f$forum_id-p-$forum_st.html', 'showforum=$matches[2]&st=$matches[3]' ); /**--------------------------------- * TOPICS *--------------------------------*/ $topic_rule = array( '(.*?)-f([0-9]+)-(.*?)-t([0-9]+).html$', '$forum_title-f$forum_id-$topic_title-t$topic_id.html', 'showtopic=$matches[4]' ); $topic_multipage_rule = array( '(.*?)-f([0-9]+)-(.*?)-t([0-9]+)-p-([0-9]+).html$', '$forum_title-f$forum_id-$topic_title-t$topic_id-p-$topic_st.html', 'showtopic=$matches[4]&st=$matches[5]' ); $topic_view_getlastpost = array( '(.*?)-f([0-9]+)-(.*?)-t([0-9]+)-l.html$', '$forum_title-f$forum_id-$topic_title-t$topic_id-l.html', 'showtopic=$matches[4]&view=getlastpost' ); $topic_view_getnewpost = array( '(.*?)-f([0-9]+)-(.*?)-t([0-9]+)-n.html$', '$forum_title-f$forum_id-$topic_title-t$topic_id-n.html', 'showtopic=$matches[4]&view=getnewpost' ); /**--------------------------------- * post *--------------------------------*/ $post_new_rule = array( 'create-new-post-in-(.*?)-f([0-9]+).html$', 'create-new-post-in-$forum_title-f$forum_id.html', 'act=post&do=new_post&f=$matches[2]' ); $post_reply_rule = array( 'add-reply-f([0-9]+)-t([0-9]+).html$', 'add-reply-f$forum_id-t$topic_id.html', 'act=post&do=reply_post&f=$matches[1]&t=$matches[2]' ); /**--------------------------------- * MEMBERS *--------------------------------*/ $showuser_rule = array( 'member-(.*?)-([0-9]+).html$', 'member-$user_title-$user_id.html', 'showuser=$matches[2]' ); $members_rule = array( 'members.html$', 'members.html', 'act=members' ); /**--------------------------------- * CALENDAR *--------------------------------*/ $calendar_rule = array( 'calendar.html$', 'calendar.html', 'act=calendar' ); /**--------------------------------- * HELP *--------------------------------*/ $help_rule = array( 'help.html$', 'help.html', 'act=help' ); $helpitem_rule = array( 'helpfiles-h([0-9]+).html$', 'helpfiles-h$help_id.html', 'act=Help&CODE=01&HID=$matches[1]' ); /**--------------------------------- * STATS *--------------------------------*/ $leaders_rule = array( 'the-moderating-team.html$', 'the-moderating-team.html', 'act=stats&CODE=leaders' ); $stats_rule = array( 'todays-top-20-posters.html$', 'todays-top-20-posters.html', 'act=stats' ); /**--------------------------------- * SEARCH *--------------------------------*/ $search_rule = array( 'search.html$', 'search.html', 'act=search' ); $search_f_rule = array( 'search-(.*?)-f([0-9]+).html$', 'search-$forum_title-f$forum_id.html', 'act=search&f=$matches[2]' ); $search_get_new_rule = array( 'get-new-post.html$', 'get-new-post.html', 'act=search&CODE=getnew' ); $search_get_active_rule = array( 'get-active-post.html$', 'get-active-post.html', 'act=search&CODE=getactive' ); $search_get_alluser_rule = array( 'get-member-post-m([0-9]+).html$', 'get-member-post-m$user_id.html', 'act=search&CODE=getalluser&mid=$matches[1]' ); $search_get_topicuser_rule = array( 'get-member-topics-m([0-9]+).html$', 'get-member-topics-m$user_id.html', 'act=search&CODE=gettopicsuser&mid=$matches[1]' ); /**--------------------------------- * TAGS *--------------------------------*/ $showtagname_rule = array( 'showtag-(.*?).html$', 'showtag-$tag_title.html', 'automodule=minerva&CODE=showTaglist&tag=$matches[1]' ); $showtaglist_rule = array( 'showtag.html$', 'showtag.html', 'automodule=minerva&CODE=showTag' ); /**--------------------------------- * BLOG *--------------------------------*/ $blog_rule = array( 'blog.html$', 'blog.html', 'automodule=blog' ); $blogtracker_rule = array( 'blog-tracker.html$', 'blog-tracker.html', 'automodule=blog&req=ucp_tracker' ); /**--------------------------------- * GALLERY *--------------------------------*/ $gallery_rule = array( 'gallery.html$', 'gallery.html', 'act=module&module=gallery' ); $urgallery_rule = array( 'your-gallery.html$', 'your-gallery.html', 'automodule=gallery&req=albums' ); $urfavgallery_rule = array( 'your-fav-gallery.html$', 'your-fav-gallery.html', 'automodule=gallery&req=favs' ); $gallerycat_rule = array( 'gallery-(.*?)-([0-9]+).html$', 'gallery-$gallery_title-$gallery_id.html', 'automodule=gallery&req=sc&cat=$matches[2]' ); /**--------------------------------- * ONLINE *--------------------------------*/ $online_rule = array( 'online.html$', 'online.html', 'act=Online' ); $lastclick_rule = array( 'online-by-last-click.html$', 'online-by-last-click.html', 'act=Online&CODE=listall&sort_key=click' ); $lastmember_rule = array( 'online-by-member-name.html$', 'online-by-member-name.html', 'act=Online&CODE=listall&sort_key=name&sort_order=asc&show_mem=reg' ); /**--------------------------------- * USERCP *--------------------------------*/ $mycontrol_rule = array( 'my-control.html$', 'my-control.html', 'act=UserCP&CODE=00' ); $mycontrolviewtopic_rule = array( 'view-topics-subscription.html$', 'view-topics-subscription.html', 'act=UserCP&CODE=26' ); $mycontrolviewforum_rule = array( 'view-forum-subscription.html$', 'view-forum-subscription.html', 'act=UserCP&CODE=50' ); $message_inbox_rule = array( 'message-inbox.html$', 'message-inbox.html', 'act=Msg&CODE=01&VID=in' ); $message_sent_rule = array( 'message-sent.html$', 'message-sent.html', 'act=Msg&CODE=01&VID=sent' ); $message_save_rule = array( 'message-saved.html$', 'message-saved.html', 'act=Msg&CODE=20' ); $subscribe_to_forum_rule = array( 'subscribe-to-f([0-9]+).html$', 'subscribe-to-f$forum_id.html', 'act=usercp&CODE=start_subs&method=forum&fid=$matches[1]' ); $subscribe_to_topic_rule = array( 'subscribe-to-topic([0-9]+).html$', 'subscribe-to-topic$topic_id.html', 'act=usercp&CODE=start_subs&method=topic&tid=$matches[1]' ); /**--------------------------------- * USERCP MORE *--------------------------------*/ $usercp_compose_rule = array( 'compose-new-pm.html$', 'compose-new-pm.html', 'act=Msg&CODE=04' ); $usercp_empty_pm_rule = array( 'empty-pm-folder.html$', 'empty-pm-folder.html', 'act=Msg&CODE=delete' ); $usercp_edit_storage_rule = array( 'edit-storage-folder.html$', 'edit-storage-folder.html', 'act=Msg&CODE=07' ); $usercp_pm_block_list_rule = array( 'pm-block-list.html$', 'pm-block-list.html', 'act=Msg&CODE=02' ); $usercp_archive_pm_rule = array( 'archive-pm.html$', 'archive-pm.html', 'act=Msg&CODE=14' ); $usercp_pm_tracker_rule = array( 'message-tracker.html$', 'message-tracker.html', 'act=Msg&CODE=30' ); $usercp_edit_profile_rule = array( 'edit-profile.html$', 'edit-profile.html', 'act=Usercp&CODE=01' ); $usercp_edit_profile_portal_rule = array( 'edit-portal-profile.html$', 'edit-portal-profile.html', 'act=Usercp&CODE=personal_portal_form' ); $usercp_edit_about_rule = array( 'edit-about-me-page.html$', 'edit-about-me-page.html', 'act=Usercp&CODE=about_me_form' ); $usercp_edit_signature_rule = array( 'edit-signature.html$', 'edit-signature.html', 'act=Usercp&CODE=22' ); $usercp_edit_avatar_rule = array( 'edit-avatar.html$', 'edit-avatar.html', 'act=usercp&CODE=24' ); $usercp_change_photo_rule = array( 'change-personal-photo.html$', 'change-personal-photo.html', 'act=usercp&CODE=photo' ); $usercp_change_display_rule = array( 'change-display-name.html$', 'change-display-name.html', 'act=usercp&CODE=dname_start' ); $usercp_purchase_subs_rule = array( 'purchase-paid-subscription.html$', 'purchase-paid-subscription.html', 'act=paysubs&CODE=index' ); $usercp_manage_attachments_rule = array( 'manage-your-attachments.html$', 'manage-your-attachments.html', 'act=usercp&CODE=attach' ); $usercp_manage_friends_rule = array( 'manage-your-friends-list.html$', 'manage-your-friends-list.html', 'act=usercp&CODE=manage_friends' ); $usercp_manage_ignored_rule = array( 'manage-ignored-users.html$', 'manage-ignored-users.html', 'act=usercp&CODE=ignore' ); $usercp_email_settings_rule = array( 'email-settings.html$', 'email-settings.html', 'act=usercp&CODE=02' ); $usercp_board_settings_rule = array( 'board-settings.html$', 'board-settings.html', 'act=usercp&CODE=04' ); $usercp_change_email_rule = array( 'change-email-address.html$', 'change-email-address.html', 'act=usercp&CODE=08' ); $usercp_change_password_rule = array( 'change-password.html$', 'change-password.html', 'act=usercp&CODE=28' ); $usercp_ip_lookup_rule = array( 'ip-lookup.html$', 'ip-lookup.html', 'act=usercp&CODE=iptool' ); $usercp_member_lookup_rule = array( 'member-lookup.html$', 'member-lookup.html', 'act=usercp&CODE=memtool' ); $usercp_manage_announcement_rule = array( 'manage-announcement.html$', 'manage-announcement.html', 'act=usercp&CODE=announce_start' ); /**--------------------------------- * LOGIN *--------------------------------*/ $login_mark_read_rule = array( 'mark-all-posts-as-read.html$', 'mark-all-posts-as-read.html', 'act=Login&CODE=05' ); $login_delete_cookie_rule = array( 'delete-cookies-set-by-this-board.html$', 'delete-cookies-set-by-this-board.html', 'act=Login&CODE=06&k=$md5_check' ); $login_logout_rule = array( 'logout.html$', 'logout.html', 'act=Login&CODE=03&k=$md5_check' ); $login_login_rule = array( 'login.html$', 'login.html', 'act=Login&CODE=00' ); $login_mark_forum_read_rule = array( 'mark-forum-as-read-and-return-fid([0-9]+)-from([0-9]+).html$', 'mark-forum-as-read-and-return-fid$forum_id-from$from_forum_id.html', 'act=Login&CODE=04&f=$matches[1]&fromforum=$matches[2]' ); $list_of_rules['forum_rule'] = $forum_rule; $list_of_rules['forum_multipage_rule'] = $forum_multipage_rule; $list_of_rules['topic_rule'] = $topic_rule; $list_of_rules['topic_multipage_rule'] = $topic_multipage_rule; $list_of_rules['topic_view_getlastpost'] = $topic_view_getlastpost; $list_of_rules['topic_view_getnewpost'] = $topic_view_getnewpost; $list_of_rules['post_new_rule'] = $post_new_rule; $list_of_rules['post_reply_rule'] = $post_reply_rule; $list_of_rules['showuser_rule'] = $showuser_rule; $list_of_rules['members_rule'] = $members_rule; $list_of_rules['calendar_rule'] = $calendar_rule; $list_of_rules['help_rule'] = $help_rule; $list_of_rules['helpitem_rule'] = $helpitem_rule; $list_of_rules['leaders_rule'] = $leaders_rule; $list_of_rules['stats_rule'] = $stats_rule; $list_of_rules['search_rule'] = $search_rule; $list_of_rules['search_f_rule'] = $search_f_rule; $list_of_rules['search_get_new_rule'] = $search_get_new_rule; $list_of_rules['search_get_active_rule'] = $search_get_active_rule; $list_of_rules['search_get_alluser_rule'] = $search_get_alluser_rule; $list_of_rules['search_get_topicuser_rule'] = $search_get_topicuser_rule; $list_of_rules['showtagname_rule'] = $showtagname_rule; $list_of_rules['showtaglist_rule'] = $showtaglist_rule; $list_of_rules['blog_rule'] = $blog_rule; $list_of_rules['blogtracker_rule'] = $blogtracker_rule; $list_of_rules['gallery_rule'] = $gallery_rule; $list_of_rules['urgallery_rule'] = $urgallery_rule; $list_of_rules['urfavgallery_rule'] = $urfavgallery_rule; $list_of_rules['gallerycat_rule'] = $gallerycat_rule; $list_of_rules['online_rule'] = $online_rule; $list_of_rules['lastclick_rule'] = $lastclick_rule; $list_of_rules['lastmember_rule'] = $lastmember_rule; $list_of_rules['mycontrol_rule'] = $mycontrol_rule; $list_of_rules['mycontrolviewtopic_rule'] = $mycontrolviewtopic_rule; $list_of_rules['mycontrolviewforum_rule'] = $mycontrolviewforum_rule; $list_of_rules['message_inbox_rule'] = $message_inbox_rule; $list_of_rules['message_sent_rule'] = $message_sent_rule; $list_of_rules['message_save_rule'] = $message_save_rule; $list_of_rules['subscribe_to_forum_rule'] = $subscribe_to_forum_rule; $list_of_rules['subscribe_to_topic_rule'] = $subscribe_to_topic_rule; $list_of_rules['usercp_compose_rule'] = $usercp_compose_rule; $list_of_rules['usercp_empty_pm_rule'] = $usercp_empty_pm_rule; $list_of_rules['usercp_edit_storage_rule'] = $usercp_edit_storage_rule; $list_of_rules['usercp_pm_block_list_rule'] = $usercp_pm_block_list_rule; $list_of_rules['usercp_archive_pm_rule'] = $usercp_archive_pm_rule; $list_of_rules['usercp_pm_tracker_rule'] = $usercp_pm_tracker_rule; $list_of_rules['usercp_edit_profile_rule'] = $usercp_edit_profile_rule; $list_of_rules['usercp_edit_profile_portal_rule'] = $usercp_edit_profile_portal_rule; $list_of_rules['usercp_edit_about_rule'] = $usercp_edit_about_rule; $list_of_rules['usercp_edit_signature_rule'] = $usercp_edit_signature_rule; $list_of_rules['usercp_edit_avatar_rule'] = $usercp_edit_avatar_rule; $list_of_rules['usercp_change_photo_rule'] = $usercp_change_photo_rule; $list_of_rules['usercp_change_display_rule'] = $usercp_change_display_rule; $list_of_rules['usercp_purchase_subs_rule'] = $usercp_purchase_subs_rule; $list_of_rules['usercp_manage_attachments_rule'] = $usercp_manage_attachments_rule; $list_of_rules['usercp_manage_friends_rule'] = $usercp_manage_friends_rule; $list_of_rules['usercp_manage_ignored_rule'] = $usercp_manage_ignored_rule; $list_of_rules['usercp_email_settings_rule'] = $usercp_email_settings_rule; $list_of_rules['usercp_board_settings_rule'] = $usercp_board_settings_rule; $list_of_rules['usercp_change_email_rule'] = $usercp_change_email_rule; $list_of_rules['usercp_change_password_rule'] = $usercp_change_password_rule; $list_of_rules['usercp_ip_lookup_rule'] = $usercp_ip_lookup_rule; $list_of_rules['usercp_member_lookup_rule'] = $usercp_member_lookup_rule; $list_of_rules['usercp_manage_announcement_rule'] = $usercp_manage_announcement_rule; $list_of_rules['login_mark_read_rule'] = $login_mark_read_rule; $list_of_rules['login_delete_cookie_rule'] = $login_delete_cookie_rule; $list_of_rules['login_logout_rule'] = $login_logout_rule; $list_of_rules['login_login_rule'] = $login_login_rule; $list_of_rules['login_mark_forum_read_rule'] = $login_mark_forum_read_rule;