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)
#10583
dep (User)
Gamer
Posts: 97
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  
I'm talking about the breadcrumbs (named pathway in the PU Arcade settings)

Online Game Arcade > Classic Games > Frogger
 
Logged Logged  
  The administrator has disabled public write access.


#10584
dep (User)
Gamer
Posts: 97
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  
Also the game rating (stars) doesn't seem to work with SEF. Games can be rated but if you refresh the page you can see that the vote isn't counted.
 
Logged Logged  
  The administrator has disabled public write access.
#10585
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  
the link from the stats tab also their not SEF
 
Logged Logged  
  The administrator has disabled public write access.
#10586
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 1 Month, 3 Weeks ago Karma: 89  
Thanks guys. I sometimes forget to make things SEF friendly.

If anyone notices any of these things, and fixes them, please forward me your changes so I can merge them in.
 
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.
#10602
dep (User)
Gamer
Posts: 97
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  
pHoza, please take a look at your sh404SEF plugin, it seems that it generates 3 URLs for the same page:

www.flashgamepost.com/puarcade/snake.html

www.flashgamepost.com/puarcade/classic-games/snake.html

www.flashgamepost.com/online-game-arcade...sic-games/snake.html

Also, if I want my URLs to be like:

www.mysite.com/category/gamename.html what do you suggest?
I commented out lines 66-69 but the results are not what I expected.
Thanks
 
Logged Logged  
  The administrator has disabled public write access.
#10603
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  
if i am not wrong you can manage duplicate url from sh404sef configuration, it is an option where you can tell him to not register the duplicate url! I hope that is the problem !
 
Logged Logged  
  The administrator has disabled public write access.
#10615
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  
dep wrote:
pHoza, please take a look at your sh404SEF plugin, it seems that it generates 3 URLs for the same page:

www.flashgamepost.com/puarcade/snake.html

www.flashgamepost.com/puarcade/classic-games/snake.html

www.flashgamepost.com/online-game-arcade...sic-games/snake.html

Also, if I want my URLs to be like:

www.mysite.com/category/gamename.html what do you suggest?
I commented out lines 66-69 but the results are not what I expected.
Thanks

Thanks. I think my SEF cache is just way out of date. I need to try purging it after I go through settings again to confirm stuff. I appreciate your noting this, though! I think it's old cached stuff since there was only a brief time where I was using "puarcade" as the name of the component before switching to the other one... then I figured out how to make folder IDs work. All that worked together to somehow leave behind a bunch of old URLs!

Thanks.
 
Logged Logged  
  The administrator has disabled public write access.
#10617
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  
dep wrote:
Also, if I want my URLs to be like:

www.mysite.com/category/gamename.html what do you suggest?
I commented out lines 66-69 but the results are not what I expected.
Thanks

Oops.. forgot this bit.

Those lines (66-69) are trying to construct an SEF title for the arcade component itself (as you seem to have discerned, but I'm explaining for reference to others.) They say roughly: if there isn't a component name in Joomla, use the menu title for that component instead. Otherwise, it's saying if the title's empty or it's "/", then make the title whatever the string is at the end... "Online Game Arcade" in my example case.

I think you could just comment those lines out and replace it with a hardcoded line like this:
Code:

$shPUArcadeName = '/';


However, I haven't tested it yet... seems logical, though. It will either add an extra slash or it might work. If an extra slash, you could maybe change it to an empty string: '';

I will try this stuff later myself. I have other ideas how to solve this problem more elegantly, but I'm not getting time to do that stuff just yet, sorry.
 
Logged Logged  
  The administrator has disabled public write access.
#10618
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  
pHoza wrote:
dep wrote:
Also, if I want my URLs to be like:

www.mysite.com/category/gamename.html what do you suggest?
I commented out lines 66-69 but the results are not what I expected.
Thanks
I think you could just comment those lines out and replace it with a hardcoded line like this:
Code:

$shPUArcadeName = '/';

Actually, I just realized it's even somewhat simpler, you can just go through the file and comment out all the places where the shPUArcadeName variable is used to build up the SEF strings.

For instance, comment out lines 80, 88, 95, etc... They look like this and are simply there because I personally wanted the arcade's name in the URL:
Code:

$title[] = $shPUArcadeName;

That would definitely get your desired effect... again though, there are more elegant solutions that I'll look into for the next version of this.
 
Logged Logged  
  The administrator has disabled public write access.
#10620
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  
bulls0702 wrote:
if i am not wrong you can manage duplicate url from sh404sef configuration, it is an option where you can tell him to not register the duplicate url! I hope that is the problem !Thanks, bulls! I'll look into that as well as my theorized caching solution. I think there are some remnants of old settings, as well as potentially the issue you're talking about. Thank you.
 
Logged Logged  
  The administrator has disabled public write access.
#10621
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 1 Month, 3 Weeks ago Karma: 89  
In the latest SVN, I updated a bunch of links to make them SEF friendly. The breadcrumbs, stats, and a few others included.
 
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.
#10625
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  
in the latest SVN on the line 79 it is an >'< that is in the wrong place.
Edit:
and the link from "All Scores" it send the user each time to the score of the firs game in arcade!
 
Logged Logged  
 
Last Edit: 2008/11/13 18:37 By bulls0702.
  The administrator has disabled public write access.
#10631
dep (User)
Gamer
Posts: 97
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  
pHoza wrote:
dep wrote:
pHoza, please take a look at your sh404SEF plugin, it seems that it generates 3 URLs for the same page:

www.flashgamepost.com/puarcade/snake.html

www.flashgamepost.com/puarcade/classic-games/snake.html

www.flashgamepost.com/online-game-arcade...sic-games/snake.html

I think my SEF cache is just way out of date.

I can always reproduce this on my test sites with SEF cache emptied after copying the plugin. It seems that the URLs with "/puarcade/" are also generated by the other 3 SEF plugins.
 
Logged Logged  
 
Last Edit: 2008/11/14 06:10 By dep.
  The administrator has disabled public write access.
#10658
dep (User)
Gamer
Posts: 97
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  
As dgannon pointed out in this thread the duplicate URLs are caused by modules.

I tried the following, might be more:

mod_pu_fav_game - PU Favorite Game
mod_pu_pop_game_popup - PU Popular Game Popup
mod_pu_new_game - PU New Game
mod_pu_random_game_popup - PU Random Game Popup
mod_pu_pop_game_popup - PU Popular Game Popup
mod_dt_pu_newest_game - DT PU Newest Game

There are some more duplicates (maybe caused by the built-in PUA modules for favorites, newest and popular???)

for instance:
www.flashgamepost.com/puarcade/newest-games/simon.html

has "/puarcade/newest-games/" instead of /category/
 
Logged Logged  
  The administrator has disabled public write access.
#10662
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  
dep wrote:
As dgannon pointed out in this thread the duplicate URLs are caused by modules.

I tried the following, might be more:

mod_pu_fav_game - PU Favorite Game
mod_pu_pop_game_popup - PU Popular Game Popup
mod_pu_new_game - PU New Game
mod_pu_random_game_popup - PU Random Game Popup
mod_pu_pop_game_popup - PU Popular Game Popup
mod_dt_pu_newest_game - DT PU Newest Game

There are some more duplicates (maybe caused by the built-in PUA modules for favorites, newest and popular???)

for instance:
www.flashgamepost.com/puarcade/newest-games/simon.html

has "/puarcade/newest-games/" instead of /category/
Thanks a ton for helping with this research. I'm currently working through this with my version of the plugin. I have a few documents I'm going through to see if I can find a more elegant, configurable solution that will hopefully allow flexibility for each webmaster to do what they want with the SEF URLs.

Sorry, but I don't have an ETA on this... I've given up doing other work today and this new baby doesn't allow me to go out for drinks on Friday night anymore. I could use a beer, but I'm stuck here working for now.

 
Logged Logged  
  The administrator has disabled public write access.
Go to top

My Amazon.com Wish List