vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Maybe a hack like this... (https://vborg.vbsupport.ru/showthread.php?t=120179)

Cool21 07-02-2006 09:52 PM

Maybe a hack like this...
 
I was wondering if someone could make a hack like this:


LOOK HERE



Thanks!!!

GTAce 07-02-2006 10:00 PM

Ummm...what does it do? All I see is a list of usernames

Rickie3 07-02-2006 10:08 PM

looks like something to do with forum supporters???

Cool21 07-03-2006 02:11 AM

yeah, like a showgroup page just with one usergroup. Plus, with a space for numbers.

slappy 07-03-2006 02:14 AM

They aren't just numbers. They are userid in the first column in numerical order, and the corresponding username matching that userid.

Regards,

Cool21 07-03-2006 02:22 AM

haha....thanks slappy. I feel so stupid....lol :confused:

GTAce 07-03-2006 03:31 AM

Quote:

Originally Posted by Cool21
yeah, like a showgroup page just with one usergroup. Plus, with a space for numbers.

That can be done, with a little code modification...If you'll go to my forums and look at my legend - click on the group names there (not staff or supporters) and you'll see what I'm talking about...if that's what you want, let me know...I'm going to sleep now though, so I won't be able to get to you until later...unless somebody beats me to it :p

Cool21 07-03-2006 09:59 PM

yeah, that is what I am talking about. But instread of having like the find column, can I turn that into a number column where I can place each users number? Thanks, YAY! that is what I am talking about...lol. :)

GTAce 07-04-2006 09:43 PM

Well, changing the layout of the page to show certain columns would involve a custom template...so I'm not sure how to do that, but what you see at my forums is just the memberlist with a usergroup filter. If you want all members to be able to see that, then you need to open memberlist.php and either remove or comment out the following lines

Code:

                // check permission to do authorizations in this group
                if (!$leadergroup = $db->query_first_slave("
                        SELECT usergroupleader.usergroupleaderid, usergroup.title
                        FROM " . TABLE_PREFIX . "usergroupleader AS usergroupleader
                        LEFT JOIN " . TABLE_PREFIX . "usergroup AS usergroup ON (usergroupleader.usergroupid = usergroup.usergroupid)
                        WHERE usergroupleader.userid = " . $vbulletin->userinfo['userid'] . "
                                AND usergroupleader.usergroupid = $usergroupid
                "))
                {
                        print_no_permission();
                }

You'll be able to pull up a list of any group by going to this link:

http://www.adminfusion.com/forums/me...usergroupid=??

Change ?? to the usergroup id

Cool21 07-04-2006 11:46 PM

okay, thanks, but what do you mean by comment out?


All times are GMT. The time now is 09:58 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.01480 seconds
  • Memory Usage 1,727KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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