Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-02-2006, 01:43 AM
phonexpo phonexpo is offline
 
Join Date: Sep 2005
Location: Dublin
Posts: 231
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Default signature ?

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?
Reply With Quote
  #2  
Old 02-02-2006, 02:59 PM
Iain M's Avatar
Iain M Iain M is offline
 
Join Date: Jul 2005
Location: Glasgow, Scotland
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

a simple template edit

EDIT Template: postbit/postbit_legacy

FIND:
Code:
		<if condition="$post['signature']">
		<!-- sig -->
			<div>
				__________________<br />
				$post[signature]
			</div>
		<!-- / sig -->
		</if>
REPLACE WITH:
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>
replace INSERT DEFAULT SIG HERE with what you want shown
Reply With Quote
  #3  
Old 02-02-2006, 03:14 PM
phonexpo phonexpo is offline
 
Join Date: Sep 2005
Location: Dublin
Posts: 231
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
But I get this - http://phonexpo.net/showpost.php?p=8937&postcount=204

Is my part of the code wrong or is it a setting I need to change.

TIA :ermm:
Reply With Quote
  #4  
Old 02-02-2006, 03:23 PM
Iain M's Avatar
Iain M Iain M is offline
 
Join Date: Jul 2005
Location: Glasgow, Scotland
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

np

replace
Code:
<img>http://phonexpo.net/images/banners_logos/phonexpo_use_bar.jpg</img>
with
Code:
<img src="http://phonexpo.net/images/banners_logos/phonexpo_use_bar.jpg" alt="" />
and it should work
Reply With Quote
  #5  
Old 02-07-2006, 09:17 AM
phonexpo phonexpo is offline
 
Join Date: Sep 2005
Location: Dublin
Posts: 231
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry CP1, I just seen your reply now YES thank you that worked. Thank you very much for the code.

Patrick
Reply With Quote
  #6  
Old 01-01-2007, 04:15 PM
AllenMead AllenMead is offline
 
Join Date: Jul 2004
Location: East Sussex, England
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 01-11-2007, 01:13 AM
Mr_Snob Mr_Snob is offline
 
Join Date: Jan 2004
Location: T?RKIYE/BOLU
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Advanced Default Signature Hack ----> https://vborg.vbsupport.ru/showthrea...hreadid=136153
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 08:23 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.03773 seconds
  • Memory Usage 2,218KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete