vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Warning Hack V1.5 (https://vborg.vbsupport.ru/showthread.php?t=65336)

lucky64 06-09-2004 11:56 PM

Great script, but is there any way to make it so mods can only strike in their OWN forums?

playboy 06-11-2004 10:26 AM

Code:

<div><font size=1>[<b>Current Warning Level:</b> $post[warning_level]/Whatever your ban limit is - <if condition="$bbuserinfo['usergroupid'] == '5'"><a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'><b>Warn $post[username]</b></a> - </if><if condition="$bbuserinfo['usergroupid'] == '6'"><a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'><b>Warn $post[username]</b></a> - </if><if condition="$bbuserinfo['usergroupid'] == '7'"><a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'><b>Warn $post[username]</b></a> - </if><a href='Warn.php?do=ViewWarnings&id=$post[userid]'><b>View $post[username]'s Warnings</b></a>]</font></div>
I didn't want to edit my navbar, so I did it so normal members can also view warnings of others. The Remove warning link isn't there. I also edited my "Warn Links". That code at top is what I have, and it comes out like this if you are in that particular group.

[Current Warning Level: 0/30 - Warn Cowie - View Cowie's Warnings]

If you aren't in that group, it shows up like this.

[Current Warning Level: 0/30 - View Cowie's Warnings]

alzibub 06-11-2004 02:30 PM

Great hack there !!

Installed on vb3.0.1 with no issues !

I had to change the banned usergroup from 8 - no biggie really but might want to higlight that in the install instructions to check the banned usergroup ID :)

Suggestion pretty much like everyone else really - would love to see time expiration on certain bans so that after say 30 days the warning automatically removes, cumulative banning procedures, like if banned for 15 days automatically when they return - if they reach say half the amount of points - they become permenantly banned..
Perhaps an option to specify permenant as well as time lapsed ?

All in all - a great addtion to my forum - so you have my thanks :)

Mamochka 06-12-2004 09:22 AM

I have modificated this hack for me. Please look it. :rolleyes:

WoodiE 06-12-2004 01:50 PM

Is there a way to allow my mods to view everyone that's been warned? This way they know what trouble makers to keep an eye on.

-WoodiE

msimplay 06-12-2004 03:30 PM

Quote:

Originally Posted by Mamochka
I have modificated this hack for me. Please look it. :rolleyes:

what exactly are the new features u added to it ?

Mamochka 06-13-2004 10:04 AM

I have added new look in postbit_legacy and fixed one query.

redlabour 06-13-2004 10:56 AM

Love it - thanx ! :D

redlabour 06-13-2004 12:58 PM

Sorry this Hack is a Security Hole it self !

Mods can bann Admin, Co-Admins can bann the Admin too - even the ID File is locked.

Please fix or add this as a security fix.

After i banned my with a test Adminaccount is still can“t access the AdminCP after i unbanned me !

So my wife (witch is a Admin too) trys to unlock me and set me back to the Adminstatus. But this is impossible beacuse my User is saved by $undeletetableusers in config.php.

What the hell can happen if someone banns us both ?

No thanx - this is a uninstall !!! :ermm:

redlabour 06-13-2004 01:24 PM

Quote:

Originally Posted by lucky64
Great script, but is there any way to make it so mods can only strike in their OWN forums?

Yes this would be very nice - even if the can only warn User that have a lower degree and not Admins ! ;)


All times are GMT. The time now is 11:13 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.01511 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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