PDA

View Full Version : Blur Ban v 2.0 [updated]


Brad
26 Sep 2002, 09:43
[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/showthread.php?s=&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
26 Sep 2002, 10:26
Very nice. :)

blackice912
26 Sep 2002, 10:26
Very very interesting...I shall for sure look into this.

TECK
26 Sep 2002, 10:38
you miss a bracket on your filter:blur.
it should be:
<table style="filter:blur(add='0', direction='45', strength='10')">

Brad
26 Sep 2002, 11:09
Originally posted by TECK
you miss a bracket on your filter:blur.
it should be:
<table style="filter:blur(add='0', direction='45', strength='10')">


file updated to fix this bug, thanks TECK :)

Areku
26 Sep 2002, 11:10
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
27 Sep 2002, 07:45
thanks for this hack i'll try it now

JC
27 Sep 2002, 08:41
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
27 Sep 2002, 10:01
did you make sure you added

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

around all $post[whatever] calls?

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

Brad
27 Sep 2002, 12:17
verson 2.0 has been released :)

psychopathic
27 Sep 2002, 12:36
nice hack there animeloo, you're a crazy bastard i tell ya. that's good though!...i think o_O nice work none the less. you MASTER HACKER! :D

edit: i just noticed something, this hack uses IE's blur filter (duh), but that also means that it won't work in other browsers :( have you checked for cross-browser compatability?

Brad
27 Sep 2002, 12:41
as far as i know it wont work in non-IE broswers, theres not much i can do about that unless someone knows how to make it work in netscape based broswers. but most users are ganna hit the site in IE anyway.

psychopathic
27 Sep 2002, 12:42
It's no big deal, i use IE so i really don't care, but i have a few friends who actually prefer netscape over IE.

Goldknight
27 Sep 2002, 14:06
Kewl hack

/me install since this hack is finally support...

Thanks

8ball
27 Sep 2002, 14:43
thanks guy for this hack ;)

Sweet Cheeks
27 Sep 2002, 18:07
This hack is awesome :banana: thank you so much.

JC
27 Sep 2002, 18:36
I don't understand, do I have to fill in all the $post[whatever] and $post[backcolor] with my own settings? And no, your right, I didn't add that code you told me too...can I see an example, your version 2.2 has still left me lost because I'm so new to this, sorry :(

JC
27 Sep 2002, 23:15
Waiting for help...oh its so lonely...heh...?

Brad
27 Sep 2002, 23:19
check the new zip, it explanes how to do it better :)

Brad
28 Sep 2002, 00:53
Originally posted by jc707imports
I don't understand, do I have to fill in all the $post[whatever] and $post[backcolor] with my own settings? And no, your right, I didn't add that code you told me too...can I see an example, your version 2.2 has still left me lost because I'm so new to this, sorry :(

dident read that last part ;) sorry. basicly you do this, go to your postbit template. drag your mouse over all the code to highlight it, right click and hit copy. do not change the template itself only copy it


now add a new template, name it postbit_blur and right click again and click paste. hit save. find the postbit_blur template under custom templates and click edit then do this:

#find:

$post[username]

#replace with:

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

#find:

$post[posts]

#Replace with:

- 10000

#find:

$post[joindate]

#Replace by:

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

#find:

$post[title]

#replace by:


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


#find:

$post[message]

#replace by:

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

hope that helps :)

Brad
28 Sep 2002, 00:55
Originally posted by ~*Julie*~
This hack is awesome :banana: thank you so much. I do have a ??? how can I add to the filter string to make the text flipped backwards and blurred? I used this tag for regular flipped text but dont want to alter your hack without your permission..I am soooo new to writing php code thank you for your help :D

<table style=filter:flipH>

just replace all the

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

with

<table style=filter:flipH>

in the postbit_blur template

or are you trying to use both tags at the same time? sadly you cant because this would break your tables. or do you want a new usergourp that has their text fliped? that i can do :)

JC
28 Sep 2002, 02:00
Hey i did all your steps and I'm still not seeing any results... Im not sure what I've done wrong now...i replaced everything you said... made the user group BLURED ( exactly like that ) made POSTBIT_BLUR template exactly like that, so i'm wonderin what the deal is, think u could get into my board and help? Thanks... let me know ! I'm anxious haha.

Brad
28 Sep 2002, 02:25
jc707imports PM me. and ill have a look at it for you.

bitbender
29 Sep 2002, 01:20
Awsome stuff.. Be placing it on 2.2.6 shortly

Sweet Cheeks
29 Sep 2002, 03:26
Originally posted by Anime-loo


just replace all the

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

in the postbit_blur template

or are you trying to use both tags at the same time? sadly you cant because this would break your tables. or do you want a new usergourp that has their text fliped? that i can do :)

Yes I was trying to do both together :( but its still an awesome hack though, great job! :cool:

cdrforum
29 Sep 2002, 14:07
LOL this is one of the funniest things i seen, much better than plain baning !" well done m8.

Esorcista
30 Sep 2002, 20:35
Originally posted by Anime-loo
jc707imports PM me. and ill have a look at it for you.

Can u help me too?
I did all the steps but it doesn't work :confused:

Sweet Cheeks
30 Sep 2002, 21:07
On my board, we dont ban but we "troll" people... I used this already and the person got pissed off :banana: too funny.

Brad
01 Oct 2002, 14:33
Originally posted by Esorcista


Can u help me too?
I did all the steps but it doesn't work :confused:

post your problem here and ill see what i can do.

~*Julie*~ : good to see it working out for you :bunny:

Obi-Wan
01 Oct 2002, 16:26
This is sooooo kewl.

*click

Esorcista
01 Oct 2002, 17:58
Originally posted by Anime-loo


post your problem here and ill see what i can do.

~*Julie*~ : good to see it working out for you :bunny:

I did all the steps of blur-install and templates.txt
I created a user to test the hack.
user: test pass: test usergroup:"Im all blured out"
But the forums/thread/posts aren't blured -_-

Brad
01 Oct 2002, 18:18
It only works in IE 6+. are you using that?

Esorcista
01 Oct 2002, 20:14
Originally posted by Anime-loo
It only works in IE 6+. are you using that?

Yes, i'm using IE6 in WinXP with SP1

GunsNetwork
01 Oct 2002, 22:21
I also have done everything as you said and NOTHING geezz

Man I hate when good hacks don't work on my website.

I need some help!

BowHunt

JC
03 Oct 2002, 08:46
I pmed you but you haven't responded to help me :(

Opie
21 Oct 2002, 00:30
This isn't working for me on 2.2.7, I can't get the query to run.

Anyway to change it so it will work with 2.2.7?

JC
31 Oct 2002, 11:29
I don't get HOW to do the QUERY thing - you don't say how to do that AT ALL - please explain how and where to perform this :(

JC
31 Oct 2002, 11:35
You say :

"#########
SQL query#
##########

INSERT INTO usergroup VALUES("103","Im all blured out","","0","1","1","1","1","0","1","0","0","0","1","1","1","1","0","0","1","1","1","0","0","1","0","0","0","0","0","0","0","0","1"); "

But that's it - not where or how, you haven't ever returned my PM's - how do I run a SQL QUERY or whatever, where and how please ?

Everything else has been done correctly I'm sure... Help please?

Brad
31 Oct 2002, 13:47
Originally posted by Opie
This isn't working for me on 2.2.7, I can't get the query to run.

Anyway to change it so it will work with 2.2.7?


You have made edits to the database. you will need to edit the query to run on your system.

Brad
31 Oct 2002, 13:49
Ive been busy at vBt and with life, sorry if ive caused you any tourble. heres a tut on how to run querys.

http://vbulletin.com/forum/showthread.php?s=&threadid=18558


Originally posted by jc707imports
You say :

"#########
SQL query#
##########

INSERT INTO usergroup VALUES("103","Im all blured out","","0","1","1","1","1","0","1","0","0","0","1","1","1","1","0","0","1","1","1","0","0","1","0","0","0","0","0","0","0","0","1"); "

But that's it - not where or how, you haven't ever returned my PM's - how do I run a SQL QUERY or whatever, where and how please ?

Everything else has been done correctly I'm sure... Help please?

JC
31 Oct 2002, 21:20
Wow, this is really complicated for me :( You had said you could go in and take a look for me, is that still a possibility? I just don't get this at all :(

Brad
01 Nov 2002, 09:09
http://www.vbulletin.org/forum/showthread.php?s=&threadid=26272&highlight=Query

Install that and you can run them from the cp.

JC
02 Nov 2002, 07:47
Will do. Thanks for the help - i'll keep u updated.

Esorcista
06 Nov 2002, 10:06
Ok, i installed it and it work on IE!
But i still can read posts of blured users with "copy"(Ctrl+C) and "paste"(Ctrl+V) in notepad.
Any fix for this?

Esorcista
09 Nov 2002, 11:27
Another problem...
If i quote the blured message i can see it too...
:confused:

DrkFusion
09 Nov 2002, 14:07
Is there a way to blur vertically?

-Arunan

Brad
15 Nov 2002, 05:31
Esorcista: This is designed to anoy the user blured, sure there are ways to bypass the blur, there is not much i can do about that.

XIanX
05 Dec 2002, 22:07
Originally posted by Anime-loo
Esorcista: This is designed to anoy the user blured, sure there are ways to bypass the blur, there is not much i can do about that. I've noticed if the user that's blurred quotes a message than the thread page gets screwed up... Is there a fix for this?

BfB
06 Jan 2003, 00:10
Edit, actually, it is. See my next post below:

My ban.gif is not showing up at all.

See here:

http://www.lightningforums.com/forums/showthread.php?postid=3954#post3954

Everything else works great. Any ideas?

I'm sure it is something simple. I'm running v2.2.9

mistyl
06 Jan 2003, 00:30
I ran the query here with 2.2.9 and for some reason for VB Options disappeared lol. Wondering what I did wrong?

BfB
06 Jan 2003, 01:15
Well, it does work, but unfortunately for the avatar to show up they already have to have one.

I wonder if Zed's (Zzed on here) version will display it w/out them originally having one?

Sweet Cheeks
07 Jan 2003, 06:16
Originally posted by XIanX
I've noticed if the user that's blurred quotes a message than the thread page gets screwed up... Is there a fix for this?

Yes this is happening to me too :confused:

Brad
07 Jan 2003, 07:24
Due to all the problems with this hack ive droped support for this version, ill be coding a new version soon. :)

Sweet Cheeks
07 Jan 2003, 14:47
hey Anime-loo I'm sorry for complaining :( We still have a ton of fun with this hack still, I asked around on here a while back how to disable the quote feature for certain user groups here http://www.vbulletin.org/forum/showthread.php?s=&threadid=44373&highlight=disable+quote And this keeps them blurred if I catch them online before they quote anything, even if they insert quote vb code themselves it will still blur them lol.

But if they get online overnight and quote a bunch of posts, and then I put them in the Blurred usergroup, that is when the tables get all screwy,

Just thought I would tell you this incase it might help out with your new version. Otherwise we still do have alot of fun with your awesome hack though lol :banana: Thanks a bunch for all your hard work :cool:

Brad
08 Jan 2003, 01:50
Im going to look into all problems before the next release. If i want ill pm you the new one if you would like to beta test when its done.

Sweet Cheeks
08 Jan 2003, 03:28
Sounds good :banana: