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 - Better Postbit Template (https://vborg.vbsupport.ru/showthread.php?t=194552)

Digital Jedi 01-13-2009 09:01 AM

Quote:

Originally Posted by mikeinjersey (Post 1709748)
I cant find one out there..

It would probably be very popular if some Coder made the mod. It looks very convenient up there in postbit.

What I'm saying is, we have one. Just do a Titles Only Search for FaceBook Status and it will be at the top of the list. It's a 3.7 add on.

Rene Kriest 01-15-2009 02:07 AM

The addon is called vbstatus: https://vborg.vbsupport.ru/search.php?searchid=11175906

Back to the main topic:
Your code and also the example picture was very inspiring - it's the simple things that make the difference.

One question: what about the missing 2 closing tags:
Code:

</div>
</div>

Where do you put them? and why didn't you mention them even in your previous addon version?

Emrah Kaya 01-16-2009 05:38 PM

Very Nice.
Installed.

Boosted Panda 02-11-2009 07:00 PM

Don't forget you could also do things like put the signature in this box, or xbox live gamercard by inserting the code inside the div.

itsheinz 02-16-2009 04:46 PM

can you tell me where is this past?
Quote:

<td width="100%">&nbsp;</td>
<td valign="top" nowrap="nowrap">

star88 02-26-2009 11:15 AM

Quote:

Originally Posted by Rene Kriest (Post 1712836)
One question: what about the missing 2 closing tags:
Code:

</div>
</div>

Where do you put them? and why didn't you mention them even in your previous addon version?


For example:

In the postbit template, find:

Code:

<div class="smallfont">
                                        <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
                                        <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
                                        <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
                                        <div>
                                                $vbphrase[posts]: $post[posts]
                                        </div>
                                        $template_hook[postbit_userinfo_right_after_posts]
                                        <if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
                                        <if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
                                        $template_hook[postbit_userinfo_right]
                                        <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
                                </div>



replace by:

Code:

<div class="smallfont">
                <div class="postbittop" align="right"> 
                                        <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
                                        <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
                                        <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
                                        <div>
                                                $vbphrase[posts]: $post[posts]
                                        </div>
                                        $template_hook[postbit_userinfo_right_after_posts]
                                        <if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
                                        <if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
                                        $template_hook[postbit_userinfo_right]
                                        <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
        </div>
</div>


Boosted Panda 03-27-2009 06:57 PM

1 Attachment(s)
Just wanted to throw a screenie of my new Postbit utilizing this mod.

HighRollerX 04-30-2009 11:15 PM

How do I change my font to be like the font in the second screen shot? Is that Verenda?

Boosted Panda 05-02-2009 09:23 PM

Make Veranda your first font.

Boosted Panda 05-14-2009 01:24 AM

If anyone needs help let me know :)


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