Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[hide] hack incl post thank you "addon" Details »»
[hide] hack incl post thank you "addon"
Version: 0.3.5, by itsid itsid is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.2 Rating:
Released: 11-05-2006 Last Update: 12-08-2006 Installs: 863
Uses Plugins
Additional Files  
No support by the author.

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
  • 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

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
lange

Comments
  #172  
Old 12-03-2006, 06:14 AM
itsid itsid is offline
 
Join Date: Oct 2006
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, because it is a language file and no product nor plugin.
So import that via Phrasemanager not productmanager

'sid
Reply With Quote
  #173  
Old 12-03-2006, 11:20 AM
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Location: Sth London
Posts: 1,042
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone got the images to show in 3.6.4 ?
I'd be interested to know how you did it.

Great hack BTW itsid
Reply With Quote
  #174  
Old 12-03-2006, 12:22 PM
Greek76's Avatar
Greek76 Greek76 is offline
 
Join Date: Aug 2006
Location: Planet Earth
Posts: 440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont see the test in any of them. Which one should I be looking for to edit?
Reply With Quote
  #175  
Old 12-03-2006, 11:30 PM
itsid itsid is offline
 
Join Date: Oct 2006
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Greek76,
open up phrasemanagement -> search for phrases and type: sid_hide (search for phrasename)
you will be shown 13 Phrases in GLOBAL phrases.
these are shown up your forum (all others are from the admin control panel )
edit the ones called sid_hide_img_xxx to edit the text (or images) shown up in showthread.php
or the ones named sid_hide_txt_xxx to edit the phrases shown up in printthread.php.

TTG,
exactly as in any 3.6.2
Upload the images (en_hide_xxx.gif) to forumroot/images/ (no subdirectory)
import the xml attached to post#159 via Phrasemanager to your language (do not create new language) and make sure you've checkmarked "ignore version"
and then, if hack is enabled and not disabled in the specific forum it'll show up the images

'sid


PS please everybody, if you use the hack, mark it as installed, thank you
Reply With Quote
  #176  
Old 12-04-2006, 12:00 AM
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Location: Sth London
Posts: 1,042
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks itsid .. finally got it to work
Reply With Quote
  #177  
Old 12-04-2006, 07:07 AM
Terminatoronly's Avatar
Terminatoronly Terminatoronly is offline
 
Join Date: Mar 2006
Posts: 313
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi,
plz will you help me i want to add a button for the hide i mean a bbcode shown in the tools like this (bold) that when member press on it it will add text i want to add a tool for the hide button so please well u tell me how to do this???????????????

and for the images still didnt appear i dont know how to fix it please tell me how?????????!!!!!!!!!!!!
Reply With Quote
  #178  
Old 12-05-2006, 02:05 AM
itsid itsid is offline
 
Join Date: Oct 2006
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure..
there's a button somewhere in this thread, I think in post #74
just rightclick and download it.
then put in in your images/editor folder and you can add it by simply editing the custom bbCode that you'll find in ACP.
(You'll see yourself if you're there )

About the images:
If you did what I told you to, you will have to see the images.
But let me make it easy:
Checklist
1) open ftp-client and browse your forum-root then open images-folder
check if there are the images en_hide_xxx.gif (there will have to be four of them)
--if not UPLOAD images from the english folder of the zip to this directory

2) open your admin control center and got to phrasemanger.
search for phrases containing sid_hide_img in the phrasename
(also there will have to be four of them)
check if you have an html imagetag in the phrase-content <img src="images/en_hide_xxx.gif ...
--if not IMPORT the xml you'll find in post#159 via importphrases as mentioned above

Now reload any thread containing a hide-tagged post (it must be hidden to you, or you'll never see any image for sure)
If it is not hidden:
edit settings of hide tag in acp -> vb-options
deactivate : show to mods, show to admins, show to usergroup, show thanked, show posted
go and check thread again.
revert hide - settings again

'sid
Reply With Quote
  #179  
Old 12-05-2006, 03:19 PM
Terminatoronly's Avatar
Terminatoronly Terminatoronly is offline
 
Join Date: Mar 2006
Posts: 313
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok thanks now the images working and everything is working thanks alot
Reply With Quote
  #180  
Old 12-06-2006, 03:37 PM
Terminatoronly's Avatar
Terminatoronly Terminatoronly is offline
 
Join Date: Mar 2006
Posts: 313
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi again i want to tell you a thing that i have noticed in the hack when i go to vBulletin Options--->Posts: vB Code [hide]--->Ajax funktion---->when i set it as yes after that i have tried this feature by using an test account on my site as a member not as admin to see what this do it gives me database error

and when i disable it, it doesnt shown any error so there is an bug on this feature.

and i want to ask you 1 thing i want when members reply the hidden content to be shown without refreshing the page plz help me with this i want it much because members getting confused not all of them know that they must refresh the page.
Reply With Quote
  #181  
Old 12-07-2006, 10:04 PM
stinger2's Avatar
stinger2 stinger2 is offline
 
Join Date: Jul 2005
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by itsid View Post
Sure..
there's a button somewhere in this thread, I think in post #74
just rightclick and download it.
then put in in your images/editor folder and you can add it by simply editing the custom bbCode that you'll find in ACP.
(You'll see yourself if you're there )

'sid
the simple install of this hack is just great......could not say no more...just a suggestion since most of us are not so professional with codes

if the button is built in the hack itself...and you can chose image or phrase from the option it will make the hack a real hit success......can you consider that?
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 12:04 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06016 seconds
  • Memory Usage 2,324KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete