vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Mini Mods - Signature Legend, new signature look (V2) (https://vborg.vbsupport.ru/showthread.php?t=134387)

Roms 12-21-2006 08:49 PM

Quote:

Originally Posted by Oddjob (Post 1142907)
What would i have to do to make this compatible with this hack?

It calls for all this to be deleted...

Code:

        <if condition="$post['signature']">
        <!-- sig -->
            <div>
                __________________<br />
                $post[signature]
            </div>
        <!-- / sig -->
        </if>


Update: This now forces the users signature to the bottom of each post.
Updated instructions (Download V2)


Please click install if you use this.

Thanks

Roms 12-21-2006 08:51 PM

Quote:

Originally Posted by firstrebel (Post 1142677)
This makes the post look a lot tidier, thanks. **Installed**

Bob

Thank you Sir. :)

Tulsa 12-23-2006 01:41 PM

Quote:

Originally Posted by Roms (Post 1143077)
Update: This now forces the users signature to the bottom of each post.
Updated instructions (Download V2)


Please click install if you use this.

Thanks

Hmm, didn't force it to the bottom on my site...

Roms 12-23-2006 01:51 PM

Quote:

Originally Posted by Tulsa (Post 1143985)
Hmm, didn't force it to the bottom on my site...

I tried viewing your site but you have it so guests can't view... so I'm not sure what the problem may be. It mainly works with the postbit legacy and it will not work properly with some styles. This mod was mainly made for people using the default vB style/ legacy and then customizing their site from there.

If you don't have any customizations already in your postbit you could revert the 'postbit legacy' template and then modify it with my code and it should work.

Thanks :)

Tulsa 12-23-2006 02:03 PM

I am using the legacy format but like most I would assume, that template is one of the most modified.

Tulsa 12-25-2006 06:39 AM

Well it's working now.

I have that plugin template cache set up and had to delete all the cache files for the sig's to start showing.

Roms 12-25-2006 02:10 PM

Quote:

Originally Posted by Tulsa (Post 1144806)
Well it's working now.

I have that plugin template cache set up and had to delete all the cache files for the sig's to start showing.

That's great to hear. :)

smoknz28 12-25-2006 03:51 PM

Hi there...I've installed this, but I'm looking over the code...and would like to know....I had installed a different hack not too long ago that was very simple and changed everyone's sig to use small font. I really like this cause some of my members have a bit much of wording that I really don't mind so long as the code forces all their text in their sig to small font.

I'm no coder by ANY means...so I'm not really sure here....but I do see the change that was made in my previous postbits.

Code:

<if condition="$post['signature']">
                <!-- sig -->
                        <div class="smallfont">
                                __________________<br />
                                $post[signature]
                        </div>
                <!-- / sig -->
                </if>

How can I edit your hack code to force the member's sigs to go into small font?

Thank you so much,
Gonzo

Roms 12-25-2006 07:17 PM

Quote:

Originally Posted by smoknz28 (Post 1144918)
Hi there...I've installed this, but I'm looking over the code...and would like to know....I had installed a different hack not too long ago that was very simple and changed everyone's sig to use small font. I really like this cause some of my members have a bit much of wording that I really don't mind so long as the code forces all their text in their sig to small font.

I'm no coder by ANY means...so I'm not really sure here....but I do see the change that was made in my previous postbits.

Try this:

PHP Code:

  <if condition="$post['signature']">
  <!-- 
sig -->
   <
hr size="1" style="color:$stylevar[tborder_bgcolor]/>
   <
div class="smallfont" valign="bottom">
<
fieldset><legend>$post[username]'s Sig:</legend>$post[signature]</fieldset>
   </div>
  <!-- / sig -->
  </if> 

Or this one:

PHP Code:

  <if condition="$post['signature']">
  <!-- 
sig -->
   <
hr size="1" style="color:$stylevar[tborder_bgcolor]/>
   <
div valign="bottom">
<
span style="font-size:small;">
<
fieldset><legend>$post[username]'s Sig:</legend>$post[signature]</fieldset>
</span>
   </div>
  <!-- / sig -->
  </if> 

Please note I haven't tested the above codes....

Thanks

smoknz28 12-26-2006 01:09 AM

Roms, reporting back...

I used the first code you input and it worked with no dramas. ;) Thanks...

Also, I registered on your site today. I'm an 18 year active duty U.S. Marine. Looks like a nice site.

Thanks again for this code. :up:


All times are GMT. The time now is 09:05 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.01112 seconds
  • Memory Usage 1,754KB
  • 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
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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