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:
Number of games in Newest/Popular games folders (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Number of games in Newest/Popular games folders
#9778
xabaras (User)
Gamer
Posts: 157
graphgraph
User Offline Click here to see the profile of this user
Number of games in Newest/Popular games folders 1 Month, 4 Weeks ago Karma: 4  
Hi,
i use release 2.2H, when i click on the special link for newest and popular games, i see 10 games for the newest , and 100 games for the popular ones.
I think it depends on the settings in the backend... but how can i set a different number of games for those 2 folders? i.e. i'd like to have 30 games in both them, without changing anything in the backend... even if i have to modify something in the php...
Any advice?
thanks
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/10/05 08:07 By xabaras.
  The administrator has disabled public write access.


#9796
xabaras (User)
Gamer
Posts: 157
graphgraph
User Offline Click here to see the profile of this user
Re:Number of games in Newest/Popular games folders 1 Month, 3 Weeks ago Karma: 4  
Ok, i've found the solution by myself... In cls.puarcade.php it's sufficient to change the limit of this two queries

Code:

}elseif ($fid == 9997){ $query = "SELECT id,numplayed,description,imagename,published,gamename,title,reverse_score,scoring,window,height,width,contentratingid FROM #__puarcade_games WHERE published = '1' ORDER BY numplayed DESC ".$limit; }elseif ($fid == 9998){ $query = "SELECT id,numplayed,description,imagename,published,gamename,title,reverse_score,scoring,window,height,width,contentratingid FROM #__puarcade_games WHERE published = '1' ORDER BY id DESC LIMIT 20";
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

My Amazon.com Wish List