Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[hide] hack incl post thank you "addon" Details »
[hide] hack incl post thank you "addon"
Mod Version: 0.3.5, by itsid (Member) itsid is offline
Developer Last Online: Jun 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.2 Rating: (69 votes - 4.59 average) Installs: 862
Released: 06 Nov 2006 Last Update: 09 Dec 2006 Downloads: 13843
Not Supported Uses Plugins Additional Files  

UPDATE
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

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

NOW UPDATED

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

cheers
'sid

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
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

cheers
'sid

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"

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	hide1.jpg
Views:	11327
Size:	116.1 KB
ID:	55553   Click image for larger version

Name:	hide2.jpg
Views:	9002
Size:	101.7 KB
ID:	55554   Click image for larger version

Name:	hide3.jpg
Views:	4547
Size:	99.1 KB
ID:	55555   Click image for larger version

Name:	hide4.jpg
Views:	9266
Size:	111.1 KB
ID:	55556  

Click image for larger version

Name:	hide5.jpg
Views:	3199
Size:	95.0 KB
ID:	55557   Click image for larger version

Name:	hide6.jpg
Views:	3718
Size:	96.3 KB
ID:	55558   Click image for larger version

Name:	hide7.jpg
Views:	3066
Size:	97.3 KB
ID:	55559   Click image for larger version

Name:	hide8.jpg
Views:	3540
Size:	89.6 KB
ID:	55560  

Click image for larger version

Name:	en_hide_pot.gif
Views:	2881
Size:	8.2 KB
ID:	55587  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #316  
Old 12 Feb 2007, 17:27
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Real name: Mj Bain
Originally Posted by MPDesignZ View Post
Is it possible to make this work with attachments only? I just want to hide the attachments from guests & have members post before they can see the attachment.

Thanks
MP
or to do so you can click on the ([img]http://www.vbulletin.org/forum/images/editor/attach.gif[/o,g] icon in the toolbar its gon show something like this

"[attachement]" number " [/attachement]" and just add the hide tag around it ...it wont show the attachement TIL someone replies thats what i do on my forum
__________________
____________
BossLady
Reply With Quote
  #317  
Old 13 Feb 2007, 08:16
MPDesignZ MPDesignZ is offline
 
Join Date: Feb 2007
Location: Daytona Beach, FL
Real name: Damien
Originally Posted by itsid View Post
Well, THIS doesn't hide any attachments,
I've tried some times to get the attachments hidden, but without success!
(in fact, it's very easy to HIDE the attachments, but it's hard to show them up instantly with ajax what I want if I do it)

If you want your users to reply there is a plugin for hiding attachments (no ajax) and one Abe1 made that shows attachments after thanking a post (also no ajax)

And maybe someone will ignite that grey lightbulb above my head and I can do the ajax stuff and the next version of this hack will do it too

'sid
Would you happen to have a link to it?

Originally Posted by MissKalunji View Post
or to do so you can click on the ([img]http://www.vbulletin.org/forum/images/editor/attach.gif[/o,g] icon in the toolbar its gon show something like this

"[attachement]" number " [/attachement]" and just add the hide tag around it ...it wont show the attachement TIL someone replies thats what i do on my forum

As for the attachments I don't get an attachment thing like that mine pops up. Is there a setting I'm missing or somethin here?

MP

Last edited by MPDesignZ; 13 Feb 2007 at 08:21.
Reply With Quote
  #318  
Old 13 Feb 2007, 17:11
Skavenger Skavenger is offline
 
Join Date: Sep 2005
I'm using this hack with my vB 3.6.4 for a time ago and sometimes the only thing i see is '{param}'

Since this morning, nobody is able to see the hidden content. For example, users who thanked yesterday, can't see what is hidden today Oo

http://img73.imageshack.us/img73/1487/dibujoaj3.png

What could be the problem?

Sorry for my english
Reply With Quote
  #319  
Old 13 Feb 2007, 18:00
itsid itsid is offline
 
Join Date: Oct 2006
Hi skavanger,

Have you updated the post_thank_you hack recently ?
If so, maybe you skipped some instruction from the uninstallation of the old version.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That's what helped stinger2 solving his very similar problem

I do not know if that's all you need to do or if you have to do a fresh install afterwards or something,
so please read all instructions Abe1 gave with his old and with his new version of his Hack and follow them strictly!

If you haven't updated any installed hack, I guess I'll have to step closer to your forum,
so let me know

MpDesignZ,
all MissKalunji wanted to let you know was:
Upload your attachment as usual and read its Attachmentid then do the following:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If you show up all attachments of your post using the attach-tag they wont show up with the box and you can hide them as any other tag.

And yes.. Abe1s Hack is
available here
the other one is linked inside that one

'sid
Reply With Quote
  #320  
Old 13 Feb 2007, 18:17
Skavenger Skavenger is offline
 
Join Date: Sep 2005
Originally Posted by itsid View Post
Hi skavanger,

Have you updated the post_thank_you hack recently ?
If so, maybe you skipped some instruction from the uninstallation of the old version.
No, I havent updated any of my hacks
Originally Posted by itsid View Post
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That's what helped stinger2 solving his very similar problem
I don't know what to do with this Oo

Thank you
Reply With Quote
  #321  
Old 13 Feb 2007, 20:30
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Real name: Mj Bain
Originally Posted by MPDesignZ View Post
Would you happen to have a link to it?




As for the attachments I don't get an attachment thing like that mine pops up. Is there a setting I'm missing or somethin here?

MP


u dont see that icon in the tool bar when ur posting?
__________________
____________
BossLady
Reply With Quote
  #322  
Old 18 Feb 2007, 12:52
TamCaVBoy3 TamCaVBoy3 is offline
 
Join Date: May 2004
you know when you make a new reply , there is a some bbcode shortcuts (like [img], [php]......) i want to have the hide bbcode on it too, so users can click it...faster....
Reply With Quote
  #323  
Old 19 Feb 2007, 10:46
itsid itsid is offline
 
Join Date: Oct 2006
Don't get your request TamCa, sorry...

could you please explain?

'sid

[EDIT]
Sorry skavenger, almost forgot to reply

Please go ahead and ask Abe1 for exact instructions on how to update post_thanks_hack
But if, as you told me, have not updated anything, that will be unneccessary.
Those instructions are taken from an uninstallation of a previous version of Abe1s hack as far as I can see.
So never mind

please check if users can access hidden content from printpost.php,
if so I'm able to help

Last edited by itsid; 19 Feb 2007 at 13:27.
Reply With Quote
  #324  
Old 19 Feb 2007, 11:42
TamCaVBoy3 TamCaVBoy3 is offline
 
Join Date: May 2004
you know, how when you click on POST REPLY...in that box, there are buttons for you to press to make a bbcode, like if you click PHP bbcode button, it will automaticially add the to your reply....so is it possible to make a button for your bbcode so users just click on them and then type whatever they want to hide instead of typing the [hide]text[/hide] everytimes...
Reply With Quote
  #325  
Old 19 Feb 2007, 13:20
itsid itsid is offline
 
Join Date: Oct 2006
sure!

you'll find that button in post #74 or something of this post already

All you have to do is upload that image to your images/editor folder
and add the resulting imagepath to the hide-tag mentioned at custom vB Codes in your acp

that's all!

'sid
Reply With Quote
  #326  
Old 20 Feb 2007, 05:55
Jetrome Jetrome is offline
 
Join Date: Mar 2004
Originally Posted by Skavenger View Post
I'm using this hack with my vB 3.6.4 for a time ago and sometimes the only thing i see is '{param}'

Since this morning, nobody is able to see the hidden content. For example, users who thanked yesterday, can't see what is hidden today Oo

http://img73.imageshack.us/img73/1487/dibujoaj3.png

What could be the problem?

Sorry for my english
i'm getting the same problem.

just want to know. did you install the old hide hack for 3.5.x? because i'm wondering if that's whats causing the problem.

EDIT: nevermind. i was stupid and missed this post
__________________
-Jetrome

Last edited by Jetrome; 20 Feb 2007 at 07:09.
Reply With Quote
  #327  
Old 20 Feb 2007, 19:14
Skavenger Skavenger is offline
 
Join Date: Sep 2005
Originally Posted by itsid View Post
please check if users can access hidden content from printpost.php,
if so I'm able to help
printpost.php? Oo, I think you mean printthread.php
Users who thanked can't view what is hidden in showthread.php, but they can see what is hidden in printthread.php

Reply With Quote
  #328  
Old 20 Feb 2007, 19:15
Skavenger Skavenger is offline
 
Join Date: Sep 2005
Originally Posted by Jetrome View Post
just want to know. did you install the old hide hack for 3.5.x? because i'm wondering if that's whats causing the problem.
I really don't remember =P
Reply With Quote
  #329  
Old 20 Feb 2007, 22:20
itsid itsid is offline
 
Join Date: Oct 2006
yupp, my fault printthread.php sure!

Okay, the error comes from a strange behaviour of
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

set by Abe1s hack,
If you never updated that hack the only workaround is to add some extra db querys.
In fact I'm pretty sure that there was an update... nevermind.

I've got the solution somewhere in my diskbackups,
as soon as it is found, I'll attach it to this post.

stay tuned
'sid
Reply With Quote
  #330  
Old 20 Feb 2007, 22:44
xenon58 xenon58 is offline
 
Join Date: Dec 2005
howdy sid. thank you very much for a great hack and awesome support, im sure it is appreciated. i wanted to ask you if there is a way to add a button to a quick-reply, quick-edit and new-post editors for the hide command, so one can click on it and enter info that needs to be hidden, rather then write out [hide][/hide] tags. i've looked through all the pages and saw an icon on post 74, but havent seen a command to go with it. maybe i've missed something :roll:
thnx again for all the time and help.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 21:51.

Layout Options | Width: Wide Color: