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
  #872  
Old 12-02-2009, 08:49 AM
BBF BBF is offline
 
Join Date: Dec 2006
Location: Israel, Netanya.
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lms View Post
Hola amigos:
Aqu? os dejo el sid_hide_hack para la versi?n 4.0 (en beta a?n).

No he logrado que funcione el sistema AJAX y no d? igual activarlo que no, da error si lo activas (por defecto viene activado y hay que desactivarlo nada m?s instalarlo). Por lo dem?s funciona perfecto aunque hay que refrescar la p?gina.

Si alg?n alma caritativa se atreve y logra hacer que funcione el AJAX y alguna cosa m?s, todos se lo agradeceremos.


Instalaci?n:
importar v?a Panel de Gesti?n -> Gestor de Productos -> A?adir nuevo producto -> (marcar sobrescribir para actualizar)
  1. Para la versi?n espa?ola: ajax-product-sids_hide_v0.3.7-vborg-ES.xml
  2. Para la versi?n inglesa: ajax-product-sids_hide_v0.3.7-vborg-en.xml


Si quieres que haya im?genes en vez de texto
Importa v?a Panel de Gesti?n -> Gestor de Frases pero NO como nuevo lenguaje (NO funciona)
Spanish/hide_bbcode-images-spanish.xml
y sube todas las im?genes es_hide_XXX.gif al directorio /images de tu foro (es necesario subirlas)


DEMO: Si lo quieres ver en marcha, p?sate por DETUPC.net
Salud2



Dear friends: Here i leave the sid_hide_hack for version 4.0 beta even). I have not achieved the system AJAX and not gives equal activate that do not, give error if the AJAX active (default is activated and must be off nothing more install).

For the rest works perfect although it has to refresh the page. If some kind souls dares and achieves make it work the AJAX and something more, all it will appreciate.

Installation:
import via ACP -> Manager Products -> Add new product -> (to update, mark Override)
  1. For the spanish version: ajax-product-sids_hide_v0.3.7-vborg-ES.xml
  2. For the english version: ajax-product-sids_hide_v0.3.7-vborg-en.xml

If you want the fact that images instead of text Matter
via ACP -> Manager of Phrases but not as a new language (NOT work) Spanish/hide_bbcode-images-english.xml and goes all the images es_hide_XXX.gif to the /images of your forum (it is necessary climb)

Forgiveness for my bad english . I am spanish

DEMO: If you want to see in march, come by DETUPC.net

Salud2
Thanks!
But why do you post it here?
Should be in VB4 Section
Reply With Quote
  #873  
Old 12-03-2009, 01:13 PM
lms lms is offline
 
Join Date: Jan 2008
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lo he publicado aquí porque el autor del código es Itsid y, aunque no ha aparecido por la web en mucho tiempo y no da soporte, creo que es el lugar en donde debe publicarse, salvo que el staff de vBulletin.org entienda otra cosa.

What i have published here by the coder is Itsid and, although it has not appeared for the web in a long time and did not give support, i think it is the place where be published, except that the staff of vBulletin.org understand otherwise.

Salud2
Reply With Quote
  #874  
Old 01-12-2010, 08:36 PM
LordDB LordDB is offline
 
Join Date: Aug 2006
Location: CoffeeFads.Co.Uk
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kalisekj View Post
Got it to work with 3.8.2 and the Thank You Mod 7.7.
Making this change :
The solution is quite simple:

1. Edit the ajax-product-sids_hide_v0.3.5-vborg-en.xml
2. Look up the following line of code:
Code:

unhide.send("do=whatever&p="+postid+"&all="+old);

3. Replace it with the next one:
Code:

unhide.send("do=whatever&p="+postid+"&all="+old+"& securitytoken=" + SECURITYTOKEN);

4. Save the file
5. Reinstall the product
Thanks to kalisekj! This solves the issue which is missing the 'Security Token' if you're using vB3.8+

Just follow the instructions posted above for it to work!
Reply With Quote
  #875  
Old 01-15-2010, 11:13 PM
CEO254 CEO254 is offline
 
Join Date: Feb 2008
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work on 4.0?

It works well on 3.8.4
Reply With Quote
  #876  
Old 03-15-2010, 09:50 PM
vitrag24's Avatar
vitrag24 vitrag24 is offline
 
Join Date: Nov 2006
Location: India
Posts: 639
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

update for vb 4.0 plz.
thx.
Reply With Quote
  #877  
Old 03-27-2010, 11:02 AM
IsMaR IsMaR is offline
 
Join Date: Nov 2004
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't see this being updated to 4.0 or anything
Reply With Quote
  #878  
Old 03-27-2010, 04:04 PM
ellinofatsa ellinofatsa is offline
 
Join Date: Mar 2010
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have v4 and in wen i go in the topic with the hide in the header i see this????

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]\includes\class_bootstrap.php(1146) : eval()'d code on line 248

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: sid_hide_noaccess in [path]\includes\functions.php on line 3932

any help for that???

thanks
Reply With Quote
  #879  
Old 03-27-2010, 08:28 PM
IsMaR IsMaR is offline
 
Join Date: Nov 2004
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you need to uninstall this hack, it doesn't work with vb4...
Reply With Quote
  #880  
Old 03-27-2010, 10:01 PM
ellinofatsa ellinofatsa is offline
 
Join Date: Mar 2010
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok thanks
Reply With Quote
  #881  
Old 05-12-2010, 08:32 AM
muratcan25's Avatar
muratcan25 muratcan25 is offline
 
Join Date: May 2009
Location: Turkey
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tank You

but
3.8.5 Hide

Pressing the button does not show thanks
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 09:18 AM.


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.12588 seconds
  • Memory Usage 2,323KB
  • 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
  • (2)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
  • (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