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

Reply
 
Thread Tools
Spoiler Information Postbit Details »»
Spoiler Information Postbit
Version: 1.00, by MyPeSePe MyPeSePe is offline
Developer Last Online: Sep 2015 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.1.6 Rating:
Released: 10-04-2011 Last Update: Never Installs: 15
Template Edits
 
No support by the author.

(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

Screenshots

File Type: png oculto.png (44.0 KB, 0 views)
File Type: jpg muestra.jpg (26.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
CAG CheechDogg, ccr, livenetc

Comments
  #2  
Old 10-10-2011, 01:40 PM
Fabilous Fabilous is offline
 
Join Date: Dec 2009
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After that my postbit_legacy in Threads are broken
Reply With Quote
  #3  
Old 10-10-2011, 01:53 PM
MyPeSePe's Avatar
MyPeSePe MyPeSePe is offline
 
Join Date: Sep 2011
Location: Phonesfera
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In my forum is working correctly, I'm still trying to move some values
Reply With Quote
  #4  
Old 10-10-2011, 05:41 PM
ccr ccr is offline
 
Join Date: Jan 2011
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works fine on my forum

I have a question

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



Thanks for this mod and your help
Reply With Quote
  #5  
Old 10-10-2011, 06:36 PM
MyPeSePe's Avatar
MyPeSePe MyPeSePe is offline
 
Join Date: Sep 2011
Location: Phonesfera
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #6  
Old 10-12-2011, 07:10 AM
ccr ccr is offline
 
Join Date: Jan 2011
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

done!
thank you
Reply With Quote
  #7  
Old 10-15-2011, 02:13 PM
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Location: Rome
Posts: 730
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thanks
Reply With Quote
  #8  
Old 10-15-2011, 04:01 PM
MyPeSePe's Avatar
MyPeSePe MyPeSePe is offline
 
Join Date: Sep 2011
Location: Phonesfera
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FReeSTER View Post
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
Reply With Quote
Благодарность от:
FReeSTER
  #9  
Old 01-14-2012, 06:44 PM
sergarch's Avatar
sergarch sergarch is offline
 
Join Date: Apr 2010
Location: Moscow
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much for this hack!

It works perfect in postbit_legacy template.

Good work.

:up:
Reply With Quote
  #10  
Old 01-15-2012, 08:24 AM
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Location: Worthing, UK
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this work on vb 3.8?
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 03:52 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.06503 seconds
  • Memory Usage 2,329KB
  • Queries Executed 24 (?)
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
  • (5)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (4)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete