vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Spoiler Information Postbit (https://vborg.vbsupport.ru/showthread.php?t=271467)

MyPeSePe 10-04-2011 10:00 PM

Spoiler Information Postbit
 
1 Attachment(s)
(Espa?ol/Spanish)

Quote:

Buenas , pues como tengo un postbit bastante extenso en mi comunidad y no encontre nada relacionado con ello para esta version , decidi adaptar un nuevo codigo en el postbit . Para que gente como yo , que tenga una informacion extensa dentro de su perfil , pueda esconderla.
( Ingles/Inglish)

Quote:

Well, as I have a fairly extensive postbit in my community and I did not find anything about it to this version, I decided to adapt a new code in the postbit. For people like me who have an extensive information in your profile, you can hide it.
Inside the template postbit_legay search :

Code:

<vb:if condition="$show['reputation']">
added before :

Code:

<div class="divspoiler">
<input type="button" value="Mostrar Informacion" onclick="if (this.parentNode.nextSibling.childNodes[0].style.display != '') { this.parentNode.nextSibling.childNodes[0].style.display = ''; this.value = 'Ocultar Informacion'; } else { this.parentNode.nextSibling.childNodes[0].style.display = 'none'; this.value = 'Mostrar Informacion'; }" />
</div><div><div class="spoiler" style="display: none;">

*Change the colors, by the text to replace

(Espa?ol/Spanish)

Quote:

Para cerrar el codigo , en este caso yo tengo demasiada informacion y he cerrado el codigo en los datos de contacto
(Ingles/Inglish)

Quote:

To close the code, in this case I have too much information and I closed the code in the contact details
Search :

Code:

post.yahooicon} {vb:raw post.skypeicon}</div>
                                </div>
                        </vb:if>

add after

Code:

</div></div>
Watch demonstration --> Demo

Fabilous 10-10-2011 01:40 PM

After that my postbit_legacy in Threads are broken :(

MyPeSePe 10-10-2011 01:53 PM

In my forum is working correctly, I'm still trying to move some values

ccr 10-10-2011 05:41 PM

works fine on my forum

I have a question

How can I center the button in connection with the nick and the range?

https://vborg.vbsupport.ru/external/2011/10/56.png

Thanks for this mod and your help

MyPeSePe 10-10-2011 06:36 PM

Added before a

Code:

<center><div class="divspoiler">
<input type="button" value="Mostrar Informacion" onclick="if (this.parentNode.nextSibling.childNodes[0].style.display != '') { this.parentNode.nextSibling.childNodes[0].style.display = ''; this.value = 'Ocultar Informacion'; } else { this.parentNode.nextSibling.childNodes[0].style.display = 'none'; this.value = 'Mostrar Informacion'; }" />
</div><div><div class="spoiler" style="display: none;">here the rest of the code</div></div></ center>


ccr 10-12-2011 07:10 AM

done!
thank you

FReeSTER 10-15-2011 02:13 PM

Thank you this is awesome, is there a way to add an image instead of a default button?

Thanks

MyPeSePe 10-15-2011 04:01 PM

Quote:

Originally Posted by FReeSTER (Post 2257484)
Thank you this is awesome, is there a way to add an image instead of a default button?

Thanks

not right now, maybe in the next version

sergarch 01-14-2012 06:44 PM

Thank you very much for this hack!

It works perfect in postbit_legacy template.

Good work.

:up:

viper357 01-15-2012 08:24 AM

Will this work on vb 3.8?


All times are GMT. The time now is 10:37 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.00993 seconds
  • Memory Usage 1,738KB
  • 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
  • (5)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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