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 System, Automatic Ban, Make Posts Invisible, Edit Signature/ Avatar/ Picture (https://vborg.vbsupport.ru/showthread.php?t=59718)

Zachery 01-06-2004 02:25 AM

ah ok, i was just asking :) nice job, i wont be adding it to my live boards till down the road, but very nice work :)

shadowbreed 01-06-2004 08:14 AM

One question i have..
I tried logging in as one of my moderators, and they now have this option in ALL the forums, even the ones they're not moderator of, how can i prevent this?

I know it's all useroptions, but because of my forum setup i'd need them to be able to do this only to the users that visit the forums they're moderating.

shadowbreed 01-06-2004 08:24 AM

Quote:

Originally Posted by paratek
Erwin, not sure if anyone else has come across this. If i select on a users postbit to activate the drop down box, it will display Warnings ( ). If I click to either add or subtract a warning, then it will display the number as Warnings(0) or whatever. Also, it wont display in the users profile unless you have actually warned a user. Even if it is Warnings (0) it will display. I guess what I am asking, is there a way to have it default and start every one at (0) instead of nothing at all?

also, which choice should this be set at?

Field Required Yes No No, but display at registration

If you haven't warned anybody yet run this query:

UPDATE userfield SET field# = 0;

(replace field# with the custom profilefield for warning points)

Hialls 01-06-2004 01:03 PM

Installed except it doesn't seem to work when i add to users warning points?

Hialls 01-06-2004 01:17 PM

Solved the problem with adding an auto refresh to post, as it was updating just needed to be refreshed :P.
Ignore previous post

magnus 01-06-2004 02:33 PM

Quote:

Originally Posted by ENZcom
This is a great hack, but not worth installing now, because vB still isn't stable.

Erm.. "still isn't stable"? It's been "stable" since Beta 5 or so. Now that it's in RC1, it doesn't really get any more "stable". To each their own though.

Great hack, Erwin. :D

msimplay 01-06-2004 02:43 PM

lol my only question is why wasn't it made a standard :P

ap0c 01-06-2004 03:53 PM

simply amazing, will install once vb goes gold

magnus 01-06-2004 04:19 PM

Quick modification I made, if anyone is interested:

In POSTBIT (or POSTBIT_LEGACY) template -

Replace:
HTML Code:

        <if condition="($bbuserinfo[usergroupid]==5 || $bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==7)">
With
HTML Code:

        <if condition="$post[usergroupid]!=6 AND can_moderate($forum[forumid], '', $bbuserinfo[userid])">
This will allow your moderators the ability to only warn people in their forums. Plus, it will disallow the warning/banning/etc.. of Administrators.

minder 01-06-2004 06:24 PM

Quote:

Originally Posted by magnus
Quick modification I made, if anyone is interested:

In POSTBIT (or POSTBIT_LEGACY) template -

Replace:
HTML Code:

        <if condition="($bbuserinfo[usergroupid]==5 || $bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==7)">
With
HTML Code:

        <if condition="$post[usergroupid]!=6 AND can_moderate($forum[forumid], '', $bbuserinfo[userid])">
This will allow your moderators the ability to only warn people in their forums. Plus, it will disallow the warning/banning/etc.. of Administrators.



nice addition well done :)


rob
:)


All times are GMT. The time now is 07:25 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.01308 seconds
  • Memory Usage 1,742KB
  • 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_html_printable
  • (3)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