vBulletin Mods

The Official vBulletin Modifications Site

[hide] hack incl post thank you "addon"
by itsid
06 Nov 2006 02:28

10 Attachment(s)
sid's [hide] hack 0.3.5

Hi again,

I've tried my best to build a [hide] hack that will fit to to
the wonderful POST THANK YOU HACK

but for sure you can use it without, then it'll work if user replies to a post with hidden content ;)

You can coose in acp to show hidden content to admins mods or users of a certain usergroup (if you have useradmins or something) too.

It will show up some hint that will let your users know what to do (thank, answer, or even nothing)
by now with some small text, soon with a set of images ;)

  • my english is way off what I want it to be, so please go ahead and edit the language file to your needs


Thanks to Andreas of vbhacks-germany
  • no hidden content visible in archive
  • no php edits necessary no more
  • kicked out bitfield-code

    and further
  • no hidden content visible in printthread.php if not in showthread.php
  • now with a set of small images showing up as hint
  • and least updateurl in acp
have fun


ps Sorry for updating that fast ;)

UPDATE 0.3.0
uninstall previous version before installing the update!
So, here's what you've all been waiting for *grin*
Tha ajaxified version of my hide hack.

BUT, this is rather bruteforcing ajax, so be warned :D
First: you could fully disable ajax for this script in ACP!
Now how it goes, it checks the length of pagecontent every three seconds (usersides, no worries about serverload here), and if it finds some new "content" like a filled thanks-box or a new post it calls all the posts that have hidden content (of this page only of course) and tries to refill the postbits,
this causes some sql-queries, almost as much as to totally reload the page itself.
AS soon as I find a more elegant method I will update again.
Nothing else was changed though since 2.6, only modified in handling the ajax-request.
If you encounter any problems with the ajax of this script, just deactivate,
no javascript at all then will be loaded from this script, and you'll have a "normal" version in hands.
(size is due to an pic-install-help-image ;))

UPDATE 0.3.5
reduced querys,
smarter installations code.

that's all :D


PS If you encounter any problems not seeing thanked posts hidden content after reload,
try this codechange

PPS Sorry, Support only for those who clicked "install"

Shazz 06 Nov 2006 02:45

Looks very nice :)

SCRIPT3R 06 Nov 2006 03:11

did you get permission to use all the copied code?

lolo² 06 Nov 2006 06:42

thanks i try it :)
there is a small bug if have more one tag hide in the post the hide start on firts tagg and close after the last tagg

shadowevil 06 Nov 2006 07:52

great mod ... i like it .... *installed*

Hornstar 06 Nov 2006 11:21

Thanks for this.

BlueEyesOnly 06 Nov 2006 17:28


ich finde dein hidehack ist sehr gut gelöst, ist dabei auch der hide auch versteckt wenn man das archiv benutzt?

eine andere frage, ich sehe du hast einen bedankomat im forum, ist der auch nach dem gleichem schema wie der hide von dir?

ich hätte da sehr starkes intresse! (melde mich nochmal per pm)

nedemail 06 Nov 2006 17:57

Thank you for this hack

itsid 06 Nov 2006 18:28

Hi there,
Gear, I've read some thousand lines of code of various hacks and "original" phps, getting me some ideas, possible hooks, workarounds and array-calls, I cannot say that you wont find a line in this code that isn't in any other hack or php.
But it wasn't my intention to just copy.. so give me a hint what code you're talking about and I'll replace that or get permissions ;)

lolo², yeah I know :( I'll try to fix that

blueeyes, hidden content ist completly visible in archive (as meantioned above) my Bedankomat is exactly the one linked in first post (just made me some new templates)


ps andreas of vh-g.com gave some useful tipps i'll try these days, so update is more than posssible ;)

Frapegliko 06 Nov 2006 19:26

thank u. nice mod

Greek76 06 Nov 2006 20:07

I was under the impression thank you hack was not needed in order for this hack to work. I recieved a database error:


Invalid SQL:
SELECT userid FROM post_thanks WHERE postid='165' AND userid='1';

MySQL Error : Table 'hellenic_GRealm.post_thanks' doesn't exist
Error Number : 1146
Uploaded all the files, and edited the correct files...

itsid 06 Nov 2006 21:09

In fact you will have to disable the setting in acp ( Users who thanked )
then there is no database query for post_thanks table.


Ronak 07 Nov 2006 02:40

Instructions wud help a bit :D

itsid 07 Nov 2006 03:09

well v020 comes with some very small instruction set on how to install this one.
And the rest of it is pretty much self-explanatory ;)

But if you have any question, feel free to ask :D


Shazz 07 Nov 2006 03:13

The screen shots look very nice, seems like a good quality hack :)

All times are GMT. The time now is 04:53.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.