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 |
#32
|
||||
|
||||
Awesome !!! its working now Clicked Install looking out for more major upgrades in this hack
i suppose u shud release 0.30 with that NEW REPLY thing fixed |
#33
|
|||
|
|||
I'm working on that "reload issue"
this will be 0.3. I guess 'sid |
#34
|
|||
|
|||
Quote:
do you think fix the probl?me for the first tag and last tag? great jobs thanks |
#35
|
|||
|
|||
well lolo, I'm trying to, having this one in mind for quite a while, I'll do my very best to find (someone with) a solution
I was just asking abe to let me use one of his arrays, that i could get rid of one of my sql-querys (this way it'll use less resources hopefully). I'm not the fastest guy around, so give me just some days to improve this one cheers 'sid |
#36
|
|||
|
|||
Quote:
I have make a change in one module andreas' hint 2 Code:
$pagetext = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/si', "[Hidden text can't be quoted]", $pagetext) ; |
#37
|
|||
|
|||
nice idea
I'll go and build the phrases then The more I read in the sources the more I find to do it another way... let's see how fast my brain can run tonight 'sid |
#38
|
|||
|
|||
GREAT JOB...
WILL LOVE TO GET THE LAST VERSION WHEN YOUR DONE... IF YOU FIX IT TO SHOW THE HIDE COMMENTS WITHOUT REFRESHING WILL BE THE ONE OF THE BEST HACKS FOR VBULLETIN.... IM ALSO NOMINATE YOU FOR Mod o.t. Month |
#39
|
||||
|
||||
^^ Yea me too, I can't wait!
|
#40
|
|||
|
|||
thanks alot,
i just made some more improvements on handling "thanks" with it..(not online be patient) but: I got into a fight with Ajax today.. IT WON But it mustn't... I just need rather some days than some hours [offtopic] current song: Peter Gabriel - don't give up[/offtopic] Will let you know soon Cheers 'sid |
#41
|
||||
|
||||
This hack is on the way to become MOTM
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|