Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
[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
  #242  
Old 12-28-2006, 09:13 PM
itsid itsid is offline
 
Join Date: Oct 2006
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tjo, ich w?rd mal meinen: vbhacks-germany, da gibt's den hack und den support auf deutsch
Egal, weiter im Text

Check "vbulletin Optionen"-> "Post: [hide]-hack" and see if you disabled the hack in the forums that didn't show up as what you consider correctly

database errors only occur if you have not uninstalled the hack correctly or installed another [hide]hack.
Open up "Eigene vB Codes" and delete the hide-tag entry (completely)
then uninstall my hide hack and install it again, make sure to click the "?berschreiben" Radiobutton

(da die Frage nochmal auftaucht hab ich das mal direkt in englisch gehalten, wenn Du magst nochmal auf deutsch per PN oder eben bei vbh-germany)

'sid

PS und klick mal den install-knopp bitte
Reply With Quote
  #243  
Old 12-28-2006, 11:02 PM
itsid itsid is offline
 
Join Date: Oct 2006
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for doubleposting, don't want to mess things up

stinger2,
the hack does well in printthread.php on your forums,
did you edit anything hardcoded in showthread.php?
I can't imagine any templatecode messing the php code up
Please make sure, that you have the original vB showthread.php uploaded (in ascii mode) also, php v4 is required
if both give that codechange a try:
hook: fetch hide tag
PHP Code:
global $vbulletin$vboptions$bbuserinfo$db$threadid$hide_call$postid
replace by
PHP Code:
global $vbulletin$vboptions$bbuserinfo$db$threadid$hide_call$postid$thank
the $thank array should be useable without the globaliser ($thank comes from the post_thanks hack in postbit_display_start),
but maybe something's interferrring ....

'sid (clueless)
Reply With Quote
  #244  
Old 12-29-2006, 07:36 AM
tankaya61's Avatar
tankaya61 tankaya61 is offline
 
Join Date: Dec 2006
Location: blacksea
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you
Reply With Quote
  #245  
Old 12-29-2006, 11:25 AM
Binoy Binoy is offline
 
Join Date: Mar 2006
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and it working fine

I just wanted to add the images too--

Quote:
import via acp Phrase-Manager but NOT as a new language!
english/hide_bbcode-images-english.xml
& upload all en_hide_XXX.gif to /images folder of your forum
(see pic-install-en.jpg)
where can i find this Phrase-Manager

could u please help me out
Reply With Quote
  #246  
Old 12-29-2006, 02:30 PM
Binoy Binoy is offline
 
Join Date: Mar 2006
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay forget it.. i found it

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

hi sid
there is no hardcoding in showthread.php.......just to be sure..i just compared it using ultracompare with an original showthread.php......they are identical

my forum uses php version 4.4.4

i made the suggested codechange in hook: fetch hide tag.......still no success

i also find it funny...why it is working in the printable version..and not working in the normal?


about the template change........i also said i dont know how would that affect the php code....but that was a sarcastic joke.. ...since all hacks extraplugins disabled....and all files in forum root are original since the last upgrade i did to 3.6.4........there is NO hardcode anymore....i want the board to be easily maintained.....only with plugins and template edit's the easier ..the better

thanks again bro
Reply With Quote
  #248  
Old 12-29-2006, 03:41 PM
tekstylez tekstylez is offline
 
Join Date: Aug 2006
Location: Philly
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the original post thank you hack installed. I have just tried to install your hide hack with no success. DO I have to uninstall the original version first? If I do, will I loose all my current thanks stats?

Where in admincp do I adjust the settings?
Reply With Quote
  #249  
Old 12-29-2006, 03:52 PM
HS2005's Avatar
HS2005 HS2005 is offline
 
Join Date: Jan 2006
Location: Earth
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by itsid View Post
HS2005,
sorry, but I don't think that you should use copyrighted images in my hack
You've changed a phrase that you simply shouldn't have changed to an image.

'sid
uh??? okeey i removed the image and set my own then not a copywright.

Only the phrase editting i don't understand it was an only option to show an image i have no clue otherwise.
but do i have to edit something to not set the white fieldset?
Reply With Quote
  #250  
Old 12-29-2006, 09:26 PM
itsid itsid is offline
 
Join Date: Oct 2006
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, right from the end again:

HS2005,
Well to use images, you may only edit the phrases marked to contain an image (sid_hide_img_xxx) nothing else!
If you are sure to fully remove all fieldsets,
find strings like this:
PHP Code:
<fieldset><legend><span class="highlight">'.$vbphrase[sid_hide_post_show].'</span></legend>\\1</fieldset>
and only keep the \\1 or replace by anything you like (two occurances),
but be sure on one thing: I will not give support if you fail, or mess up something, you have to know what you're doing.

tekstylez,
you have to keep your post_thanks hack, this hack does NOT contain any copy of Abe1s Hack.
In admincp you'll find a new entry: "Posts: vB Code [hide]" in the vBulletin Options scroll-list that's where you setup the [hide]-hack
post_thanks-hack has it's own entry

stinger,
well the code for printthread is slightly different (because there is no post_thanks in printthread) so that codes uses an extra query instead of the array delivered by post_thanks_hack.
That's why I thought it has to be the $thank array....
All other lines are logically identical.

Binoy, perfect
would you mind and click the INSTALLED Button in first-post to get me some very small extra-feedback
(and keep yourself informed about upcoming updates )

tankaya,
you're welcome, but please mark hack as installed, too.

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

just an update

in the clone board in my laptop.....i uninstalled each and every hack and all extra plugins...........then installed the thankyou+hide.....same problem exists...it seems the board dos not remember a post that has been thanked

rgds
Reply With Quote
Reply

Thread Tools

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 04:37 PM.


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.05200 seconds
  • Memory Usage 2,323KB
  • 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
  • (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