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
  #22  
Old 02-13-2009, 08:39 PM
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Location: its like another planet:D
Posts: 657
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Gemma

But I think I dont have that option within vBSEO CP as Iam using free version of mentioned software
Reply With Quote
  #23  
Old 03-09-2009, 09:34 PM
SnakeV SnakeV is offline
 
Join Date: Jun 2008
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by goxy63 View Post
Thanks Gemma

But I think I dont have that option within vBSEO CP as Iam using free version of mentioned software
vBSEO doesn't has a free version, you are sure that you are using the vBSEO product?
Reply With Quote
  #24  
Old 03-17-2009, 01:25 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lizard King View Post
Use the following with customizing to your needs

Code:
'arcade\.php\?&act=Arcade&do=play&gameid=(\d+)$' => '$1-play.html'
'arcade\.php\?&act=Arcade&do=stats&gameid=(\d+)$' => '$1-rekorlar.html'
'arcade\.php\?&act=Arcade&do=viewtournaments$' => 'turnuvalarabak.html'
'arcade\.php\?&act=Arcade&module=favorites&gameid =(\d+)$' => 'favorioyun-$1.html'
'arcade\.php\?&act=Arcade&cat=(\d+)$' => 'kategori-$1.html'
'arcade\.php\?&act=Arcade&cat=(\d+)&st=(\d+)$' => 'kategori-$1/$2.html'
'arcade\.php\?&act=Arcade&module=report&user=(\d+)$' => '$1-rekor.html'
'arcade\.php\?&act=Arcade&module=settings$' => 'oyunayarlar.html'
'arcade\.php\?&act=Arcade&module=modcp$' => 'modcp.html'
'arcade\.php\?&do=viewtourneyend$' => 'turnuvasonucu.html'
'arcade\.php\?&do=viewtournaments$' => 'turnuvalar.html'
'arcade\.php\?&act=Arcade&do=createtourney$' => 'turnuvayarat.htm'
'arcade\.php\?&act=Arcade&module=league$' => 'lig.html'
'arcade\.php\?&act=Arcade&module=favorites&gameid=(\d+)$' => 'favorilereekle-$1.html'
'arcade\.php\?&act=Arcade&module=favorites$' => 'favorilerim.html'
'arcade\.php\?&act=Arcade&do=viewtourney&tid=(\d+)$' => 'turnuva-no-$1.html'
'^arcade\.php$' => 'oyun/'
'^arcade\.php\?&act=Arcade$' => 'oyun/'

What's the difference between your rules and Zero's (OP's) rules in the first post?
Reply With Quote
  #25  
Old 03-17-2009, 07:33 AM
GreasySpoon GreasySpoon is offline
 
Join Date: Dec 2007
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chadi View Post
What's the difference between your rules and Zero's (OP's) rules in the first post?
The language?
Reply With Quote
  #26  
Old 03-23-2009, 12:37 AM
amanda4040 amanda4040 is offline
 
Join Date: Oct 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK I can't find the place to put the code. When I got to my admincp, I click on vBSEO and from there is has sitemap settings and sitemap reports. Neither place has a custom rules re-write section. I think I must be looking in the wrong place, so where do I look for this?

Thanks
Reply With Quote
  #27  
Old 03-23-2009, 06:50 AM
GreasySpoon GreasySpoon is offline
 
Join Date: Dec 2007
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to go to your vbSEO-CP:
www.site.com/forum/vbseocp.php

greetz
Reply With Quote
  #28  
Old 04-04-2009, 01:57 AM
OnyxChase OnyxChase is offline
 
Join Date: Jul 2007
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be nice if the title of the game would show up in the URL... (hint for future development)
Reply With Quote
  #29  
Old 04-29-2009, 05:37 PM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amanda4040 View Post
OK I can't find the place to put the code. When I got to my admincp, I click on vBSEO and from there is has sitemap settings and sitemap reports. Neither place has a custom rules re-write section. I think I must be looking in the wrong place, so where do I look for this?

Thanks
Then you do not have the vBSEO product. You have the free sitemap addon and that is it.

This is what you need:
http://www.vbseo.com/purchase/
Reply With Quote
  #30  
Old 07-17-2009, 08:39 PM
1Unreal 1Unreal is offline
 
Join Date: Jul 2008
Location: London
Posts: 372
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are there any rewrite rules out there that are not buggy?
Reply With Quote
  #31  
Old 08-04-2009, 09:28 AM
Abhik's Avatar
Abhik Abhik is offline
 
Join Date: Jun 2006
Location: Kolkata, India
Posts: 144
Благодарил(а): 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 second that..
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 03:48 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.04821 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_code
  • (5)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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