vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   What are you vBSEO Custom Rewrites? (https://vborg.vbsupport.ru/showthread.php?t=165347)

cfitzarl 12-17-2007 01:05 AM

What are you vBSEO Custom Rewrites?
 
Just wondering what you all have for rewrites on your forum :) . I spent a while trying to set mine up :D . Here are mine:

'showgroups\.php' => 'staff'
'faq\.php => 'faq'
'usercp\.php' => 'usercp/'
'subscription\.php\?do=viewsubscription' => 'subs/view'
'subscription\.php\?do=editfolders' => 'subs/edit'
'online\.php' => 'online'
'register\.php' => 'register/'
'profile\.php\?do=editprofile' => 'profile/edit'
'profile\.php\?do=editsignature' => 'profile/sig'
'profile\.php\?do=editoptions' => 'profile/options'
'profile\.php\?do=editavatar' => 'profile/avatar'
'profile\.php\?do=editpassword' => 'profile/password'
'profile\.php\?do=editprofilepic' => 'profile/pic'
'newthread\.php\?do=newthread&f=(\d+)' => 'thread/new/$1'
'newreply\.php\?do=newreply&noquote=1&p=(\d+)' => 'post/add/$1'
'faq\.php' => 'faq'
'calendar\.php$' => 'calendar/'
'^calendar\.php\?c=1$' => 'calendar/'
'^calendar\.php\?(c=1&)?do=(display.+?)(&year=)?$' => 'calendar/$2/[NF]'
'calendar\.php\?(c=1&)?nojs=1' => 'calendar/nojs/[NF]'
'calendar\.php\?(c=1&)?do=(display.+?)&nojs=1' => 'calendar/$2/nojs/[NF]'
'calendar\.php\?(c=1&)?week=(\d+)&nojs=1' => 'calendar/week-$2/nojs/[NF]'
'calendar\.php\?(c=1&)?month=(\d+)&year=(\d+)&nojs =1' => 'calendar/$3/$2/nojs/[NF]'
'^calendar\.php\?do=getinfo&(c=1&)?day=(\d+)-(\d+)-(\d+)(&c=1)?$' => 'calendar/$2/$3/$4/'
'^calendar\.php\?do=getinfo&e=(\d+)(&day=[0-9\-]+)?(&c=1)?$' => 'calendar/event-$1/'
'^calendar\.php\?(s=&)?(c=1&)?(week=&)?month=(\d+) &year=(\d+)(&c=1)?(&do=displaymonth)?$' => 'calendar/$5/$4/'
'^calendar\.php\?c=1&week=(\d+)(&do=displayweek&mo nth=.+?)?$' => 'calendar/week/$1/'
'report\.php\?p=(\d+)' => 'report/$1'
'postings\.php\?do=getip&p=(\d+)' => 'posting/ip/$1'
'memberlist\.php\?do=(\d+)' => 'members/do/$1'
'search\.php\?do=finduser&u=(\d+)' => 'search/posts/$1'
'private\.php\?do=newpm&u=(\d+)' => 'pm/new/$1'
'disclaimer\.php' => 'disclaimer'
'calendar\.php\?do=viewreminder' => 'calendar/remind'
'profile\.php\?do=editlist' => 'profile/buddies'
'profile\.php\?do=editattachments' => 'profile/attach'
'search\.php\?do=getdaily' => 'search/daily'
'search\.php\?do=getnew' => 'search/new'
'search\.php' => 'searches/'
'subscription\.php' => 'subscriptions'
'editpost.php\?do=editpost&p=(\d+)' => 'post/edit/$1'
'newreply\.php\?do=newreply&p=(\d+)' => 'post/quote/$1'
'post_thanks\.php\?do=post_thanks_add&p=(\d+)' => 'post/thank/$1'
'forumdisplay\.php\?do=markread' => 'read/mark'
'profile\.php\?do=addlist&userlist=buddy&u=(\d+)' => 'buddies/add/$1'
'profile\.php\?do=addlist&userlist=ignore&u=(\d+)' => 'buddies/ignore/$1'
'index\.php\?u=(\d+)&admin_log_in_as_user=(\d+)' => 'log/$1/user/$2'
'profile\.php\?do=removelist&userlist=buddy&u=(\d+ )' => 'buddies/remove/$1'
'private\.php\?do=newpm&u=(\d+)' => 'pm/user/$1'
'sendmessage\.php\?do=mailmember&u=(\d+)' => 'email/$1'
'sendmessage\.php' => 'contact'
'post_thanks\.php\?do=findthanks&u=(\d+)' => 'thanks/$1'
'private\.php\?do=trackpm' => 'pm/track'
'private\.php\?do=editfolders' => 'pm/folders'
'index\.php\?log_out_admin_log_in_as_user=true' => 'log/user/out'
'login\.php' => 'login'
'private\.php\?do=showpm&pmid=(\d+)' => 'pm/id/$1'
'private\.php\?do=newpm&forward=1&pmid=(\d+)' => 'pm/foward/$1'
'private\.php\?do=newpm&pmid=(\d+)' => 'pm/reply/$1'
'private\.php\?do=managepm&dowhat=delete&pmid=(\d+ )' => 'pm/delete/$1'
'private\.php\?do=newpm' => 'pm/new'
'private\.php' => 'pm/list'
'usernote\.php\?do=newnote&u=(\d+)' => 'user/note/$1'
'infraction\.php\?do=report&p=(\d+)' => 'post/infraction/$1'
'infraction\.php\?do=report&u=(\d+)' => 'user/infraction/$1'
'photplog/upload\.php' => 'photos/upload'
'photoplog/index\.php\?n=(\d+)' => 'gallery/uploads/$1'
'photoplog/index\.php\?c=(\d+)' => 'gallery/cat/$1'
'photoplog/index\.php\?u=(\d+)' => 'gallery/users/$1'
'photoplog/searche\.php' => 'gallery/search'
'photoplog/comment\.php\?n=(\d+)' => 'gallery/post/$1'
'photoplog/edit\.php\?n=(\d+)' => 'gallery/edit/$1'
'photoplog/delete\.php\?n=(\d+)' => 'gallery/delete/$1'
'photoplog/upload\.php' => 'gallery/upload'
'photoplog/index\.php' => 'gallery'
'arcade\.php$' => 'games'
'arcade\.php\?&act=Arcade$' => 'games'
'arcade\.php\?do=play&gameid=(\d+)$' => 'games/$1'
'arcade\.php\?&act=Arcade&do=play&gameid=(\d+)$' => 'games/$1'
'arcade\.php\?act=Arcade&do=play&gameid=(\d+)$' => 'games/$1'
'arcade\.php\?&do=play&gameid=(\d+)$' => 'games/$1'
'arcade\.php\?do=play&gameid=(\d+)$' => 'games/$1'
'arcade\.php\?&do=play&gameid=(\d+)$' => 'games/$1'
'arcade\.php\?do=stats&gameid=(\d+)$' => 'games/highscores/$1'
'arcade\.php\?&act=Arcade&do=stats&gameid=(\d+)$' => 'games/highscores/$1'
'arcade\.php\?&act=Arcade&module=report&user=(\d+) $' => 'games/user/$1'
'arcade\.php\?&act=Arcade&do=viewtournaments$' => 'games/tournaments'
'arcade\.php\?&act=Arcade&do=viewtourney&tid=(\d+) $' => 'games/tournaments/$1'
'arcade\.php\?&do=viewtourney&tid=(\d+)$' => 'games/tournaments/$1.html'
'arcade\.php\?&act=Arcade&module=favorites&gameid =(\d+)$' => 'games/favs/$1'
'arcade\.php\?&act=Arcade&cat=(\d+)$' => 'games/cat/$1'
'arcade\.php\?&act=Arcade&cat=(\d+)&st=(\d+)$' => 'games/category/$1/page/$2'
'arcade\.php\?&act=Arcade&module=report$' => 'games/report'
'arcade\.php\?&act=Arcade&module=settings$' => 'games/settings'
'arcade\.php\?&act=Arcade&module=modcp$' => 'games/mod'
'arcade\.php\?&do=viewtourneyend$' => 'games/tournament/end'
'arcade\.php\?&do=viewtournaments$' => 'games/view/tournaments'
'arcade\.php\?&act=Arcade&do=createtourney$' => 'games/tournaments/create'
'arcade\.php\?&act=Arcade&module=league$' => 'games/league'
'arcade\.php\?&act=Arcade&module=favorites&gameid= (\d+)$' => 'games/fav/add/$1'
'arcade\.php\?&act=Arcade&module=favorites$' => 'games/favs'

Some of these (if you can't tell) are from some 3rd party mods: I have rewritten ibPro Arcade, Photopost, Log in as another user, Thank You Ajax mod, and a Disclaimer template I added :) . The only ones I didn't do myself were the calender one's which were there as an example when I installed vBSEO.

Note; these all work, I wouldn't post something that didn't :p .

valdet 12-17-2007 02:03 AM

Hi there,

Did you insert those arcade rewrites, only in VBSEO CP or you had to do some hardcoding as well. Is it the same for ipbPro Arcade and v3 Arcade games?

Any further info is appreciated.

Thanks.

cfitzarl 12-17-2007 02:29 AM

I did those in the vBSEO CP, yes (I am not sure how the normal mod rewrite module from apache works on vbulletin....since I have tried rewrites through the .htaccess and it has failed). There is a thread on the vBSEO website on how to do this, the original codes were a little different, but I modified them. And I'm not very familiar with rewriting v3, since I don't have that :o . Check this forum for the rewrites. I would link this site, but it is not yet completed yet, so I have it turned off at this moment.

Marco van Herwaarden 12-17-2007 05:47 AM

As this is specific to vBSEO, i suggest you post this at their support forums.

vBulletin.org is not the place to support commercial modifications, closing thread.


All times are GMT. The time now is 10:06 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01088 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete