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 |
#602
|
|||
|
|||
Any chance this works with 3.7b?
|
#603
|
|||
|
|||
How to get the Thank you pic in the post so that users can thank?
can someone post the bb codes? |
#604
|
|||
|
|||
i got one question:
is there a way of instead of pressing the button and getting this result: Code:
[hide][*/hide] Code:
[hide] [*/hide] |
#605
|
||||
|
||||
anyone any ideas as this bug seems to being ignored? |
#606
|
||||
|
||||
I would like to add a link to the reply page to this image:
How do I do it? |
#607
|
|||
|
|||
nice addon will instal this in a moment
|
#608
|
|||
|
|||
{param} this is what it shows now , before it used to work whats wrong?
|
#609
|
|||
|
|||
i can load the xml product withing the english folder what can i do?
im running 3.6.8 |
#610
|
|||
|
|||
right now i have the two hack..this hidden one and the thanks hack...thats suppose to work together and they do...but the only problem is..when a members clicks the thanks button they have to refresh the browser to see the hidden content...any way someone can help...maybe some tweaks that i can add where the members dont have to refresh the page and they can see the hidden content as soon as the thanks button is pressed....thnks in advance
|
#611
|
|||
|
|||
Quote:
Code:
<a href="post_thanks.php?$session[sessionurl]do=post_thanks_add&p=$post[postid]" id="post_thanks_button_$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="post_thanks_give($post[postid], <if condition="$vboptions[post_groan_integrate]">true<else />false</if>); return false;"</if> style="display:$display_thanks_image" rel="nofollow"><img src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" /></a> |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|