Welcome to Egypt Forums Mark forums read | Egypt Main Page
Egypt Forums
Arabic Movies



Mods for 3.6.x Thread, [hide] hack incl post thank you "addon" in Mods; [hide] hack incl post thank you "addon" Hi again, I've tried my best to build a [hide] hack that will ...

Short Link: http://forum.egypt.com/enforum/showthread.php?t=4918


Reply
LinkBack Thread Tools Display Modes
[hide] hack incl post thank you "addon"
 
 
The God Father
Developer's Avatar

Reply With Quote
 
Join Date: Jul 2008
Location: NDC
Posts: 5,425
20-10-2008, 08:07 PM
 
[hide] hack incl post thank you "addon"

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 Egypt.Com EnForum

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 Egypt.Com EnForum

BUT
  • my english is way off what I want it to be, so please go ahead and edit the language file to your needs

NOW UPDATED

Thanks to Andreas of vbhacks-germany
  • no hidden content visible in archive
  • no php edits necessary no more
  • kicked out bitfield-code

    and further
  • no hidden content visible in printthread.php if not in showthread.php
  • now with a set of small images showing up as hint
  • and least updateurl in acp
have fun

cheers
'sid

ps Sorry for updating that fast Egypt.Com EnForum

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 Egypt.Com EnForum
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 Egypt.Com EnForum)

UPDATE 0.3.5
reduced querys,
smarter installations code.

that's all Egypt.Com EnForum

cheers
'sid

PS If you encounter any problems not seeing thanked posts hidden content after reload,
try this codechange
Attached Files
File Type: zip vb36x-sid-hide-035-ajax-vborg-en.zip (155.2 KB, 74 views)
__________________
I Love Walking In The Rain Cuz Nobody Know I'm Crying !!
 
 
 
Reply

Mods for 3.6.x Thread, [hide] hack incl post thank you "addon" in Mods; [hide] hack incl post thank you "addon" Hi again, I've tried my best to build a [hide] hack that will ...

Short Link: http://forum.egypt.com/enforum/showthread.php?t=4918


Bookmarks

Tags
addon, hack, hide, incl, post


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Story of the Rosetta Stone, "Finding a Lost Language" ah_egypt Inside Egypt 11 06-05-2009 09:09 PM
"Access is Denied" error message when you try to open a folder Developer Windows 0 18-12-2008 07:53 PM
Khedive Ismail Egypt's Ruler and "Lavish Spender" Developer Modern History of Egypt 2 12-08-2008 07:51 PM