vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - Forum Members (membelist.php) (https://vborg.vbsupport.ru/showthread.php?t=274248)

zchartouni 12-01-2011 05:16 AM

Great Mod! Would love to be able to search by custom profile fields as with the original member list.. But definitely a great upgrade from the stock list.

Christos Teriakis 12-01-2011 06:21 AM

Quote:

Originally Posted by Mark.B (Post 2271918)
I have now completed my work, using this to turn my memberlist into a sexy beast!
http://www.bowlandcentral.com/forum/memberlist.php

My only small concern is that this mod is very heavy on queries. I have 32 members per page and it's 138 queries.
Other than that it's great.

When I'll have some free time I'll change the way that queries work. This in no way means that the queries that Mary used are wrong. I'm just avoiding to use JOIN in queries, a command that can make a single query to be 5 or more. I've my own technique on this.

Chris

SwollenCranium 12-01-2011 01:40 PM

Quote:

Originally Posted by Mark.B (Post 2271918)
I have now completed my work, using this to turn my memberlist into a sexy beast!
http://www.bowlandcentral.com/forum/memberlist.php.

:eek:
You made the one shown in the link with THIS mod or the PRO version?

zhai 12-01-2011 06:43 PM

Tagged. Nice Hack!

Anyway, this thread's title is missing a letter:
"Forum Members (memberlist.php)" :p

Mark.B 12-01-2011 09:35 PM

Quote:

Originally Posted by qpurser (Post 2272934)
WOW... Really nice work!!
Maybe you share the code changes you made? :)

Wouldn't really be practical, my site's styles are already heavily customised.
Quote:

Originally Posted by SwollenCranium (Post 2273670)
:eek:
You made the one shown in the link with THIS mod or the PRO version?

This is with the Lite version, using the alternative file Chris provided for me a little higher up (this removes the "landing" page and allows you to go straight to the full memberlist without a usergroup selector bar).

Then it's mainly some template edits to get the look and feel I wanted. I also added some code to the file to do such things as pulling my custom user fields through that power the username foreground and background colours and also the vBStatus text, altering the format of the date, adding times, and a few fairly minor tweaks.

Redesigned the advanced search box to match the normal vB4 dropdown menus, and created a dropdown pre-populated with common filters (this replicates the ability to click the column headers to change the sort order that was present on the old memberlist).

All in all I am pretty pleased with the result, the memberlist is a much neglected area of vB.

Once Chris sorts the queries out this will be very good, at the moment a *really* busy site would get hit with the queries this creates.

SwollenCranium 12-01-2011 09:44 PM

Quote:

Originally Posted by Mark.B (Post 2273816)
at the moment a *really* busy site would get hit with the queries this creates.

Indeed. I have a small site and had to uninstall this mod back when Mary had it because of the load.

Query fix will be welcome as the default vb member-list is a hideous monstrosity and has no place in a custom style.

thientinh2110 12-02-2011 06:55 PM

not good at vbb4.1.8

thientinh2110 12-02-2011 07:06 PM

Pro version, how do i have it?

fluidswork 12-06-2011 08:06 AM

Just awesome !!!

datoneer 12-07-2011 04:01 PM

4.1.8 not working, when i tried to click (example registered users list) nothing happend. I did set everything in usergroups

Christos Teriakis 12-07-2011 04:29 PM

Quote:

Originally Posted by datoneer (Post 2275577)
4.1.8 not working, when i tried to click (example registered users list) nothing happend. I did set everything in usergroups

Any link to check it?

Christos Teriakis 12-07-2011 04:30 PM

Quote:

Originally Posted by thientinh2110 (Post 2274092)
Pro version, how do i have it?

http://www.christeris.com

Chris

SwollenCranium 12-07-2011 11:24 PM

Quote:

Originally Posted by ChrisTERiS (Post 2275587)

Yeah.

Never mind. />?:)

Alfa1 12-08-2011 02:20 AM

Quote:

Originally Posted by Mark.B (Post 2271918)
My only small concern is that this mod is very heavy on queries. I have 32 members per page and it's 138 queries.
Other than that it's great.

Quote:

Originally Posted by ChrisTERiS (Post 2273592)
When I'll have some free time I'll change the way that queries work. This in no way means that the queries that Mary used are wrong. I'm just avoiding to use JOIN in queries, a command that can make a single query to be 5 or more. I've my own technique on this.

That would be very nice. I installed the 3.8 version on my big board and it repeatedly crashed my site due to the slow queries and the massive number of queries. It was a very problematic addon performance wise.

The functionality is very nice, so I was disappointed that I could not use it.

GameOverViper 12-08-2011 02:32 AM

This looks nice! Do I have any way of adding the Xbox LIVE Gamercards to this style memberlist like I have here? Maybe in the Pro version?

Christos Teriakis 12-08-2011 05:21 AM

Quote:

Originally Posted by SwollenCranium (Post 2275720)
Yeah.

Never mind. />?:)

Sure there is. It's a commercial site and I don't like everyone to have access to my members. That's why, when my site should be totally ready, not even the standard memberlist will be there.

Chris

Christos Teriakis 12-08-2011 06:13 AM

Quote:

Originally Posted by Alfa1 (Post 2275758)
That would be very nice. I installed the 3.8 version on my big board and it repeatedly crashed my site due to the slow queries and the massive number of queries. It was a very problematic addon performance wise.

The functionality is very nice, so I was disappointed that I could not use it.

Programming is a very strange job. You can do the same thing in several ways and all of them to be correct, but at the same time to have their bad points. Let me explain:

1.- About Rating. The current way of use (and most used among programmers) is to store ratings in a seperate file, saving there the userid, the raterid and the rating. That's good. But when it comes to show the rating you must add one more query to check that table. Especially in this case the query is more heavy as it not looks for a single records, but for all records with userid=xxx and then calculate the average. Imagine that this way the queries must be execute even for users who have none rating. My way is different. I'll add in user table 3 more fields: Votes, Rating, Voters. When someone posts a rating it will calculate at THAT time the average rating. What you'll solve with this way. No extra query at all. Just print the rating value on the screen.

2.- Another point that I don't agree with the canonical programming has to do with showing "Rate him" instead of the rating (depending if you have rate him or not, or if you have permissions to rate or not), or a gray icon (eg contact) instead of the normal icon depending or your permissions to contact. Why? Let's say that I'm visiting your memberlist, just to see your members and nothing more. The system will perform a dozen of queries without any special reason. So my approach is: Show the rating, and ONLY if the visitor wants to rate the user, ONLY THEN perform the query to check if he has rated before or not, or if he has right to rate etc etc.

Chris

SwollenCranium 12-08-2011 06:57 PM

Quote:

Originally Posted by ChrisTERiS (Post 2275790)
Sure there is. It's a commercial site and I don't like everyone to have access to my members. That's why, when my site should be totally ready, not even the standard memberlist will be there.

Chris

Yeah .. I DID say never mind.

Handle your business your way, killer !

Good luck to ya.

datoneer 12-08-2011 07:27 PM

Quote:

Originally Posted by ChrisTERiS (Post 2275586)
Any link to check it?

http://www.imspot.org/members/list/

Sarcoth 12-09-2011 07:57 PM

I like the look of it. Not sure I would use on my site b/c I use the current memberlist now and then, but still a nice job. In the future, I would like to suggest you just make it a separate addon. Great job nonetheless.

Alfa1 12-11-2011 06:43 AM

Quote:

Originally Posted by ChrisTERiS (Post 2275797)
Programming is a very strange job. You can do the same thing in several ways and all of them to be correct, but at the same time to have their bad points. Let me explain:

1.- About Rating. The current way of use (and most used among programmers) is to store ratings in a seperate file, saving there the userid, the raterid and the rating. That's good. But when it comes to show the rating you must add one more query to check that table. Especially in this case the query is more heavy as it not looks for a single records, but for all records with userid=xxx and then calculate the average. Imagine that this way the queries must be execute even for users who have none rating. My way is different. I'll add in user table 3 more fields: Votes, Rating, Voters. When someone posts a rating it will calculate at THAT time the average rating. What you'll solve with this way. No extra query at all. Just print the rating value on the screen.

2.- Another point that I don't agree with the canonical programming has to do with showing "Rate him" instead of the rating (depending if you have rate him or not, or if you have permissions to rate or not), or a gray icon (eg contact) instead of the normal icon depending or your permissions to contact. Why? Let's say that I'm visiting your memberlist, just to see your members and nothing more. The system will perform a dozen of queries without any special reason. So my approach is: Show the rating, and ONLY if the visitor wants to rate the user, ONLY THEN perform the query to check if he has rated before or not, or if he has right to rate etc etc.

Chris

That sounds sensible. I hope that the new version will be able to cope with thousands of concurrent users. Thanks.

datoneer 01-07-2012 02:47 PM

Can you update this to work with 4.1.8

Jncocontrol 01-08-2012 09:41 AM

I like the idea to change the Memer.php, But adding the usergroup in the top seems to defeat the point of showgroup.php

tsac 01-23-2012 01:27 AM

I'd sure like to use this for just one usergroup with all members on one page. Like a simple roster for 4.1.10 :erm:

TombstoneWarrior 01-23-2012 01:53 AM

someone post and let me know when all the bugs are worked out on this mod because i would like to have it on my forum.

CharlieDelta 02-10-2012 04:26 PM

The header image is not showing on my custom styles. It is shwoing fine on the default.

How can I fix this?

solohdes 02-10-2012 07:27 PM

Don't work for me. The usergropus buttons don't shows, I have 4.1.5.

http://www.todohd.net/members/list/

Can you take a look?

TombstoneWarrior 02-11-2012 05:10 AM

Quote:

Originally Posted by TombstoneWarrior (Post 2291216)
someone post and let me know when all the bugs are worked out on this mod because i would like to have it on my forum.

?????

Bulbucan 02-11-2012 08:35 AM

Have a little problem here, up there with usergroups i see only text "Usergroups" nothing more like my usergroups

Christos Teriakis 02-11-2012 08:50 AM

Quote:

Originally Posted by Bulbucan (Post 2298506)
Have a little problem here, up there with usergroups i see only text "Usergroups" nothing more like my usergroups

You must set which usergroups to show. Many sites are using private usergroups which they don't like to show them in public. So visit your admincp and you'll find an option "Usergroups" in Memberlist plugin. You can select multiple usergroups by holding down the Ctrl key and clicking on them.

Chris

solohdes 02-11-2012 03:31 PM

Quote:

Originally Posted by ChrisTERiS (Post 2298508)
You must set which usergroups to show. Many sites are using private usergroups which they don't like to show them in public. So visit your admincp and you'll find an option "Usergroups" in Memberlist plugin. You can select multiple usergroups by holding down the Ctrl key and clicking on them.

Chris

Can you do a screen capture of this? I can't find.

CharlieDelta 02-11-2012 04:22 PM

The header image is not showing on my custom styles. It is shwoing fine on the default.

How can I fix this?

CharlieDelta 02-13-2012 03:14 PM

I sorted it out.

I added in the forummembers_index template
Code:

{vb:raw headinclude_bottom}
Right below
Code:

{vb:raw header}
So it should look like this
Code:

<body>
{vb:raw header}
{vb:raw headinclude_bottom}
{vb:raw navbar}


CharlieDelta 02-23-2012 08:30 PM

I just realized you will also need to do the above ^ edit in the forummembers_search_results template as well.

CharlieDelta 02-23-2012 08:40 PM

If you are like me and have custom usergroups and your new members are not displaying in the "just joined us" section you will need to edit the usergroupid in the memberslist.php

Find
Code:

// Just Joined us
  if ($vbulletin->options["forummembers_newest"] == '1') {
        $newusers_get = $db->query_read("
                          SELECT userid, username, usertitle
                          FROM ".TABLE_PREFIX."user
                          WHERE usergroupid=xx OR FIND_IN_SET(xx, membergroupids)
                          ORDER BY joindate DESC
                          LIMIT $limit");

and edit the usergroupid (xx) in red to represent your custom usergroup.

BadgerDog 04-20-2012 08:24 PM

I was trying to look at (and locate) the PRO version, but when I click on the link, I get this? :confused:

Quote:

Not Found

The requested URL /vb4/memberlist.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache Server at www.christeris.net Port 80
Regards,
Doug

BadgerDog 04-20-2012 09:10 PM

Installed with thanks ... :)

However, I'm confused ... :confused:

It shows our Top Overall Poster as a member with 1,400 posts ..

Yet, there's at least 8 members with higher post counts (one is at 5,000 posts) and they're not even listed?

PaulM's "Top Posters" mod shows the correct information and post counts.....

Am I missing something?

Thanks for any feedback ... :)

Regards,
Doug

Christos Teriakis 04-21-2012 05:21 AM

Quote:

Originally Posted by BadgerDog (Post 2322017)
Installed with thanks ... :)

However, I'm confused ... :confused:

It shows our Top Overall Poster as a member with 1,400 posts ..

Yet, there's at least 8 members with higher post counts (one is at 5,000 posts) and they're not even listed?

PaulM's "Top Posters" mod shows the correct information and post counts.....

Am I missing something?

Thanks for any feedback ... :)

Regards,
Doug

The only that you're missing is that I found more reable to not include Admins/Moderators in top posters as they (by position) have always the highers posts. So, I'm showing there Top posters from usergroup 2 (registered members).

Chris

Christos Teriakis 04-21-2012 05:22 AM

Quote:

Originally Posted by BadgerDog (Post 2322008)
I was trying to look at (and locate) the PRO version, but when I click on the link, I get this? :confused:



Regards,
Doug

Currently I haven't installed somewhere a demo for this mod.

Chris

BadgerDog 04-21-2012 09:35 AM

Quote:

Originally Posted by ChrisTERiS (Post 2322125)
The only that you're missing is that I found more reable to not include Admins/Moderators in top posters as they (by position) have always the highers posts. So, I'm showing there Top posters from usergroup 2 (registered members).

Chris

Thanks Chris ... I understand ... :)

Is there somewhere in the plugins or code where I could add an "if usergroup = " type statement that would force it to include a specific set of usergroups for its calculations?

Appreciate your work ...

Regards,
Doug


All times are GMT. The time now is 12:53 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01448 seconds
  • Memory Usage 1,850KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete