Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
Default Signature Details »»
Default Signature
Version: 1.00, by Bratz-Designs Bratz-Designs is offline
Developer Last Online: Nov 2011 Show Printable Version Email this Page

Version: 3.6.5 Rating:
Released: 03-08-2007 Last Update: Never Installs: 33
 
No support by the author.

Default Signature!

Sometimes i just dont like it when people dont use a signature...That empty space below th posts...So i came up with this sollution to ad a default sigature!

1. In the postbit template find:

Code:
$post[signature]
And replace with

Code:
				<if condition="$post[signature]">$post[signature]
             <else />
                        <img src="$stylevar[imgdir_misc]/nosignature.jpg"/></if>

- Save

2.) In the postbit legacy template find

Code:
$post[signature]
And replace with

Code:
				<if condition="$post[signature]">$post[signature]
             <else />
                        <img src="$stylevar[imgdir_misc]/nosignature.jpg"/></if>
- Save

3. Upload nosignature.jpg to your misc images folder and your ready to go!

Note, if you need a custom signature made, please post here so i will make it!

Show Your Support

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

Comments
  #12  
Old 03-31-2007, 09:27 AM
TVNettet's Avatar
TVNettet TVNettet is offline
 
Join Date: Mar 2006
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Um... I tried the code and it didn't work, when I tried som of the other posts code it gave me an error when I viewed a PM...

Is there anyway you could update the txt file pls?
Reply With Quote
  #13  
Old 04-06-2007, 08:17 AM
Bratz-Designs Bratz-Designs is offline
 
Join Date: Jul 2005
Location: Netherlands
Posts: 236
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you post a screenshot of the error?
Reply With Quote
  #14  
Old 05-08-2007, 07:44 AM
DoSe DoSe is offline
 
Join Date: Feb 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My little addition to this mod

This will let you set a default sig by usergroup. Just change $post[usergroupid] == 6 for every usergroup you want to set.

<if condition="$post[signature]">$post[signature]
<else />
<if condition="$post[usergroupid] == 6"><img src="http://www.yoursite.com/yourimage.gif"></if>
</if>
Reply With Quote
  #15  
Old 06-20-2007, 04:26 AM
RVM RVM is offline
 
Join Date: May 2007
Location: Las Vegas
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is such a simple edit, why is it not working for me?

Question: will only newly registered members have a sig show up, or anyone with no sig added?
Reply With Quote
  #16  
Old 06-20-2007, 05:37 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it should affect all sigs with nothing in them, if I understand it correct.
Reply With Quote
  #17  
Old 06-21-2007, 10:28 AM
Snider Snider is offline
 
Join Date: May 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way to add BB code or allow for text links with this ?
Reply With Quote
  #18  
Old 07-22-2007, 09:57 PM
MDK-Indy MDK-Indy is offline
 
Join Date: Mar 2007
Location: Germany
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sal?,

Signatur always at the lower edge of Posting...
Perhaps it can use someone.

Testing with vB 3.6.7

postbit_legacy


find

Code:
<tr valign="top">
    <td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
replace with

Code:
<tr valign="top">
    <td class="alt2" width="175" rowspan="2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">

find

Code:
        <!-- / attachments -->
        </if>

        <if condition="(($vboptions[warn_sig_thresshold]<0 AND $post[warning_level]>=$vboptions[warn_sig_thresshold]) OR $vboptions[warn_sig_thresshold]==0)">
        <!-- sig -->
            <div>
                <br /><br /><br />
                <hr>
                <span class="smallfont"><center>$post[musername]`s Signatur: </center></span><br />
                <br />
                <span class="smallfont">
                <if condition="$post[signature]">$post[signature]<else /><img src="$stylevar[imgdir_misc]/nosignature.jpg"/></if>
                </span>
                <br />
            </div>
        <!-- / sig -->
        </if>
        
        <if condition="$show['postedited']">
        <!-- edit note -->
            <div class="smallfont">            <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
                <em>
                <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
                <if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
                </em>
            </div>
        <!-- / edit note -->
        </if>
    
    </td>
</tr>
replace with

Code:
        <!-- / attachments -->
        </if>
    
        <if condition="$show['postedited']">
        <!-- edit note -->
            <div class="smallfont">            <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
                <em>
                <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
                <if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
                </em>
            </div>
        <!-- / edit note -->
        </if>
    
    </td>
</tr>
<tr>
    <td class="alt1" valign="bottom" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
        <if condition="(($vboptions[warn_sig_thresshold]<0 AND $post[warning_level]>=$vboptions[warn_sig_thresshold]) OR $vboptions[warn_sig_thresshold]==0)">
        <!-- sig -->
            <div>
                <hr>
                <span class="smallfont"><center>$post[musername]`s Signatur: </center></span><br />
                <br />
                <span class="smallfont">
                <if condition="$post[signature]">$post[signature]<else /><img src="$stylevar[imgdir_misc]/nosignature.jpg"/></if>
                </span>
                <br />
            </div>
        <!-- / sig -->
        </if>
    </td>
</tr>

greeting Indy
Reply With Quote
  #19  
Old 07-25-2007, 04:36 AM
RVM RVM is offline
 
Join Date: May 2007
Location: Las Vegas
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still not working for me.. I really like this mod..
Reply With Quote
  #20  
Old 08-20-2007, 11:56 PM
bilgiform bilgiform is offline
 
Join Date: Jul 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks_______
Reply With Quote
  #21  
Old 08-27-2007, 08:18 PM
Vesica Vesica is offline
 
Join Date: Apr 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very good mod, though I had to edit to get it to work with 3.6.8
Reply With Quote
Reply

Thread Tools

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 05:20 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.05345 seconds
  • Memory Usage 2,303KB
  • Queries Executed 25 (?)
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
  • (8)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete