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
  #22  
Old 10-16-2007, 10:45 AM
citroenar citroenar is offline
 
Join Date: Jan 2007
Location: Serbia
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get it to work in 3.6.8

postbit_legacy

Code:
<!-- sig -->
			<div valign="bottom">
			    __________________<br />
			    <if condition="$post[signature]">$post[signature]<else /><img src="$stylevar[imgdir_misc]/nosignature.jpg"/></if>

			</div>
<!-- / sig -->
Reply With Quote
  #23  
Old 10-20-2007, 04:13 PM
KTP KTP is offline
 
Join Date: Dec 2005
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by citroenar View Post
I get it to work in 3.6.8

postbit_legacy

Code:
<!-- sig -->
			<div valign="bottom">
			    __________________<br />
			    <if condition="$post[signature]">$post[signature]<else /><img src="$stylevar[imgdir_misc]/nosignature.jpg"/></if>

			</div>
<!-- / sig -->
i added this into the postbit and postbit legacy templates but it doesnt seem to be showing in users sigs.?
Reply With Quote
  #24  
Old 10-20-2007, 11:14 PM
lauxanh lauxanh is offline
 
Join Date: Mar 2006
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does not work for me, i replaced the images with some text instead.

But does not work. Why?
Reply With Quote
  #25  
Old 10-23-2007, 03:49 AM
manraj21 manraj21 is offline
 
Join Date: Mar 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

$stylevar[imgdir_misc]/nosignature.jpg chage that to the image url
Reply With Quote
  #26  
Old 10-26-2007, 04:01 PM
Spank Spank is offline
 
Join Date: Jan 2007
Location: Scotland
Posts: 809
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not working for me either =(
Reply With Quote
  #27  
Old 12-06-2007, 01:52 AM
turbo.:R turbo.:R is offline
 
Join Date: Apr 2007
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

didnt work any way i tried it
Reply With Quote
  #28  
Old 12-06-2007, 03:00 AM
TrioxX TrioxX is offline
 
Join Date: Nov 2007
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should do the following:

Theres a little bug on the install note (i've tested on vb 3.6.8pl2)

open postbit and postbit_legacy and find:

PHP Code:
<if condition="$post['signature']">
<!-- 
sig --> 
Replace with:

PHP Code:
<!-- sig --> 
If you have installed another hacks before, it can be, that the code is not the same. But note, that you must delete $post['signature'] above <!-- sig -->.

Then find:

PHP Code:
<center>
$post[signature
Replace with:

PHP Code:
<if condition="$post[signature]">
$post[signature]
<else />
<
img src="$stylevar[imgdir_misc]/nosignature.jpg"/>
</if> 
It works fine on my VB 3.6.8pl2.
Reply With Quote
  #29  
Old 12-06-2007, 01:51 PM
turbo.:R turbo.:R is offline
 
Join Date: Apr 2007
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TrioxX View Post
You should do the following:

Theres a little bug on the install note (i've tested on vb 3.6.8pl2)

open postbit and postbit_legacy and find:

PHP Code:
<if condition="$post['signature']">
<!-- 
sig --> 
Replace with:

PHP Code:
<!-- sig --> 
If you have installed another hacks before, it can be, that the code is not the same. But note, that you must delete $post['signature'] above <!-- sig -->.

Then find:

PHP Code:
<center>
$post[signature
Replace with:

PHP Code:
<if condition="$post[signature]">
$post[signature]
<else />
<
img src="$stylevar[imgdir_misc]/nosignature.jpg"/>
</if> 
It works fine on my VB 3.6.8pl2.
this worked perfectly.... thanx....
Reply With Quote
  #30  
Old 12-10-2007, 04:20 PM
Punjabi.Warri0r Punjabi.Warri0r is offline
 
Join Date: Aug 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i m still having difficulty its still not showing up
Reply With Quote
  #31  
Old 12-17-2007, 08:03 AM
megabyte366 megabyte366 is offline
 
Join Date: Oct 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the hack... but i'm running into a problem... i tried everything that was posted here in the thread and i get it to work but some where in the code it messing with the private messenger. I had several user say that can't get into it.. when i remove the code in postbit and postbit lagency then it works.... any help would be greatful.. as the hack is great.!!
thanks
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 12:58 AM.


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.12814 seconds
  • Memory Usage 2,320KB
  • 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
  • (6)bbcode_code
  • (8)bbcode_php
  • (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
  • (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