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 |
#192
|
|||
|
|||
I disable ajax for this hack, but still refresh after press thanks !! any idea how to fix ?? (I'm using vB3.6.4)
|
#193
|
|||
|
|||
And you've refreshed the showthread manually once, to unload the javascript?
then I have absolutely no idea what refreshes the page... maybe another hack (shoutbox itself maybe) that's reloading ALL the page content? 'sid |
#194
|
|||
|
|||
If I don't refresh the page manually, then I won't see hidden contents after pressing Thanks button.
|
#195
|
|||
|
|||
I am having a problem, I added this in a few weeks ago and all was working fine, I have now gone to add a hidden part of a thread and when I do I get this n the hidden part
{param} this also happens when a reply is posted to see the hidden content. Any help is appreciated Thanks. |
#196
|
||||
|
||||
Quote:
you can add enable / disable button.........and i will make the button for you:banana: |
#197
|
|||
|
|||
stinger2,
feel free to make any button yu like. I'm still unsure, cause I don't like editorbuttons at all But maybe I will change the installcode to add the button (chooseable option if possible) if you all want to have the editorbutton. But keep in mind: it's christmastime and all is terror (or something ) So I don't think it'll be added this year ... Devil Woman, in fact I don't have no clue at this moment As I told bigM in german, please check that you have showing up "[hide]some text[/hide]" in your "own vB Codes" overview listed as replacement code. If, it has to work (or it's been overruled by an other hack). Or: your php or sql was updated or something... as I said, I have no idea until I'll find a way to reproduce this error in my testboard; sorry. Let me know about all changes you made just before the error occured, to give me some hint, please. RFViet, I don't get it, sorry... So you disabled this hacks ajax functionality, okay. After that you have to refresh the page with the hidden content ONCE to unload the ajax-javascript so that it is disabled. Now posts will not be refreshed by the hack itself. you can check the page's sourcecode for this line: Code:
unhide.onreadystatechange = ausgeben; Now, your page is still refreshed after clicking the thanks button? Yes, that's because of the javascript of the post_thank_you hack. But it only should refresh the content of the Post-thanks-bit (right after the thanked postbit) and nothing else. If you have problems with the post_thanks hack (i can't think of that but maybe you know better) go and ask Abe1 in the thread you find linked in firstpost. And yes, if you disable the hide-hacks ajax you'll have to refresh the page manually to see hidden content, what else? No Ajax no automatic refresh... with ajax you don't need to refresh manually because the hack will do so. I'm sorry, I don't understand your question/problem... 'sid |
#198
|
||||
|
||||
Quote:
you are an angel ...thank you |
#199
|
|||
|
|||
because of the requests I got,
I've made an vB354 xml of this hack. But it's not tested, didn't had the time All codes are identical, so it should work... if you want, give it a try (I'm not responsible for anything ) images and stuff are to be taken from the original zip this is text-xml only! 'sid |
#200
|
|||
|
|||
Quote:
Enable ajax for this hack -> it works for my forum , I don't know the reason you asked to disable ajax for this hack ?? Anyway , it works perfectly for my forum (vB 3.6.4) -> great hack !!! The only thing I couldn't make was the image, since I don't see how to import the language as you are . But It's still ok to me Thanks !! |
#201
|
|||
|
|||
I installed the Hack as per instructions and now i have..
Invalid SQL: INSERT INTO bbcode(bbcodeid, bbcodetag, bbcodereplacement, bbcodeexample, bbcodeexplanation, twoparams, title, buttonimage) VALUES (NULL, 'hide', '[hide]{param}[/hide]', '[hide]some text[/hide]', 'With this tag you can hide some text and force members to answer or click the thank you button to see what you\'ve posted.', 0, 'hide', '');; Anyway to remove it as it doesnt appear in Plugins @ Products or in BBcode in Options. If i try to access any of my forums i get a Database Error. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|