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)

GlamRockTalk 11-27-2008 03:35 AM

DJ, it didn't work. :(

Any other suggestions?

Digital Jedi 11-27-2008 03:42 AM

Try adding that same style attribute to the main DIV or TD containing that area of the postbit. In this case, it will probably be TD containing the avatar and username, etc. (in the case of a TD, I believe you can still use align="center" instead of the style tag.)

GlamRockTalk 11-27-2008 04:09 AM

Man oh man...nothing seems to work. :(

Digital Jedi 11-27-2008 04:26 AM

Alright, let's take a look at your postbit_legacy code.

GlamRockTalk 11-27-2008 04:29 AM

DJ, sent PM with info

Thanks for the help! :D

stickskills 11-27-2008 03:49 PM

The centering issue has been something I've tried to figure out for awhile, but to no avail just yet.

GlamRockTalk 11-27-2008 06:29 PM

I wonder if we should ask the DynamicDrive folks about the possibilities of centering the tabs.

stickskills 11-28-2008 06:06 PM

Yes! I have figured it out! Here's what you'll need to do:

Open up your tabcontent.css

Change from
PHP Code:

.djdot{
fontbold 13px Arial;
width100%; /*leave this value as is in most cases*/


To
PHP Code:

.djdot{
fontbold 13px Arial;
width100%; /*leave this value as is in most cases*/
margin-left:20px;


The 20PX is just a random number I threw in there, and really depends on your width of your personal forum. Enjoy!

GlamRockTalk 11-28-2008 07:26 PM

stickskills, you are THE man! That is, unless you are a woman...in that case, you are THE woman! :D

Didn't even think to 'push' it to the center in that way. Very cool idea. Maybe someday we'll actually have it done correctly. Since I only had three tabs, I had to move it over more. Mine was about 47px. But, it's good now! :)

Thanks!

stickskills 11-28-2008 10:20 PM

Ha, yeah.. I was so fixed on how to "center" it, that I never thought about just pushing the margin. Though it's not a true way of centering, it does work.

Btw, definitely a man haha.


All times are GMT. The time now is 09:38 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.01747 seconds
  • Memory Usage 1,732KB
  • 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
  • (2)bbcode_php_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