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
  #502  
Old 08-21-2007, 01:22 AM
corbis corbis is offline
 
Join Date: Apr 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well i learned to use the [hide] tag, but it doesnt seem to work right... i imported the xml into my language and had to ignore the version it was meant for... when i click thanks on the post, the content inside of the tags are not revealed... i have to reply to the thread, and then click thanks before i can see the hidden content.
Reply With Quote
  #503  
Old 08-27-2007, 11:00 PM
itsid itsid is offline
 
Join Date: Oct 2006
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sorry for being offline such a long time
My Reallife ripped my a...... wonderful day it is, isn't it?

So, let me try to get you all a working hide-hack

qqqqw,
Just upload any image you find suitable to images/editor of your forum, then add that image at ACP->Own vB Codes ->[<EDIT>] hide in the filepath to image field like so : images/editor/ed-hide.gif
and safe, you're done
(ed-hide.gif you'll find in post #74 of this thread:
https://vborg.vbsupport.ru/showpost....0&postcount=74)

LILMORA4,
please go to ACP->Own vB Codes ->[<EDIT>] hide and the click on save without the need of editing anything.

ammoskumar,
I'm sorry threadid whilst installing my hack???
Never heard of such......
The only query that's beeing called whilst installing my hack is an entry for the Own vB Codes section.
Maybe I got you wrong

graziano,
well, this hack IS NOT OPEN SOURCE in the GNU sense of words, so please keep in mind that I do not support edits that I do not have made myself.
I do not like my hacks being edited other than a language conversion..
Thank You.

chatplace24,
you're welcome

aranthorn,
nice thought, but it should be set to "NO"
it's all that hitting the save button again
(I have no clue about that bug...)

nir,
Well, seems to me like
a) you do not use my hack
b) you've edited around
please uninstall my hack and reinstall with a fresh download and check again.
[EDIT]
wow, maybe that's an issue with the RTL style, I cannot test at this very moment,
because I do not have any testing area.
I'll try to set one up to make sure it is NOT RTL...
nevertheless, please try a reinstall in the meantime

corbis,
exactly! if you do not upload any editor-image you'll have to type the tag manually
(that's the way I like it aha aha *sing along*)
But feel free to upload ed-hide.gif to the images/editor folder of your forum then
follow the instructions I just gave to qqqqw

Did I missed someone?
please ask again

thanks alot for your patience

'sid
Reply With Quote
  #504  
Old 08-29-2007, 01:11 PM
Roonie Roonie is offline
 
Join Date: Dec 2005
Location: Sevilla
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got this problem when installing the product:

Database error in vBulletin 3.6.8:

Invalid SQL:
INSERT INTO bbcode(bbcodeid, bbcodetag, bbcodereplacement, bbcodeexample, bbcodeexplanation, twoparams, title, buttonimage) VALUES (NULL, 'hide', '[hide]{param}[/hide]', '[hide]some text[/hide]', 'With this tag you can hide some text and force members to answer or click the thank you button to see what you\'ve posted.', 0, 'hide', '');;

MySQL Error : Duplicate entry 'hide-0' for key 2
Error Number : 1062

What can i do?
Reply With Quote
  #505  
Old 08-29-2007, 09:46 PM
itsid itsid is offline
 
Join Date: Oct 2006
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uninstall the other hide-hack!

'sid

ps those errors are not so difficult to read
all that matters is: Duplicate entry 'hide-0'
That is the other hide-hack you have installed.

And because you cannot call the same custom vb Code twice with two different hacks it'll cause an error if you try to do so.
Reply With Quote
  #506  
Old 08-29-2007, 10:23 PM
Roonie Roonie is offline
 
Join Date: Dec 2005
Location: Sevilla
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep, i thought that, so i went to check if i had already uninstalled everything from the previous hide hack. Everything was right, but i didnt manage to install the new hide hack :S

Thnks.
Reply With Quote
  #507  
Old 08-30-2007, 10:41 AM
Roonie Roonie is offline
 
Join Date: Dec 2005
Location: Sevilla
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I finally managed to do it it was just a failed template reverted

thnks!
Reply With Quote
  #508  
Old 09-06-2007, 07:12 PM
casidom casidom is offline
 
Join Date: Jul 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I create a new group such as VIP group, how do I set this group which can see all hidden messeges?
Reply With Quote
  #509  
Old 09-06-2007, 09:49 PM
itsid itsid is offline
 
Join Date: Oct 2006
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

easy go to ACP -> vBulletin Settings -> Text: vBCode [hide]
there you'll find an inputbox to enter comma seperated Usergroup-ids which to show hidden content to without doing anything.
(see 6th picture in first post, second inputbox is what you're looking for ; sorry for german version)

'sid
Reply With Quote
  #510  
Old 09-07-2007, 02:16 PM
xanthide xanthide is offline
 
Join Date: Aug 2007
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it possible to insert hide tags into the existing "insert link" button, so all links by default is hidden?
or is there any other way to do this?
Reply With Quote
  #511  
Old 09-07-2007, 05:39 PM
cagbaazee cagbaazee is offline
 
Join Date: Jul 2007
Posts: 179
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it is sick mod.. i hv been try it so many times.. but it does not show... I give up...
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 02:17 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09112 seconds
  • Memory Usage 2,314KB
  • 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)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
  • (2)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