News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Searching for Buddies

Started by PopsicleStickChick, September 22, 2006, 11:07:12 AM

Previous topic - Next topic

PopsicleStickChick

In composing a new PM, I use the Find Members option.  I put in the * wildcard and check the box to only search for buddies.  I get results showing two pages.  When I try to go to the second page of results, it changes and shows me all members due to the * wildcard.  Any ideas?
www.grubesismyleader.com

An Internet forum dedicated to a former board operator at a Dallas sports talk radio station

jerm


PopsicleStickChick

www.grubesismyleader.com

An Internet forum dedicated to a former board operator at a Dallas sports talk radio station

PopsicleStickChick

Another bump.  Is this just release candidate stuff and the final version won't have this bug?
www.grubesismyleader.com

An Internet forum dedicated to a former board operator at a Dallas sports talk radio station

Oldiesmann

Looks like it's due to a minor typo. I'll report it as a bug, but here's how you can fix it in the meantime...

Sources/Subs-Auth.php

Find
Code (Line 485) Select
$context['page_index'] = constructPageIndex($scripturl . '?action=findmember;search=' . $context['last_search'] . ';sesc=' . $context['session_id'] . ';input=' . $context['input_box_name'] . ($context['quote_results'] ? ';quote=1' : '') . ($context['buddy_search'] ? ';buddy' : ''), $_REQUEST['start'], $total_results, 7);

Replace
$context['page_index'] = constructPageIndex($scripturl . '?action=findmember;search=' . $context['last_search'] . ';sesc=' . $context['session_id'] . ';input=' . $context['input_box_name'] . ($context['quote_results'] ? ';quote=1' : '') . ($context['buddy_search'] ? ';buddies' : ''), $_REQUEST['start'], $total_results, 7);

PopsicleStickChick

www.grubesismyleader.com

An Internet forum dedicated to a former board operator at a Dallas sports talk radio station

codenaught

This issue has been fixed for 1.1 final. In the mean time, everyone is welcome to use the fix Oldiesmann posted.

! The "Find Members" box loses track of whether it's buddies only on pagination. (Subs-Auth.php)
Dev Consultant
Former SMF Doc Coordinator

Advertisement: