Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[hide] hack incl post thank you "addon" Details »»
[hide] hack incl post thank you "addon"
Version: 0.3.5, by itsid itsid is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.2 Rating:
Released: 11-05-2006 Last Update: 12-08-2006 Installs: 863
Uses Plugins
Additional Files  
No support by the author.

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"

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
lange

Comments
  #312  
Old 02-10-2007, 05:44 PM
gsmlover4u's Avatar
gsmlover4u gsmlover4u is offline
 
Join Date: Jan 2007
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sir i upload english images folder in the forum images folder but images not appear just text appear you need to reply to see hidden contect plz any one genius guide to me
Reply With Quote
  #313  
Old 02-10-2007, 08:56 PM
itsid itsid is offline
 
Join Date: Oct 2006
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

please see post # 201 for a detailed guide to add images instead of text.
See the archives pic-install-en.jpg -file for a picture of where to go if you like to use the comfortable xml file included in the archive as well

'sid
Reply With Quote
  #314  
Old 02-11-2007, 05:04 AM
gsmlover4u's Avatar
gsmlover4u gsmlover4u is offline
 
Join Date: Jan 2007
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by itsid View Post
please see post # 201 for a detailed guide to add images instead of text.
See the archives pic-install-en.jpg -file for a picture of where to go if you like to use the comfortable xml file included in the archive as well

'sid
sir thanks now working fine.nice hack
Reply With Quote
  #315  
Old 02-12-2007, 03:42 AM
MPDesignZ MPDesignZ is offline
 
Join Date: Feb 2007
Location: Daytona Beach, FL
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #316  
Old 02-12-2007, 03:07 PM
itsid itsid is offline
 
Join Date: Oct 2006
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #317  
Old 02-12-2007, 04:27 PM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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]https://vborg.vbsupport.ru/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
Reply With Quote
  #318  
Old 02-13-2007, 07:16 AM
MPDesignZ MPDesignZ is offline
 
Join Date: Feb 2007
Location: Daytona Beach, FL
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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?

Quote:
Originally Posted by MissKalunji View Post
or to do so you can click on the ([img]https://vborg.vbsupport.ru/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
Reply With Quote
  #319  
Old 02-13-2007, 04:11 PM
Skavenger Skavenger is offline
 
Join Date: Sep 2005
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #320  
Old 02-13-2007, 05:00 PM
itsid itsid is offline
 
Join Date: Oct 2006
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
PHP Code:
DELETE FROM `settingWHERE `grouptitle` = 'post_thanks' AND `product` = '';

DELETE FROM `settinggroupWHERE `grouptitle` = 'post_thanks' AND `product` = '';

DELETE FROM `phraseWHERE `varnameLIKE '%post_thanks%' AND `product` = '';

DELETE FROM `templateWHERE `titleLIKE '%post_thanks%' AND `product` = ''
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:
PHP Code:
[hide][attach#id (you've just figured)[/attach][/hide] 
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
  #321  
Old 02-13-2007, 05:17 PM
Skavenger Skavenger is offline
 
Join Date: Sep 2005
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
Quote:
Originally Posted by itsid View Post
PHP Code:
DELETE FROM `settingWHERE `grouptitle` = 'post_thanks' AND `product` = '';

DELETE FROM `settinggroupWHERE `grouptitle` = 'post_thanks' AND `product` = '';

DELETE FROM `phraseWHERE `varnameLIKE '%post_thanks%' AND `product` = '';

DELETE FROM `templateWHERE `titleLIKE '%post_thanks%' AND `product` = ''
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
Reply


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

Forum Jump


All times are GMT. The time now is 01:08 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.06057 seconds
  • Memory Usage 2,343KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete