vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Blur Ban v 2.0 [updated] (https://vborg.vbsupport.ru/showthread.php?t=43948)

Brad 09-25-2002 10:00 PM

Blur Ban v 2.0 [updated]
 
[updated to 2.0, if you have installed and wish to upgrade use the upgrade-fromv1.0.txt file in zip]

[If you are having problems with the hack not working make sure you are using internet explorer 6.0 or higher]




This hack will allow you to put a user in the "blur" usergourp, when they are in the blur usergourp their post/usernames are blured out and their avatar is replaced by a ban be please image :)

This is all done via the postbit_blur template, i decided to make this template based so people where not just limited to bluring out post, they could, depending on how they edit, remove the whole post itself!. So, this is a very powerful hack depending oon how you edit one template :).

Info:
Run 1 Query (to add blur usergourp)
Add 2 templates (postbit_blur,postbit_blur_avatar)
2 edits to admin/functions.php
2 edits to showthread.php

Demo: http://www.kousetsu.net/kan/showthre...=&postid=17030

Hack by: Anime-loo, inspired by Zzed's example.

Changes from 1.0

added new template postbit_blur_avatar (avatar now changes when in blured usergourp)

cleaned up install doc's (i was never good at making one ;) )

postcount changes to - 1000 when in blured usergourp.


Files in zip

blur-install.txt (query and file edits to be done)
templates.txt (all the info for the templates that must be added)
upgrade-fromv1.0.txt (for users that already have this mod installed and wish to upgrade, if installing for frist time ignore this file)
ban.gif (baned avatar, this will display insted of normal avatar for users in blured usergourp)

Zzed 09-26-2002 09:26 AM

Very nice. :)

blackice912 09-26-2002 09:26 AM

Very very interesting...I shall for sure look into this.

TECK 09-26-2002 09:38 AM

you miss a bracket on your filter:blur.
it should be:
Code:

<table style="filter:blur(add='0', direction='45', strength='10')">

Brad 09-26-2002 10:09 AM

Quote:

Originally posted by TECK
you miss a bracket on your filter:blur.
it should be:
Code:

<table style="filter:blur(add='0', direction='45', strength='10')">


file updated to fix this bug, thanks TECK :)

Areku 09-26-2002 10:10 AM

Also, b careful with other hacks on showthread.php...

It would b easier if u say "add postbit_blur" to which parts of showthread to avoid deactivation of other hacks accidentally.

ANyway,

/me installed this hack onto v2.2.0!

Tu!

Mathieu 09-27-2002 06:45 AM

thanks for this hack i'll try it now

JC 09-27-2002 07:41 AM

Hey,

I tried to do this hack, I read your directions and did everything right from what I could tell. The part at the end, where you make the new template postbit_blur#, i did that, then just copy pasted the example you gave in their to try it out, placed a member int he user group and had him post, nothing happened. I'm not sure where my errors are :(

Besides that I edited the functions.php and showthread.php perfectly?

Please help, thank you.

JC

Brad 09-27-2002 09:01 AM

did you make sure you added

Code:

<table style="filter:blur(add='0', direction='45', strength='10')"></table>
around all $post[whatever] calls?

Brad 09-27-2002 09:27 AM

Im ganna upgrade this hack :), just need a bit of testing and ill release verson 2, the install sould be alot easyer to fallow.


All times are GMT. The time now is 01:41 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.01806 seconds
  • Memory Usage 1,737KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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