vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Who do i this this (https://vborg.vbsupport.ru/showthread.php?t=40184)

Vinney 06-23-2002 09:32 AM

Who do i this this
 
I've added a showban hack to my forum.
http://forum.peugeot-gti.net/showbanned.php
but now

if you members click,

http://forum.peugeot-gti.net/showgroups.php?s=

to view the admiistration ..... the banned people are in there as well.


What part of showgroups.php do i need to edit so i dont show the usergroup 11 ( which the banned members are )


I think it's just a little query ... but because am dump and not a code master, i dunno wot it is

Thanks for your time.

Chris M 06-23-2002 10:26 AM

Just modify the "banned members" usergroup in the Admin CP, and set "viewable on showgroups" to no:)

Satan

Vinney 06-23-2002 11:23 AM

Quote:

Originally posted by hellsatan
Just modify the "banned members" usergroup in the Admin CP, and set "viewable on showgroups" to no:)

Satan

I knew someone would come out with that.

If you know anything about the show banned users hacks, if you set the group to non viewable .... it doesn't even show in the

http://forum.peugeot-gti.net/showbanned.php


Next idea please. :)

Logician 06-23-2002 11:59 AM

Replace:

PHP Code:

// get administrators & super moderators **********************************************************
$users $DB_site->query("
    SELECT
        
$locationfieldselect usergroup.title, user.username, user.userid, user.invisible, user.receivepm,
        user.usergroupid, user.lastactivity, user.lastvisit
        FROM usergroup
        LEFT JOIN user ON (usergroup.usergroupid = user.usergroupid)
        LEFT JOIN userfield ON (userfield.userid = user.userid)
        WHERE usergroup.showgroup = 1
    "
); 

AS:

PHP Code:

// get administrators & super moderators **********************************************************
$users $DB_site->query("
    SELECT
        
$locationfieldselect usergroup.title, user.username, user.userid, user.invisible, user.receivepm,
        user.usergroupid, user.lastactivity, user.lastvisit
        FROM usergroup
        LEFT JOIN user ON (usergroup.usergroupid = user.usergroupid)
        LEFT JOIN userfield ON (userfield.userid = user.userid)
        WHERE usergroup.showgroup = 1 AND usergroup.usergroupid!=11 
    "
); 

And how come this fix is not already included in the hack? :confused:

Vinney 06-23-2002 01:57 PM

bingo ... cheers mate !!

streeter 06-24-2002 08:17 PM

where did you get the Show Banned hack?

Vinney 06-24-2002 09:23 PM

Quote:

Originally posted by streeter
where did you get the Show Banned hack?
ask someone else you arrogant get ... stop jumping in on my thread ... pm me for chirst sake !

Dean C 06-25-2002 03:59 PM

^ that was uncalled for mate...

streeter 06-25-2002 05:41 PM

agreed.

Logician 06-25-2002 05:50 PM

streeter:

https://vborg.vbsupport.ru/showthrea...threadid=35979

https://vborg.vbsupport.ru/showthrea...threadid=36819


All times are GMT. The time now is 06:33 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.01852 seconds
  • Memory Usage 1,733KB
  • 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete