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
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Make an input text field to give the sigs a title an display the titel instead of sig 1, sig2, ..., sigX
I agree. I'd rather pick signatures based on a description rather than a number. Instead of picking 1,2,3,4, etc, I'd rather pick between default, sports, politics, humorous.
something i like to see is a drop down in user cp where a user can pick one to show if they dont pick. i know theres the use last edited bit but i mean let them use 1, 2 or 3 just incase they forget to pick.
because alot of my users are forgetting to pick and having no sign showing.
C.Birch, run this SQL command (assuming no table prefix):
PHP Code:
UPDATE userfield SET fieldX = 'Last Edited Signature' WHERE fieldX='';
This will reset users with no default setting to use the last edited signature in their profile, which by default, is the first signature.
Can we set this up to only allow certain usergroups or users to use it? I'd like to set it up so only the staff can use it (or the Admin).
Also, can we get a checkbox in the postbit to allow turning it off for that message (like it is now)? If it is checked, it will use whatever you have in the drop down showing or you can change it) and if the box is unchecked it will show no sig at all in that message.
Can we set this up to only allow certain usergroups or users to use it? I'd like to set it up so only the staff can use it (or the Admin).
Also, can we get a checkbox in the postbit to allow turning it off for that message (like it is now)? If it is checked, it will use whatever you have in the drop down showing or you can change it) and if the box is unchecked it will show no sig at all in that message.
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:
PHP Code:
<if condition="is_member_of($bbuserinfo[userid], $powerusergid))">
... modified version of the template follows
<else />
.. original template
</if>
2. There's a 'No Signature' option in the combo box. When that option is selected, no signature will be shown for the particular message.
<a href="https://vborg.vbsupport.ru/member.php?u=34866" target="_blank">krash123</a> vbmenu_register("postmenu_463642", true); would be really interesting