Forums  ›  Dolphin 6.1  ›  Troubleshooting
 

Groups

Found a bug today.

In my groups when you goto members of the group and click view all,  nothing happens when u click next page.

Any ideas?  I believe this is a bug for all dolphin users.

Thanks

Derrick

There was a bunch of posts at unity not too long ago about the groups. I don't recall if this was one of them or not. I do not use groups that much. I install dolphin check a few of the links.

The one thing I notice if I hover my mouse over the Page 2/Next Page link I see something like:
/grp.php?action=group_members&ID=3&page=2

It should really be more like this:
/grp.php?action=group_members&ID=3&page=2

So it is most likely getting confused by the & part.

Try changing it and removing or playing around with the following code in:
/inc/classes/BxDolGroups.php


It's a big file but look for this at or near the halfway point in the file:
if( $iPagesNum > 1 ) {
$sPagesUrl = "{$_SERVER['PHP_SELF']}?action=group_members&{$sEditModeReq}ID={$iGroupID}&page={page}";
$sGenPagination = genPagination( $iPagesNum, $iPage, $sPagesUrl );
}

Change the & part to only & like:
if( $iPagesNum > 1 ) {
$sPagesUrl = "{$_SERVER['PHP_SELF']}?action=group_members&{$sEditModeReq}ID={$iGroupID}&page={page}";
$sGenPagination = genPagination( $iPagesNum, $iPage, $sPagesUrl );
}

There is also a reference to editing that may need a similar change in this file.

Also find this for edit:
<div class="caption_item">
<a href="{$site['url']}{$this->sCurrFile}?action=group_members&amp;mode=edit&amp;ID={$iGroupID}">{$sEditMembC}</a>
</div>

Then change the &amp; part again if necessary like:
<div class="caption_item">
<a href="{$site['url']}{$this->sCurrFile}?action=group_members&mode=edit&ID={$iGroupID}">{$sEditMembC}</a>
</div>

Hope this works for you!!
gameutopia

Worked.

Thanks man!