![]() |
Multiple Signatures Hack.
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 |
thanks for the hack :D I might use it not sure yet
|
Is this because someone asked for it? I saw a thread thats all.
Nice work mate ill be sure to install this soon as it is very handy. Congratulations and thanks. |
Nice *install
|
very nice...could you modify this some more though, and make a random sig option?
|
Wow this looks great :)!
|
Nice Hack, I think I will install this!
|
Thanks for the comments :)
MindTrix: Yes, this was written because people asked for it in the Modification requests forum. idwf: Modification in what way? Random sig is not practical at the moment. |
Couldn't you just have an option which says Random and use the MySQL rand function?
|
useing quick reply now sign shows rest works fine even if theres a few $'s missing in the install log ;)
|
All times are GMT. The time now is 11:09 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|