No account yet?
 

Subscriptions

ImageWhen you sign up as a premium subscriber, you get more than access to a host of fantastic features. You become a member of a flourishing community that continuously improves the very projects that run your website. Why not sign up today?

Subscriber Benefits

  • Subscriber only addons and plugins!
  • Latest beta code and SVN builds!
  • Access new versions before anyone else!
  • Premium Priority Support!
  • User Manuals for our components!
Read On!
Pragmatic Utopia
Welcome, Guest
Please Login or Register.    Lost Password?
sef_ext file for PUArcade 2.1.2 and latest snv (18.01.2008) (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: sef_ext file for PUArcade 2.1.2 and latest snv (18.01.2008)
#9741
pHoza (User)
Oy!
User
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
Gender: Male NearlyEverything.com Location: Denver, CO
Re:sef_ext file for PUArcade 2.1.2 and latest snv (18.01.2008) 3 Months ago Karma: 2  
I don't think there is a known solution, but I'd love to have one! Let me know if you figure it out
Aww, bugger. Thanks for the confirmation, at least. I will stop digging for pre-existing and start pondering the possibilities!

For now, I'm doing this, in case it helps others:

I'm mostly concerned about having SEF turned on in a general sense for my site, so I'm unwilling to turn it off completely -- and I'm also unwilling to do without scoring, of course! So, if you're using sh404SEF component, even though druckgott's sef_ext.php plugin does work well for PUA, I'm disabling it for now just on the arcade component. I'm pointing this out in case others didn't know this was a possibility.

Install sh404SEF and go into the Configuration screen for the component. Select the "By Component" tab and set the "puarcade" component to "skip". This way, the games and their categories will not be SEF-ified, but everything else will... and the scores will work.(!!YAY!!)

Interestingly, it also has a little bit of good SEO stuff leftover from sh404, as one example game URL ends up looking like this:
www.flashgamepost.com/online-game-arcade?fid=1&gid=1

In this case, "online-game-arcade" is the SEF path for the com_puarcade component. Nice! It's at least part-way there.

Now.. I'll try to fit in work pondering the full solution when I get a chance, but for now, I have to finish building out my new site!

Thanks for the great work, Pragma! (and others. )
 
Logged Logged  
  The administrator has disabled public write access.


#10286
dep (User)
Gamer
Posts: 97
graphgraph
User Online Now Click here to see the profile of this user
Re:sef_ext file for PUArcade 2.1.2 and latest snv (18.01.2008) 2 Months, 2 Weeks ago Karma: 0  
Hello,
I'm using Joomla 1.5.7 (legacy), PUAarcade 2.3, .htaccess, sh404SEF + plugin by druckgott

pHoza wrote:
It seems that everything is working fine, but playing one of the included games (Frogger rocks!) & submitting the score drops me back to the home page of the PUarcade component, but the URL ends with "../newscore.php"

1. Same problem here. When submitting scores I receive 404 errors because the component searches for newscore.php in the game categories.

eg:
www.example.com/Classic-Games/newscore.php
or
www.example.com/popular_games/newscore.php

same thing when using the OpenSEF plugin:
www.example.com/play/frogger/games/newscore.php


2. The "See All Games in this Folder" url ends in "" giving a 404 error

www.example.com/Classic-Games.html%5C

even though the sh404SEF plugin at line 194 seems to remove the ""
$string = eregi_replace("%5C", "", $string);

3. The Folder Pathway is not SEF
 
Logged Logged  
  The administrator has disabled public write access.
#10296
Nefar (User)
Newb Sauce
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:sef_ext file for PUArcade 2.1.2 and latest snv (18.01.2008) 2 Months, 2 Weeks ago Karma: 0  
I'm running into the "see all games in this folder" url ending in also.
 
Logged Logged  
  The administrator has disabled public write access.
#10399
dep (User)
Gamer
Posts: 97
graphgraph
User Online Now Click here to see the profile of this user
Re:sef_ext file for PUArcade 2.1.2 and latest snv (18.01.2008) 2 Months, 1 Week ago Karma: 0  
I just noticed that this happens because the non-SEF url for "See all games in this folder" ends in "". So this is a bug in PUA.
Any suggestions?
 
Logged Logged  
  The administrator has disabled public write access.
#10400
pHoza (User)
Oy!
User
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
Gender: Male NearlyEverything.com Location: Denver, CO
Re:sef_ext file for PUArcade 2.1.2 and latest snv (18.01.2008) 2 Months, 1 Week ago Karma: 2  
dep wrote:
I just noticed that this happens because the non-SEF url for "See all games in this folder" ends in "". So this is a bug in PUA.
Any suggestions?

I had already posted a bug about this with a solution here: #13046
 
Logged Logged  
  The administrator has disabled public write access.
#10401
pHoza (User)
Oy!
User
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
Gender: Male NearlyEverything.com Location: Denver, CO
Re:sef_ext file for PUArcade 2.1.2 and latest snv (18.01.2008) 2 Months, 1 Week ago Karma: 2  
dep wrote:
Hello,
I'm using Joomla 1.5.7 (legacy), PUAarcade 2.3, .htaccess, sh404SEF + plugin by druckgott

pHoza wrote:
It seems that everything is working fine, but playing one of the included games (Frogger rocks!) & submitting the score drops me back to the home page of the PUarcade component, but the URL ends with "../newscore.php"

1. Same problem here. When submitting scores I receive 404 errors because the component searches for newscore.php in the game categories.

eg:
www.example.com/Classic-Games/newscore.php
or
www.example.com/popular_games/newscore.php

same thing when using the OpenSEF plugin:
www.example.com/play/frogger/games/newscore.php

I've found a solution to this problem, but I don't have time to post about it right now. My wife just had our baby and we're very busy. I had solved this "newscore.php" problem as well as a solution for doing SEF URLs while maintaining score saving functions -- but then we went into the hospital a couple weeks ago and had a kid!

So.. I'll try to get this posted tonight if possible, but definitely soon. I was planning on documenting what I did and posting the relevant files, etc. I'll try to speed this up, sorry for the delay.
3. The Folder Pathway is not SEF
I've solved this as well. Again, I'll try to post my findings as soon as possible, since I know I was aching for this solution for over a year. Right now, I need to take care of the baby again.
 
Logged Logged  
  The administrator has disabled public write access.
#10406
dep (User)
Gamer
Posts: 97
graphgraph
User Online Now Click here to see the profile of this user
Re:sef_ext file for PUArcade 2.1.2 and latest snv (18.01.2008) 2 Months, 1 Week ago Karma: 0  
pHoza wrote:
My wife just had our baby
Congratulations!!
It is also good news that you solved the scores and pathway problems
 
Logged Logged  
  The administrator has disabled public write access.
#10418
pragma (Admin)
Moderator
Posts: 2544
graph
User Online Now Click here to see the profile of this user
Gender: Male Pragmatic Utopia PUArcade
Re:sef_ext file for PUArcade 2.1.2 and latest snv 2 Months, 1 Week ago Karma: 89  
pHoza wrote:
My wife just had our baby and we're very busy.

Congratulations, and good luck!
 
Logged Logged  
 
Please DO NOT send support requests via PM or email.
No, I do not want to log into your website to fix your problem for you.

Instead, please post a question in the forums so everyone can benefit.
  The administrator has disabled public write access.
#10492
merovinq (User)
Newb Sauce
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:sef_ext file for PUArcade 2.1.2 and latest snv (18.01.2008) 2 Months ago Karma: 0  
pHoza wrote:
dep wrote:
Hello,
I'm using Joomla 1.5.7 (legacy), PUAarcade 2.3, .htaccess, sh404SEF + plugin by druckgott

pHoza wrote:
It seems that everything is working fine, but playing one of the included games (Frogger rocks!) & submitting the score drops me back to the home page of the PUarcade component, but the URL ends with "../newscore.php"

1. Same problem here. When submitting scores I receive 404 errors because the component searches for newscore.php in the game categories.

eg:
www.example.com/Classic-Games/newscore.php
or
www.example.com/popular_games/newscore.php

same thing when using the OpenSEF plugin:
www.example.com/play/frogger/games/newscore.php

I've found a solution to this problem, but I don't have time to post about it right now. My wife just had our baby and we're very busy. I had solved this "newscore.php" problem as well as a solution for doing SEF URLs while maintaining score saving functions -- but then we went into the hospital a couple weeks ago and had a kid!

So.. I'll try to get this posted tonight if possible, but definitely soon. I was planning on documenting what I did and posting the relevant files, etc. I'll try to speed this up, sorry for the delay.
3. The Folder Pathway is not SEF
I've solved this as well. Again, I'll try to post my findings as soon as possible, since I know I was aching for this solution for over a year. Right now, I need to take care of the baby again.


Looking forward to hearing about this.
 
Logged Logged  
 
  The administrator has disabled public write access.
#10499
pHoza (User)
Oy!
User
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
Gender: Male NearlyEverything.com Location: Denver, CO
Re:sef_ext file for PUArcade 2.1.2 and latest snv 2 Months ago Karma: 2  
Thanks for the congrats guys! We're pretty happy -- and very tired. I'm sorry for the delays in posting this. Life has been crazy, to say the least.

I posted a new thread with my solution for the newscore.php problem so it can be separated as its own discussion:

Solving "newscore.php" using .htaccess

Good luck!
(I'll try to post the SEF solution shortly.)

--Hoza
 
Logged Logged  
  The administrator has disabled public write access.
#10500
pHoza (User)
Oy!
User
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
Gender: Male NearlyEverything.com Location: Denver, CO
Re:sef_ext file for PUArcade 2.1.2 and latest snv 2 Months ago Karma: 2  
Ugh.. I have a dilemma now. I had just finished writing out a post detailing my SEF solution using the sh404SEF Joomla component and I was looking around for an appropriate place to post the details and the native plugin for sh404SEF that I wrote, when I saw this post.

Uhhh... this fellow has also written a custom extension for PUA and sh404SEF, but he's trying to raise some cash for his efforts. Even though I had posted earlier regarding having a solution forthcoming, his post was made 6 hours ago and I'd hate to wreck his plans.

So, I'm not sure what to do at the moment. I have what looks like a similar solution, but I feel like a jerk posting it for free just hours after he posted his advert... even though I've promised my solution a week ago.

Now, I know most of you are going to say "post it!!" since you're cheap goons (like me), but I'm thinking I should wait a week or so to give him a chance.

Thoughts??

Maybe Pragma will step in and clear this up with some official forum policy declaration. I'm very happy sharing my solution, so tell me what the heck ya want me to do.

(Damn.. now I'm really sorry I waited this long -- only missed it by 6+ hours! )
 
Logged Logged  
  The administrator has disabled public write access.
#10561
pHoza (User)
Oy!
User
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
Gender: Male NearlyEverything.com Location: Denver, CO
Re:sef_ext file for PUArcade 2.1.2 and latest snv 1 Month, 3 Weeks ago Karma: 2  
After much deliberation, I've decided to publish my solution to the SEF & scoring issue. Since I'm trying not to step on dgannon's toes, I've decided to post this on one of my sites for now and either post it here later in a separate thread or let dgannon post his solution here.

Maybe I'm being a fool to worry about it, but hopefully it will be appreciated as a gesture.

However, there are too many people struggling with the overall issue of SEF and scores, so I really want to help out those who are unwilling/unable to pay for the solution. PUArcade is free and I think the SEF solution is integral to getting PUA working better across the board.

I've posted my solution on my external site for now, but I'll be happy to start a new thread here once some more time has passed for dgannon to get his opportunity.

(Please don't see this as a blatant link-boosting thing. My new site is barely running, so I'm hardly benefitting much from this link right now. I hope you'll just appreciate my efforts in providing this work to you and not get petty over my being a "link whore" or whatever nonsense!)

Native sh404SEF extension for PUArcade component with working scores!

Hope this works for ya!
--Hoza
 
Logged Logged  
  The administrator has disabled public write access.
#10563
adroussel (User)
Modder
Posts: 339
graphgraph
User Offline Click here to see the profile of this user
Re:sef_ext file for PUArcade 2.1.2 and latest snv 1 Month, 3 Weeks ago Karma: 6  
Looks very nice. Your article is addictive , but I couldn't find the SEF extension to download. Do people have to register to get it??

Also, have you checked if it works with every scoring methods? I'm asking cause I only see a few games in your arcade.

Thanks for the nice work anyway
 
Logged Logged  
  The administrator has disabled public write access.
#10564
pHoza (User)
Oy!
User
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
Gender: Male NearlyEverything.com Location: Denver, CO
Re:sef_ext file for PUArcade 2.1.2 and latest snv 1 Month, 3 Weeks ago Karma: 2  
Ack! Sorry, but the site is very new and not yet configuratificated all the way! (Man, I really need to spiff up the theme and layout!)

Try it again now -- I think it was set to only allow registered users to access files, but should allow anyone now. I might change that later if I figure a need for locking them down, but not too likely.
 
Logged Logged  
  The administrator has disabled public write access.
#10571
bulls0702 (User)
User
Posts: 38
graphgraph
User Offline Click here to see the profile of this user
Re:sef_ext file for PUArcade 2.1.2 and latest snv 1 Month, 3 Weeks ago Karma: 0  
Thank you pHoza!
I test you extension and works for me with Joomla 1.5.7, Puarcade 2.3 and Sh404. It save scores only if you make the modification on .htaccess. I only tested on the default game that came with Pu arcade for now
 
Logged Logged  
  The administrator has disabled public write access.
Go to top

My Amazon.com Wish List