PDA

View Full Version : Binary scrambled Posts


Andreas
02 Jul 2005, 04:19
Binary scrambled Posts

Description
This Hack is useless :D
It allows you to specify that certain Usergroups (in certain Forums)
can only see Posts "scrambled" as Binary.

Details
1 Plugin XML
1 Bitfield XML
1 Phrase

Please only click Install if you actually have installed/are using this Hack, and click Uninstall when you don't use it any longer!

Danny.VBT
02 Jul 2005, 05:01
lol, this is good as ban punishment! Good job! :)

Chris M
02 Jul 2005, 12:07
Not more bloody binary :p

Good idea though ;)

Satan

yoyoyoyo
02 Jul 2005, 13:29
LMAO- great idea! not useless!

Chris M
02 Jul 2005, 13:45
Works well - It even scrambles the Poll name and voting options :)

Satan

Andreas
02 Jul 2005, 21:52
Well ... it scrambles everything that is being parsed for BBCode within a Forum ;)

yoyoyoyo
02 Jul 2005, 22:11
can this be done in 3.0.7?

Andreas
02 Jul 2005, 22:14
It could ... but at least I am not willing to do that :)
If anwone wants, feel prto to port.

yinyang
03 Jul 2005, 09:13
KirbyDE, thank you so much for this hack. i actually think this is a great "incentive" for people to join my forum.

for example, all unregistered members and guests will see all the posts still, but it will be in binary. a link is provided to decode the posts, they just have to cut and paste into that section and decode.... if they find this to be a hassle, then they cna just register.

registered users' posts are automatically decoded.

i am attaching a small zip file that contains a php file a guest can use to decode (as well as encode) the posts. the author has given permission to redistribute. just upload the file to your directory and put a link in the navbar to it, something like "Posts Decoder".

i am sure it isn't too much of a hassle to remove the "encode" portion of the file if necessary.

Xenon
03 Jul 2005, 14:52
nice funny hack ^^

Chris M
03 Jul 2005, 16:32
nice funny hack ^^
I can see this being done here as a practical joke :p

If I turn up one day and everything is Binary I think I'll have a coronary :p

Satan

Dan
03 Jul 2005, 16:43
Hmm... make the banned usergroup see binary....

/me adds to the to install list.

Christine
03 Jul 2005, 17:14
This is a RIOT! :D

/me adds to the install list as well

coffeefix
03 Jul 2005, 17:27
Does not work for me. I'm using beta 3.

Andreas
03 Jul 2005, 23:13
Does not work for me. I'm using beta 3.
Hmm, it should as it was developed on Beta 3.
Have you followed all installation instructions Carefully?
Have you enabled this in Usergroups and/or Forum Permissions?

coffeefix
04 Jul 2005, 03:15
yup, I've done all of the above.

Andreas
04 Jul 2005, 03:41
Strange. Can you send me a PM with an admin account for your site?

coffeefix
04 Jul 2005, 04:19
Well let me first ask, does this work with guests?

Andreas
04 Jul 2005, 06:05
Yes it does.

Bulent Tekcan
04 Jul 2005, 11:57
But still see in preview :) If it is same prosedure in preview and archive,yes very good.

Cheers

Andreas
04 Jul 2005, 12:22
It does not show up on preview intentionally.
It also does not work in the Archive, sorry.
I think this would require code modifications

Biker_GA
06 Jul 2005, 01:34
LOL! This is going to be perfect come April 1st! :)

Biker_GA
06 Jul 2005, 02:45
I just ran into a problem with this. It's not saving when selected.

Select Custom, then check scramble posts, then save. Go back to view the permission and it's reset to No again.

This is in both Forum permissions and Usergroup settings. :(

Andreas
06 Jul 2005, 02:51
Hmm, it should save.
Do you have any other Hacks installed?

Biker_GA
06 Jul 2005, 02:59
Hmm, it should save.
Do you have any other Hacks installed?
ROTFLMAO! Oh yeah! I've been going absolutely nuts trying to break something on the test server. I'm showing 19 plugins (including this one) in the list.

Biker_GA
06 Jul 2005, 03:03
Gave me an idea.. I went and disabled the other 18 and attempted to select it again under Forum permissions and Usergroup. No joy. Still won't save. :(

Andreas
06 Jul 2005, 03:12
Are there any bitfield_*.xml-Files in your includes/xml directory except bitfield_scrambleposts.xml and bitfield_vbulletin.xml?
Do you have Hacks installed that modify or forumpermission.php?

Biker_GA
06 Jul 2005, 03:19
Are there any bitfield_*.xml-Files in your includes/xml directory except bitfield_scrambleposts.xml and bitfield_vbulletin.xml?
Do you have Hacks installed that modify or forumpermission.php?

The only bitfield_*.xml files are the two you listed.

This is what I have loaded as far as plugins. As far as I know, none of them have affected the forum permissions.


Hook Location : bbcode_parse_start
Binary-Scrambled Posts

Hook Location : cron_script_cleanup
Hide Threads with unfinished Polls

Hook Location : fetch_userinfo
New PM On Forum Home (If Unread) [Template Cache]

Hook Location : forumdata_presave
Hide Threads with unfinished Polls

Hook Location : forumhome_complete
New PM On Forum Home (If Unread) [Template Alteration]

Hook Location : forumhome_start
New PM On Forum Home (If Unread) [Main]

Hook Location : global_complete
Realtime Template Compressor

Hook Location : global_start
Banned Idiot

Hook Location : newpost_process
Hide Threads with unfinished Polls

Hook Location : newreply_quote
Binary-Scrambled Posts

Hook Location : newreply_start
Hide Threads with unfinished Polls

Hook Location : postbit_display_complete
Allow members to report own posts
Galaga Hack

Hook Location : profile_updatesignature_start
Signature Image Size Limiter

Hook Location : report_send_complete
Create Reported Post as Thread

Hook Location : report_send_email
Disable Reported Post E-mails

Hook Location : showthread_start
Hide Threads with unfinished Polls

Hook Location : threaddata_presave
Hide Threads with unfinished Polls

Hook Location : threadfpdata_presave
Hide Threads with unfinished Polls

Andreas
06 Jul 2005, 03:36
Strange.
You did rebuild the Bitfield Cache upon installation?

Biker_GA
06 Jul 2005, 03:46
That did it. :)

Since I had imported the xml file via the plugin manager, I completely overlooked the bitfield requirement in the manual installation file. Thank you.

Andreas
06 Jul 2005, 03:50
Plugin Manager != Advanced Plugin Manager ;)
Advanced Plugin Manager (APM) is a Hack I am working on that automatically installs Phrases, Settings ,Templates, Queries - and rebuilds the Bitfield Cache if necessary.

Biker_GA
06 Jul 2005, 03:55
Got it. ;)

Biker_GA
06 Jul 2005, 04:02
**grin** One of the other admins suggested options to include BCD or Gray Code. LMAO

Andreas
06 Jul 2005, 04:10
Hehe. Kennify (http://www.namesuppressed.com/kenny/) would also be cool.
Maybe future Versions will include several choosable "encodings"

thedvs
06 Oct 2005, 18:27
Is there a way to add a text line before the binaries so that when they view threads that are in binary it says please subscribe (link) 101010101 10101 etc or is this just not possible?

yinyang
06 Oct 2005, 18:40
all you need is a conditional before the code i believe.

thedvs
06 Oct 2005, 20:38
which i have no idea how to do :) ill wait n see if mighty kirby can help

Andreas
08 Oct 2005, 00:19
Should be possible.
'Edit the plugin and Replace


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



with


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

thedvs
08 Oct 2005, 15:47
omg it works, thanks so much kirby. This will force my new members to subscribe to view posts now. :)

Boofo
08 Oct 2005, 15:50
omg it works, thanks so much kirby. This will force my new members to subscribe to view posts now. :)

What did you use to replace it with? Just curious. ;)

thedvs
08 Oct 2005, 22:03
hehe this, just a quick explaination and the subscription link



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Now if we could do it so that it does this on forums the admin chooses aswell as just the usergroups... KIRBY? :)

Cause I don't think this is a useless hack like Kirby said. It has great potential.

Andyrew
09 Oct 2005, 00:25
Installed :cool:

Andreas
09 Oct 2005, 20:49
Now if we could do it so that it does this on forums the admin chooses aswell as just the usergroups... KIRBY? :)

You can enable this on a per forum per usergroup basis - just check youre permissions.

thedvs
09 Oct 2005, 22:29
AHA, didnt spot that!!! thanks for all your help kirby!

thedvs
10 Oct 2005, 01:14
Can we have an alternative to binary? Clever members can use online binary decoders to see the thread content.... ARGH

Andreas
11 Oct 2005, 15:30
Sure - code one and you have one :)

TyleR
11 Oct 2005, 15:34
you could md5() the text lmbo..but this looks pretty neat, Kriby..will test it out on my localhost today :)

thedvs
14 Oct 2005, 13:57
kirby i dont know how to code one! :)

Andreas
14 Oct 2005, 13:58
Well then ... then you're out of luck ;)

LEAD_WEIGHT
15 Oct 2005, 00:59
Ever try it with fonts? Binary is cool, but like to see more? :bored:

Xtremist
15 Oct 2005, 15:47
i did all the phrases upload the xml file etc where is the option to make a user group see the binary or is it per member either way could u tell me how

thedvs
15 Oct 2005, 16:38
its per usergroup or forum
usergroup options &/or forum permissions

thedvs
15 Oct 2005, 16:39
@Kirby, ah K u meanie :)

Christine
05 Nov 2005, 19:08
From Kier's announcement: Bitfield XML files use stronger product association
For a bitfield XML file to be parsed, it must be associated with a product that is installed and active. Previously, it was impossible to not use certain bitfield files without deleting them. This is more consistent with CP navigation XML files. Does this mean that we need to redo this as a non vB product, or is that only for an initial install?

Andreas
05 Nov 2005, 19:11
Should work, as it is attached to vbulletin.
Though it would be better to redo it as product.

Christine
05 Nov 2005, 19:50
Yeah, I am thinking the same thing. Just for consistency, I am going to set all of them up the same way with their respective [renamed] products.

Renmiri
06 Aug 2006, 02:48
<s>kk, won't click install since you asked... But it is a cool mod. Downloaded!</s> Installed!

And it doesn't work :(

1) it may be my flaky laptop and my freebie unzipper (Coffeecup) but I had a hell of a time finding the bitfield_scrambleposts.xml file after I unzipped it...

2) After using "brute force" to get the bitfield in, I edited a user and his user group to test it.. Set the permissions to "can only view scrambled" and... It is not scrambling

How do i get it to work on 3.5.4 ?