vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - QUICK BAN in postbit_legacy for vB3.6 -Instantly ban spammers! (https://vborg.vbsupport.ru/showthread.php?t=133257)

medienleben 05-29-2007 05:36 PM

hi, this mod is great, but pls,
how can i enable this menu? or where i can see it? ive modified post_legacy, but this menu isnt anywhere...
thanks

Koroku 06-05-2007 11:23 PM

This is a really good idea, and I've just added it to my own forum, though I changed it up slightly.
Code:

<if condition="($bbuserinfo[usergroupid]==9 || $bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==5)">
<tr><td class="vbmenu_option"><span onmouseover="this.style.cursor='hand';" onClick="window.open('modcp/banning.php?do=banuser&userid=$post[userid]','ban','width=500,height=375,scrollbars=yes')"><a>Ban/Moderate $post[username]</a></span></td></tr></if>

(The usergroups are my Admins, SMods, and Sub-Admins)


Very nice idea. My staffage are gonna love it. :)

(And you can add it in the normal postbit too, doesn't have to be in legacy... just gotta search around for the part to add it :))

Heath 06-11-2007 10:55 PM

For some reason this isn't showing up on the menu?

Alfa1 08-01-2007 02:43 PM

Can you please make a product for this? This way vbulletin upgrades do not interfere as much. Now the hack disappears when you upgrade.

LordDB 08-06-2007 08:26 PM

Many thanks to those who've clicked the Install button, and given feedback to this great Mod!

I've now addressed, and improved the code accordingly!

Enjoy!:)

Alfa1 09-11-2007 10:39 AM

In your screenshot you have the edit user function for admins. Please add this code.
Please make this into a product or plugin.

proxx 09-14-2007 07:08 PM

I am looking for a mod like this, but it will do 2 functions:

1) ban the user
2) delete (physically) all the posts by this user

could someone help me find this please.

thanks.

ChU v2 09-14-2007 08:32 PM

Hello great mod, but having a bit of trouble.

This is the code I'm putting in.
HTML Code:

<!-- daPLAYBOY banUser -->
<if condition="($bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==7 || $bbuserinfo[usergroupid]==5 || bbuserinfo[usergroupid]==21)">
<tr><td class="vbmenu_option"><span onmouseover="this.style.cursor='hand';" onClick="window.open('modcp/banning.php?do=banuser&userid=$post[userid]','ban','width=500,height=375,scrollbars=yes')"><a>Ban User: $post[username]</a></span></td></tr></if>
<!-- / daPLAYBOY banUser end -->

and the error I'm getting when I click "Save Template"
HTML Code:

The following error occurred when attempting to evaluate this template:

Parse error: syntax error, unexpected '[' in /home/brutehal/public_html/xgengamers.com/forum/includes/adminfunctions_template.php(3596) : eval()'d code on line 351

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.


ChU v2 09-15-2007 05:20 PM

anyone?

LordDB 12-03-2007 08:39 PM

All I can say is that it might be your version of vB that isn't compatible, as on vB 6.0 it works just fine!

mauisun 12-04-2007 02:10 PM

worked like a champ on 3.68 thanks
...mauisun

Dingo14 02-04-2008 07:43 AM

works great nice mod thanks

Koroku 03-29-2008 01:14 AM

Quote:

Originally Posted by Alfa1 (Post 1336904)
In your screenshot you have the edit user function for admins. Please add this code.
Please make this into a product or plugin.

Code:

<if condition="($bbuserinfo[usergroupid]==9 || $bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==5)">
<tr><td class="vbmenu_option"><span onmouseover="this.style.cursor='hand';" onClick="window.open('modcp/banning.php?do=banuser&userid=$post[userid]','ban','width=500,height=375,scrollbars=yes')"><a>Ban/Moderate $post[username]</a></span></td></tr>
<tr><td class="vbmenu_option"><a href="moderator.php?do=useroptions&u=$post[userid]">Edit $post[username]</a></td></tr>
</if>

Change usergroups as needed :)

Works fine on 3.7 RC1 using the above code stuck in both postbit_legacy and postbit :^)

bigcurt 04-23-2009 10:59 AM

Any chance of an update for 3.8?

Biker_GA 04-23-2009 07:17 PM

No need. Works just fine on my 3.8.2 installation. :)

bilal.ahmed 10-14-2009 06:47 AM

can any one please guide me with the download link ... :(
I am already logged in and a paid user.


All times are GMT. The time now is 01:36 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.01088 seconds
  • Memory Usage 1,756KB
  • 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
  • (2)bbcode_html_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
  • (16)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