PDA

View Full Version : ICQ, AIM, Yahoo sorting


SFishy
12-28-2004, 03:54 AM
Another wacky mod I had on version 2.3.0 that I can't figure out for my recently upgraded 3.0.3...

The way I had it set up was that when you went to the member list you could select to pull up all the members who had an ICQ # OR an AIM Username OR a Yahoo ID. So for example, I'd have a link that say "ICQ list" and it would pull up only members who had an ICQ # in their profile. This was great because it served as an ICQ list / AIM list or Yahoo list.

Anyone have any idea how I could implement this on 3.0.3?

SFishy
12-28-2004, 08:32 PM
Another wacky mod I had on version 2.3.0 that I can't figure out for my recently upgraded 3.0.3...

The way I had it set up was that when you went to the member list you could select to pull up all the members who had an ICQ # OR an AIM Username OR a Yahoo ID. So for example, I'd have a link that say "ICQ list" and it would pull up only members who had an ICQ # in their profile. This was great because it served as an ICQ list / AIM list or Yahoo list.

Anyone have any idea how I could implement this on 3.0.3?
? Anyone ?

Andrew
12-28-2004, 09:17 PM
? Anyone ?
I can take a look and see if I can't figure a way to do that. Would you by chance have the vB2 hack that I could use as a reference ?

SFishy
12-28-2004, 09:45 PM
I can take a look and see if I can't figure a way to do that. Would you by chance have the vB2 hack that I could use as a reference ?
I don't. It was something a friend of mine (also my system admin did) and I have to go by memory.

I THINK it was memberlist.php that was modified... and the modified lines were:

$templatesused = "memberlist_letterselected,memberlist_letter,postbi t_search,postbit_useremail,icq,aim,yahoo,postbit_h omepage,postbit_sendpm,postbit_profile,memberlistb it,memberlist,memberlistsearch";

and

$pagenav = getpagenav($totalusers,"memberlist.php?s=$session[sessionhash]&action=$action&what=$what&ltr=" . urlencode( $ltr ) . "&perpage=$perpage&orderby=$orderby&ausername=$ausername&homepage=$homepage&icq=$icq&aim=$aim&yahoo=$yahoo&joindateafter=$joindateafter&joindatebefore=$joindatebefore&lastpostafter=$lastpostafter&lastpostbefore=$lastpostbefore&postslower=$postslower&postsupper=$postsupper&direction=$direction");

I'm guessing though...

SFishy
12-28-2004, 09:52 PM
Actually, there's more changes than above, but not much more.

I've attached the original file and the mod'ed file...

Thanks!

SFishy
12-29-2004, 03:34 PM
True.Rooster -- not sure if you saw this...

(or anyone willing to give this a shot)

Thanks :)

SFishy
12-30-2004, 07:19 PM
I got this figured out. If anyone wants it, let me know.