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)

Cybershaolin 12-06-2006 11:51 AM

Quote:

Originally Posted by daPLAYBOY (Post 1133041)
I stand corrected if I'm wrong, but here goes:

Change the Usergroup ID after this:

==

then if you wish to continue to add ID's place this:

|| inbetween, and repeat so it looks like this;

||$bbuserinfo[usergroupid]==6 then if you want to finish, place this at the end of the ID number:

)">

So! Here's an example:


Code:

<if condition="$bbuserinfo[usergroupid]==9 || $bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==12)">
Hope this is OK!

Any experienced coder plz verify to others if it's fine. Thx! ;)

Thanks I'll try it tonight. Just one point though, if we add other group ID's, these ones should not be able to ban any members within our own groups! We never know...

scan-pa 12-06-2006 05:09 PM

That fixed it. Exactly what I needed. Great job. Clicked "installed"

Thanks.

LordDB 12-06-2006 06:38 PM

Hi Cybershaolin, each ID should be protected from being banned!

Kindly try the hack out, and report your findings here! Thx!;)

Thanks, so far, for the positive feedback guys, and I'm pleased to be able to help you all!

Br.

Cybershaolin 12-07-2006 12:47 AM

well using that code gave me a parse error:
Code:

<if condition="$bbuserinfo[usergroupid] ==5 || $bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==7)">
You forgot a "(" I think at the beginning. because it goes fine after I added it Shouln't have been something like this:
Code:

<if condition="($bbuserinfo[usergroupid] ==5 || $bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==7)">
Now, I forgot to check the hack at first before doing the group modification but in both ways it does not work for me.

I see the option to ban in the postbit but when I click on it, it opens a popup window with a link like this one:
Code:

http://myforum.com/forum/modcp/banning.php?do=banuser&userid=7
It looks OK but it gives me this error page for result:
Quote:

Not Found
The requested document was not found on this server

LordDB 12-07-2006 04:13 AM

Thx for the feedback, Cybershaolin! I've now adjusted, as found! ;)

Will investigate your errors and get back here shortly!;)

Practice make perfect in the end!;)

Br.

LordDB 12-08-2006 05:07 AM

Hi, Cybershaolin! Can you tell me the 'status' that you encountered this problem? Were you performing this as Super Admin or what? If you were, then it is some other conflict within your templates?

Look forward to your feedback!

Br.;)

Cybershaolin 12-08-2006 05:34 AM

I tried it as a super admin, as a super mod and as a moderator. All of them give me this error.

LordDB 12-08-2006 05:51 PM

Quote:

Originally Posted by Cybershaolin (Post 1134338)
I tried it as a super admin, as a super mod and as a moderator. All of them give me this error.

Hi, Cybershaolin!

Sadly, it seems for sure, that your issues are not related to this Mod, but perhaps a conflict with something else! Just with 'Super Admin' alone, as directed in my code, does work 100%, as I use it! :)

Sometimes this does happen with different customisations!

Let's see if some other experienced coder can shed light on this for you!

Br.

Lovinmysailor 12-08-2006 06:21 PM

Thanks works great!!!!

LordDB 12-09-2006 06:06 AM

Thanks for your positive feedback, Lovinmysailor! It's such a simple, convenient, and quick code to install isn't it! No excess buttons in postbit_legacy to worry about! ;)

Don't forget to click the 'INSTALL' button if it 'worked' for whoever downloads!;)

Cheers!


All times are GMT. The time now is 02:03 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.01097 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_code_printable
  • (3)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