basketmen |
07-28-2012 06:19 PM |
Quote:
Originally Posted by MrZeropage
(Post 1618500)
Here are the custom rewrite-rules you can add to your vbSEO to completely support ibProArcade:
Code:
// ibProArcade
'arcade\.php$' => 'arcade.html'
'arcade\.php\?&$' => 'arcade.html'
'arcade\.php\?&act=Arcade$' => 'arcade.html'
'arcade\.php\?do=play&gameid=(\d+)$' => 'arcade/game/$1.html'
'arcade\.php\?&act=Arcade&do=play&gameid=(\d+)$' => 'arcade/game/$1.html'
'arcade\.php\?act=Arcade&do=play&gameid=(\d+)$' => 'arcade/game/$1.html'
'arcade\.php\?&do=play&gameid=(\d+)$' => 'arcade/game/$1.html'
'arcade\.php\?do=play&gameid=(\d+)$' => 'arcade/game/$1.html'
'arcade\.php\?do=stats&gameid=(\d+)$' => 'arcade/game/highscores/$1.html'
'arcade\.php\?&act=Arcade&do=stats&gameid=(\d+)$' => 'arcade/game/highscores/$1.html'
'arcade\.php\?&act=Arcade&module=report&user=(\d+)$' => 'arcade/game/user-$1.html'
'arcade\.php\?&act=Arcade&do=viewtournaments$' => 'arcade/viewtournaments.html'
'arcade\.php\?&act=Arcade&do=viewtourney&tid=(\d+)$' => 'arcade/tournament/$1.html'
'arcade\.php\?&do=viewtourney&tid=(\d+)$' => 'arcade/tournament/$1.html'
'arcade\.php\?&act=Arcade&module=favorites&gameid =(\d+)$' => 'arcade/favgameid-$1.html'
'arcade\.php\?&act=Arcade&cat=(\d+)$' => 'arcade/category-$1.html'
'arcade\.php\?&act=Arcade&cat=(\d+)&st=(\d+)$' => 'arcade/category-$1/$2.html'
'arcade\.php\?&act=Arcade&module=report$' => 'arcade/own_report.html'
'arcade\.php\?&act=Arcade&module=settings$' => 'arcade/settings.html'
'arcade\.php\?&act=Arcade&module=modcp$' => 'arcade/modcp.html'
'arcade\.php\?&do=viewtourneyend$' => 'arcade/viewtourneyend.html'
'arcade\.php\?&do=viewtournaments$' => 'arcade/viewtournaments.html'
'arcade\.php\?&act=Arcade&do=createtourney$' => 'arcade/createtourney.htm'
'arcade\.php\?&act=Arcade&module=league$' => 'arcade/league.html'
'arcade\.php\?&act=Arcade&module=favorites&gameid=(\d+)$' => 'arcade/add-fav-game-$1.html'
'arcade\.php\?&act=Arcade&module=favorites$' => 'arcade/favourites.html'
'index\.php\?&act=Arcade&do=newscore$' => 'arcade/newscore.html'
'arcade\.php\?&act=Arcade&do=stats&gameid=(\d+)&st=(\d+)$' => 'arcade/game/highscores/$1/$2.html'
'arcade\.php\?&act=Arcade&gsearch=(\w+)&search_type=1$' => 'arcade/games/$1.html'
'arcade\.php\?&act=Arcade&gsearch=(\d+)-(\d+)&search_type=3$' => 'arcade/games/$1-$2.html'
'arcade\.php\?&act=Arcade&do=viewtourneyend$' => 'arcade/viewtourneyend.html'
|
Hi guys, i am using this basic ibproarcade CRR, but there is 1 url that havent rewrited yet, it is play tournament url
i will ask in vbseo forum too, but i want to ask from ibproarcade side too here
this is the play tournament url
Code:
http://domain.com/arcade.php?do=playtourney&gameid=7&tid=19&rung=1&faceoff=1
i tried below crr,
Code:
'arcade\.php\?&do=playtourney&gameid=(\d+)&tid=(\d+)&rung=(\d+)&faceoff=(\d+)$' => 'arcade/tournament/playtourney-$1-$2-$3-$4.html'
or this
Code:
'arcade\.php\?&do=playtourney&gameid=(\d+)&tid=(\d+)&rung=(\d+)&faceoff=(\d+)$' => 'arcade/tournament/playtourney-gameid$1-tid$2-rung$3-faceoff$4.html'
its works to rewrited that url, but the problem the tournament result is cannot saved, after playing the game, got below error message, after i removed below crr again, its normal again
Code:
mySQL query error: SELECT gid, bestmid, bestscore, besttime, highscore_type, gtitle FROM games_list WHERE gid=
mySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
mySQL error code:
Date: Tuesday 17th 2012f July 2012 07:52:37 PM
please help guys if you have suggestion that we can try
|