Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Postbit Legacy - Signature Inside a Cell Details »»
Postbit Legacy - Signature Inside a Cell
Version: 1.00, by Boosted Panda Boosted Panda is offline
Developer Last Online: Oct 2010 Show Printable Version Email this Page

Version: 3.8.x Rating:
Released: 10-26-2008 Last Update: Never Installs: 37
 
No support by the author.

Ever hate the horizontal line in the signatures? Well here is a great way to separate your signatures and give your forum a nice and clean vertical look. This is for the Postbit_Legacy template layout. I will help with this mod. I am not an expert coder so if anyone wants to give advice it is totally welcomed in a constructive fashion. Enjoy!!!

Find:
PHP Code:
$template_hook[postbit_signature_start]

Remove Code in Between Here

$template_hook
[postbit_signature_end
Find:
PHP Code:
        $template_hook[postbit_controls]
        <!-- / 
controls -->
    </
td>
</
tr>
</
table
Add Below:
PHP Code:
<table class="signature" width="100%">
        <if 
condition="$post['signature']">
            <
tr>
            <
td class="alt2">
                <!-- 
sig -->
                <
div>
                    
$post[signature]
                </
div>
                <!-- / 
sig -->
            </
td>
            </
tr>
        </if>  
</
table
Add in the additional CSS Area of Your Template
PHP Code:
.signature 
border-leftsolid 1px #0B198C;
border-rightsolid 1px #0B198C;
border-bottomsolid 1px #0B198C;
background#FFFFFF;

For the above code I suggest matching this with your .tborder values. Enjoy!


</span></span>

Screenshots

File Type: png Picture 1.png (74.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 12-29-2008, 05:58 AM
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
Posts: 1,630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi
i would also take the templatehooks into the modification!
Reply With Quote
  #13  
Old 12-30-2008, 04:04 PM
RTMdotORG RTMdotORG is offline
 
Join Date: Dec 2008
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how can i make the border not as wide? I Got It...

the border color looks better the same as background color
Reply With Quote
  #14  
Old 12-30-2008, 06:41 PM
Boosted Panda Boosted Panda is offline
 
Join Date: Mar 2008
Location: Long Beach, CA
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks everyone, if people want to post there variation, post it up here in the thread. This is a super simple but clean way of organizing those pesky signatures.
Reply With Quote
  #15  
Old 02-12-2009, 10:21 AM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tx installed, but moved it all inside the post table, but below the reply bottons.

lovely.
Reply With Quote
  #16  
Old 02-16-2009, 09:34 PM
trulylowcarb's Avatar
trulylowcarb trulylowcarb is offline
 
Join Date: Apr 2004
Location: Colorado
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Thanks everyone, if people want to post there variation, post it up here in the thread. This is a super simple but clean way of organizing those pesky signatures.
Thanks so much for your post, and your graciousness too.
I ultimately used your post as pointers on where to change the stock signature. I wasn't totally happy with the changes as you wrote them, so I haven't marked as installed, but I used your post to help me modify the signature to look better.... I always hated that stupid __________ line, and always wanted a different background, so instead of doing just as you said, and adding anything to the exra css, I simply changed the postbit legacy code a bit, and I am much happier with the appearance now.

As per your encouragement to share, here is my template hook for the sig now:
Code:
$template_hook[postbit_signature_start]
$ad_location[ad_showthread_firstpost_sig]
    <if condition="$post['signature']">
  <!-- sig --><br /><br />
   <div span class='alt2'>
    <hr>
    $post[signature]
   </div>
  <!-- / sig -->
  </if>
  $template_hook[postbit_signature_end]
This is what mine looks like now - I also moved it to above the controls.
Attached Images
File Type: jpg newsigblock.jpg (38.2 KB, 0 views)
Reply With Quote
  #17  
Old 02-19-2009, 09:34 PM
Boosted Panda Boosted Panda is offline
 
Join Date: Mar 2008
Location: Long Beach, CA
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by trulylowcarb View Post
Thanks so much for your post, and your graciousness too.
I ultimately used your post as pointers on where to change the stock signature. I wasn't totally happy with the changes as you wrote them, so I haven't marked as installed, but I used your post to help me modify the signature to look better.... I always hated that stupid __________ line, and always wanted a different background, so instead of doing just as you said, and adding anything to the exra css, I simply changed the postbit legacy code a bit, and I am much happier with the appearance now.

As per your encouragement to share, here is my template hook for the sig now:
Code:
$template_hook[postbit_signature_start]
$ad_location[ad_showthread_firstpost_sig]
    <if condition="$post['signature']">
  <!-- sig --><br /><br />
   <div span class='alt2'>
    <hr>
    $post[signature]
   </div>
  <!-- / sig -->
  </if>
  $template_hook[postbit_signature_end]
Good pointer! I actually used some CSS code to put a height contrained box with scroll bars for sigs. Nice and clean! That ______ is so annoying! Ever replacing with an HR makes it looks cleaner.
Reply With Quote
  #18  
Old 02-20-2009, 09:55 AM
Leo Brazil's Avatar
Leo Brazil Leo Brazil is offline
 
Join Date: Dec 2007
Location: Brazil
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi guys, do you mind in sharing screenshoots for your new ideas ? May be not all will use but would be nice to have even more new ideas, you know, like people say: images "say" more than words.

Tks
Reply With Quote
  #19  
Old 02-20-2009, 03:10 PM
trulylowcarb's Avatar
trulylowcarb trulylowcarb is offline
 
Join Date: Apr 2004
Location: Colorado
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Leo Brazil View Post
Hi guys, do you mind in sharing screenshoots for your new ideas ? May be not all will use but would be nice to have even more new ideas, you know, like people say: images "say" more than words.Tks
You are right!
I just added a screenshot to my original post with the applicable code. If you like the avatar block's look, check out the Postbit Tabs mod by Digital Jedi that I incorporated at the same time. I just need to make myself some smaller control buttons now, and I think I will be happy/done for a while.
Reply With Quote
  #20  
Old 03-02-2009, 01:53 PM
Leo Brazil's Avatar
Leo Brazil Leo Brazil is offline
 
Join Date: Dec 2007
Location: Brazil
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks trulylowcarb for screeny, great idea and thank you for sharing.
Reply With Quote
  #21  
Old 03-02-2009, 05:11 PM
matrixc0d3 matrixc0d3 is offline
 
Join Date: Dec 2008
Location: Germany But Turkish =)
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx good work
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:49 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04939 seconds
  • Memory Usage 2,347KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (4)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete