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 |
#132
|
|||
|
|||
Quote:
|
#133
|
||||
|
||||
Quote:
Thanks to you !! really !! |
#134
|
|||
|
|||
Dermio-MIO, Genjuro-Sensei, you're welcome
good to have you back in the "in working condition"-list ga2000gt, I'm sorry what "preview" exactly are you talking about? (what php is shown, what was you doing that moment, do you have any screenshot and/or errormessage?) 'sid |
#136
|
|||
|
|||
Well, preview text is altered by one of my plugins to prevent users seeing the hidden content in forumdisplay.
But it's altered (only hidden content replaced by "This post contains hidden content") so there should be something in this box though. what hack is this (link?) or: what hook does that hack uses, is it $thread['preview'] that is visible there, what execution-order do you have? Maybe I will find a way to help you out 'sid |
#137
|
|||
|
|||
the name of the hack is 'Improved Thread Preview', yes, it's the link i put above.
is only one plugin, then there are a few templeta changes and two js files. hook location is 'threadbit_process' i don't know how to check the 'execution-order', if you tell, i'll do it =P here is the plugin code, maybe it helps... Code:
if ($ignore["$thread[postuserid]"]) { $thread['preview'] = ''; } else if (isset($thread['preview']) AND $vbulletin->options['threadpreview'] > 0) { $thread['preview'] = strip_quotes($thread['preview']); $thread['preview'] = htmlspecialchars_uni(fetch_trimmed_title(strip_bbcode($thread['preview'], false, true), $vbulletin->options['threadpreview'])); //tc $thread['preview'] = preg_replace("/\n/\n","<br />",$thread['preview']); $thread['preview'] = str_replace("\r\n","<br />",$thread['preview']); $thread['preview'] = str_replace("\n","<br />",$thread['preview']); $thread['preview'] = str_replace("\r","<br />",$thread['preview']); $thread['preview'] = str_replace("--","- - ",$thread['preview']); //tc } |
#138
|
|||
|
|||
theres a problem when i install this and go to my site and make a new post and put this [hide] hack on it keeps saying database error and it wont let me post
|
#139
|
|||
|
|||
ga2000gt, go to plugin management in your acp, there find the plugin Andreas hint 3 click on edit and see the executionorder 126
go back and edit the plugin Improved Thread Preview 1.5 change it's executionorder to something higher than 126, or change the executionorder of "Andreas hint 3" to let's say 4 If this still wont help, you can deactivate this plugin alone to see your threadpreview again, but keep in mind: then you will have all hidden content in the preview. emmanuel, some more information would be great, what vbulletin version? what exact errormessage is showing? 'sid |
#140
|
|||
|
|||
i changed the executionorder of Improved Thread Preview 1.5 to 127, is working fine now =)
thnx a lot!! : D |
#141
|
||||
|
||||
will this work with 3.5.X?
edit: nope |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|