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)

Digital Jedi 10-22-2008 06:27 PM

For just the dots, I'm not entirely sure it will work, but you can try adding a style="text-align:center" element to the containing DIV tag:

Code:


<div id="postbittabs$post[postid]" class="djdot">


RobbieZ 10-22-2008 09:44 PM

Now that i have it all set up like your demo.

my posts/reps and (little green light)Im on Line) is still showing

I just delete them right ?

And

Do you know of a viable code to do for YAAS 4 . so it shows the awards up ?

Thank you DJ (excellent Thread)

Digital Jedi 10-22-2008 10:51 PM

Quote:

Originally Posted by RobbieZ (Post 1650740)
Now that i have it all set up like your demo.

my posts/reps and (little green light)Im on Line) is still showing

I just delete them right ?

And

Do you know of a viable code to do for YAAS 4 . so it shows the awards up ?

Thank you DJ (excellent Thread)

Yes, you can just delete or <!-- comment out --> the parts your not using.

I don't know what YAAS 4 is, but if it's some kind of awards system then you can probably get them to show up by putting the template_hook that it's using inside the tabs. Look for a template hook right around where your awards are showing up and move it around to see if that's what's controlling it.

RobbieZ 10-22-2008 11:53 PM

Quote:

Originally Posted by Digital Jedi (Post 1650772)
Yes, you can just delete or <!-- comment out --> the parts your not using.

I don't know what YAAS 4 is, but if it's some kind of awards system then you can probably get them to show up by putting the template_hook that it's using inside the tabs. Look for a template hook right around where your awards are showing up and move it around to see if that's what's controlling it.

I did not realise this. so i put <!-- comment out --> at the begining and the end of what i do not want to show ?

sorry my bad YAAS 4 is this: https://vborg.vbsupport.ru/showthrea...highlight=YAAS

I will look this hook up.

Thanks again DJ

Digital Jedi 10-23-2008 12:25 AM

To comment out something, you'd put <!-- at the beginning of it and --> at the end of it. It turns everything inbetween into a comment, rather then functional code.

a marked man 70 10-24-2008 09:07 AM

Quote:

Originally Posted by Digital Jedi (Post 1650616)
For just the dots, I'm not entirely sure it will work, but you can try adding a style="text-align:center" element to the containing DIV tag:

Code:


<div id="postbittabs$post[postid]" class="djdot">


nope, that did not do anything:confused:

Digital Jedi 10-24-2008 06:28 PM

Hrm, I'm not sure where my head was that night. You can center the DIV by editing the CSS class for djdot.

gorentals 11-18-2008 02:49 PM

cool hack

GlamRockTalk 11-21-2008 07:55 PM

Quote:

Originally Posted by Digital Jedi (Post 1651947)
Hrm, I'm not sure where my head was that night. You can center the DIV by editing the CSS class for djdot.

So, I'm assuming that I edit the tabcontent.css file. But, where do I edit it and what do I place in there to center the tabs?

And, if someone does not fill in one of the fields that you have in the tabs, it kinda collapses the little space but still shows. Any suggestions as to what to do so that either it doesn't show the little collapsed box or to have some sort of default term in there?

By the way DJ...another mod that ROCKS! :D

GlamRockTalk 11-21-2008 09:44 PM

Quote:

Originally Posted by Digital Jedi (Post 1564486)

DJ,

FYI, I was looking for examples and I noticed the two middle ones were not showing with the script being utilized. Might want to double check, but it didn't look like it.


All times are GMT. The time now is 06:21 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.01548 seconds
  • Memory Usage 1,746KB
  • 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_code_printable
  • (5)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