vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade (https://vborg.vbsupport.ru/forumdisplay.php?f=170)
-   -   vbSEO & ibProArcade : Rewrite-rules (https://vborg.vbsupport.ru/showthread.php?t=190490)

MrZeropage 09-09-2008 08:22 PM

vbSEO & ibProArcade : Rewrite-rules
 
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'


pedroenf 09-10-2008 01:25 AM

Thank you very much MrZeropage.

Cocko 09-23-2008 09:07 PM

Thanx, too.

punchbowl 09-23-2008 10:13 PM

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

no point apart from cosmetics in these rewrites.

karlm 10-06-2008 02:36 AM

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

newguy 10-19-2008 10:25 AM

This would go into the vbSEO Control Panel in the Custom Rewrite Rules box?

GreasySpoon 10-20-2008 11:35 AM

Thanks MrZeropage,

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

Quote:

Originally Posted by karlm (Post 1638281)
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 (Post 1648225)
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

theque 10-21-2008 09:36 AM

cheers just what i needed i can allow google on my arcades again

SIINSI 10-27-2008 02:40 AM

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

newguy 10-27-2008 08:14 AM

Quote:

Originally Posted by SIINSI (Post 1653484)
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.

SIINSI 11-01-2008 09:58 PM

Any fix for this issue?

Lizard King 11-01-2008 11:44 PM

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/'


glass fanatic 11-08-2008 09:23 AM

I seem to have this on my site yet when I click on arcade it says that the administrator has not allowed this usergroup to use it.

On the manual it says that when I go into the admin cp I should be able to see "arcade" on the left hand side and from there go into group permissions. I don't see it anywhere and I can't figure out how to allow everyone, including me to use this.
My site is www.theglassrod.com
Thank you
Irene

newguy 11-08-2008 11:00 AM

Quote:

Originally Posted by glass fanatic (Post 1661681)
I seem to have this on my site yet when I click on arcade it says that the administrator has not allowed this usergroup to use it.

On the manual it says that when I go into the admin cp I should be able to see "arcade" on the left hand side and from there go into group permissions. I don't see it anywhere and I can't figure out how to allow everyone, including me to use this.
My site is www.theglassrod.com
Thank you
Irene

I think the admin (owner) does not want you to have access to this then.

glass fanatic 11-08-2008 04:31 PM

I am the admin owner :-)

porcupine73 12-15-2008 11:43 AM

Excellent thanks for the rewrite rules! I just put them in and it seems to work great!

I tried some posts with the word 'arcade' in them but I didn't seem to have the issue described above. I am on vB 3.7.4 and vBSEO 3.2.0 I am also using GARS not sure if that matters. http://scoobyenthusiast.com/forums/arcade.html

Now I have to try to keep myself from playing games in the arcade all the time so I can actually work on my site lol.

azher 01-25-2009 10:07 PM

while these rules seem to work on the latest release (arcade version 2.68+/vb3.8), i noticed that it's not allowing you to save scores anymore. any updates for this?

ForYou 01-26-2009 08:40 PM

Where i can put these modify , please let me know

goxy63 02-13-2009 04:51 PM

Me too

I would like to know where to place that code for VBSEO !?

New to all of this and just not shure....

Thanks guys

Gemma 02-13-2009 06:55 PM

Quote:

Originally Posted by goxy63 (Post 1743060)
Me too

I would like to know where to place that code for VBSEO !?

New to all of this and just not shure....

Thanks guys

Open your vBSEO control panel and look for the Custom Rewrite Rules section, copy and paste the code into 'Define Custom Rewrite Rules' and save the settings.

goxy63 02-13-2009 08:39 PM

Thanks Gemma

But I think I dont have that option within vBSEO CP as Iam using free version of mentioned software

SnakeV 03-09-2009 09:34 PM

Quote:

Originally Posted by goxy63 (Post 1743247)
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?

Chadi 03-17-2009 01:25 AM

Quote:

Originally Posted by Lizard King (Post 1657555)
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?

GreasySpoon 03-17-2009 07:33 AM

Quote:

Originally Posted by Chadi (Post 1770120)
What's the difference between your rules and Zero's (OP's) rules in the first post?

The language?

amanda4040 03-23-2009 12:37 AM

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

GreasySpoon 03-23-2009 06:50 AM

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

greetz

OnyxChase 04-04-2009 01:57 AM

It would be nice if the title of the game would show up in the URL... (hint for future development) :D :D

Hostboard 04-29-2009 05:37 PM

Quote:

Originally Posted by amanda4040 (Post 1774706)
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/

1Unreal 07-17-2009 08:39 PM

Are there any rewrite rules out there that are not buggy?

Abhik 08-04-2009 09:28 AM

Quote:

Originally Posted by karlm (Post 1638281)
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..

Bob_R 10-14-2009 10:48 PM

Got this error when I put in the code from post #1

Warning: require(/home/xxxxxxxx/public_html/dumontnjforum.com/forums/19-arcade.php) [function.require]: failed to open stream: No such file or directory in /home/xxxxxx/public_html/dumontnjforum.com/forums/vbseo.php on line 1594

Fatal error: require() [function.require]: Failed opening required '/home/xxxxx/public_html/dumontnjforum.com/forums/19-arcade.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxxx/public_html/dumontnjforum.com/forums/vbseo.php on line 1594

Took it out and know everything's fine.

When will there be a fix?

Thanks!! :)

waell2006 10-22-2009 04:27 AM

iam found problem

when end the game cannot read newscore page
error number is : 406
http://www.egycafe.net/vb/index.php?...de&do=newscore

Bouncer222 01-18-2010 07:02 PM

TWO QUESTIONS..

1. Do we add the code to .htaccess?

2. Which code is better to use? The one from post 1 or from post 12 by vbseo themselves?

BiZiMDiYaR 02-16-2010 12:02 AM

I assume you should be adding it to VBSEO rewrite rules or something.. look it up in the VBSEO panel... but which one to use, that is a good question :)

KURTZ 05-30-2010 10:47 AM

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'


thanks for sharing ... ;)

--------------- Added [DATE]1275220060[/DATE] at [TIME]1275220060[/TIME] ---------------

Quote:

Originally Posted by BiZiMDiYaR (Post 1983394)
I assume you should be adding it to VBSEO rewrite rules or something.. look it up in the VBSEO panel... but which one to use, that is a good question :)

exactly :)

pportuese 08-10-2010 05:14 PM

How do I make the screen bigger?

Mostjolly 08-24-2010 03:35 PM

Excuse me but which file do we place this codes again...?

final kaoss 09-08-2010 09:20 PM

yeah ok what about rewrite rules for those of us who don't own vbseo..:mad:

floggerss 02-20-2011 09:48 PM

I have lighttpd it is the same??? i add this and it didnt work

rigodiaz 04-26-2011 11:49 PM

Quote:

Originally Posted by floggerss (Post 2164731)
I have lighttpd it is the same??? i add this and it didnt work

You have to add this with lighttpd.

Code:

url.rewrite-once = ( "^(/forums/(arcade)/.*)$" => "$1")


All times are GMT. The time now is 05:19 PM.

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.01331 seconds
  • Memory Usage 1,841KB
  • 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
  • (5)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete