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

Reply
 
Thread Tools
Default Signature Hack v1.0 Details »»
Default Signature Hack v1.0
Version: 1.00, by Mr_Snob Mr_Snob is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.4 Rating:
Released: 01-10-2007 Last Update: 01-10-2007 Installs: 62
Uses Plugins Template Edits
 
No support by the author.

what does it?: this hack shows you in User Control Panel, Memberinfo and in Showthread a selected Default Signature

Demo: None

Screens: Attached

VOTE FOR HACK OF THE MONTH
IF YOU LIKE MY HACK, PLEASE CLICK INSTALL

Installation: AdminCP => Plugin System => Click Manage Products => Click [Add/Import Product] => Under Import Product => Select the "product-default_signature" file => Press Import..

Show your support click "Mark As Installed", nominate for MOTM, rate this modification, and/or donate.

3 template edits

now open MEMBERINFO template and search this code

HTML Code:
<td class="alt1" title="$vbphrase[signature]">$userinfo[signature]</td>
</tr>
</table>
after add this code

HTML Code:
<else />
$default_signature
click save and open postbit_legacy template and search this code

HTML Code:
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
replace with this code

HTML Code:
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
<else />
$default_signature
</if>
click save and open USERCP template and search this code

HTML Code:
<!-- ############## SUBSCRIBED THREADS ##############  -->
and add abow this code

HTML Code:
<if condition="$show['signature']">
$usercpsig
<else />
$default_signature
</if>
click save.. you are done

IF YOU LIKE MY HACK, PLEASE CLICK INSTALL

Supporters / CoAuthors

Show Your Support

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

Comments
  #22  
Old 03-05-2008, 11:54 PM
periphrastic periphrastic is offline
 
Join Date: Jul 2007
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so, this completely replaces the signature, or just adds onto the user's own unique signature?
Reply With Quote
  #23  
Old 05-27-2008, 04:34 PM
King Justice King Justice is offline
 
Join Date: Apr 2006
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by periphrastic View Post
so, this completely replaces the signature, or just adds onto the user's own unique signature?
Replaces if there are no signature..
Reply With Quote
  #24  
Old 07-03-2008, 07:32 PM
dicb dicb is offline
 
Join Date: Mar 2006
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MrPHD View Post
Hi, Please in here the problem cause you. regards
Sorry for the delayed reply. I actually only came back here to get this mod for another forum that I have.

I ended up fixing this problem. What I was trying to do is add an ad in the sig whenever users hadn't created a signature. What I did was change the banner rotation invocation code to an iframe, and that solved the problem completely.
Reply With Quote
  #25  
Old 07-16-2008, 04:02 AM
King Justice King Justice is offline
 
Join Date: Apr 2006
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This modification works with vBulletin 3.7.2 Patch Level 1.
The MEMBERINFO template edit DOES NOT work because the coding has changed but is NOT need to be edited for this modification to work...I'm sure the memberinfo_aboutme is this template's replacement but I don't know what to edit/update.
Reply With Quote
  #26  
Old 07-30-2008, 12:56 AM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by King Justice View Post
This modification works with vBulletin 3.7.2 Patch Level 1.
The MEMBERINFO template edit DOES NOT work because the coding has changed but is NOT need to be edited for this modification to work...I'm sure the memberinfo_aboutme is this template's replacement but I don't know what to edit/update.

i got it to work here

fined:

Quote:
</table>

<!-- link bar -->
and above add this:
Quote:
<!-- default signature -->
<else />
$default_signature
<!-- default signature -->

it will look like this;
Quote:
<!-- default signature -->
<else />
$default_signature
<!-- default signature -->
</table>

<!-- link bar -->
that worked for me:up:
Reply With Quote
  #27  
Old 02-02-2009, 07:44 PM
King Justice King Justice is offline
 
Join Date: Apr 2006
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still working in vB 3.8.1 flawlessly. I had to update my templates so I basically had to re-install this hack because I accidentally overwrote the template edits for this hack to work.

Follow the above instructions in the first post. You do NOT need to edit the MEMBERINFO template.

Edit both postbit and postbit_legacy templates with the instructions above for postbit_legacy. Also follow the instructions for the USERCP templates...

Then set the default signature in vB settings > Default signature and you'll see your default sig go live.

Edit: I nominate this hack for MOTM.
Reply With Quote
  #28  
Old 07-30-2009, 06:19 PM
lalelu lalelu is offline
 
Join Date: Jul 2009
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

can anyone tell me if this one works also with threads of deleted users/guests?

Thanks,
lalelu
Reply With Quote
  #29  
Old 09-14-2009, 07:14 PM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Auto Populate Signature With Custom Profile Fields

Question is there anyway to use this hack to auto populate the default signature with profile fields that new members have to enter during registration?

I have a number of custom profile fields that are required during registration. For all new members I type in for them their signatures.

I need the following info to be auto added into all new members signatures:

{Username}
{Membership Category} - {Grade Level} {School Name}
{City}, {State} {Country}

Each of the above bracketed items is a custom field except: {Username}

Anyone know how to achieve this?

NOTE: Since HTML is supported in the field where we specify the default signature... is there a html code way to call each member's custom fields into their signature using this mod? I am in dire need to have this on my site.
Reply With Quote
  #30  
Old 06-01-2010, 09:15 PM
salafmisr.net's Avatar
salafmisr.net salafmisr.net is offline
 
Join Date: Apr 2010
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

plz upgrade this nice hack to 3.8.5 , it's very useful
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 12:09 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.04621 seconds
  • Memory Usage 2,307KB
  • 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_html
  • (6)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