Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Visible Infractions & Warnings Details »»
Visible Infractions & Warnings
Version: 1.00, by UltimateOreo! UltimateOreo! is offline
Developer Last Online: Dec 2009 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 07-19-2009 Last Update: Never Installs: 69
Template Edits
Re-useable Code Translations  
No support by the author.

Support will only be given in this thread to those who clicked install!

Inspired by a popular 4chan feature, this is a great way to show what is and what is not acceptable on your forums. If the entire community can see what what they can get an infraction for, there are less likely to do it.

It's a very simple modification. If a user is given an infraction, it will display the respective text underneath the post, but above the signature. Same if the user is only given a warning. It will not edit or alter any other part of the postbit.

If you don't like the colors, they can be easily changed with either simple HTML knowledge or "googling" hex codes.

Thank you Dismounted, couldn't have created it without your help.
https://vborg.vbsupport.ru/showthread.php?t=218966

If you need help installing this modification, please read my tutorial on installing hacks.
https://vborg.vbsupport.ru/showthread.php?t=149588

Download Now

File Type: txt Install.txt (1.5 KB, 355 views)

Screenshots

File Type: jpg infraction.jpg (41.9 KB, 0 views)
File Type: jpg warning.jpg (44.1 KB, 0 views)
File Type: jpg infractionlegacy.jpg (38.2 KB, 0 views)
File Type: jpg warninglegacy.jpg (36.9 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 06-29-2010, 01:29 AM
mavrick4283 mavrick4283 is offline
 
Join Date: Jul 2009
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this be updated for VB 4?
Reply With Quote
  #23  
Old 06-29-2010, 04:20 AM
ricardoNJ ricardoNJ is offline
 
Join Date: Sep 2008
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Testing....
Reply With Quote
  #24  
Old 11-23-2010, 08:00 PM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

4.0 Standards:

Find:
Code:
			<div id="post_message_{vb:raw post.postid}">
				<blockquote class="postcontent restore">
					{vb:raw post.message}
				</blockquote>
			</div>
Below Add:
Code:
<vb:if condition="$post['infraction'] == 2">
<font color="red"><b>(USER RECEIVED AN INFRACTION FOR THIS POST)</b></font>
</vb:if>
<vb:if condition="$post['infraction'] == 1">
<font color="#FFCC11"><b>(USER RECEIVED A WARNING FOR THIS POST)</b></font>
</vb:if>
Reply With Quote
  #25  
Old 03-10-2011, 11:08 PM
cowcowcow cowcowcow is offline
 
Join Date: Jul 2009
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DEGE View Post
I agree. The infraction title should be shown to get this more effective on other user's behaviour

Did anybody find that variable to get it displayed?

As far as I found it's $infractioninfo[reason] in the template userinfraction_view...

Don't know how to find it in postbit....

DEGE
I agree as well! there needs to be a reason so people know why they are warned.

ive tried using the following below the code in similar if statements but these variables dont seem to work

$infraction[infractionlevelid] == 1 doesnt work and neither does $post[infractionlevelid] == 1

neitehr does putting the phrase $vbphrase[infraction_reason] or $infraction[reason] after the code work.

Im so clueless so if anyone has any ideas pleaseeeeeeeeeeeeeee help out!
Reply With Quote
  #26  
Old 03-14-2011, 04:54 PM
Zylantex Zylantex is offline
 
Join Date: Sep 2009
Location: France
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice mod. I've installed a mix of a couple of the possibilities above and it's looking good.
Reply With Quote
  #27  
Old 04-25-2011, 06:30 AM
GotWalked GotWalked is offline
 
Join Date: Nov 2008
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks /b/ro! installing now; will report back.
Reply With Quote
  #28  
Old 04-25-2011, 06:36 AM
GotWalked GotWalked is offline
 
Join Date: Nov 2008
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, installed; testing. Does it work for BANNING?
Reply With Quote
  #29  
Old 04-25-2011, 06:37 AM
GotWalked GotWalked is offline
 
Join Date: Nov 2008
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it does not. what would the additional code be and where would it go to add "USER WAS BANNED FOR THIS POST"
Reply With Quote
  #30  
Old 06-07-2011, 04:45 AM
lycheepassion lycheepassion is offline
 
Join Date: Aug 2009
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anything similar for 4?
Reply With Quote
  #31  
Old 08-03-2011, 07:26 AM
merk_aus merk_aus is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 582
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lycheepassion View Post
Anything similar for 4?
Yes it was posted about four posts ago/
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:07 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05510 seconds
  • Memory Usage 2,334KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete