The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi,
I had a look but can't find one, is there a code/plug-in to set a default signature for members who don't use one? |
|
#2
|
||||
|
||||
|
a simple template edit
![]() EDIT Template: postbit/postbit_legacy FIND: Code:
<if condition="$post['signature']"> <!-- sig --> <div> __________________<br /> $post[signature] </div> <!-- / sig --> </if> Code:
<if condition="!$post['signature']"> <!-- default sig --> <div> __________________<br /> INSERT DEFAULT SIG HERE </div> <!-- / default sig --> <else /> <!-- sig --> <div> __________________<br /> $post[signature] </div> <!-- / sig --> </if>
|
|
#3
|
|||
|
|||
|
Ah thanks man,
...I want to set a pic as the default sig, here's the code; Code:
<if condition="!$post['signature']"> <!-- default sig --> <div> __________________<br /> <img>http://phonexpo.net/images/banners_logos/phonexpo_use_bar.jpg</img> </div> <!-- default / sig --> <else /> <!-- sig --> <div> Is my part of the code wrong or is it a setting I need to change. TIA :ermm: |
|
#4
|
||||
|
||||
|
np
![]() replace Code:
<img>http://phonexpo.net/images/banners_logos/phonexpo_use_bar.jpg</img> Code:
<img src="http://phonexpo.net/images/banners_logos/phonexpo_use_bar.jpg" alt="" />
|
|
#5
|
|||
|
|||
|
Sorry CP1, I just seen your reply now YES thank you that worked.
Thank you very much for the code.Patrick
|
|
#6
|
|||
|
|||
|
Have just stumbled across this, excellent mod.
What I would like to do though is to use this on one particular typ of user, how do I specifiy this? Thanks! Doh Doh Doh!!! just re-read the code, ignore me, lol |
|
#7
|
|||
|
|||
|
Advanced Default Signature Hack ----> https://vborg.vbsupport.ru/showthrea...hreadid=136153
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|