vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Profile Enhancements - Ban user since their profile (Quick Ban) (https://vborg.vbsupport.ru/showthread.php?t=232682)

aspen1018 09-21-2010 07:12 PM

found the problem

vblove 11-07-2010 01:42 PM

very useful mod, thank you

freeoffline 11-30-2010 12:38 PM

10q

COL NIL SATIS 12-09-2010 11:19 AM

tagged

MatiasCandy 12-13-2010 05:36 PM

I like this but can we use a variable for modcp so we do not have to hard code it?

Code:

<a href="modcp/banning.php?.......
What would the vari be?

I know it gets it from the config file:
Code:

$config['Misc']['modcpdir'] = 'modcp';

elwachiman 03-20-2011 10:40 PM

Work In Vb 4.1.2 Perfect

JasonP38 03-25-2011 10:11 PM

installed.


thanks, it works and looks great. :)

akibui 11-18-2011 08:16 AM

tested with 4.1.8 and works great.

hazem_aliraqi 11-18-2011 04:27 PM

nice , thank you installed

hazem_aliraqi 11-18-2011 06:27 PM

With your code will be visible to all members and visitors

What do you think of this code ?? that the admin only can see it and not for all, as is the case with edit profile for user ?

this is the code




PHP Code:

<vb:if condition="$show['edit_profile']"><a href="modcp/banning.php?do=banuser&amp;u={vb:raw userinfo.userid}" class="textcontrol imagecontrol">
                <
img src="{vb:stylevar imgdir_misc}/cross.png" alt="Ban user" />
</
a></vb:if> 



All times are GMT. The time now is 05:52 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.01543 seconds
  • Memory Usage 1,728KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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