vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - [hide] hack incl post thank you "addon" (https://vborg.vbsupport.ru/showthread.php?t=130887)

Gbml2u 01-15-2007 04:26 AM

http://img46.imageshack.us/img46/1082/untitledls8.jpg

I want to del the "contains hidden content" text + "hide frame". Just keep "You my reply or click 'thank you' to see hidden content" text.
How can i do that?

itsid 01-15-2007 01:23 PM

You can add a button (see post #74, to have the buttonimage)
by editing Custom vB Codes -> [hide]-Tag

You have NO Chance to get rid of the fieldset!

'sid

Gbml2u 01-16-2007 09:00 AM

Thanks for ur reply but I want to add "hide button" in Quick Reply + Quick edit.
And why can't i remove the "hide frame" + "sid_hide_txt_pot" ?

ociosos 01-16-2007 11:47 AM

Quote:

Sorry but after an user thanks, he must refresh the page to see the hidden content. What's wrong?
====================
I fixed it! Because my template headinclude has been changed, there is not a "<!-- / CSS Stylesheet -->" inside it.
However, you should notify everybody about this if they dont use the default style.
Quote:

Well...

I don't have the default style myself.. even tested some paytemplatesets too..
they all had the css comment ,

It's not that a good idea to delete any comments from the templates

Well, now you know how to fix (and all the others too)

'sid
how exactly fix that??? thank you for the answer!!!! i dont know how to fix it :( lol

you have to erase the css coments? on the headinclude????

itsid 01-16-2007 12:21 PM

ociosos,
No, you mustn't delete the comments from any template :D

to fix that you have to have <!-- CSS Stylesheet --> in your headinclude (outside any if conditions) you may put it at the very end (if it's not in headinclude already.. don't put it in twice!) .. originally it looks like this (added some extra above and below):
PHP Code:

</if>
</if>

<!-- 
CSS Stylesheet -->
$style[css]
<if 
condition="is_browser('opera') AND !is_browser('opera', '8.0.1')">
<
style type="text/css">
ulol padding-left:20px; }
</
style>
</if>
<!-- / 
CSS Stylesheet -->

<
script type="text/javascript">
<!-- 

Gbml2u,
Find a quickreply hack that supports extra buttons,
because it is hardcoded and I want it that way!
Take it this way or don't use the hack!!

'sid

ociosos 01-16-2007 01:45 PM

ok thank you sid again this is really cool!!!!! :p

i can translate to spanish in case that you need it just PM me... in case you need the spanish translate THANK YOU AGAIN.... good job!!!!!!

Kaleem 01-17-2007 07:43 PM

very good thank you installed

buileminh 01-19-2007 10:04 PM

@Gbml4u: I understand what you say! If you want to display the button in QuickReply and QuickEdit, simply install these hack:
- QuickReply Addon buttons (Author: TrucLinh)
- QuickEdit Addon Buttons (Author: me :D)

@Itsid: This hack is excellent! It works very well in my board. By the way, is there a way to add an option for poster if he want reader to only thanks to unhide hidden part or only reply to unhide hidden part? Something like:
Quote:

[hide=reply]Only people who replied this post can see this part[/hide]
and
Quote:

[hide=thanks]Only people who clicked THANKS can see this part[/hide]

itsid 01-20-2007 10:51 AM

no way to do that no.
I dont like that options given to the users.

'sid

buileminh 01-20-2007 10:58 AM

Thanks for your reply first :)
Btw, can you help me to do that because I am really need it.
Thank you so much in advance!


All times are GMT. The time now is 02:02 AM.

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.01799 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete