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
  #2  
Old 09-10-2008, 01:25 AM
pedroenf pedroenf is offline
 
Join Date: Jun 2006
Location: Portugal
Posts: 308
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much MrZeropage.
Reply With Quote
  #3  
Old 09-23-2008, 09:07 PM
Cocko Cocko is offline
 
Join Date: Oct 2006
Location: Germany
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanx, too.
Reply With Quote
  #4  
Old 09-23-2008, 10:13 PM
punchbowl punchbowl is offline
 
Join Date: Nov 2006
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you should block google from your arcade with your robots file.

no point apart from cosmetics in these rewrites.
Reply With Quote
  #5  
Old 10-06-2008, 02:36 AM
karlm's Avatar
karlm karlm is offline
 
Join Date: Jul 2006
Location: England
Posts: 447
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 http://mysite.com/arcade/game/3.html
Reply With Quote
  #6  
Old 10-19-2008, 10:25 AM
newguy's Avatar
newguy newguy is offline
 
Join Date: Nov 2007
Location: USA
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This would go into the vbSEO Control Panel in the Custom Rewrite Rules box?
Reply With Quote
  #7  
Old 10-20-2008, 11:35 AM
GreasySpoon GreasySpoon is offline
 
Join Date: Dec 2007
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks MrZeropage,

now i get a little more traffic from google to the arcade.

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]
This would be really great and much better for SEO. It would be also usefull if there where an possibility to put the gamename into the title.

Quote:
Originally Posted by newguy View Post
This would go into the vbSEO Control Panel in the Custom Rewrite Rules box?
Yes, just put it into the Custom Rewrite Rules box.

Greets
GreasySpoon
Reply With Quote
  #8  
Old 10-21-2008, 09:36 AM
theque's Avatar
theque theque is offline
 
Join Date: Jul 2008
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cheers just what i needed i can allow google on my arcades again
Reply With Quote
  #9  
Old 10-27-2008, 02:40 AM
SIINSI SIINSI is offline
 
Join Date: Mar 2003
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After installing this I got the following error when making a thread with the word "Arcade" in it.

Warning: require(/public_html/forums/88720-added-20-more-games-arcade.php) [function.require]: failed to open stream: No such file or directory in /public_html/forums/vbseo.php on line 1470

Fatal error: require() [function.require]: Failed opening required '/public_html/forums/88720-added-20-more-games-arcade.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /public_html/forums/vbseo.php on line 1470

It looks like it is adding ".php" after the word arcade.

Edit: I just did a search on my site and any thread with the word "Arcade" in it gets this error. Any ideas how to fix?

M
Reply With Quote
  #10  
Old 10-27-2008, 08:14 AM
newguy's Avatar
newguy newguy is offline
 
Join Date: Nov 2007
Location: USA
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SIINSI View Post
After installing this I got the following error when making a thread with the word "Arcade" in it.

Warning: require(/public_html/forums/88720-added-20-more-games-arcade.php) [function.require]: failed to open stream: No such file or directory in /public_html/forums/vbseo.php on line 1470

Fatal error: require() [function.require]: Failed opening required '/public_html/forums/88720-added-20-more-games-arcade.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /public_html/forums/vbseo.php on line 1470

It looks like it is adding ".php" after the word arcade.

Edit: I just did a search on my site and any thread with the word "Arcade" in it gets this error. Any ideas how to fix?

M
Same thing happened to me. I removed what I added. I have one forum with Arcade as the name and it did that all in that forum when you clicked on many threads or made new ones.
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:22 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.07267 seconds
  • Memory Usage 2,299KB
  • Queries Executed 23 (?)
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
  • (1)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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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