vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   e-steki Banlist (https://vborg.vbsupport.ru/showthread.php?t=103190)

john1744 02-07-2006 04:05 AM

Quote:

Originally Posted by Michelle
Built-in: nope.
Why would you need that? If you give me a good reason I can include it in the next version :)

For some reason my admins are showing on the list. As being permbanned users. Userid's 1 & 2. So I think its a problem with my table.

As for the permbanned users, maybe an option? I know I have doznes of permed users that are kinda cluttering the list.

But if there is just a if userid=1+2 kinda statement I can put in the .php to fix the 1st issue that would be great.

Lea Verou 02-07-2006 04:09 AM

Wait, I'll work it out now and give you the fix :)

Lea Verou 02-07-2006 04:17 AM

About the perm users try this and tell me if it works cause I haven't tried it in action:

Find:
PHP Code:

if(($i>($page-1)*$perpage) && ($i<$page*$perpage)) 

change to:
PHP Code:

    if(($i>($page-1)*$perpage) && ($i<$page*$perpage)&& ($banned['liftdate']!=construct_phrase($vbphrase['never']]))) 

I'm very unsure about it but you can try. :)

john1744 02-07-2006 04:25 AM

Seems to just bring up a white page.

Lea Verou 02-07-2006 04:29 AM

Damn! This is the only thing I didn't expect :(

Try changing it to this:
PHP Code:

if(($i>($page-1)*$perpage) && ($i<$page*$perpage)&& (is_numeric($banned['liftdate']))) 


Lea Verou 02-07-2006 04:33 AM

I guess you tried it on a test board cause it shows ok for me but does include the perm banned users...

eNforce 02-07-2006 04:50 AM

YES YES YES!

I requested something just like this twice, this is superb :)

Lea Verou 02-07-2006 04:52 AM

eNforce are you referring to the hack or to the fix?
Also, if you have it installed please click install to be notified of updates. :)

eNforce 02-07-2006 04:55 AM

The hack :)

Just installed, thanks!

Edit: Idea!

How about having it show somewhere if the ban has been lifted earlier then the lift date?

Edit:

Oh, and for the stats it displays all members in the list banned as a total, though some have been lifted. Maybe have the stats show total bans for only the members currently banned, instead of including the lifted bans.

lifesourcerec 02-09-2006 05:42 PM

Quote:

Originally Posted by Michelle
Yeah that would be nice :)
However for the past banned users do not unban and re-ban them to put a clearer reason as the ban-date will be lost and replaced with the current one.
Edit the reasons via phpmyadmin instead ;) (you probably know that already but I thought I should mention, just in case :))

What database is it in?


All times are GMT. The time now is 12:38 AM.

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.01191 seconds
  • Memory Usage 1,743KB
  • 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_php_printable
  • (2)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