vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Miscellaneous Hacks - DJ's Dynamic Tab Content for Postbit_Legacy (https://vborg.vbsupport.ru/showthread.php?t=184136)

dancue 05-25-2009 10:19 AM

Cool.

Anyone know how to display vbookie personal stats instead of dispating user cash. I'd like to display what's displayed in the stats section of vbookie

Digital Jedi 05-25-2009 06:16 PM

Quote:

Originally Posted by dancue (Post 1816758)
Cool.

Anyone know how to display vbookie personal stats instead of dispating user cash. I'd like to display what's displayed in the stats section of vbookie

I've not used vBookie, but find out how the postbit info is displayed and refer to my FAQ on the first page. Depending on how it's displayed (either through a template hook or using variables) you should be able to use the info there to get it to display the way you want.

Digital Jedi 05-25-2009 06:24 PM

Quote:

Originally Posted by Digital Jedi (Post 1816726)
This could probably be accomplished by altering the CSS. You'd have to create a unique class for each individual tab and then attribute the different images to those classes. Would probably be a fair amount of work to get going though.


And this is what happens when you answer questions not having slept in 24 hours. This is actually covered in the FAQ that I wrote. Just put the URL to each image you want where the non-breaking spaces (&nbsp;) are in the <a></a> tags, remembering to remove the background image in the CSS file. This will not be able to do multiple mouseover/selected images this way though.

dancue 05-25-2009 06:29 PM

Quote:

Originally Posted by Digital Jedi (Post 1816726)
Not without editing the JavaScript directly. I'm not sure what would need to be changed off the top of my head. Hopefully I can get around this around the same time I do the AME updates.

Where you referring to the mouseover, or going through the cycle only once.

I could live with only one now if you can remember...(now that you've had some sleep...jk lol)

Digital Jedi 05-25-2009 06:56 PM

Quote:

Originally Posted by dancue (Post 1817049)
Where you referring to the mouseover, or going through the cycle only once.

I could live with only one now if you can remember...(now that you've had some sleep...jk lol)

For the cycle it would probably be a JavaScript edit. For the mouseover, I should have said you can do that by editing the CSS file.

dancue 05-25-2009 07:23 PM

How can I do the mouseover? What do I need to edit?

dancue 05-25-2009 07:26 PM

Quote:

Originally Posted by trulylowcarb (Post 1771845)
Guess I need to figure out the proper max size based on the longest tab content, which for me and for many others probably is the Bio, and then restrict the total postbit height, so the table size doesn't change along with the tab content - at the moment, it is unbearable as-is. <off to play with the template again>
Thanks, Digital Jedi!

Where would I edit the height of the postbit? So that it stays fixed...the length of the longest tab?

tipoboy 05-25-2009 07:40 PM

Quote:

Originally Posted by dancue (Post 1817084)
Where would I edit the height of the postbit? So that it stays fixed...the length of the longest tab?

probably in the postbit_legacy template, if you want it xhtml compliant however you'd probably have to define a class in the table and use custom CSS elements to define the height :)

dancue 05-25-2009 10:07 PM

I know the title says Postbit_legacy, but can this be done for the postbit as well?

I haven't had any success.

tipoboy 05-26-2009 08:41 PM

Quote:

Originally Posted by dancue (Post 1817164)
I know the title says Postbit_legacy, but can this be done for the postbit as well?

I haven't had any success.

yea could be, would require a small amount of html knowledge, in fact i would think it would be quite easy to adapt for the postbit template


All times are GMT. The time now is 05:52 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.01417 seconds
  • Memory Usage 1,744KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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