Forgot password? | Forgot username? | Request activation e-mail | Register

SOLVED: Pagination issue

SOLVED: Pagination issue

Hello,

I seem to have a problem with guests not being able to view the page numbers at the bottom while viewing the games in any category. They only have access to the first page of games. Logged in users can see the page numbers just fine. In Admin settings/general, I have all the options for guests turned on (yes).

The weird thing is that in 'FLAT' view, the pagination works fine for guests as well as logged in users. I'm guessing it has to be a bug? that only affects the list view in categories. For now, I have 'Games per page' set to 100, which is more than any category has, in order for guests to be able to have access to all games.

Thanks in advance for any help,
Ferd


#################### Specific Details ####################
Exact name and version of the extension in question : JVArcade 1.0.07
Exact version of Joomla : 2.54
Your OS : Windows 7
Your browser type and version : All browsers
Your PHP version : 5.2.17
Your MySQL version : 5.1.61
Your default Joomla language : en_GB
Do you use sef. If yes what type of sef : No
What type of question is this? : Bug Report

Edited by: rammstein4o - May-13-12 00:41:56

In an attempt to keep our FREE extensions FREE, please make a donation and help support the continued development of these projects.

Amount:   USD

Administrator has disabled public posting. Please login or register in order to proceed.

Re: SOLVED: Pagination issue

Hi, this indeed is a bug and will be fixed in the next release.
To fix this in your jVArcade installation do the following:

1) Open the file components/com_jvarcade/views/list/view.html.php

2) At line 90 you will find this code:

Code:

if (isset($games[0])) $can_view = $model->folderPerms($user, $games[0]['viewpermissions']);

3) You have to delete it from there and move it after line 119  below the line

Code:

if ($task == 'folder') {

so it becomes

Code:

if ($task == 'folder') {

        if (isset($games[0])) $can_view = $model->folderPerms($user, $games[0]['viewpermissions']);

If you have any difficulties, please let me know and I can send you the changed file via e-mail.

Administrator has disabled public posting. Please login or register in order to proceed.

Re: SOLVED: Pagination issue

Excellent,

Thank you for the quick reply and for the fix. I had checked out that file, but I'm obviously not as swift as you at figuring things out, hence my plea for help current/wink

Thanks again and keep up the great work.

Cheers,
Ferd

Administrator has disabled public posting. Please login or register in order to proceed.

Re: SOLVED: Pagination issue

Thank you for the update. I will mark the topic as solved.

If you use jVArcade, please post a rating and a review at the Joomla Extensions Directory

** Please always search for topics that cover your problem before posting in the forum. **
** Documentation links: Tutorials and FAQ's. **
** Questions via PM or e-mail will be ignored unless otherwise requested. **
** Follow us at Twitter, Facebook and G+ **

Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests and 0 other users also viewing this topic

Board Info

Board Stats
 
Total Topics:
3641
Total Polls:
1
Total Posts:
18343
Posts today:
1
User Info
 
Total Users:
38562
Newest User:
radek82x
Members Online:
0
Guests Online:
130

Online: 
There are no members online