Advertise here

  Talk Arcades > Arcades > Scripts & Software > phpArcadeScript

Welcome to Talk Arcades, the premier forum for arcade webmasters.

You are currently viewing our boards as a guest. By joining our community you will be able to make posts, communicate privately with other arcade webmasters and talk advantage of the GameFeed™ Distribution Network for 1-click installation of games into your arcade.

Registration is easy, so please join us today!

Reply
 
LinkBack Thread Tools Search this Thread
 
Old 07-27-2009, 06:53 AM   #1 (permalink)
gigikent
Advanced Member
 
Join Date: May 2007
Posts: 355
gigikent is on a distinguished road

MarketScore (3)

Default How to change the playgame, playgame-full and previewgame words?

Hi,

i just tried to change the following in my PHPAS v4 admin panel:

- playgame
- playgame-full
- previewgame

and it seems it does not work if i change the words.

If i click a game i get redirected to the 404 page.

Does anyone know how to change those words?
__________________
Free flash games for your website
I'm interested in Game Exchange. So if you want to exchange games, contact me via PM
gigikent is offline  
Digg this Post!
Reply With Quote
 
Old 07-27-2009, 07:09 AM   #2 (permalink)
FunShed.com
Preferred Member
 
Join Date: Jun 2006
Posts: 136
FunShed.com is on a distinguished road


Default

for playgame-full
You will have to change it on line 61 of the .htaccess
pluss, whatever lines the rest are on.
__________________
JOIN THE Arcade Directory or other site in my Directory.
Find an Arcade Script.
Get Tips from other Webmaster Forums

My Arcade http://FunShed.com

IRC? Idle in Mochi Channel: irc://irc.freenode.net/#mochi .. I am
FunShed.com is offline  
Digg this Post!
Reply With Quote
 
Old 07-27-2009, 07:16 AM   #3 (permalink)
Aashwin
 
Posts: n/a

Default

You have to change the Htaccess and also in the admin panel for the thing to work. It can be quite advanced if you dont know much
 
Digg this Post!
Reply With Quote
 
Old 07-27-2009, 07:35 AM   #4 (permalink)
gigikent
Advanced Member
 
Join Date: May 2007
Posts: 355
gigikent is on a distinguished road

MarketScore (3)

Default

Quote:
Originally Posted by FunShed.com View Post
for playgame-full
You will have to change it on line 61 of the .htaccess
pluss, whatever lines the rest are on.
Quote:
Originally Posted by Aashwin View Post
You have to change the Htaccess and also in the admin panel for the thing to work. It can be quite advanced if you dont know much

I just took a look on my .htaccess file and saw some lines.

One of them is:

PHP Code:
RewriteRule ^previewgame/([^/.]*)/?/([_A-Za-z0-9-]+).html/?$ index.php?action=previewgame&gameid=$
In conclusion, if i want to change the word
PHP Code:
previewgame 
with
PHP Code:
my_word 
, should i replace all previewgame words with my_word?

And after that should i change it in the admin panel too?
__________________
Free flash games for your website
I'm interested in Game Exchange. So if you want to exchange games, contact me via PM
gigikent is offline  
Digg this Post!
Reply With Quote
 
Old 07-27-2009, 07:47 AM   #5 (permalink)
Aashwin
 
Posts: n/a

Default

you should change RewriteRule ^previewgame/ with [color=#000000]RewriteRule ^your Word

And then change in Admin Panel
 
Digg this Post!
Reply With Quote
 
Old 07-27-2009, 10:20 AM   #6 (permalink)
FunShed.com
Preferred Member
 
Join Date: Jun 2006
Posts: 136
FunShed.com is on a distinguished road


Default

Ashwin post, was bad formatted.. just to claify change the first occurrence (bold bits):

RewriteRule ^previewgame/([_A-Za-z0-9-]+)/?$ index.php?action=previewgame&title=$1

RewriteRule ^playgame/([^/.]*)/?/([_A-Za-z0-9-]+).html/?$ index.php?action=playgame&gameid=$1

RewriteRule ^playgame/([_A-Za-z0-9-]+)/?$ index.php?action=playgame&title=$1

RewriteRule ^playgame-full/([^/.]*)/?/([_A-Za-z0-9-]+).html/?$ index.php?action=playgame&gameid=$1&full=yes
__________________
JOIN THE Arcade Directory or other site in my Directory.
Find an Arcade Script.
Get Tips from other Webmaster Forums

My Arcade http://FunShed.com

IRC? Idle in Mochi Channel: irc://irc.freenode.net/#mochi .. I am
FunShed.com is offline  
Digg this Post!
Reply With Quote
 
Old 07-27-2009, 10:24 AM   #7 (permalink)
Aashwin
 
Posts: n/a

Default

i guess it was 8D
 
Digg this Post!
Reply With Quote
 
Old 07-27-2009, 11:21 AM   #8 (permalink)
gigikent
Advanced Member
 
Join Date: May 2007
Posts: 355
gigikent is on a distinguished road

MarketScore (3)

Default

Quote:
Originally Posted by FunShed.com View Post
Ashwin post, was bad formatted.. just to claify change the first occurrence (bold bits):

RewriteRule ^previewgame/([_A-Za-z0-9-]+)/?$ index.php?action=previewgame&title=$1

RewriteRule ^playgame/([^/.]*)/?/([_A-Za-z0-9-]+).html/?$ index.php?action=playgame&gameid=$1

RewriteRule ^playgame/([_A-Za-z0-9-]+)/?$ index.php?action=playgame&title=$1

RewriteRule ^playgame-full/([^/.]*)/?/([_A-Za-z0-9-]+).html/?$ index.php?action=playgame&gameid=$1&full=yes

Yes, was thinking about that (about the fact that i should only change the first occurrence of the word.)

Thank you for the info, guys!

I'll change it and let you all know if it worked!
__________________
Free flash games for your website
I'm interested in Game Exchange. So if you want to exchange games, contact me via PM
gigikent is offline  
Digg this Post!
Reply With Quote
 
Old 07-27-2009, 12:54 PM   #9 (permalink)
gigikent
Advanced Member
 
Join Date: May 2007
Posts: 355
gigikent is on a distinguished road

MarketScore (3)

Default

It did work for previewgame, playgame and playgame-full.

But i tried to do the same thing with categories and it didn't work. I get the same 404 page.
Any ideas for this one?

Here's the code:


PHP Code:
RewriteRule ^categories/([0-9]+)/?/([_A-Za-z0-9-]+).html/?$ index.php?action=browse&cat=$1

RewriteRule 
^categories/([0-9]+)/?/([0-9]+)-([0-9]+)/?/([_A-Za-z0-9-]+).html/?$ index.php?action=browse&cat=$1&page=$2&limit=$
__________________
Free flash games for your website
I'm interested in Game Exchange. So if you want to exchange games, contact me via PM
gigikent is offline  
Digg this Post!
Reply With Quote
 
Old 07-27-2009, 01:04 PM   #10 (permalink)
Aashwin
 
Posts: n/a

Default

Have you modified it in the admin panel?
 
Digg this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 09:31 AM.


Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 RC6
© TalkArcades.com
Forum - Register - Calendar - Memberlist - FAQ - Search


Advertise here

Single Sign On provided by vBSSO