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 or Register.    Lost Password?
Preferred PUArcade Web Host:
sef_ext file for PUArcade 2.1.2 and latest snv (18.01.2008) (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: sef_ext file for PUArcade 2.1.2 and latest snv (18.01.2008)
#4766
donace (User)
User
Posts: 37
graphgraph
User Offline Click here to see the profile of this user
Re:sef_ext file for PUArcade 2.1.2 10 Months ago Karma: 0  
so i uploaded this .php where you said, and i fot the following error
Code:

Warning: ereg_replace() [function.ereg-replace]: REG_EMPTY in /dir/dir2/dir3/nexus.tk/public_html/components/com_puarcade/sef_ext.php on line 199
btw im using artio cos 404 didnt work to well for me
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.


#4767
druckgott (User)
User
Posts: 24
graphgraph
User Offline Click here to see the profile of this user
Re:sef_ext file for PUArcade 2.1.2 10 Months ago Karma: 0  
I don´t have testet it with artio. I can´t help you for this. I have only 404 tested
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5601
ewise (User)
Newb Sauce
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:sef_ext file for PUArcade 2.1.2 and latest snv 8 Months, 3 Weeks ago Karma: 0  
Not that working with characters "Ação" (Action), "Clássicos" (Classic).

The language portuguese.


 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5602
ewise (User)
Newb Sauce
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:sef_ext file for PUArcade 2.1.2 and latest snv 8 Months, 3 Weeks ago Karma: 0  
Ok... resolved... add:

$string = eregi_replace("%E7", "c", $string);
$string = eregi_replace("%E3", "a", $string);
$string = eregi_replace("%E1", "a", $string);
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5603
ewise (User)
Newb Sauce
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:sef_ext file for PUArcade 2.1.2 and latest snv 8 Months, 3 Weeks ago Karma: 0  
Another problem.

Playing in the URL below not saved scores:
www.domain.com/my_favorites/butterflycatchth.html www.damain.com/newest_games/zeroste.html


 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5621
druckgott (User)
User
Posts: 24
graphgraph
User Offline Click here to see the profile of this user
Re:sef_ext file for PUArcade 2.1.2 and latest snv 8 Months, 3 Weeks ago Karma: 0  
do it save without the ext_sef file?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5622
ewise (User)
Newb Sauce
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:sef_ext file for PUArcade 2.1.2 and latest snv 8 Months, 3 Weeks ago Karma: 0  
with ext_sef file.
/components/com_puarcade/ext_sef.php

maybe the problem is this "folder" my_favorites or newest_games.
www.domain.com/my_favorites/games.html
www.damain.com/newest_games/games.html
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#6282
MarkusK (User)
Player
Posts: 55
graphgraph
User Offline Click here to see the profile of this user
Re:sef_ext file for PUArcade 2.1.2 and latest snv 7 Months, 3 Weeks ago Karma: 1  
I deinstalled opensef, because the next page problem.
Now i got sh404 working, and it works fine, but now i can't turn the page. It says: http://www.mysite.com/spiele/&fid=3&limit=15&limitstart=15
Page doesn't exist, but i've already cleared the cache.
Is it working for you ?
Which option should i set in config ?
 
Report to moderator   Logged Logged  
 
PUArcade version: 2.3, PHP version: 5.2.5, DB ver: 4.1.22-max-log, Webserver to PHP interface: cgi-fcgi, PHP Safe Mode: FALSE, J1.5.7, newscore.php & arcade.php has the correct permissions - No SEO/SEF - No JAccelerator
  The administrator has disabled public write access.
#7276
superstitch (User)
Newb Sauce
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Re:sef_ext file for PUArcade 2.1.2 and latest snv 5 Months, 2 Weeks ago Karma: 0  
Thanks for this plugin. I'm testing it with sh404sef 1.3.4_build_288 and it's working fine (PUarcade 2.2) [Joomla 1.0.15).

However some links aren't converted to SEF ones:

- Arcade Title
- Add to Faves
- hanks for this plugin. I'm testing it with sh404sef 1.3.4_build_288 and it's working fine (PUarcade 2.2) [Joomla 1.0.15).

However some links aren't converted to SEF ones:

- Arcade Title
- Add to Faves
- Report Broken Game
- Social Bookmarks buttons

Does this happen also to someone else, here?

Thanks.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#7289
superstitch (User)
Newb Sauce
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Re:sef_ext file for PUArcade 2.1.2 and latest snv 5 Months, 1 Week ago Karma: 0  
Anyone willing to help me?

I've found the report game class in puarcade.html.php:

Code:

/* * User reporting functions about game functinality */ if ($my->id) { echo "<div id=\"gameissues\">"; echo "<img src=\"".$mainframe->getCfg('live_site')."/images/publish_x.png\" border=\"0\"/>"; echo "<a href=\"index.php?option=com_puarcade&Itemid=" . $Itemid . "&gid=" . $game->id . "&arcade=notifybadgame\">"; echo PUA_REPORT_GAME; echo "</a>"; echo "</div>"; } /* * End of user reporting functions */
Also all the links of the top menu (puarcade Classic Games Snake...) aren't SEF urls.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#7293
pragma (Admin)
Admin
Posts: 2370
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 5 Months, 1 Week ago Karma: 89  
Sure stitch.

Change it to this, and you should be all set:
Code:

/* * User reporting functions about game functionality */ if ($my->id && $config->report==1) { echo "<div id=\"gameissues\">"; echo "<img src=\"".$mainframe->getCfg('live_site')."/administrator/images/publish_x.png\" border=\"0\"/>"; echo "<a href=\"".sefRelToAbs("index.php?option=com_puarcade&Itemid=" . $Itemid . "&gid=" . $game->id . "&arcade=notifybadgame")."\">"; echo PUA_REPORT_GAME; echo "</a>"; echo "</div>"; }
 
Report to moderator   Logged Logged  
 
Please DO NOT send support requests via PM or email. Instead, please post a question in the forums so everyone can benefit. Yes, this means you. No, your problem is not an exception.
  The administrator has disabled public write access.
#7294
pragma (Admin)
Admin
Posts: 2370
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 5 Months, 1 Week ago Karma: 89  
On what pages is the Arcade title not SEF friendly? I see a number of places where it is - but I may have missed one.
 
Report to moderator   Logged Logged  
 
Please DO NOT send support requests via PM or email. Instead, please post a question in the forums so everyone can benefit. Yes, this means you. No, your problem is not an exception.
  The administrator has disabled public write access.
#7296
superstitch (User)
Newb Sauce
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Re:sef_ext file for PUArcade 2.1.2 and latest snv 5 Months, 1 Week ago Karma: 0  
pragma wrote:
QUOTE:
On what pages is the Arcade title not SEF friendly? I see a number of places where it is - but I may have missed one.

The links on the top menu (home - category - game) aren't SEF in ALL pages.
Only Main name (PUArcade) and category aren't SEF, the game's link is SEF.

I've applied your mod to puarcade.html.php but now the 'report game as bad' doesn't show up.

Btw, also in CB 'high scores' tab both game and scores aren't SEF urls

game:
index.php/View-user-profile.html?puatablimit=25&puatabsortby=title&tab=getpuatab&user=62
score:
index.php/View-user-profile.html?puatablimit=25&puatabsortby=score&tab=getpuatab&user=62

Thanks.
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/06/10 09:14 By superstitch.
  The administrator has disabled public write access.
#7298
superstitch (User)
Newb Sauce
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Re:sef_ext file for PUArcade 2.1.2 and latest snv 5 Months, 1 Week ago Karma: 0  
I've removed
Code:

&& $config->report==1
and reporting link shows up again! Now 'Report Broken Game' link shows up as: ../index.php/Arcade/gamename/notifybadgame.html
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#8114
nilaymedh (User)
Newb Sauce
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Re:sef_ext file for PUArcade 2.1.2 and latest snv 3 Months, 2 Weeks ago Karma: 0  
Hello. Any way to convert the social bookmarking urls into sef urls ? Something needs to be changed here ?
Code:

function WriteBookmarks($gameid,$Itemid,$title,$fid=""){ global $mosConfig_live_site, $mosConfig_sitename; $url = $mosConfig_live_site."/index.php?option=com_puarcade%26Itemid=".$Itemid."%26gid=".$gameid; if ($fid != ""){ $url .= "%26fid=".$fid; } $purandom = mt_rand(1000, 9999); echo "<script type=\"text/javascript\" language=\"JavaScript\">"; echo "var url = '".$url."';"; echo "var title = 'Game From ".$mosConfig_sitename."';"; echo "</script>"; $digg = '<a onclick="window.open(\'http://digg.com/submit?phase=2&url=\'+url'.$purandom.'+\'&title=\'+title'.$purandom.');return false;" href="http://digg.com/submit?phase=2&url='. $url .'&title='. $title .'" title="Digg!" target="_blank">'; $digg .= '<img src="'. $mosConfig_live_site .'/components/images/digg.png" alt="Digg!" title="Digg!" border=0 /></a>'; $reddit = '<a onclick="window.open(\'http://reddit.com/submit?url=\'+url'.$purandom.'+\'&title=\'+title'.$purandom.');return false;" href="http://reddit.com/submit?url='. $url .'&title='. $title .'" title="Reddit!" target="_blank">'; $reddit .= '<img src="'. $mosConfig_live_site .'/components/images/reddit.png" alt="Reddit!" title="Reddit!" border=0 /></a>'; $delicious = '<a onclick="window.open(\'http://del.icio.us/post?url=\'+url'.$purandom.'+\'&title=\'+title'.$purandom.');return false;" href="http://del.icio.us/post?url='. $url .'&title='. $title .'" title="Del.icio.us!" target="_blank">'; $delicious .= '<img src="'. $mosConfig_live_site .'/components/images/delicious.png" alt="Del.icio.us!" title="Del.icio.us!" border=0 /></a>'; $google = '<a onclick="window.open(\'http://www.google.com/bookmarks/mark?op=add&bkmk=\'+url'.$purandom.'+\'&title=\'+title'.$purandom.');return false;" href="http://www.google.com/bookmarks/mark?op=add&bkmk='. $url .'&title='. $title .'" title="Google!" target="_blank">'; $google .= '<img src="'. $mosConfig_live_site .'/components/images/google.png" alt="Google!" title="Google!" border=0 /></a>'; $facebook = '<a onclick="window.open(\'http://www.facebook.com/share.php?u=\'+url'.$purandom.'+\'&t=\'+title'.$purandom.');return false;" href="http://www.facebook.com/share.php?u='. $url .'&t='. $title .'" title="Facebook!" target="_blank">'; $facebook .= '<img src="'. $mosConfig_live_site .'/components/images/facebook.png" alt="Facebook!" title="Facebook!" border=0 /></a>'; $slashdot = '<a onclick="window.open(\'http://slashdot.org/bookmark.pl?url=\'+url'.$purandom.'+\'&title=\'+title'.$purandom.');return false;" href="http://slashdot.org/bookmark.pl?url='. $url .'&title='. $title .'" title="Slashdot!" target="_blank">'; $slashdot .= '<img src="'. $mosConfig_live_site .'/components/images/slashdot.png" alt="Slashdot!" title="Slashdot!" border=0 /></a>'; $stumble = '<a onclick="window.open(\'http://www.stumbleupon.com/submit?url=\'+url'.$purandom.'+\'&title=\'+title'.$purandom.');return false;" href="http://www.stumbleupon.com/submit?url='. $url .'&title='. $title .'" title="StumbleUpon!" target="_blank">'; $stumble .= '<img src="'. $mosConfig_live_site .'/components/images/stumbleupon.png" alt="StumbleUpon!" title="StumbleUpon!" border=0 /></a>'; $yahoo = '<a onclick="window.open(\'http://myweb2.search.yahoo.com/myresults/bookmarklet?u=\'+url'.$purandom.'+\'&t=\'+title'.$purandom.');return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u='. $url .'&t='. $title .'" title="Yahoo!" target="_blank">'; $yahoo .= '<img src="'. $mosConfig_live_site .'/components/images/yahoo.png" alt="Yahoo!" title="Yahoo!" border=0 /></a>'; $techno = '<a onclick="window.open(\'http://technorati.com/faves/?add=\'+url'.$purandom.'+\'&title=\'+title'.$purandom.');return false;" href="http://technorati.com/faves/?add='. $url .'" title="Technorati!" target="_blank">'; $techno .= '<img src="'. $mosConfig_live_site .'/components/images/technorati.png" alt="Technorati!" title="Technorati!" border=0 /></a>'; echo $digg . $reddit . $delicious . $google . $facebook . $slashdot . $stumble . $yahoo . $techno; }
Thanks.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#8118
nilaymedh (User)
Newb Sauce
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Re:sef_ext file for PUArcade 2.1.2 and latest snv 3 Months, 2 Weeks ago Karma: 0  
One last question : instead of domainname/folder-name/game-name, what should I change in the code to have urls like domainname/game-name ? Many Thanks
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#8282
nilaymedh (User)
Newb Sauce
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Re:sef_ext file for PUArcade 2.1.2 and latest snv 3 Months, 1 Week ago Karma: 0  
druckgott, could you please tell me how to I remove the folder name from the url ? I want it this way because I have several puarcade modules, and land up with duplicate urls; the modules give the urls without the folder name. Alternately, if you could tell me how to ADD folder name in the module urls. Thanks
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/08/14 12:44 By nilaymedh.
  The administrator has disabled public write access.
#9351
Usama (User)
Newb Sauce
Posts: 4
graphgraph
User Offline