Go Back   vb.org Archive > vBulletin Modifications > Premium Modifications > ibProArcade
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vbSEO & ibProArcade : Rewrite-rules Details »»
vbSEO & ibProArcade : Rewrite-rules
Version: , by MrZeropage MrZeropage is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 09-09-2008 Last Update: Never Installs: 0
 
No support by the author.

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'

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 06-26-2011, 06:54 AM
MonkYZ MonkYZ is offline
 
Join Date: Jul 2008
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by karlm View Post
Is there anyway to get the file name instead of the game's ID number?
It would look very nice as http://mysite.com/arcade/tetris.html instead of [url]http://mysite.com/arcade/game/3.html[/url]
I would love to see that too
And maybe some addon for vBSEO to generate a sitemap for ibProArcade!
Reply With Quote
  #43  
Old 09-27-2011, 10:45 AM
p30suite p30suite is offline
 
Join Date: Feb 2009
Location: Iran
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MrZeropage View Post
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'
i added this code!
but my forum have Error 504
Reply With Quote
  #44  
Old 07-28-2012, 06:19 PM
basketmen's Avatar
basketmen basketmen is offline
 
Join Date: Nov 2006
Posts: 446
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MrZeropage View Post
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
Reply With Quote
  #45  
Old 10-18-2014, 04:29 PM
tarball tarball is offline
 
Join Date: Jul 2007
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to use that without vbSEO?
Reply With Quote
  #46  
Old 02-09-2016, 10:31 AM
Gn_Snake Gn_Snake is offline
 
Join Date: Feb 2006
Location: Italy
Posts: 358
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello to all,
if I apply these rules in Dbtech vBSEO every time I click on a link I go to the arcade page
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05660 seconds
  • Memory Usage 2,275KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (7)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete