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)
-   -   Administrative and Maintenance Tools - "Smith" Warning System (https://vborg.vbsupport.ru/showthread.php?t=132131)

akanevsky 03-21-2007 07:30 PM

Quote:

Originally Posted by WrestlingAcadem (Post 1208371)
I'm having a problem with this on my forum.

Moderators can warn people for posts in any forum other than their own. Is there a way to limit them to just warning posts within their forum?

At the moment, it is not possible, however it may be implemented in a future release.

akulion 03-25-2007 12:23 AM

very nice system

just one suggestion

instead of saying "The user has been successfully awarded 50 warning points."

it should say "The user has been successfully penalized 50 warning points."

lol because i am sure no one wants that award for sure

or in case my english is incorrect just ignore it

zariyan 03-25-2007 05:18 PM

akulion, that is simple.

In AdminCP go to "search in phrases", search "awarded" in all forums, search in "Phrase Text AND Phrase Variable Name"

Then you'll see it in ws_post i believe.
Then click Edit, And then Click the "copy default Text" button
Edit the text, and click save. all done.


Also, just for users who want to be able to ban a user from their profile, add this:

In template MEMBER INFO:

find:
Code:

<if condition="$show['giveinfraction']">
          <td class="vbmenu_control"><a href="infraction.php?$session[sessionurl]do=report&amp;u=$userinfo[userid]">$vbphrase[give_infraction]</a></td>
        </if>

REPLACE With:
Code:

<if condition="($bbuserinfo[usergroupid]==1">
<td class="vbmenu_control"><a href="modcp/banning.php?do=banuser&userid=$post[userid]" target="#blank"><b>Ban or Suspend $post[username]</b></a></td>
<td class="vbmenu_control"><a href="modcp/banning.php?do=liftban&userid=$post[userid]" target="#blank"><b>Lift Ban on $post[username]</b></span></td>

ALSO in line:
Code:

<if condition="($bbuserinfo[usergroupid]==1 || $bbuserinfo[usergroupid]==5">
<!-- ADD USERGROUPS ON THIS LINE -->

Add all Usergroups who should be able to see this in that line.

Hope this makes it easier for you.

hnjco 03-31-2007 10:17 PM

Installed on VB 3.6.5

Looks great.

Thanks

hnjco 04-01-2007 08:34 PM

my users are getting massages of 2 PMs but they getting only one and even they read that they still have massage of one unread massage on main page but when they check inbox there isn't any more.

I'm on 3.6.5

Deadly Assassin 04-04-2007 05:47 AM

When i try to issue a warning i get this error?

Quote:

Database error in vBulletin 3.6.4:

Invalid SQL:

UPDATE user
SET
ws_warninglevel = 3, pmtotal = pmtotal + 1, pmunread = pmunread + 1, reputation = -30, reputationlevelid =
WHERE
userid = 117
LIMIT 1;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE
userid = 117
LIMIT 1' at line 4
Thanks for any help :up:

akanevsky 04-04-2007 02:50 PM

Make sure you are running the latest version of the hack...
Make sure you have defined reputation levels or disabled reputation change on warnings otherwise...

Deadly Assassin 04-05-2007 03:13 AM

Quote:

Originally Posted by Psionic Vision (Post 1219713)
Make sure you are running the latest version of the hack...
Make sure you have defined reputation levels or disabled reputation change on warnings otherwise...

not sure how to do the second task :confused:

UPDATE

Reinstalled the hack, seems to be ok now.

Thanks :)

hnjco 04-05-2007 04:30 PM

any one know how to fix 2 PMs bug?

Fungsten 04-05-2007 04:56 PM

I put it on my "Test" Board.


All times are GMT. The time now is 01:57 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.01184 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
  • (3)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)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