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 |
#252
|
|||
|
|||
Would you do me a favour and try a clean install without any part of existing database?
then install post_thanks and hide and check again? 'sid ps I'll try to build up a new plugin for testing purpose to see where it messes up with vbulletin, that'll take a while |
#253
|
||||
|
||||
that is already done sid........with a clean install of vbulletin your hack works perfectly good.
no problem what so ever....so it has to be some code left over from something in the past in my database,,,,,,and i dont have a clue where and how to find it...i will setup a test board some where so you and i can investigate it thanks again |
#254
|
|||
|
|||
stinger...
as you say that again... Did you checked your plugin manager? and took a VERY CLOSE look ? Maybe the "ugly" Plugin is just a plugin and no product, and maybe it's listed as a vbulletin plugin because there is no corresponding product. And/Or did you also checked the plugin-table directly in your database? (take a screenshot of your pluginmanager if you are unsure) I'll go and find the sources of those plugins then 'sid PS My extra plugin is still as buggy as it is overloaded |
#255
|
||||
|
||||
|
#256
|
|||
|
|||
Hi there,
got a small debug plugin to work now (see attachement) infact it is less debugging but more a "show the variables" plugin :classic: Import it as a plugin ANDdisable the fetch hide tag plugin (don't forget!) Output of that plugin is only visible to usergroupid 6 (admins) Now, go to your forums and thank or reply to any hidden content (best not in firstpost and not one of your own postings) Copy&paste output into this thread. (this thread is linked inside the plugin ) Right afterwards enable the fetch hide tag plugin and disable or delete the debug plugin (three additional databasequerys) 'sid PS This plugin is ONLY if you have installed Abe1s Post_Thanks Hack, without that you'll get db-errors!! |
#257
|
||||
|
||||
this is the info i get sid.....dont know if any thing is wrong ...
but yesterday something did get my attention .....when i chose (disable ajax features)......when i chose...disable problematic ajax feature....the hide hack does not work anymore.......... so logicaly...it means that my board has some ajax problem.....dont know how to check it or correct it though..i am investigating now.... here is the debug info regards S2 Quote:
|
#258
|
|||
|
|||
hi stinger..
Quote:
If you do nothing, the hack wont do anything and no error occurs, Sorry should have told you: this has to be within a "should be unhidden content" post but still is hidden go ahead, try again 'sid about the disable problematic ajax functions: The hack does not need any ajax at all, but without you'll have to relaod the page to see what's hidden (as in early versions) on the other hand that's exactly where your error is around. And yes; if ajax isn't fully enabled the hide-hack disables it's own ajax features as well. |
#259
|
||||
|
||||
sorry sid....it was taken after i removed the thank you and refreshed to see what happens...
this is it BTW.....the reply to see the hidden content option is working fine....the hidden content becomes unhidden..and remains unhidden with refresh...or when you go somewhere else and come back.....is there any difference between the two ??? Code:
hide-hack DEBUG Information only visible to adminsglobal information This Script :showthread Post userid :2433 Own userid :2 Forumid :102 First postid :139711 thanked first post : YES This postid :139711 thanked this post : YES Replied to this thread : NOPE hide options This Script :showthread Active :1 AJAX :1 Not in forums : Show admins :0 Show mods :0 Show usergroups : Show thanked :1 Show posted :1 thank options Only first (all) :0 Only first (seperate) : Thank array userid:1649 Thanks array userid :1649 |
#260
|
|||
|
|||
Yes it is.. a huge difference
if you thanked this hack won't do a db query if you (as you have it) can thank each post and not only the first one. but in your case that won't do somehow. so replace your fetch hide tag plugin by this code: PHP Code:
This one will surely work. (I hat to have unnecessary querys, but I see no other chance right now to get this to work in your forums.) 'sid ps don't forget to delete the debug plugin! that's causing a lot of querys too |
#261
|
||||
|
||||
what a genius solution sid........looked at the change you made.......and you know what..its working like a charm now.....
thanks for all your help and sorry for all the troubles i made... |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|