UBB.Dev
Posted By: amykhar [6.0x] Basic Memberlist - 05/07/2001 7:00 PM
I have turned this hack over to DPK as I no longer have time to play with it. He has made some great changes that I think you will enjoy smile


Here is the link to the hack:

http://www.nfscheats.com/users/DPK/scripts/download/

I removed the screen shot because DPK has improved it tremendously since then.

Amy

[ May 12, 2001 11:53 AM: Message edited by: amykhar ]
Posted By: LK Re: [6.0x] Basic Memberlist - 05/07/2001 7:06 PM
Demo?
Posted By: amykhar Re: [6.0x] Basic Memberlist - 05/07/2001 7:19 PM
Because the board is private, I am unable to link to a live demo. However, I am working on a static html capture of the script.

Amy
Posted By: wardx28 Re: [6.0x] Basic Memberlist - 05/07/2001 7:20 PM
does not work for me on 6.4c, i get 500 Internal Server Error with correct permissions.

Ps. looks great!!!

[ May 07, 2001 12:22 PM: Message edited by: wardx28 ]
Posted By: amykhar Re: [6.0x] Basic Memberlist - 05/07/2001 7:34 PM
ward,

are you running

http://www.yourserver/cgi-bin/get_memberlist.cgi instead of

http://www.yourserver/cgi-bin/ultimatebb.cgi?ubb=get_memberlist

That seems to be the only way I can generate a 500 error.

Amy
Posted By: wardx28 Re: [6.0x] Basic Memberlist - 05/07/2001 7:40 PM
Yes I was, but now i get You are attempting to reach a page that does not exist.

[ May 07, 2001 12:40 PM: Message edited by: wardx28 ]
Posted By: amykhar Re: [6.0x] Basic Memberlist - 05/07/2001 7:41 PM
ward,
Make sure you did the ultimatebb.cgi hack part. It's a simple cut and paste. smile

Amy
Posted By: wardx28 Re: [6.0x] Basic Memberlist - 05/07/2001 7:52 PM
You are the greatest.
Posted By: LK Re: [6.0x] Basic Memberlist - 05/07/2001 8:31 PM
wow, looks great!!!!


Thanks a lot smile

Just the font color/name in the first row isn't the default one, and maybe you should change get_memberlist.cgi to ubb_memberlist.cgi, so it will sound more like other files.

Maybe the first row should be:
Login

Name
Number of

Posts
Date

Joined


[ May 07, 2001 01:48 PM: Message edited by: LK ]
Posted By: amykhar Re: [6.0x] Basic Memberlist - 05/07/2001 8:54 PM
LK,
thanks. I'll fix it. I never really intended to release this and did some hard coding.

Amy
Posted By: XuDuX Re: [6.0x] Basic Memberlist - 05/07/2001 9:01 PM
Is there a way to get the member's status to appear as one of the columns? I tried $user_profile[8] but that dosen't show the status's that are renamed in the CP (eg: Cadet instead of Junior Member)
Posted By: LK Re: [6.0x] Basic Memberlist - 05/07/2001 9:04 PM
XuDuX, try &CustomTitle($user_profile[8])
Posted By: amykhar Re: [6.0x] Basic Memberlist - 05/07/2001 9:19 PM
zip file updated.

Amy
Posted By: LK Re: [6.0x] Basic Memberlist - 05/07/2001 9:27 PM
Forgot to tell you to also do about the same thing in other TDs:


while ( $counter2 < $counter ) {
($user,$number) = split(///, @sort_array[$counter2]);
@user_profile = &OpenProfile($number);
print"";
print "".$user. "
";
print"";
print"$user_profile[7] posts$user_profile[10]";
$counter2 ++;
}


tipsy

LK.

[ May 07, 2001 02:29 PM: Message edited by: LK ]
Posted By: Dreamweaver Re: [6.0x] Basic Memberlist - 05/07/2001 9:43 PM
How can i break this lis to mutiple pages ?
My list is tooooo long frown

Thank you for this great hack , i've been waiting for it for a long time smile
Posted By: XuDuX Re: [6.0x] Basic Memberlist - 05/07/2001 9:54 PM
Quote
quote:
Thanks, now where do I put that (Sorry, I'm not really good at changing much of this stuff on my own)
Posted By: LK Re: [6.0x] Basic Memberlist - 05/07/2001 10:05 PM
*******************
OPEN ubb_memberlist.cgi
*******************

Find:
====
Login NameNumber of PostsDate Joined


REPLACE WITH:
============

Login NameNumber of PostsDate JoinedStatus


FIND:
====

print"$user_profile[7] posts$user_profile[10]";

REPLACE WITH:
============

print"$user_profile[7] posts$user_profile[10]";
print"";
print"&CustomTitle($user_profile[8])posts$user_profile[10]";

[ May 07, 2001 03:08 PM: Message edited by: LK ]
Posted By: ZoneX Re: [6.0x] Basic Memberlist - 05/07/2001 10:15 PM
Nooo! I tried to install this hack, but it could not find :

if ($ubb eq 'find_lost') {
require "$vars_config{CGIPath}/ubb_lib_misc.cgi";
&find_lost; exit;
} #end find_lost

in Ultimatebb.cgi.

I added the other bit in an appropriate place in the script though, but I still got error 500s!

I then tried to revert to my backup of ultimatebb.cgi and STILL got the Error 500. So, I decided to re-download it from Infopop.com and STILL got error 500s.

Please help, my board is now down!

If it helps, my address is http://cgi-bin.spaceports.com/~xrealms/cgi-bin/ultimatebb.cgi
Posted By: wardx28 Re: [6.0x] Basic Memberlist - 05/07/2001 10:19 PM
@zone, it is dependent on the Ultimatebb.cgi code. Must apply.
Posted By: ZoneX Re: [6.0x] Basic Memberlist - 05/07/2001 10:24 PM
Sorry Ward, your comments lost me slightly...sorry...
Posted By: amykhar Re: [6.0x] Basic Memberlist - 05/07/2001 10:27 PM
zone,
There are no other bits to add to the script besides the ultimatebb.cgi part.

The part you are looking for is all the way down at the bottom.

Where did you add code besides the part that was meant to go in ultimatebb.cgi?

Amy
Posted By: amykhar Re: [6.0x] Basic Memberlist - 05/07/2001 10:29 PM
Dreamweaver,
I just now got it broken into pages of 50, but I am not happy with it just yet. I am working on an alphabetical break down of the list.

Amy
Posted By: amykhar Re: [6.0x] Basic Memberlist - 05/07/2001 10:31 PM
Zone, I don't appreciate what your link just did to me. I am at work and do not need popups of women everywhere.

Amy
Posted By: ZoneX Re: [6.0x] Basic Memberlist - 05/07/2001 10:31 PM
I added it after :

if ($ubb eq 'register_page') {
require "$vars_config{CGIPath}/ubb_registration.cgi";
®ister_page; exit;
} #end register_page

Now I keep getting 500s.
Posted By: topiland Re: [6.0x] Basic Memberlist - 05/07/2001 10:33 PM
if you will see the memberlist with members public name do the following

#open ubb_getmemberlist.cgi#

#find :

Login NameNumber of PostsDate Joined

#replace with:

Public NameNumber of PostsDate Joined

#find:

print "".$user. "
";

#replace with:

print "".$user_profile[15]. "
";

[ May 07, 2001 03:35 PM: Message edited by: topiland ]
Posted By: amykhar Re: [6.0x] Basic Memberlist - 05/07/2001 10:38 PM
I can't verify that zone because when I go to the link you posted, I don't get a ubb. I get inudated by popups for exciting products like viagra.

Sorry, can't help.

Amy
Posted By: stamatoulis Re: [6.0x] Basic Memberlist - 05/07/2001 10:39 PM
I have just installed this wonderfull hack and it works!
Good work amykhar!
I would like to know if it easy to put in this hack some other fields such us e-mail, home page etc?
Also a good idea is that we can change wordlets, this might will be easy. :rolleyes:

Bye,
John
Posted By: XuDuX Re: [6.0x] Basic Memberlist - 05/07/2001 10:40 PM
LK, I have already tried this, and all that it shows is "&CustomTitle(Junior Member)" etc where I want the $vars_misc{JrMemberTitle} etc. to be.
Posted By: ZoneX Re: [6.0x] Basic Memberlist - 05/07/2001 10:44 PM
Yeah, the host give you those pathetic and annoying pop ups when you reach a page in either 500 or 404 errors.

Hmmm, I can reach the CP, but not ultimatebb.cgi
Posted By: Killahbyte Re: [6.0x] Basic Memberlist - 05/07/2001 11:58 PM
Anyone know if this works on NT? Cause mine is jacked up
Posted By: Sheffield Tunes Re: [6.0x] Basic Memberlist - 05/08/2001 12:20 AM
why do i get spaces in the memberlist it shows some members and the do space and continues
and also i wanted to ask how do i make a link from the ubb summery page to the memberlist?
i want that it will be on the menu at the top of the ubb
thanks
Posted By: amykhar Re: [6.0x] Basic Memberlist - 05/08/2001 12:44 AM
Killabyte, it works on my Win200 pc that hosts my test board.

Amy
Posted By: amykhar Re: [6.0x] Basic Memberlist - 05/08/2001 12:47 AM
Sheffield,

What names should show between altran and Beowulf and between scooter and Mrs. BadGuy on your list?

Knowing that could help me find the problem. smile

Amy
Posted By: XuDuX Re: [6.0x] Basic Memberlist - 05/08/2001 12:48 AM
Here's what I did for links (up on the top with my profile, etc) for my memberlist
####Open ubb_lib.cgi
###FIND
$MainButtons = qq!
$vars_wordlets{profile_link} $RegisterLink $SearchLink | $vars_wordlets{faq_link} | $vars_wordlets{forum_home_link}
!;

###REPLACE WITH
$MainButtons = qq!
$vars_wordlets{profile_link} $RegisterLink $SearchLink | $vars_wordlets{faq_link} | $vars_wordlets{member_list_link} | $vars_wordlets{forum_home_link}
!;

####Open vars_wordlets.cgi
###Find
);
1;

###Above it add
member_list_link => q~memberlist~,
member_list_acronym => q~List of Members~,

###Clear Cache, and the Link will be on every page with the main bar
I'm not sure if the member_list_acronym wordlet is needed, someone please tell me. Also if you have the My Profile, Register, Search, etc with capitals or different wording you can change the member_list_link in the CP main wordlets.

[ May 07, 2001 05:52 PM: Message edited by: XuDuX ]
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/08/2001 12:58 AM
problem:

http://discussion.nfscheats.com/cgibin/ultimatebb.cgi?ubb=get_memberlist

(scroll all the way down)
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/08/2001 1:22 AM
there is a problem with how this hack checks for members/numbers in the memberlist file; see my link above and scroll down.

the member causing that error:

JBNFSHS / Joshua|!!|00000062

its the '/' char causing the error.

[ May 07, 2001 06:40 PM: Message edited by: DPK ]
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/08/2001 3:02 AM
Well, i fixed that error by using a different seperator then the one u are using. But that one produced conflicts with others. Bah. Time to try something a little more intensive. smile
Posted By: kaak Re: [6.0x] Basic Memberlist - 05/08/2001 9:46 AM
THANKS AMY!!! Great work! Just one question... is there any chance you could add a send pm column?
Posted By: Stuck Re: [6.0x] Basic Memberlist - 05/08/2001 11:07 AM
Great hack m8..:)
Thanx alot...Works fine in Ie,but not so good in netscape..:(:(

Still nice work,keep it up... laugh
Posted By: LK Re: [6.0x] Basic Memberlist - 05/08/2001 1:07 PM
XuDuX, so make $user_customstatus = &CustomTitle($user_profile[8]);

then, instead of &CustomTitle($user_profile[8]), type $user_customstatus

kaak, just put

[ May 08, 2001 06:09 AM: Message edited by: LK ]
Help please smile

I have the script so that it can split the memberlist into either groups of 50 or into pages based on the first letter of the username.

What I need is two things to make it better.

1) I need help with a regular expression that will return all login names that start with a symbol or number instead of a letter.

2) I need help with the dropdown box of letters. Currently, I hard coded each option tag, and have no way to mark as selected the letter that users are currently viewing.

I am willing to email the code to anyone who wants to help improve this thing.

Amy
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/08/2001 8:46 PM
amy, i'd be willing to help with whatever. smile
Posted By: jordo Re: [6.0x] Basic Memberlist - 05/08/2001 9:10 PM
i have a member with a pipe (|) in his name so i just changed the seperator to seperate by the |!!| dont know if this will help anyone else but it seems a more efficient way of doing it to me.

so the while statement now looks like this:
Code
code:
Posted By: jordo Re: [6.0x] Basic Memberlist - 05/08/2001 9:13 PM
amykhar - for the 1st of the 2 things u needed help with above. it probably work just to check if the first char is NOT a letter, then to go one and check if it is NOT a letter and NOT a number, so then its a special char. hope that is helpfull.

great hack btw. laugh

[ May 08, 2001 02:14 PM: Message edited by: jordo ]
Posted By: kaak Re: [6.0x] Basic Memberlist - 05/08/2001 9:34 PM
Okay, i changed the code to look like this:
Code
code:

And now, when you click on send PM, it says it cannot find profile for member number???
Posted By: LK Re: [6.0x] Basic Memberlist - 05/08/2001 9:39 PM
Code
quote:</font><HR>Originally posted by kaak:
Okay, i changed the code to look like this:
<BLOCKQUOTE><font size="1" face="Verdana, Helvetica, Arial">code:

And now, when you click on send PM, it says it cannot find profile for member number???



FIND:
====



REPLACE WITH:
============

Hi amykhar,

thanks a lot for this really great hack, I like it quite much! smile

Have got a question on it: I want to use this script for displaying the top posters in my board.

How do I have to modify it so the memberlist will be sorted by the number of posts, and not by username?

Thanks for your help!
Posted By: Dreamweaver Re: [6.0x] Basic Memberlist - 05/08/2001 10:30 PM
How can I add custom status hack column in this great hack ?

Thank smile
Posted By: amykhar Re: [6.0x] Basic Memberlist - 05/08/2001 10:55 PM
Sokar,
It would be extensive. Currently, the list is set up by alphabetically sorting the usernames and then grabbing info from their profiles.

I need some time to think of the best way to allow sorting based on the different categories.

Amy
Posted By: Sokar Re: [6.0x] Basic Memberlist - 05/08/2001 11:05 PM
Quote
quote:
That would be really very nice of you if you could find a way to do this!

[ May 08, 2001 04:05 PM: Message edited by: Sokar ]
Posted By: XuDuX Re: [6.0x] Basic Memberlist - 05/08/2001 11:29 PM
Quote
quote:
I've tried putting this practically everywhere I can think of in the file, its usually giving me a blank space (when not an error). I think its not checking &CustomTitle (this sub is in ubb_lib right?) or if it is its not reading it correctly or something.
Posted By: Stuck Re: [6.0x] Basic Memberlist - 05/08/2001 11:36 PM
Scrap thatDoh,,,It worked this time...lol

[ May 08, 2001 04:43 PM: Message edited by: Stuck ]
Posted By: Blaze Re: [6.0x] Basic Memberlist - 05/08/2001 11:49 PM
I tried making mine look like the original one for 5

http://lm.h-realms.com/cgi-bin/ultimatebb.cgi?ubb=get_memberlist
Posted By: Stuck Re: [6.0x] Basic Memberlist - 05/09/2001 12:11 AM
Wey hey,

Looks good 2 pac...Well done m8....
Posted By: Icarus Re: [6.0x] Basic Memberlist - 05/09/2001 3:53 AM
Quote
quote:
Any chance of getting the full code for the one you are using ? Thats really what I need and I lack the skills to do it myself.
Posted By: CtrlAltDel Re: [6.0x] Basic Memberlist - 05/09/2001 4:21 AM
we should break this into 2 scripts

one script to parse the memberlist, and setup data

second script to display

would cut down on CPU usage

[ May 08, 2001 10:34 PM: Message edited by: CtrlAltDel ]
Posted By: CtrlAltDel Re: [6.0x] Basic Memberlist - 05/09/2001 5:22 AM
oh and should show the $user_profile[15]/publicly displayed name as the name on there, not their login...

[ May 08, 2001 10:41 PM: Message edited by: CtrlAltDel ]
Posted By: PeterC Re: [6.0x] Basic Memberlist - 05/09/2001 5:47 AM
Hi,

I am trying to add a table with the PM icon with a link to PM the user.....
Code
code:

However I get an error saying that it is not terminated....

Isn't that what the last quote does?
Posted By: CtrlAltDel Re: [6.0x] Basic Memberlist - 05/09/2001 6:06 AM
you cant have quotes inside of quotes in a print statement

use ' if you can inside quotes in a print statement
Posted By: CtrlAltDel Re: [6.0x] Basic Memberlist - 05/09/2001 6:12 AM
change the top part to this, if you want the list sorted by publicly displayed name rather then login name

while() {
@line = split(/|!!|/, $_);
@open_profile = &OpenProfile(@line[1]);
$username = @open_profile[15];
@raw_array[$counter] = lc($username)."/".@line[1];
$counter ++;
}
Posted By: CtrlAltDel Re: [6.0x] Basic Memberlist - 05/09/2001 7:01 AM
Quote
quote:
ditto for me
Posted By: jordo Re: [6.0x] Basic Memberlist - 05/09/2001 7:44 AM
maybe im missing it but is there any special reason for the lowercasing of the users names
in this line?
@raw_array[$counter] = lc($username)."/".@line[1];
Posted By: LK Re: [6.0x] Basic Memberlist - 05/09/2001 7:44 AM
PeterC:
Code
code:

XuDuX: I'll try it myself and tell you the fix
Posted By: jordo Re: [6.0x] Basic Memberlist - 05/09/2001 8:24 AM
i rewrote this so that it will write the whole page to a file and then access that file from then on to display the page instead of doing all the routines. not sure if it really cuts down on server use or anything. if this helps you let me know and ill send it to you to look at. smile
Posted By: CtrlAltDel Re: [6.0x] Basic Memberlist - 05/09/2001 8:25 AM
they lowercase them, for the sort line down the page, as sort works on an ascii level...
Posted By: CtrlAltDel Re: [6.0x] Basic Memberlist - 05/09/2001 12:00 PM
http://piratecove.warpstorm.com/cgi-bin/ultimatebb.cgi?ubb=get_memberlist

there is mine so far
this definately needs to be broken up into multiple files.
Posted By: amykhar Re: [6.0x] Basic Memberlist - 05/09/2001 2:18 PM
CtrlAltDelete, What should eventually be done is a script created to go through the list for the existing members, and then create a static file for display.

Then, as new members join, they should be added to the list. I haven't done this because theoretically, leshrac is implementing his old member list. I can't see investing that amount of time in it.

I have thrown together a temporary solution that isn't hard to install, and is easy to get rid of when leshrac finally releases.

However, I do have a version that should be ready for release in a day or two that will break the list into pages. DPK is helping out. (At least he has the code :D)

Amy
Posted By: CtrlAltDel Re: [6.0x] Basic Memberlist - 05/09/2001 8:00 PM
does anyone know the status on leshrac's hack?
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/09/2001 8:52 PM
amy: i'll check my email when i get home in about 30mins when my last class of the day is over and start workin. smile

leshrac: what is the status on ure conversion of ure memberlist script to ubb6?
Posted By: Blaze Re: [6.0x] Basic Memberlist - 05/10/2001 1:44 AM
[Linked Image]


YOU WANT THIS?! Its quite simple if you do.
Posted By: Bo$$ Re: [6.0x] Basic Memberlist - 05/10/2001 2:05 AM
it's not working...
it gives me...
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

--------------------------------------------------------------------------------

Please try the following:

If you typed the page address in the Address bar, make sure that it is spelled correctly.

Open the home.starstation.ro home page, and then look for links to the information you want.
Click the Back button to try another link.
Click Search to look for information on the Internet.
HTTP 404 - File not found
Internet Explorer

_____________________________
wierd!
Posted By: Bo$$ Re: [6.0x] Basic Memberlist - 05/10/2001 2:09 AM
no need...silly me! smile
i was using your link with cgi-bin and i have cgi-local! smile
Posted By: josh Re: [6.0x] Basic Memberlist - 05/10/2001 3:14 AM
Hmph....what the heck is up with my memberlist. I get this at the bottom:

FYI
No member profile found for member number: o
» Please use your browser's back button to return.

http://www.ultanime.net/cgi-bin/ultimatebb.cgi?ubb=get_memberlist

I thought i'd get this fixed before I tried to hack the file to add more columns ect... Any idea on whats wrong people?

- The Allmighty Kitty (M_E_W) [Linked Image]
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/10/2001 3:25 AM
the problem occurs because one of your members, 'o', has a character in his login name that disrupts parsing.

quick fix:

replace the while at the top of the script with:

while() {
@line = split(/|!!|/, $_);
$username = @line[0];
@raw_array[$counter] = lc($username)."|!!|".@line[1];
$counter ++;
}

then scroll down and find:
($user,$number) = split(///, @sort_array[$counter2]);

replace with:
($user,$number) = split(/|!!|/, @sort_array[$counter2]);


should work..... i think. smile havent tried it though
Posted By: josh Re: [6.0x] Basic Memberlist - 05/10/2001 3:29 AM
Yay it works =D, thank you very much ^_^;;.

- M_E_W
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/10/2001 3:36 AM
np mew smile
Posted By: josh Re: [6.0x] Basic Memberlist - 05/10/2001 3:40 AM
Quote
quote:
:D, now it's time to get down to buisiness and add more columns and stuff to it and make it all purdy tipsy.

- M_E_W
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/10/2001 3:45 AM
hehe, wait till u see the next version that amy has cookin wink


amy: if u need anything else, i'm always available and bored. i really need to think of a new idea for a new mod to code. smile
Posted By: josh Re: [6.0x] Basic Memberlist - 05/10/2001 3:58 AM
Quote
quote:
Ooooo.....I can't wait laugh. Amy, is there any way you can give us a preview of "whats cookin" in your next version tipsy smile?
Posted By: kaak Re: [6.0x] Basic Memberlist - 05/10/2001 7:26 AM
2pac: yesyes, that is exactly what we need!!! can you give us a link?
Posted By: Stuck Re: [6.0x] Basic Memberlist - 05/10/2001 12:47 PM
2pac...
Very nice m8...:)Well done...
Any chance of a link for the script....

Thanx in advance
Posted By: stamatoulis Re: [6.0x] Basic Memberlist - 05/10/2001 1:19 PM
Quote
quote:
Yes, how did you do it??
Please tell me...
If you don't want to post, please send me a pm.

Thanks,
Posted By: Blaze Re: [6.0x] Basic Memberlist - 05/10/2001 2:58 PM
Find:

Code
code:


Icons:

AIM: [Linked Image]
Email: [Linked Image]
Homepage: [Linked Image]
Private Message: [Linked Image]
Posted By: Sheffield Tunes Re: [6.0x] Basic Memberlist - 05/10/2001 3:50 PM
why do i get this in my memberlist???
i've got some members with no name but it still shos the topics and all
what did i did wrong??

[ May 11, 2001 09:16 AM: Message edited by: Sheffield Tunes ]
Posted By: stamatoulis Re: [6.0x] Basic Memberlist - 05/10/2001 5:26 PM
Quote
quote:
Thank you very much!

This hack is great!

Thanks again,

Bye,
John
Posted By: Loki Re: [6.0x] Basic Memberlist - 05/10/2001 8:19 PM
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/10/2001 8:47 PM
2pac, u do realize that your little addition does not account for members who have visibility of their email or allow pms turned on/off? smile
Posted By: M2sc-com Re: [6.0x] Basic Memberlist - 05/10/2001 9:08 PM
please fix your code where it fits on the screen, got a 21 inch screen and it still won't fit on it
Posted By: melder Re: [6.0x] Basic Memberlist - 05/10/2001 11:09 PM
#####################
???
#####################

my $this_aim = $user_profile[22];
chomp ($this_aim);

if ($this_aim ne "") {
$this_aim = qq(  
AOL
);
} else {
$this_aim = "";
}

#############################################
can i ad this like this to show or not to show AIM ???

next the code in german ......

>>> include SEARCHING and HEADER and TARGET

#############################################


sub Memberlist {
open (FILE, "$vars_config{MembersPath}/memberslist.cgi") || die "Can't open:";
&lock;
print "";
$counter = 0;

while() {
@line = split(/|!!|/, $_);
@open_profile = &OpenProfile(@line[1]);
$username = @open_profile[15];
@raw_array[$counter] = lc($username)."/".@line[1];
$counter ++;
}


&unlock;
close (FILE);
# get assigned style template!
unless (exists($template_match{summary_page})) { $template_match{summary_page} = 1; }
require "$vars_config{NonCGIPath}/styles/vars_style_$template_match{summary_page}.cgi";

&set_page_elements;
print $Header;

@sort_array = sort(@raw_array);
$counter2 = 0;
print<









$vars_config{BBName}




$MainButtonsLine
















$TBT




» 
$show_logout







$vars_config{BBName}
» MITGLIEDERLISTE  





$TBB








$TBT






















table
while ( $counter2 < $counter ) {
($user,$number) = split(///, @sort_array[$counter2]);

@user_profile = &OpenProfile($number);
print "";

print "";

print "";

print "";

print "";

print "";

print "";

print "";

print "";


$counter2 ++;

}
print"

Name

Suchen

PM

AIM

eMail

HP

Anmeldung

Beiträge
".$user. "


Beiträge suchen.

Private Nachricht versenden.

AOL Nachricht versenden.

eMail versenden.

Homepage
$user_profile[10]
$user_profile[7] Beiträge
";

print $TBB;
print $Footer;
print "";
exit;
}
1;
############################################

www.Chat-Board.de


>>> Mitgliederliste liegt im "UBB Hacker" Kopf wink

[ May 10, 2001 04:19 PM: Message edited by: melder ]
Posted By: Zippy Re: [6.0x] Basic Memberlist - 05/11/2001 3:08 AM
my apologies if someone has suggested this idea already. Amy, in the next version, it'd be great to have the user's member number as a column on the list as well.
Posted By: amykhar Re: [6.0x] Basic Memberlist - 05/11/2001 1:34 PM
Guys, I am bowing out gracefully and passing this over to DPK. I am in the middle of getting ready for a certification exam (amongst other things) and don't have the time to play with this one.

As soon as I find DPK's link to the latest version, I will post it in the top of this thread.

Amy
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/11/2001 11:45 PM
workin on it, hang on smile

you'll like it when you see it.
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/12/2001 12:24 AM
can people please link to text files instead of posting big wads of code? or at least modify the code you post so it doesnt end up blowing the page way out of proportion? smile
Posted By: M2sc-com Re: [6.0x] Basic Memberlist - 05/12/2001 1:16 AM
I agree!
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/12/2001 3:08 AM
Here ya go:
http:// www.nfscheats.com/users/DPK/scripts/download/download.cgi?name=Memberlist%20v6.3.0&file=http://www.nfscheats.com/users/DPK/scripts/cgi_perl/memberlist_6.3.0.zip[/URL]

or simpler url:
http://www.nfscheats.com/users/DPK/scripts/download

more to come. smile enjoy.

[ May 12, 2001 03:46 PM: Message edited by: DPK ]
Posted By: AlienLX Re: [6.0x] Basic Memberlist - 05/12/2001 3:39 AM
Okay, I need some help, if possible..
I've got compact headers installed, and the memberlist display comes out like this:
[Linked Image]

Is there anything I can do to make this look right?
Thanks.

[ May 11, 2001 08:44 PM: Message edited by: AlienLX ]
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/12/2001 3:43 AM
alien...

open public_memberlist and find:
Code
code:


delete it. smile

[ May 11, 2001 08:46 PM: Message edited by: DPK ]
Posted By: AlienLX Re: [6.0x] Basic Memberlist - 05/12/2001 3:49 AM
Fixed.. thanks DPK. smile
Posted By: Killahbyte Re: [6.0x] Basic Memberlist - 05/12/2001 7:45 AM
You are attempting to reach a page that does not exist.
» Please use your browser's back button to return.
Posted By: Tolitz Re: [6.0x] Basic Memberlist - 05/12/2001 8:32 AM
Yep, I get that error too when I tried installing it...
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/12/2001 12:49 PM
* dpk wonders if you people even bothered to read the damn readme text file *
Posted By: LK Re: [6.0x] Basic Memberlist - 05/12/2001 1:31 PM
I chose to show anything except ICQ, but:
a. AIM & PM's alt colors are the same (they shouldn't be).
b. Location & Date Joined's alt colors are the same (they shouldn't be).

I think there will be many others like that when I'll deselect some options.

But... I like it wink

[ May 12, 2001 06:33 AM: Message edited by: LK ]
Posted By: LK Re: [6.0x] Basic Memberlist - 05/12/2001 1:42 PM
Fix:
Code
code:
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/12/2001 2:13 PM
LK: thanx for noticing that, i had no idea, must have slipped by me without notice. smile in next version. tipsy
Posted By: anticonscience Re: [6.0x] Basic Memberlist - 05/12/2001 5:21 PM
it's a great hack...I noticed the color column deal but that's a no brainer fix..I also went back thru and centered a lot of the columns.

nice work!

http://www.anticonscience.net/cgi-bin/ultimatebb.cgi?ubb=memberlist
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/12/2001 10:55 PM
New Memberlist Version:
http://www.nfscheats.com/users/DPK/scripts/download/download.cgi?name=Memberlist%20v6.3.4&file=http://www.nfscheats.com/users/DPK/scripts/cgi_perl/memberlist_6.3.4.zip

or at:

http://www.nfscheats.com/users/DPK/scripts/download
Posted By: Sammie Re: [6.0x] Basic Memberlist - 05/13/2001 1:57 PM
Maybe a shorter method to print the dropdown-letter list.
Code
code:
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/13/2001 3:09 PM
Sammie: thankyou for your suggestion. i tested it out and it works aok. its in the next release and there is a comment by that block of code giving you credit for that. smile

i modified it a bit though to do this:

Code
code:

[ May 13, 2001 08:10 AM: Message edited by: DPK ]
Posted By: melder Re: [6.0x] Basic Memberlist - 05/13/2001 5:01 PM
show this ... www.chat-board.de (at the top) >>Memberlist<<

############ print after "list title" ######

$TBB











~;
}


if ($ML_next_link || $ML_previous_link) {
print "






MemberlistGuts

if ($ML_view == 1) {
print qq~


  $ML_previous_link $ML_next_link
";
}

print<
$TBT

########################
to display not ! the login-name change:

print "

$user_profile[15] # edit this !

";

######################################

how can i sort by the "real name" ???
edit the POST (if u like)
######################################

if ($ML_switch_posts eq "ON") {

if (($user_profile[7] ne "") && ($user_profile[7] =~ "0")) {
print "$user_profile[7]"; }
else {
print "$user_profile[7]"; }

##################################
so u can search the post -
BUG: if u have post 10 or 100 or 30 post - u have no link !!

###################
bad english i know

www.chat-board.de

[ May 13, 2001 10:33 AM: Message edited by: melder ]
Posted By: melder Re: [6.0x] Basic Memberlist - 05/13/2001 5:27 PM
in ubb_memberlist.cgi - edit
#############################

# Temporary Configuration
##########################
# ON/OFF

$ML_switch_aim = "ON";
$ML_switch_email = "ON";
$ML_switch_homepage = "ON";
$ML_switch_icq = "ON";
$ML_switch_joined = "OFF";
$ML_switch_location = "ON";
$ML_switch_membernum = "ON";
$ML_switch_pm = "ON";
$ML_switch_posts = "ON";

##########################
# Member per page

$ML_member_page = "20";

# End Config
##########################
and next change:
################


else {
$ML_start = $in{start};
$ML_maxnumber = $ML_member_page; # edit this
$ML_pagecounter = 0;


#######################

my files (in german wordlets) memberlist.zip

demo: www.chat-board.de (at the top)
Posted By: melder Re: [6.0x] Basic Memberlist - 05/13/2001 5:31 PM
yes i am ...
if you sort by letter - it show all members on 1 (one) page.

laugh laugh laugh
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/13/2001 6:16 PM
melder get the version i released yesterday, it already has the code that you posted in it.

[ May 13, 2001 11:18 AM: Message edited by: DPK ]
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/13/2001 6:18 PM
note: next version will have a cp interface for it.
Posted By: TedBrown Re: [6.0x] Basic Memberlist - 05/13/2001 6:38 PM
um, dpk, i think you forgot a color code for the tables that have the drop down menus and the next 50 things. On my board it was displaying as an ugly black color. I fixed it though.

http://www.ps2ug.com/cgi-bin/ultimatebb.cgi?ubb=memberlist

Just thought you would like to know smile

PS: Oh, also one of the icq icons from that icq site does not work. Maybe you can get it from somewhere else.

PPS: A request. Add in the ability to add a link to memberlist where you can click to go to the search function, faq, etc...

[ May 13, 2001 11:40 AM: Message edited by: TedBrown ]
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/13/2001 6:44 PM
ted: not really a mistake i made, i designed it like that. if u want ure board to look like teds:


find
Code
code:

replace with
Code
code:
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/13/2001 6:46 PM
also, the icq image wont work when ure members, for example:

I.P.Freely 0 posts 04-21-2001 00000059

have icq numbers like, "No".

yell at ure members, not me wink i'll parse for valid numbers in the next version.
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/13/2001 9:38 PM
New Version! smile

http://www.nfscheats.com/users/DPK/scripts/download/download.cgi?name=Memberlist%20v6.3.6&file=http://www.nfscheats.com/users/DPK/scripts/cgi_perl/memberlist_6.3.6.zip

or

http://www.nfscheats.com/users/DPK/scripts/download


Includes an SHW installer for those who are lazy. smile
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/13/2001 9:48 PM
next release should have multiple pages for letter categories, a search feature, and some other goodies.
Posted By: TedBrown Re: [6.0x] Basic Memberlist - 05/13/2001 9:51 PM
Um, why would you design it like that? It looks really ugly and like there is something wrong with the tables, because thats the color you get when you screw with ubb's tables.

Also, sorry about the icq thing. I didnt notice that was why it did that.

[ May 13, 2001 02:52 PM: Message edited by: TedBrown ]
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/13/2001 10:12 PM
i designed it so that the dropdown boxes and everything would be in a table that had a transparent bg. my board has a black bg. i guess i didnt notice it. anyways, i removed the $TBT and $TBB for that section of the code and replaced it so that it displays right. download the new version i just released, works fine, i think. smile

my fault for any problems, i didnt get alot of sleep in the last two days.

[ May 13, 2001 03:15 PM: Message edited by: DPK ]
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/13/2001 10:18 PM
by a cast of votes, vote:

1. default sort by display name
2. default sort by login name (current)
Posted By: melder Re: [6.0x] Basic Memberlist - 05/13/2001 10:23 PM
@ DPK
here i am again ...

1) delete the 2. ICO Gif
2) delete the $TBB in the top table at the SORT button in .pl

...... ad u like ..........



... to search by posts ...



- can i sort by public_names
- get "target" by Homepage and ICQ


www.chat-board.de
Posted By: Slasher Re: [6.0x] Basic Memberlist - 05/13/2001 10:37 PM
When i go to the cp and click on the memberlist settings, i get the following error: "You do not have permission to access this area." Maybe that's because i couldn't find the "$MainButtons = qq!" etc, etc line in ubb_lib?
Posted By: Slasher Re: [6.0x] Basic Memberlist - 05/13/2001 10:43 PM
The "$MainButtons = qq!" line doesn't exist in 6.04a.
Posted By: XuDuX Re: [6.0x] Basic Memberlist - 05/13/2001 10:44 PM
I'd have to say that I'd prefer it do by displayed name, because thats the name everyone (regular members) know.


You also may want to set the text for the link ($MainButtons) as a wordlet, so those that capitalize it or have different languages can change it in the cp.

[ May 13, 2001 03:47 PM: Message edited by: XuDuX ]
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/13/2001 10:53 PM
xudux: like i've said, i havent done wordlets for this yet.

slasher: make sure u have followed all directions.
Posted By: TedBrown Re: [6.0x] Basic Memberlist - 05/13/2001 11:13 PM
yes works great. And the broken icq images are gone to. smile
Posted By: Sammie Re: [6.0x] Basic Memberlist - 05/14/2001 1:40 PM
the ubb_memberlist.cgi has a count-error

>> $ML_next = $ML_start+$ML_maxnumber+1

When you put +1 after this it counts 50+1 and this is wrong. Check this when you sort by usernumber. Every time you change a page (next 50) 1 member is missing. Delete the +1 ($ML_next = $ML_start+$ML_maxnumber) and it counts correct. ($ML_next = $ML_start+$ML_maxnumber+1 exist 2 times in this file)

[ May 14, 2001 06:43 AM: Message edited by: Sammie ]
Posted By: LK Re: [6.0x] Basic Memberlist - 05/14/2001 3:52 PM
There is a bug, that occurs if there are less members than ML_sort_postnum:
Fix (works in my testboard):
Code
code:
Anticonscience, yes, it's not a brainer fix, but somebody has to do it wink
Posted By: Dreamweaver Re: [6.0x] Basic Memberlist - 05/14/2001 6:14 PM
Help , I dont know it give me this page not exist error frown , i put a link like this



and uploaded 2 files , set permission , but don't know why

It worked with old version by amykhar with a link



with get_memberlist.cgi in cgi folder

Please help , i'm so new with this . Please check that link for me , i'm sorry about language but it a "page not exist" error

Thank you
Dreamweaver, you didn't modify/upload your ultimatebb.cgi file correctly.
Check the "if ($ubb eq 'memberlist') {" part.
Posted By: Dreamweaver Re: [6.0x] Basic Memberlist - 05/14/2001 7:05 PM
This text copy from my ultimatebb.cgi

if ($ubb eq 'find_lost') {
require "$vars_config{CGIPath}/ubb_lib_misc.cgi";
&find_lost; exit;
} #end find_lost

if ($ubb eq 'memberlist') {
require "$vars_config{CGIPath}/ubb_memberlist.cgi";
&Memberlist_Parse; exit;
} #end memberlist


I cut and pasted from instruction file frown
Posted By: Dreamweaver Re: [6.0x] Basic Memberlist - 05/14/2001 7:18 PM
I've got ultimatebb.cgi hack as mentioned before , 2 file ubb_memberlist.cgi mode 755 , public_memberlist.pl mode 755

and a link like that in my board and i don't know why frown frown . I want the sort and multi page functions coz my board will full of member soon frown Please helpppppppp

[ May 14, 2001 12:29 PM: Message edited by: Dreamweaver ]
Posted By: melder Re: [6.0x] Basic Memberlist - 05/14/2001 7:45 PM
PLZ - i like not only to show the "public names"

>>> i like to sort by public names



can u do it ...

www.chat-board.de
Posted By: Dreamweaver Re: [6.0x] Basic Memberlist - 05/14/2001 8:49 PM
Please help someone frown i also clear cache but can't help frown
Posted By: LK Re: [6.0x] Basic Memberlist - 05/14/2001 8:56 PM
That only should happen if you didn't upload ultimatebb.cgi or ubb_memberlist.cgi.

BTW, I can't see "Powered by Infopop" anywhere...
Posted By: LK Re: [6.0x] Basic Memberlist - 05/14/2001 8:58 PM
Or change "if ($ubb eq 'get_memberlist') {"'s content to:

if ($ubb eq 'get_memberlist') {
require "$vars_config{CGIPath}/ubb_memberlist.cgi";
&Memberlist_Parse; exit;
} #end get_memberlist


and change all links to ultimatebb.cgi?ubb=memberlist to ultimatebb.cgi?ubb=get_memberlist

[ May 14, 2001 01:59 PM: Message edited by: LK ]
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/14/2001 9:12 PM
dreamweaver:
please get the latest version, in the latest version, the ultimatebb.cgi if block should look like this (in v6.3.6):

if ($ubb eq 'memberlist') {
require "$vars_config{CGIPath}/ubb_memberlist.cgi";
&memberlist_parse; exit;
} #end memberlist

for some weird reason, maybe because i was tired, i changed the subroutine to lowercase.

if that doesnt work, take the hack out, make sure u download 6.3.6 from here , and install it. There is an auto installing shw file which should make ure life easier. If you are still having trouble, reply and I'll talk some more. You may also want to try LK's suggestions.


sammie:
* edit: n/m, i figured out what u meant * smile


lk:
your code and credit for it will be in the next release, thankyou. smile the more people contribute to this, the better it will be. smile


melder:
i'm not quite sure what you are asking? from my standpoint, i am recoding parsing so that it displays the display names only and not login names. partly for security and mostly because on the ubb you dont see a persons login name, you know them by their display name.

[ May 14, 2001 02:22 PM: Message edited by: DPK ]
Posted By: Dreamweaver Re: [6.0x] Basic Memberlist - 05/14/2001 11:21 PM
I change all to get_memberlist and it work wow laugh thank LK .
Posted By: anticonscience Re: [6.0x] Basic Memberlist - 05/15/2001 6:13 AM
ok i just installed the newest release and i'm having some issues....

#1 when you first pull the memberlist it is not sorted correctly....half the "a,b,c etc." names end up on the second page after some of the "z's".

#2 this hack is showing the users registered names...not their display names.

I'm really mostly concerned about the first one..


http://www.anticonscience.net/cgi-bin/ultimatebb.cgi?ubb=memberlist

any suggestions? thanks.

[ May 14, 2001 11:15 PM: Message edited by: anticonscience ]
Posted By: melder Re: [6.0x] Basic Memberlist - 05/15/2001 8:21 AM
melder:
i'm not quite sure what you are asking?

Quote
quote:

... understand now ?
...........................................

to show there displayed names (public names i say)

edit in pl. $user_profile[0] to $user_profile[15]


to sort edit .cgi to ???

...........................................
www.chat-board.de
Posted By: Slurpee Re: [6.0x] Basic Memberlist - 05/15/2001 6:36 PM
Works pretty good. You definitely will want to consider breaking up the letter pages into multiple pages with "Next" and "Previous" at the top. Some of my letters have 60 or 70 names, too much to load one page.

Anyone else noticing that in the "Location" area, the background is the bg color and not the alt color if the person doesn't have anything in that field? Been trying if/else statements there, but have had no luck, so if anyone has the fix, post it.

[ May 15, 2001 01:04 PM: Message edited by: Slurpee ]
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/15/2001 8:55 PM
anticonscience:
1. yes, bug fixed for next version.
2. i already stated that the next version will sort by display names, instead of registered users. it is a security risk not to do it otherwise. smile i agree.


melder:
yes, i understand now, this is fixed in the upcomming version.


slurpee:
lemme guess, ure seeing that on a netscape or older browser? the problem is that a browser like netscape will see that there is no content in that box of the table and and wont display the bg right. the simple solution is to just replace all the " "'s with "& nbsp ;"'s (ignore space between the & and n and the p and ; ). i'll fix it for next release.

also multi-page alphabet categories will be added to the next version.

[ May 15, 2001 05:03 PM: Message edited by: DPK ]
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/15/2001 8:56 PM
expect a new version by either wednesday or thurday. i am busy with some school stuff at the moment. tipsy
Posted By: Slurpee Re: [6.0x] Basic Memberlist - 05/15/2001 9:02 PM
DPK - Yep 'ole Netscape is the culprit. I tried using if/else statements and call a blank space instead of the $user_profile[6]. But alas no good. I'll look into your solution too. smile
Posted By: Slurpee Re: [6.0x] Basic Memberlist - 05/15/2001 9:12 PM
DPK - found the problem. The reason you can't get the bg to print properly even with an if/else statement is that you need to to chomp the $user_profile[6] field in public_memberlist.pl. Once I did that, the bg did properly display after I used my if/else statement.
Posted By: PeterC Re: [6.0x] Basic Memberlist - 05/16/2001 2:19 AM
The template file has some html issues in it.

If I knew where they were I would be more descriptive but I don't.

I have my UBB enclosed in a table but the memberlist template seems to add an extra table tag and screws up the look of the page. :rolleyes:

My memberlist VS. what the style should look like My UBB

[ May 15, 2001 07:20 PM: Message edited by: PeterC ]
Posted By: melder Re: [6.0x] Basic Memberlist - 05/16/2001 8:44 AM
...

[ May 16, 2001 01:49 AM: Message edited by: melder ]
Posted By: melder Re: [6.0x] Basic Memberlist - 05/16/2001 8:46 AM
... melder wink

ad - in the "sort option" to come back after sort by ...
###########################



###########################
edit, like in ubb topics, the next and prev to gif in .cgi
###########################




###
- and delete the "    " in .pl
##########################
and if u like:

- change the "#" to "@" or "special" 4 a better understanding ...

-
the AIM, PM, HP, ICQ, Search (if u insert)
- 4 the "posts"
- 4 "public wink -name, location and membernumber.
melder: www.chat-board.de

[ May 16, 2001 01:50 AM: Message edited by: melder ]
Posted By: melder Re: [6.0x] Basic Memberlist - 05/16/2001 8:47 AM
ups
Posted By: Romulus Re: [6.0x] Basic Memberlist - 05/16/2001 11:13 PM
Wow I have been looking for this hack for a while to replace my Coldfusion/SQL based email system with UBB's PM feature. Great work DPK! laugh
Posted By: Dreamweaver Re: [6.0x] Basic Memberlist - 05/17/2001 11:19 PM
Help , how do I get rid of "0000" before member number ?

Thanks
Posted By: Dreamweaver Re: [6.0x] Basic Memberlist - 05/18/2001 1:26 PM
There's any update version allow sort members by join date ?

Thank you
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/19/2001 2:07 AM
sorry for the delay, been busy with exams lately, expect another version soon.
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/19/2001 3:12 AM
btw, if you want to test out my work as i move along and report bugs here, goto:

http://discussion.nfscheats.com/cgibin/ultimatebb.cgi?ubb=memberlist


so far:
  • multi-spanning categories have been done as requested
  • default sorting by public display name instead of login name
  • reported problem with the counter adding 1 to the 'start' fixed
  • public names are made lowercase, i just think it looks cleaner and it's how amy originally did it
  • it was suggested to sort by date joined, but i see no point really for that because if you sort by user number you will see the order that people joined and the date they joined sorted smile my 2 cents


[ May 18, 2001 08:33 PM: Message edited by: DPK ]
Posted By: cold Re: [6.0x] Basic Memberlist - 05/19/2001 2:36 PM
Quote
quote:
where i can find that's file ..i cant find it
(ubb_getmemberlist.cgi)


thanks
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/19/2001 3:40 PM
[cold]: the code that you just quoted above is not something that will work to sort correctly by public name.
Posted By: cold Re: [6.0x] Basic Memberlist - 05/19/2001 3:43 PM
how to modify memberlist pages, so on the memberlist is public displayed name, not login name (i think its dangerous for users security) , please explain me how to do it..

see www.hmeitenas.org/forum

please explain how to modify me step by step..
thanks a lot smile
Posted By: LK Re: [6.0x] Basic Memberlist - 05/19/2001 3:55 PM
DPK: I can't change back to Public Name, and I can't change back to show all letters/numbers (both of these "bugs" are also in older versions).

Also, I can't sort by something and show only 1 letter at the same time (also in the older ones); this feature would have been useful because I think Top 25 Posters of any letter is the best reason to use only one letter (so instead of 25 of all users, it shows only x's 25).

[ May 19, 2001 09:03 AM: Message edited by: LK ]
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/19/2001 4:13 PM
LK: i just added an option to the sort dropdown. i never really thought about doing what you mentioned for the top25. i guess i could implement something like that.


[edit: top25 thing done for each letter.]

[ May 19, 2001 10:26 AM: Message edited by: DPK ]
Posted By: LK Re: [6.0x] Basic Memberlist - 05/19/2001 10:49 PM
So far so good, but:


    [*]I can't choose Sort first and then the letter

    [*]In Category, should '@' be '#'?

    [*]Sort: "Display All" should be "Public Name" (because it sorts by name, and also Member Number shows all and Top 25 Posters can show all if there are less than 25 posters).

    [*]Category should have a "Display All" option.

    [*]Search doesn't work with Category or Sort

    [*]I can't choose a category and "User Number" together
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/19/2001 11:32 PM
ure really picky u know that [Linked Image]

a. choose the letter first
b. i changed it so it will work more efficiently, plus the script kept thinking that the '#' was a comment. plus '#' refers to numbers and the '@' symbol is more general
c. ok, added to the list of todo's
d. ok, added to the list of todo's
e. search is still very basic, i plan on adding a dropdown full of options of what to search by
f. so you want that to work like the top 25? select a category, then select sort by usernumber to view that category sorted by usernumber? ok, added to the list of todo's
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/21/2001 12:31 AM
New Version Released:
http://www.nfscheats.com/users/DPK/scripts/download/download.cgi?name=Memberlist%20v6.3.7&file=http://www.nfscheats.com/users/DPK/scripts/cgi_perl/memberlist_6.3.7.zip

or simpler url:
http://www.nfscheats.com/users/DPK/scripts/download

Note: If you are upgrading, simply just upload all the files from the zip over the ones currently you have installed. No need for anything else due to the fact the previous versions already integrated it all for the most part.... until I add wordlets, then the fun begins. tipsy

more soon! laugh

[ May 20, 2001 05:34 PM: Message edited by: DPK ]
Posted By: wardx28 Re: [6.0x] Basic Memberlist - 05/21/2001 3:41 AM
Member name not showing up in the new release.

Some Member names are not showing up. I upgraded just as you said by replacing the files and reconfiged my cp.

[ May 20, 2001 08:54 PM: Message edited by: wardx28 ]
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/21/2001 4:02 AM
Quote
quote:
Posted By: LK Re: [6.0x] Basic Memberlist - 05/21/2001 6:49 AM
Nice, but why do we need to lowercase the public names (".lc($user_profile[15])." instead of $user_profile[15])?
Posted By: dbode Re: [6.0x] Basic Memberlist - 05/21/2001 8:13 PM
Hi,

I installed the hack and it works fine for me (admin) and my moderators, but I can´t see the member names of all the other members.

Is that the known bug, so few others will see the ranks ?

Thanks for your help
Dennis
Posted By: melder Re: [6.0x] Basic Memberlist - 05/22/2001 2:07 PM
@ DPK - please check my wordlets:

www.axtien.de/database/memberlist_6.3.7a.zip


- include the wordlets
- center and align in .pl
- table width edit to: width="$vars_style{TableWidth}"
- gif 4 next or prev site (edit in .cgi)
- alert under the memberlist (edit in.pl at the end and in .cgi in the first lines)

#######################################

to search by do not work ?!? at my site ...

www.chat-board.de

[ May 22, 2001 07:13 AM: Message edited by: melder ]
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/22/2001 7:03 PM
melder: ill download and check the work you did when i get home. i'm at school right now, about to goto chemistry for 2 hours. *groan*
Posted By: melder Re: [6.0x] Basic Memberlist - 05/22/2001 7:46 PM
sorry little bug in .pl
and change to this ...
like my site: www.chat-board.de

##########################

print<





#bug!




$vars_wordlets_mods{Member_Search_By}








MemberlistGuts

if ($ML_next_link || $ML_previous_link) {
print "$ML_previous_link $ML_next_link";
}

print<
Posted By: Rinkrat Re: [6.0x] Basic Memberlist - 05/22/2001 8:35 PM
OK i just installed this for the first time using the .SHW. I'm getting

"You do not have permission to access this area."

When I try to access the settings in CP. I CHMOD'd the cgi's to 755 and left the pl's alone as usual.

Also there is no button on the search. Is it supposed to be like that? It works if you hit "Enter" but a button would be nice smile

[ May 22, 2001 01:39 PM: Message edited by: Rinkrat ]
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/22/2001 10:06 PM
i could tell you how to add ure own button. smile

the reason why i dont have a button is because it looks cleaner without one. i am running windows xp in the default xp theme which makes buttons size funny in ie6. guess it influenced me. tipsy
Posted By: melder Re: [6.0x] Basic Memberlist - 05/23/2001 8:49 AM
test searching ...

u found f.i. 60 users: "0 poster"
(and u have 25 member per page)

>>> u get 4 pages - right !?


- the second page is empty.
- and if u go back to the first u become a new selected page.

www.chat-board.de
Posted By: melder Re: [6.0x] Basic Memberlist - 05/23/2001 8:54 AM
searching by name ( A, B , ...) is ok.
searching by location ( A, B, ...) NOT OK


the same bug ?!?
Posted By: melder Re: [6.0x] Basic Memberlist - 05/23/2001 8:59 AM
>>> here i am laugh

can we insert a: "i found 134 member" ...
Posted By: Fuzion Re: [6.0x] Basic Memberlist - 05/25/2001 1:05 AM
Check this out, this is really messed up. http://www.gamerzparadize.com/cgi/ultimatebb.cgi?ubb=memberlist Do you know how to fix that?
Posted By: Rinkrat Re: [6.0x] Basic Memberlist - 05/25/2001 1:17 AM
The mod works great and the users are loving it. I am still getting "You do not have permission to access this area." when I try to access the Control Panel page. How can I fix this? I double checked the chmod's and they are correct.
Posted By: ramirez_rfm Re: [6.0x] Basic Memberlist - 05/25/2001 1:48 AM
I've been after something like this 4 a while. I haven't tested it yet but i'm still thanking u as i have an idea of what it does. ubb needs this originally, don't you think?

regards,

ramirez.
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/25/2001 3:35 PM
melder: thankyou for the ideas, working on it. smile
gamer: looks fine to me, whats wrong?
rinkrat: did u add the lines to the cp.cgi?
ramirez: i agree, its a great feature and like so many others here that the people on this board create, should be options for the ubb. tipsy

ps ~ sorry for me being slow with another release, i usually can get a new release of anything within 24 hours, but exams this week and next week have me unavailable for alot of things, coding being one of them. tipsy

[ May 25, 2001 08:36 AM: Message edited by: DPK ]
Posted By: melder Re: [6.0x] Basic Memberlist - 05/25/2001 9:49 PM
to ad a "GO" button after the searchkeys:
open public_memberlist.pl

find:
#####


ad after:
#########

www.chat-board.de
Posted By: Webdaddie Re: [6.0x] Basic Memberlist - 05/26/2001 10:17 PM
Hoping i can get some help with this?

Because of a additional hack that I have installed in ubb_lib.cgi I can't edit some coding becaused it's already edited. In your memberlist_install.txt file on the part for ubb_lib.cgi it calls for this code:


# Find This
#############################################

$MainButtons = qq!
$vars_wordlets{profile_link} $RegisterLink $SearchLink | $vars_wordlets{faq_link} | $vars_wordlets{forum_home_link}
!;


But my code is different from this because of a hack that I have installed
This is my code:

sub MainButtonOptions {
local ($RegisterLink, $SearchLink, $MainButtons, $this_forum);
if ($in{f} ne '') { $this_forum = "&search_forum=$in{f}"; }

if ($vars_registration{DisplayRegistration} ne 'NO') {
$RegisterLink = qq(| $vars_wordlets{register_link});
}

if ($vars_search{AllowSearch} ne 'FALSE') {
$SearchLink = qq(| $vars_wordlets{search_link});
}

if ($vars_active_topics{usehead} ne "ON") {
$MainButtons = qq($vars_wordlets{profile_link} $RegisterLink $SearchLink | $wordlets_active_topics{active_topics_title} | $vars_wordlets{faq_link} | $vars_wordlets{forum_home_link});
} else {
$MainButtons = qq($vars_wordlets{profile_link} $RegisterLink $SearchLink | $vars_wordlets{faq_link} | $vars_wordlets{forum_home_link});
}
return($MainButtons);
} # end mainbuttonoptions


Can someone please show me how to edit the code in the correct way to install this mod?

[ May 26, 2001 03:19 PM: Message edited by: Webdaddie ]
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/26/2001 11:44 PM
Look, more bad news. My host, eUniverse, is terminating our contract and is making us pay to get the rights back for the name. Some weird escape clause. The fee is upwards of $1500 dollars. Right now I'm going crazy trying to find a new host and money. If you do feel like it, though, a donation would be appreciated here . Do not feel obligated though. Argh, down with the corporate masses!!
Posted By: melder Re: [6.0x] Basic Memberlist - 05/27/2001 1:15 PM
BUG

first selected by "a"
now u can sort by "top poster (a)"

do it and see the created page


www.chat-board.de
Posted By: dbode Re: [6.0x] Basic Memberlist - 05/28/2001 8:55 PM
Hi,

I saw that many members modified this hack so that they can also get Who´s Online and Custom Rank/Status-Hack shown in the member list.

How do I do this ?

Greetings
Dennis
Posted By: ericruhl Re: [6.0x] Basic Memberlist - 05/29/2001 4:21 AM
How can I make this list "secure"? By "secure" I mean simply that you need to be logged in to view it. If someone isn't registered at my site then I don't want them seeing who is. Looking for a check to see if the person is logged in. If so they go straight to the list and if not then they get the login screen and then on to the list. I skimmed through the last few pages of posts and didn't see references to this so my apologies if I overlooked this. Many thanks for your work on this script!!
Posted By: Rinkrat Re: [6.0x] Basic Memberlist - 05/29/2001 6:10 PM
Quote
quote:
Great job! It seems inconsistant to me to have a "Go" button after every search box on UBB except the one on the memberlist!

Thanks!
Posted By: Rinkrat Re: [6.0x] Basic Memberlist - 05/29/2001 6:22 PM
Quote
quote:
OOPS!

confused


Thanks smile
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 05/29/2001 8:50 PM
New version to be released this comming weekend. Hopefully.
Posted By: Fuzion Re: [6.0x] Basic Memberlist - 05/29/2001 8:59 PM
DPK:
The problem with http://www.gamerzparadize.com/cgi/ultimatebb.cgi?ubb=memberlist is that the Public Names do not show up! confused Do you know how to fix that?
Posted By: ericruhl Re: [6.0x] Basic Memberlist - 05/30/2001 6:47 AM
Public names didn't show up on mine either except for a few members. So, for the time being I changed to code to display and sort by Login name instead (changed the 15's to 0's). My guess is that the people whose public names did show up are the only ones to actually look at their profile and thus generate a public name??? Perhaps a check to default to their login name if a public name doesn't exist?

I would still very much like to be able to restrict memberlist access to registered members though. Perhaps in a later version? Thank you for all your efforts so far, they are much appreciated!!
Posted By: TundraSoul Re: [6.0x] Basic Memberlist - 05/30/2001 10:47 AM
Quote
quote:
Great The same thing happens to me. See:
http://www.tundrasolutions.com/cgi-bin/ultimatebb.cgi?ubb=memberlist

But when I sort them the Public names do show up; interestingly the names are all lower case. http://www.tundrasolutions.com/cgi-bin/ultimatebb.cgi?ubb=memberlist&view=2&sort=postnum
Posted By: TundraSoul Re: [6.0x] Basic Memberlist - 05/30/2001 10:53 AM
Great hack, coming along nicely. I would like a way to Sort by the custom field. I use the custom field to display the users state ID ie: FL, CA, NY. Sorting that field would allow users to list members in their own state or group, depending on that you have there.

Additionally adding the other custom fileds would be a definate bonus. Many thanks.

[ May 30, 2001 03:58 AM: Message edited by: TundraSoul ]
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 06/01/2001 11:18 PM
Quote
quote:
I released the version of hack knowing that this happened to some members, but I didnt think it was this bad. Will be fixed in next release. Sorry for the inconvenience.
Posted By: Fuzion Re: [6.0x] Basic Memberlist - 06/04/2001 2:11 AM
hehe, it's cool DPK. I understand how hard it is to smash a bug or two. smile
Posted By: DPK.ducky.quack Re: [6.0x] Basic Memberlist - 06/04/2001 7:44 PM
Things just arent going my way. A big storm came through and zapped my moms computer virtually destroying the network card for it. My computer is fine though. I've been spending the last day or so to install and setup her new computer. All the time cursing at the designer of HP computers. New network card won't fit into the HP slot inside the computer because the metal slots on the back arent positioned right! Die Die Die!

PS~ Today was my last day of school, summer vacation begins and so does a whole new array of updates, hacks, and more from me. smile
Posted By: AllenAyres Re: [6.0x] Basic Memberlist - 06/04/2001 7:47 PM
Sorry to hear about your mom's computer DPK, but I am looking forward to more of your work laugh

(especially the memberlist ;))
© UBB.Developers