vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Banned Users List (https://vborg.vbsupport.ru/showthread.php?t=228217)

miket1234 08-20-2010 08:43 AM

I installed , but all the users have access to informations.
I tried to restrict them in AdminCP- Options-Ban.... but NO EFFECTS

Do you have the same problem guys? or is just me :D

miket1234 08-20-2010 11:36 AM

i'm using vbulletin forum 4.0.5

Eric 08-20-2010 05:24 PM

v1.1.4 - August 20th, 2010
-- Made changes to how the scripts checks which usergroups has access to the banned list
-- Corrected a pagination bug that added the wrong sort by value

abqtj 08-21-2010 03:47 PM

Hi, I'm having trouble installing this. I uploaded the two files (banned in the root, then the other in the includes folder) and when I go to import the product, the window fills up with all of the "code" and does not refresh like other products do.

I get this:

Quote:

Importing Product, Please Wait...

[:]

Unable to find a class to validate: vB_TemplateParser_Curlycssfile on line 1083 in /home/nmoffroa/public_html/forumvb/includes/class_template_parser.php
#0 /home/nmoffroa/public_html/forumvb/includes/class_template_parser.php(1019): vB_TemplateParser->validate_curly(Object(vB_CurlyNode), Array)
#1 /home/nmoffroa/public_html/forumvb/includes/adminfunctions_template.php(2863): vB_TemplateParser->validate(Array)
#2 /home/nmoffroa/public_html/forumvb/includes/adminfunctions_plugin.php(545): compile_template('{vb:stylevar ht...')
#3 /home/nmoffroa/public_html/forumvb/admincp/plugin.php(1714): install_product(' Show a page containing all of your banned users. 1.1.4 xmlns:fb="http://www.facebook.com/2008/fbml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html"> {vb:raw headinclude} {vb:cssfile {vb:raw file}} {vb:cssfile {vb:raw includecss}} {vb:raw headinclude_bottom} {vb:raw header} {vb:raw navbar}
{vb:raw pagetitle}


{vb:raw pagenav}
{vb:rawphrase banned_users}: {vb:raw viewing}, {vb:rawphrase usergroups}: {vb:raw groups}

{vb:raw bannedusers_bit}
{vb:rawphrase username} {vb:rawphrase banned_by} {vb:rawphrase banned_on} {vb:rawphrase ban_period} {vb:rawphrase ban_will_be_lifted_on} {vb:rawphrase ban_time_remaining} {vb:rawphrase ban_reason}

{vb:rawphrase bannedusers_viewtemp} ? {vb:rawphrase bannedusers_viewperm}
{vb:raw pagenav}
{vb:raw footer} ]]> {vb:raw baninfo.username} {vb:raw baninfo.bannedby} {vb:raw baninfo.bannedon} {vb:raw baninfo.banperiod} {vb:raw baninfo.banlift} {vb:raw baninfo.banremaining} {vb:raw baninfo.banreason} ]]> {vb:rawphrase bannedusers_noperm} ]]> {vb:rawphrase bannedusers_notemp} ]]>
{vb:rawphrase bannedusers_text}
]]> parse_templates options['bannedusers_enabled']) { if ( !is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['bannedusers_hidefrom'])) AND $vbulletin->options['bannedusers_autotemplate'] ) { $template_hook['navbar_quick_links_menu_pos3'] .= vB_Template::create('bannedusers_navbar')->render(); } }]]>

Please seperate the usergroups you do not want to see the banned mebmers list by commas. Enter 0 or leave blank to disable (Not recommended).]]> Yes to enable Automatic Template edits for this hack. If you disable this, then you will need to manually edit the 'navbar' template as instructed in install.txt]]> boolean yesno 1 number 25 free 1,2,3,4 boolean yesno 1 ,[1] => 1)))),[code] => 256)) called at [(null):0] #1 trigger_error(Unable to find a class to validate: vB_TemplateParser_Curlycssfile on line 1083 in /home/nmoffroa/public_html/forumvb/includes/class_template_parser.php , 256) called at [/home/nmoffroa/public_html/forumvb/vb/vb.php:287] #2 vB::handleException(Exception Object ([] => Unable to find a class to validate: vB_TemplateParser_Curlycssfile,[] => ,[] => 0,[] => /home/nmoffroa/public_html/forumvb/includes/class_template_parser.php,[] => 1083,[] => Array ([0] => Array ([file] => /home/nmoffroa/public_html/forumvb/includes/class_template_parser.php,[line] => 1019,[function] => validate_curly,[class] => vB_TemplateParser,[type] => ->,[args] => Array ([0] => vB_CurlyNode Object ([type] => curly,[value] => cssfile,[attributes] => Array ([0] => vB_CurlyNode Object ([type] => curly,[value] => raw,[attributes] => Array ([0] => file),[] => )),[] => 20),[1] => Array ())),[1] => Array ([file] => /home/nmoffroa/public_html/forumvb/includes/adminfunctions_template.php,[line] => 2863,[function] => validate,[class] => vB_TemplateParser,[type] => ->,[args] => Array ([0] => Array ())),[2] => Array ([file] => /home/nmoffroa/public_html/forumvb/includes/adminfunctions_plugin.php,[line] => 545,[function] => compile_template,[args] => Array ([0] => {vb:stylevar htmldoctype} xmlns:fb="http://www.facebook.com/2008/fbml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html"> {vb:raw headinclude} {vb:cssfile {vb:raw file}} {vb:cssfile {vb:raw includecss}} {vb:raw headinclude_bottom} {vb:raw header} {vb:raw navbar}
{vb:raw pagetitle}


{vb:raw pagenav}
{vb:rawphrase banned_users}: {vb:raw viewing}, {vb:rawphrase usergroups}: {vb:raw groups}

{vb:raw bannedusers_bit}
{vb:rawphrase username} {vb:rawphrase banned_by} {vb:rawphrase banned_on} {vb:rawphrase ban_period} {vb:rawphrase ban_will_be_lifted_on} {vb:rawphrase ban_time_remaining} {vb:rawphrase ban_reason}

{vb:rawphrase bannedusers_viewtemp} ? {vb:rawphrase bannedusers_viewperm}
{vb:raw pagenav}
{vb:raw footer} )),[3] => Array ([file] => /home/nmoffroa/public_html/forumvb/admincp/plugin.php,[line] => 1714,[function] => install_product,[args] => Array ([0] => Show a page containing all of your banned users. 1.1.4 xmlns:fb="http://www.facebook.com/2008/fbml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html"> {vb:raw headinclude} {vb:cssfile {vb:raw file}} {vb:cssfile {vb:raw includecss}} {vb:raw headinclude_bottom} {vb:raw header} {vb:raw navbar}
{vb:raw pagetitle}


{vb:raw pagenav}
{vb:rawphrase banned_users}: {vb:raw viewing}, {vb:rawphrase usergroups}: {vb:raw groups}

{vb:raw bannedusers_bit}
{vb:rawphrase username} {vb:rawphrase banned_by} {vb:rawphrase banned_on} {vb:rawphrase ban_period} {vb:rawphrase ban_will_be_lifted_on} {vb:rawphrase ban_time_remaining} {vb:rawphrase ban_reason}

{vb:rawphrase bannedusers_viewtemp} ? {vb:rawphrase bannedusers_viewperm}
{vb:raw pagenav}
{vb:raw footer} ]]> {vb:raw baninfo.username} {vb:raw baninfo.bannedby} {vb:raw baninfo.bannedon} {vb:raw baninfo.banperiod} {vb:raw baninfo.banlift} {vb:raw baninfo.banremaining} {vb:raw baninfo.banreason} ]]> {vb:rawphrase bannedusers_noperm} ]]> {vb:rawphrase bannedusers_notemp} ]]>
{vb:rawphrase bannedusers_text}
]]> parse_templates options['bannedusers_enabled']) { if ( !is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['bannedusers_hidefrom'])) AND $vbulletin->options['bannedusers_autotemplate'] ) { $template_hook['navbar_quick_links_menu_pos3'] .= vB_Template::create('bannedusers_navbar')->render(); } }]]>

Please seperate the usergroups you do not want to see the banned mebmers list by commas. Enter 0 or leave blank to disable (Not recommended).]]> Yes to enable Automatic Template edits for this hack. If you disable this, then you will need to manually edit the 'navbar' template as instructed in install.txt]]> boolean yesno 1 number 25 free 1,2,3,4 boolean yesno 1 ,[1] => 1))))) called at [(null):0]

I tried just navigating to the admin options and seeing if Banned User List was there, but it isn't. The product IS, however, in my list of products, just no way to configure the settings, etc.

I installed the latest version, btw.

Eric 08-21-2010 03:51 PM

I just installed it on my local install, and on my dev board - it imported fine. What vBulletin version are you using?

abqtj 08-21-2010 03:53 PM

4.0.3, Pl1

Eric 08-21-2010 03:56 PM

Unfortunately I don't have a way to test it on 4.0.3 myself, but tested and updated w/4.0.5 - 4.0.6

abqtj 08-21-2010 03:57 PM

I'll try an older version I suppose first...I need to update soon anyway :D

Delphiprogrammi 08-22-2010 07:04 PM

hi,

there's an uncached template "bannedusers_navbar"

PHP Code:

$cache[] = 'bannedusers_navbar'

hook "cache_templates"

miket1234 08-23-2010 06:24 AM

Quote:

Originally Posted by SecondV (Post 2086962)
v1.1.4 - August 20th, 2010
-- Made changes to how the scripts checks which usergroups has access to the banned list
-- Corrected a pagination bug that added the wrong sort by value

yes, now works fine
thanks


All times are GMT. The time now is 07:49 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.01269 seconds
  • Memory Usage 1,754KB
  • 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_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