Thread: Miscellaneous Hacks - DJ's Dynamic Tab Content for Postbit_Legacy
View Single Post
  #208  
Old 12-04-2008, 09:43 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gsmciler View Post
Digital Jedi @ please attach your postbit legacy full info
Hmm? I'm not sure what you mean.


Quote:
Originally Posted by GlamRockTalk View Post
DJ, thanks for the help!

I've adjusted the commenting out issue. Unfortunately, I'm not a coder (I'm learning little by little) so I'm unfamiliar with the terminology. Here's the code for my TAB 2 and I'd like to see where I can fix and adjust it....

Code:
<!-- TAB 2 CONTENT -->
<div id="tab2$post[postid]" class="tabcontent" align="center">
 
<if condition="$post[field4]"><div class="pbit"><strong>Real/Nickname:</strong> $post[field4]</div></if>
<if condition="$post[field2]"><div class="pbit"><strong>Location:</strong> $post[field2]</div></if>
<div class="pbit">
<if condition="$post[field9]"><img src="images/flags/$post[field9].gif"></if>
<if condition="$post[field10]"><img src="images/region/$post[field10].gif"></if>
</div>
<div class="pbit"><if condition="$show['homepage']">
        <a href="$post[homepage]" rel="nofollow"><phrase 1="$post[username]"><strong>View My Homepage</strong></phrase></a></div>
 
</div>
....I'd appreciate any help. Thanks folks!

It's strange though because it was working for my existing members and their postbit_legacy and not for my new one. Oh well, let's see if this adjustment can fix it.
This part appears to be constructed right, and both of Arny's posts are displaying correctly. Let's post your whole postbit_legacy template now. We're running into a problem right around Tab 2's container and hms1016's post. His message area suddenly starts running into Tab 2. It may be some code related the Post Thanks Hack is not being inserted correctly.


Quote:
Originally Posted by Come2Daddy View Post
Hello digital Jedi,

could you please help me to do Blog Entries Counter in one of those divs containers??
when I read the postbit code I don't find any thing about it, same is with the vbExperiounce mod

waiting your help if you can, and thanx in advanced
It depends on how your displaying the blog entries in your postbit. Both vBExperience and the Blog Entry modifications I've seen use template hooks. So depending on how they display, you'd put the template hook into one of tab containers. One blog modification I know of uses $template_hook[postbit_userinfo_right_after_posts]. Just look around the area where your blog entries show in your postbit code and see if there's a template hook in general vicinity. That's what you'd need to move.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03366 seconds
  • Memory Usage 1,785KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete