vb.org Archive

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

scottkoz20 10-29-2018 12:59 PM

1 Attachment(s)
I know this is an older mod - but I put this in place last night... it's a good mod, especially when the user postbit_legacy gets bloated.

See the screenshots on the before and after

Before
https://vborg.vbsupport.ru/attachmen...1&d=1540821179

After
https://vborg.vbsupport.ru/attachmen...1&d=1540821063https://vborg.vbsupport.ru/attachmen...1&d=1540821248https://vborg.vbsupport.ru/attachmen...1&d=1540821248https://vborg.vbsupport.ru/attachmen...1&d=1540821248https://vborg.vbsupport.ru/attachmen...1&d=1540821248


There are still some minor issues that I want to clean up, but just being able to start killing some of the dead space on threads was worth the change alone.


*steps off soapbox*

scottkoz20 11-06-2018 12:59 PM

1 Attachment(s)
I got this working this morning for POSTBIT and it's fairly simple (heck, I was able to figure it out and I can't find simple things :D: )

So if you are looking to update the POSTBIT in Step 4, look for the following
Code:

<vb:if condition="$post['userid']">
<div class="userinfo_extra">
<dl class="userstats">


Add the code in Step 4 below this and following the Steps as mentioned by the author.

Something I did with mine is moved the Join/Post, etc into the first tab. This was my information that I moved into the first tab.

Code:

<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if>
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if>
<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<dt>{vb:rawphrase posts}</dt> <dd>{vb:raw post.posts}</dd>       
{vb:raw template_hook.postbit_userinfo_right_after_posts}

Please make sure that you backup your POSTBIT before making any changes!!!!!

Once completed, your postbit should look like this when completed and working...

https://vborg.vbsupport.ru/attachmen...1&d=1541515835

In Omnibus 11-06-2018 01:02 PM

This is a good modification. It's too bad the developer abandoned it for another platform.


All times are GMT. The time now is 06:47 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.01069 seconds
  • Memory Usage 1,725KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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