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)

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


All times are GMT. The time now is 01:08 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.01146 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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