The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[hide] hack incl post thank you "addon" Details »» | |||||||||||||||||||||||||
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
NOW UPDATED Thanks to Andreas of vbhacks-germany
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
|
Благодарность от: | ||
lange |
Comments |
#202
|
|||
|
|||
RFViet,
i was confused by your first post I can remember (or find) Quote:
I never said that you need to disable ajax to work with post-thanks... nevermind, if it's working now, I'm pretty happy with it To install the images, read ahead Willie1950, You have to uninstall all "custom vb Codes" for any [hide] tag before you can install this hack. To make sure this hack works, you fully have to uninstall all other hide-hacks before, otherwise it'll surely cause errors. But I'm pretty sure that you didn't install this hack properly, so let us do it step by step: 1) first, go to acp -> Product Management -> import new product (product, not plugin or language!!) select "ajax-product-sids_hide_v0.3.5-vborg-en.xml", check the radiobutton "Allow Overwrite" (yes) and click on import (you should not see any SQL-Error or it failed, make sure you uninstalled all previous versions of this hack, and all hacks parsing [hide] tag first, then try again) 2) Now upload the images marked as en_hide_<something>.gif into your root/images/ folder via ftp 3) Import the "hide_bbcode-images-english.xml" via Languages & Phrases -> "Download/Upload Languages" make sure to mark "Overwrite Language" -> "english // or whatever from the dropdown" AND "Ignore Language Version" (yes) ** if you do not have any language in the dropdown (never heard of that though) edit the phrases manually: Search in Phrases: "sid_hide_img" search in "Phrase Variable Name Only" and edit as descrpted below: sid_hide_img_post from: You will have to reply to see hidden content to: Code:
<div align="center"><img src="images/en_hide_post.gif" alt="You will have to reply to see hidden content" border="0" /></div> from: You may reply or click 'thank you' to see hidden content to: Code:
<div align="center"><img src="images/en_hide_pot.gif" alt="You may reply or click 'thank you' to see hidden content" border="0" /></div> from: Admin refused to unhide hidden content<br /> nothing will help to see hidden content to: Code:
<div align="center"><img src="images/en_hide_sorry.gif" alt="Admin refused to unhide hidden content nothing will help to see hidden content" border="0" /></div> from: You will have to click 'thank you' to see hidden content to: Code:
<div align="center"><img src="images/en_hide_thank.gif" alt="You will have to click 'thank you' to see hidden content" border="0" /></div> If you encounter any error within the forums, let me know the exact error to give me a chance to let you know what to do. Most it's because you've not installed the post_thank_you hack (see first post for link) and checked the "Choose YES to unhide hidden content to users who clicked 'Thank You'" what then will cause a invalid sql query for the post_thanks table (that's missing for sure) just set this option to "No" to get rid of that error (or, install the hack mentioned ) For any other error, I need some details 'sid |
#203
|
|||
|
|||
Thank you so much for this hack, I have been trying to modify an old hide hack to get it to work like yours with out a lot of success.
I had the old buttons from my last hide hack installed so I got the Invalid SQL: INSERT INTO bbcode(bbcodeid, bbcodetag,..... error when I first tried to install, I deleted the bbcode section from your file and then it installed fine. I don't have the thank you button hack installed, I don't think I need that, very happy just the way it is now. it seems to work great, I just came back to click on the button that says I have it installed, and I also voted for you for mod of the month. thanks again. |
#204
|
|||
|
|||
how can i do if i want to get 2 these texts
[hide-reply] [hide-thankyou] ? |
#205
|
|||
|
|||
Nothing.
There is no way to give that option to the users, because I don't want to have any useroption. Sorry if that doesn't fit your needs, but I will not change that. 'sid |
#206
|
|||
|
|||
Hello and thank you for this nice hack.
My only problem is that once I click on the thank you button it shows the hidden content fine. I navigate to some other thread, and when I return I see the picture again with the Hidden content please press the Thank you button Also since I installed this hack I see that some people can have double thanks for the same post. Your advice is highly appreciated. |
#207
|
|||
|
|||
in fact double-thanks are blocked by the post-thanks hack,
that's what the post_thanks_already phrase is made for Are you sure you have the correct post_thanks hack installed? The hack can only check settings and thanks given with the post_thanks_hack mentioned in first post. (which is the best "thank you" Hack around imho ) If you have any other thank you hack, let me know which one, maybe I can help you out, but the best way (in my opinion) is to use the thank you hack from Abe1 cheers 'sid |
#208
|
|||
|
|||
Thanks alot, great mod.
using it on my forums |
#209
|
|||
|
|||
Thanks for your reply,
Yes I have the correct, and the latest version of the post thank-you hack (5.3) from Abe1. In fact I have used it for quite a while before I installed your hide hack and I had no problem with it what so ever. The strangest part is that after clicking the Thanks button, it disappears (the thanks button) so I have no idea what could be the problem. Also as I mentioned in my previous post the other issue is that after navigating to another thread and returning where I previously pressed the thanks button the content is hidden again. Thank you in advance for your feed back |
#210
|
|||
|
|||
marotichat,
if you allow, would you mind sending me a PM, with an active useraccount login/pass to your forum ? could be an old testuser of yourself, or a new one for me, I don't intend to post, but to click some thanks buttons and get me the userside html-sourcecodes to see where I have to search for that error. I've tried for an hour to reproduce this error on my testforums but I've got no chance to see that button again once clicked I truely believe that both issues are addicted, maybe just an error of a local cache treatment, maybe influenced by another hack, maybe just because it's monday soon Honest, to get an idea what's going on, I'd love to catch sight of that BBF, happy to hear, thank you 'sid |
#211
|
|||
|
|||
The insert image in the Custom BBCode does not work.When you enabled that,all previously hidden content are replaced by a line of text-"No code is to be allowed here"
Any ideas? |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|