Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Multiple Signatures Hack. Details »
Multiple Signatures Hack.
Mod Version: 1.00, by hwtan (Member) hwtan is offline
Developer Last Online: Jun 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.0 Rating: (0 vote - 0 average) Installs: 16
Released: 03 Jan 2004 Last Update: Never Downloads: 9
Not Supported Is in Beta Stage  

Allows user to have multiple signatures.

The user can choose which signature to use for a post or private message or have a signature randomly displayed with the post.

Does not require additional queries for normal usage.

####################################################

Templates to modify (6):
modifysignature, editpost, newreply, newthread, showthread_quickreply, pm_newpm

Files to modify (2):
./profile.php, ./includes/functions_showthread.php

####################################################
# Revision History:
####################################################
04 Jan 2004, 0400hrs (GMT+8)
Initial Beta Release (for vB3 RC1)

04 Jan 2004, 0500hrs (GMT+8)
Fixed: When editing signature with WYSIWYG editor, changing the
selected signature does not update the WYSIWYG with the
signature.

04 Jan 2004, 1200hrs (GMT+8)
Fixed: Miscellanous typo in this document.
Fixed: Empty signature shown in post/PM after user removed signature.
Fixed: Disallow user from selecting an empty signature.
Fixed: Removed hardcoded 'No' with $vbphrase[no].
Changed:Editing a post that has a empty signature now automatically
remove the signature.
New: Now remember user's last edited signature.

04 Jan 2004, 1630hrs (GMT+8)
Fixed: Signature showing up only once per thread.
New: Random Signatures.
New: User may choose the default signature type (random/last edited)
for new posts and private messages.

05 Jan 2004, 1400hrs (GMT+8)
Changed:Order of installation to allow updates of default values.
Changed:Loop instead of if/else statements for new default signature.
Changed:Use $vbphrase[none] instead of $vbphrase[no].
Changed:Use of $vbphrase[sigopt_*] for template conditionals to allow
changes to be made to the option titles without having to
re-edit the templates.
New: Use of signature titles instead of numbers.

06 Jan 2004, 1130hrs (GMT+8)
Fixed: More typos:
$vbphrase[signopt_none] to $vbphrase[sigopt_none]
'Random Signature' in pm_newpm to $vbphrase[sigopt_random]
Changed:Renamed $vbphrase[none] --> $vbphrase[sig_none]
Changed:Renamed $vbphrase[sigrand] --> $vbphrase[sig_random]
Changed:User Profile Options to use a dropdown box
Changed:Comments to delimits code changes in changed php files.
New: Signature editor open with last edited signature.
New: Phrase $vbphrase[sigopt_first]
New: Now with option to allow user to use his/her first signature as
the default signature.
New: Tested with vB3 RC2

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	hack_multisign1.jpg
Views:	567
Size:	31.9 KB
ID:	15398   Click image for larger version

Name:	hack_multisign2.jpg
Views:	452
Size:	33.9 KB
ID:	15452   Click image for larger version

Name:	hack_multisign3.jpg
Views:	453
Size:	19.1 KB
ID:	15453   Click image for larger version

Name:	hack_multisign4.jpg
Views:	466
Size:	47.9 KB
ID:	15518  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #31  
Old 19 Jan 2004, 12:34
wolfe wolfe is offline
 
Join Date: Jan 2002
FIXED NOW nevermind but this mods instuctions are too unclear to follow they need rewriting out like the thing about the "N" and the insert fields with N in then and the only thing seperating them is .....
__________________
Thanks

Last edited by wolfe; 19 Jan 2004 at 12:38.
Reply With Quote
  #32  
Old 22 Jan 2004, 17:03
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
will add when the hacks out of beta and when i have my forum on Vb gold
Reply With Quote
  #33  
Old 09 Feb 2004, 18:35
spence2 spence2 is offline
 
Join Date: Jun 2002
Admin only as option, please!

Originally Posted by hwtan
1. A simple way to do is would be to use template conditionals to determine if the user is belongs to a group allowed to use the multi-signatures hack and if not so display the unmodified version of the template.

Something like:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Could you possibly include this as a standard option in your great hack? My users can "get by" with one signature...but multiple signatures for the admin would be very useful.

Sorry I'm not smart enough to figure this out without your help. :ermm:
Reply With Quote
  #34  
Old 11 Mar 2004, 14:49
SB2002's Avatar
SB2002 SB2002 is offline
 
Join Date: Dec 2002
Real name: Stu
i'd love to use this hack, but in the txt file i have (most recent on, downloaded today) the final phrase is missing a var name and it wont let me add it without a var name, if anyone has this installed on rc4, would you care to share with me how you got it up and running?
__________________
Online Gaming Community
Reply With Quote
  #35  
Old 27 Mar 2004, 19:40
Anub1s Anub1s is offline
 
Join Date: Jan 2004
0k i install it

just want to know how can i get 2+ signatures?
Reply With Quote
  #36  
Old 20 Apr 2004, 02:54
Vivi Ornitier's Avatar
Vivi Ornitier Vivi Ornitier is offline
 
Join Date: Nov 2001
ya what's the vartitle for the last phrase??
__________________
Square Ultima 2.0
The Ultimate Square Resource Center!
Reply With Quote
  #37  
Old 21 Apr 2004, 15:08
LeonHartHVA LeonHartHVA is offline
 
Join Date: Jul 2003
when u'll have final release
Reply With Quote
  #38  
Old 22 Apr 2004, 05:18
LeonHartHVA LeonHartHVA is offline
 
Join Date: Jul 2003
SQL-query :

UPDATE userfield SET fieldX = 'First Signature'

MySQL said:


#1054 - Unknown column 'fieldX' in 'field list'

How can I fix it
Reply With Quote
  #39  
Old 22 Apr 2004, 20:04
Vivi Ornitier's Avatar
Vivi Ornitier Vivi Ornitier is offline
 
Join Date: Nov 2001
can someone answer my question?
__________________
Square Ultima 2.0
The Ultimate Square Resource Center!
Reply With Quote
  #40  
Old 27 May 2004, 16:09
Sulaiti's Avatar
Sulaiti Sulaiti is offline
 
Join Date: Mar 2002
Location: Qatar
Fix :nervous:

Phrase Type: User tool (global)
Varname:
Text: Signature Title

will be :

Phrase Type: User tool (global)
Varname: signature_title
Text: Signature Title


for vBulletin Version 3.0.1

find :

/includes/functions_showthread.php


$post['signature'] = parse_bbcode($post['signature' . $post[showsignature], 'nonforum', $vboptions['allowsmilies']);


Change to :

$post['signature'] = parse_bbcode($post['signature'], 'nonforum', $vboptions['allowsmilies']);
__________________
Reply With Quote
  #41  
Old 27 May 2004, 19:48
weaver weaver is offline
 
Join Date: Mar 2004
Looks like a nice one but I'll wait til it's out of Beta. I think it's a great idea for a hack.
Reply With Quote
  #42  
Old 31 Jul 2004, 13:26
Sanity Sanity is offline
 
Join Date: Mar 2002
I got a parse error in functions_showthread. This piece of code:


Sry, didnt see the posting above :nervous:

Last edited by Sanity; 31 Jul 2004 at 13:56.
Reply With Quote
  #43  
Old 31 Jul 2004, 13:57
Sanity Sanity is offline
 
Join Date: Mar 2002
My fault, all errors fixed.

Last edited by Sanity; 31 Jul 2004 at 14:03.
Reply With Quote
  #44  
Old 02 Aug 2004, 15:03
weaver weaver is offline
 
Join Date: Mar 2004
great hack
Reply With Quote
  #45  
Old 02 Aug 2004, 15:12
weaver weaver is offline
 
Join Date: Mar 2004
Originally Posted by Sulaiti
Fix :nervous:

Phrase Type: User tool (global)
Varname:
Text: Signature Title

will be :

Phrase Type: User tool (global)
Varname: signature_title
Text: Signature Title


for vBulletin Version 3.0.1

find :

/includes/functions_showthread.php


$post['signature'] = parse_bbcode($post['signature' . $post[showsignature], 'nonforum', $vboptions['allowsmilies']);


Change to :

$post['signature'] = parse_bbcode($post['signature'], 'nonforum', $vboptions['allowsmilies']);
Thanks very much! Maybe the install instructions should be updated to reflect this? It would have saved me a lot of stress!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 06:12.

Layout Options | Width: Wide Color: