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

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
  #2  
Old 03-24-2007, 01:36 PM
wengi's Avatar
wengi wengi is offline
 
Join Date: Aug 2006
Location: Malta
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and did the templates edits but still not showing .... any idea !!!
Reply With Quote
  #3  
Old 03-24-2007, 03:03 PM
MDK-Indy MDK-Indy is offline
 
Join Date: Mar 2007
Location: Germany
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Probably you have to replace/delete a previous <if condition ...> concerning $post['signature']. In our board now it looks like that:

before:

Code:
<if condition="$post['signature'] AND (($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[username]`s Signatur: </center></span><br />
<br />
<span class="smallfont">
<center>
$post[signature]
</center>
</span>
<br />
</div>
<!-- / sig -->
after:

Code:
<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[username]`s Signatur: </center></span><br />
<br />
<span class="smallfont">
<center>
<if condition="$post[signature]">
$post[signature]
<else />
<img src="$stylevar[imgdir_misc]/nosignature.jpg"/>
</if>
</center>
</span>
<br />
</div>
<!-- / sig -->
Reply With Quote
  #4  
Old 03-24-2007, 06:09 PM
wengi's Avatar
wengi wengi is offline
 
Join Date: Aug 2006
Location: Malta
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thnks for the help m8 ive done a little edit so tht i took off the line

Code:
<if condition="(($vboptions[warn_sig_thresshold]<0 AND $post[warning_level]>=$vboptions[warn_sig_thresshold]) OR $vboptions[warn_sig_thresshold]==0)">
<!-- sig -->
<div>
<br />
<legend align="center"><span class="smallfont">$post[username]`s Signatur: <br /></span></legend>
<br />
<span class="smallfont">
<center>
<if condition="$post[signature]">
$post[signature]
<else />
<img src="$stylevar[imgdir_misc]/nosignature.jpg"/>
</if>
</center>
</span>
<br />
</div>
<!-- / sig -->

PS just 1 quest ... which line do i have to edit to make the words bold and colourd

Regards
Wengi
Reply With Quote
  #5  
Old 03-25-2007, 01:54 PM
Bratz-Designs Bratz-Designs is offline
 
Join Date: Jul 2005
Location: Netherlands
Posts: 236
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

4th line

Code:
$post[username]`s Signature:
Wrap the codes around that
Reply With Quote
  #6  
Old 03-25-2007, 07:05 PM
hotmasala4u hotmasala4u is offline
 
Join Date: Nov 2006
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's working fine .. thx mate
Reply With Quote
  #7  
Old 03-25-2007, 11:10 PM
MDK-Indy MDK-Indy is offline
 
Join Date: Mar 2007
Location: Germany
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@wengi

dont understand your Quest, sorry... Can you the question rewrite?

Sorry for my bad english, im from Germany.

@Bratz-Designs

That is a individual signature in ours Forum.

See attach Picture...
Reply With Quote
  #8  
Old 03-25-2007, 11:21 PM
wengi's Avatar
wengi wengi is offline
 
Join Date: Aug 2006
Location: Malta
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MDK-Indy View Post
@wengi

dont understand your Quest, sorry... Can you the question rewrite?

Sorry for my bad english, im from Germany.


Code:
$post[username]`s Signature:
i would like to change colour of this and make it bold .... tryed to add a code but i must of done it wrong.

Regards
Wengi
Reply With Quote
  #9  
Old 03-26-2007, 06:26 AM
Atakan KOC's Avatar
Atakan KOC Atakan KOC is offline
 
Join Date: Feb 2006
Location: Istanbul
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks....
Reply With Quote
  #10  
Old 03-26-2007, 09:56 AM
MDK-Indy MDK-Indy is offline
 
Join Date: Mar 2007
Location: Germany
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wengi View Post
Code:
$post[username]`s Signature:
i would like to change colour of this and make it bold .... tryed to add a code but i must of done it wrong.

Regards
Wengi

Mmh, just edit the css-class "smallfont" or create a new one and replace it:

<span class="smallfont">$post[username]`s Signatur: <br /></span>
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:01 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.04508 seconds
  • Memory Usage 2,299KB
  • Queries Executed 23 (?)
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
  • (10)bbcode_code
  • (2)bbcode_quote
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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