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
  #222  
Old 12-21-2006, 08:26 AM
itsid itsid is offline
 
Join Date: Oct 2006
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
thanks stinger, that's truely strange
hack itself works the way it should
(if you see the printthread insteadof showthread) it just shows up as it should
(all hack functions are identical)
So, it has to be some other hack that's interfering.

please try the following:
go to plugin manager and
let me know which installed hacks use this hook:
postbit_display_complete

then edit this plugin of my hack
fetch hide tag
(same hook as mentioned above)
and change the executionOrder.
first, to 6 and if that doesn't help to something higher then the highest executionorder you can find in pluginmanager
(sorry you have to click on edit to see executionOrdner)

let me know
'sid
Reply With Quote
  #223  
Old 12-21-2006, 10:14 AM
Bison's Avatar
Bison Bison is offline
 
Join Date: Jun 2002
Location: Virginia Beach, Virginia
Posts: 522
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Shazz View Post
I wonder why psnonic vision hasen't posted yet in this thread..
No Comment...
Reply With Quote
  #224  
Old 12-21-2006, 06:44 PM
stinger2's Avatar
stinger2 stinger2 is offline
 
Join Date: Jul 2005
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi sid..thanks for the reply and sorry for being late...i was a way the whole day
the hacks using this hook were

Code:
hide hack ajax request
fetch hide tag
Thank You Hank
User Name Glow From postbit_display_complete
these were the hacks using this hook

i disabled the glowing user hack

plus ...changed the excution order to 6


same thing.....nothing changed.......

the funny thing ....all my other hacks have the excution order (5)

i mean all of them.....

only your hack had excution order (126)....why ,...i dont know...but i made all of them with excutionorder 6

i also disabled ALL the hacks EXCEPT the thankyou + the hide

same thing happens..........now it became really a puzzel to me

but any way ..nothing changed............hope you can find the solution soon
Reply With Quote
  #225  
Old 12-21-2006, 07:34 PM
stinger2's Avatar
stinger2 stinger2 is offline
 
Join Date: Jul 2005
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bison View Post
He's probably re-thinking his financial strategy!
please do not change this thread to a discussion about another coder.....psionic is one of the finest coders i have seen...and a fine gentleman
his hide hack is more than perfect...the only downside (for me at least) is it needs too much file edites.....which makes it difficult to maintain when combined with all the other hacks during VB upgrades.....
Reply With Quote
  #226  
Old 12-21-2006, 11:54 PM
itsid itsid is offline
 
Join Date: Oct 2006
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi stinger2,
I use alle the hacks you've listed except the username glow thingy
I'll have to triplecheck all codes.

Due to the X-mas issue these days, I will be late with an appropriate answer

Thanks for your remark!
As I said earlier in this thread:
Please do not disrespect any other person in this thread,
no coders, no users simply no one!
I'd love to have this a support-thread only, maybe the one or other offtopic word, but no hatred, no disrespecting, no bad words;
it's Christmastime and all ist (terror, I know... but it should be) love!

'sid


PS just a thought: disable postcaching, maybe this will help (didn't try)
pps: see you soon, have some beautiful days you all
Reply With Quote
  #227  
Old 12-22-2006, 09:29 PM
stinger2's Avatar
stinger2 stinger2 is offline
 
Join Date: Jul 2005
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

disabled post cache.....did not help

hey.....dont worry about it.....have a merry christmas...and enjoy your time .....we can solve this after the holidays.....

cya later
Reply With Quote
  #228  
Old 12-26-2006, 01:19 AM
itsid itsid is offline
 
Join Date: Oct 2006
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So...
finally back in working condition (almost)

stinger2,
I'm sorry, uninstalled all my hack, and installed all the latest versions of the ones you mentioned "above"... No Way to reproduce your boards behaviour!
I checked all imaginable settings in all different hacks, cached as much as I could, but I could not find any setting, that would lead to this error.
You're not the only one out there, so it has to be a bug somewhere,
I've seen it with my own eyes (browsers), but I simply cannot find or reproduce where it stuck.

The only thing that would make a sense would be a missing userid
so that my last trigger
Code:
if(!$bbuserinfo[userid]){
					$hide_read = false;
				}
would refuse to showup hidden content.
You could give that a try by replacing that (in plugin: "choose wether or not to show in printable version") with
Code:
if(!$bbuserinfo[userid]){
					$post['message'] =$post['message'].'..:H:..';
					//$hide_read = false;
				}
And if you find ..:H:.. at the very end of a post containing hidden content in printthread.php let me know.

cheers
'sid
Reply With Quote
  #229  
Old 12-26-2006, 11:03 PM
stinger2's Avatar
stinger2 stinger2 is offline
 
Join Date: Jul 2005
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks sid.....how was christmas....i hope you enjoyed it
we did not have any snow this year........rare....but anyway

back to bussines
i made the change in the plugin..in 3 places where this was found..imported it again overwriting the old one.....but nothing changed

i also do not see any ..:H:..at the end of a post containing hidden content in printthread.php

oh and i am workring on a test board(identical to the actual) with all plugins disabled except thankyou and hide
Reply With Quote
  #230  
Old 12-27-2006, 07:01 AM
itsid itsid is offline
 
Join Date: Oct 2006
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[OffTopic]well, exhausting in fact six ceremonys in three days, but had some fun
And yess.. no snow at all, welcome to global warming *gg*[/OffTopic]

What to say about that, but F***??
One thing I discovered looking at your forum is that the hide tag isn't parsed correctly (see attached image: mine vs yours)
to fix that go to acp "custom vB Codes" and edit [hide]{param}[/hide] to [hide]<i>{param}</i>[/hide] click save, edit back and save again.
Now it should look like mine again
Don't know what scrambled up that one
And, I can see all hidden content at your board without any thanks or reply; is that because of the same error, or is it just an emergency "let's show it all as long as it hides too often"?

Let me know what php and mySql Version you're running, just to start from scratch again.

'sid
Reply With Quote
  #231  
Old 12-27-2006, 02:25 PM
stinger2's Avatar
stinger2 stinger2 is offline
 
Join Date: Jul 2005
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks again sid

Automatically parse links in text is disabled in my board.......i removed it a long time ago...maybe that was the reason??

i made a small detour to the hack....some fine adjustments to bypass the problem temporary

i enabled see the hidden content for all user member groups...except the newly registered......when they reach certain postcount..they dont have to thank to see the hidden content

this way only new members have to click the thankyou..

check it now...i changed the user i gave you to newly registered........

ok now back to the hack

i added the code ...and tested it..same thing...and i removed it...also same thing.....

should I bring.the Automatically parse links in text back and check it out.....??
EDIT

i disabled this plugin the Automatically parse links in text also but nothing changed......still the same...hmmmm
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 11:39 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05659 seconds
  • Memory Usage 2,327KB
  • 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_code
  • (2)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