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)

wrongful 05-20-2004 11:00 PM

ok i see in warn.php they are moved to usergroup 8 by default. I changed this to my banned usergroup.

SmasherMaster 05-20-2004 11:08 PM

Quote:

Originally Posted by msimplay
on vb2 i had mikes version installed is this hack as good as the vb2 versions

Yes, I do believe it's just as good

wrongful 05-20-2004 11:15 PM

one last thing. I have it set to ban my users for 5 days, but when I go to view banned users, it says permenent, and when I use the Unban Banned Users function, it doesn't unban the user who was banned as a result of the warning system

Vivi Ornitier 05-20-2004 11:19 PM

this is just like gforce's good old hack, thanx heaps ZT.

I was wonderin if you could display the warning level on the postbit, you know how i like to do things lol. Muhc quicker to reference the points if you can just see it from the thread. thx heaps for it. Can you make it so members can view warnings but not warn? It's kinda pointless if the members can't see where they are on the wraning scale and all start +++++ing when they are banned.

Edit: I got a database error when issuing a warning.

Code:

Database error in vBulletin 3.0.0:

Invalid SQL: insert into pmtext values ('','1','deathscythehell','You have been warned','You have been warned for the post: Your Post. Your warning level is now: 4. This action was taken for the following reason: tesitng again. Please reply back if you have a dispute. deathscythehell','a:1:{i:1283;s:4:\"Kite\";}','4','1085099169','1','1')
mysql error: Column count doesn't match value count at row 1

mysql error number: 1136

Date: Friday 21st of May 2004 12:26:09 AM
Script: http://forums.squareultima.com/Warn.php
Referer: http://forums.squareultima.com/Warn....83&post=297358
Username: deathscythehell
IP Address: 66.109.201.66

It still gives the warning when i view warnings but it gives that message after i finish warning the user.

drumsy 05-20-2004 11:24 PM

Also, please hurry up and figure out how I can change permissions so those who I specify cannot see the Warn User link!!! :)

drumsy 05-20-2004 11:27 PM

I do have a problem where an exclamation point in the Notification PM is not being parsed correctly.

wrongful 05-20-2004 11:37 PM

Quote:

Originally Posted by drumsy
Also, please hurry up and figure out how I can change permissions so those who I specify cannot see the Warn User link!!! :)

you can replace
Code:

<a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'>Warn $post[musername]</a> ? <a href='Warn.php?do=ViewWarnings&id=$post[userid]'>View $post[musername]'s Warnings</a>
<if condition="$show['postcount']">? #<a

with

Code:

<if condition="$bbuserinfo['usergroupid'] == '6'"><a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'>Warn $post[musername]</a> ? <a href='Warn.php?do=ViewWarnings&id=$post[userid]'>View $post[musername]'s Warnings</a> ?</if>
  <if condition="$show['postcount']"> #<a


drumsy 05-21-2004 12:12 AM

How can I allow multiple usergroups, Administrators, Moderators, and Super Moderators?

msimplay 05-21-2004 12:40 AM

just guessing but try this

HTML Code:

<if condition="$post[usergroupid]!=6 AND can_moderate($forum[forumid], '', $bbuserinfo[userid])"><a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'>Warn $post[musername]</a> ? <a href='Warn.php?do=ViewWarnings&id=$post[userid]'>View $post[musername]'s Warnings</a> ?</if>

AN-net 05-21-2004 01:27 AM

sounds good, any screenshots?


All times are GMT. The time now is 05:49 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.02647 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (2)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