Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: SMFHacks.com Team on August 04, 2006, 08:26:51 PM

Title: Signature Option
Post by: SMFHacks.com Team on August 04, 2006, 08:26:51 PM
Link to the mod (https://custom.simplemachines.org/index.php?mod=409)

Version 2.0
+Updated for SMF 2.1.x

Version 1.1
Added quick reply show signature option.


Adds a Signature Option to the Post.template.php of the default theme. Alters the message database table and adds a field to show the signature or not for a message.
Title: Re: Signature Option
Post by: desistyle on August 04, 2006, 09:36:49 PM
Wow nice mod :x
Title: Re: Signature Option
Post by: qtime on August 05, 2006, 07:17:32 AM
Great mod, but some feedback:
I think it will be a good to set the Show Signature standart to on. Is it possible?

And after Show Signature needs a . Like Show Signature.
Go to modification.english and search for
//Begin Sig Post Strings
$txt['show_sig'] = 'Show Signature';

and add a . after Signature

And it would be even better, if there is an option to use more signatures, which a poster can choose from the post template.

Anyway, thank you very much!
Title: Re: Signature Option
Post by: vbgamer45 on August 05, 2006, 08:25:52 AM
You can set it to be checked by default. If you go to Edit Features and Options then Layout options near the bottom there is an option to have show Signature Checked by default.
Title: Re: Signature Option
Post by: qtime on August 05, 2006, 08:30:13 AM
thx for your fast answer, I installed it on my forum and get a compliment like:
Nice; tweaking to perfection 
Title: Re: Signature Option
Post by: winrules on August 08, 2006, 10:10:53 AM
Could you make it a user setting in everyone's profile wether to have it checked by default of not?
Title: Re: Signature Option
Post by: aaho on August 08, 2006, 07:34:55 PM
is it possbile to add Image size restrication?
Title: Re: Signature Option
Post by: vbgamer45 on August 08, 2006, 08:15:24 PM
That would be a different mod and will be in the version after SMF 1.1
Title: Re: Signature Option
Post by: aaho on August 08, 2006, 09:18:57 PM
Quote from: vbgamer45 on August 08, 2006, 08:15:24 PM
That would be a different mod and will be in the version after SMF 1.1

Do you have an idea when the next version will be released?
Title: Re: Signature Option
Post by: vbgamer45 on August 08, 2006, 09:27:02 PM
No idea
Title: Re: Signature Option
Post by: Dannii on August 08, 2006, 09:30:18 PM
2013!

Probably more like a public beta a couple of months after 1.1 Final is released.
Title: Re: Signature Option
Post by: PrizeLive.com on August 11, 2006, 01:55:46 PM
thanks for the mod.. getting ready to test it out1
Title: Re: Signature Option
Post by: PrizeLive.com on August 11, 2006, 02:12:05 PM
ok i tested and set "show signature" as default..

however if i post and uncheck it... my signature is still shown on that post
Title: Re: Signature Option
Post by: vbgamer45 on August 11, 2006, 02:17:39 PM
Using a custom theme? Make sure the database tables were altered
Title: Re: Signature Option
Post by: PrizeLive.com on August 11, 2006, 02:23:11 PM
Quote from: vbgamer45 on August 11, 2006, 02:17:39 PM
Using a custom theme? Make sure the database tables were altered

no im not

im using the default theme...

yup.. table messages was altered...

Title: Re: Signature Option
Post by: S1L1C0N on September 01, 2006, 02:38:35 PM
I'm using a custom theme and my sig keeps showing, what should I do next?

BTW thank you very much for this mod, it was badly needed!

e
Title: Re: Signature Option
Post by: vbgamer45 on September 01, 2006, 03:16:50 PM
See the following post on  "How to make mods work with themes?" for information on how to apply mod theme changes to custom themes.
http://www.simplemachines.org/community/index.php?topic=34526.0
Title: Re: Signature Option
Post by: EkSeS on September 10, 2006, 05:04:49 PM
Hi, ... some feedback  :)

I'm using costum theme but overwritten on the default theme.
I can show and change the signature option ... it works by first thread or answers.  * nice.

But there is a problem by Quick reply and modify threads.

Is that a problem only by me or at this hack ?
Title: Re: Signature Option
Post by: vbgamer45 on September 10, 2006, 07:34:37 PM
Not added to quick reply or modify threads.
Title: Re: Signature Option
Post by: ufuk.exe on September 11, 2006, 12:18:46 AM
Quote from: vbgamer45 on September 10, 2006, 07:34:37 PM
Not added to quick reply or modify threads.


Great work, and I believe this is a feature should have been in the full release of SMF.
I wanted to point out the same problem where "Fast/Quick Reply" always goes without signatures. Could admin set it manually and overwrite this?
Such as "No Signatures when posted from quick reply" [x]    ? in admin server panel?

Thank You
Title: Re: Signature Option
Post by: Natz on October 20, 2006, 04:26:22 AM
Hi ive recently reinstalled this mod (i uninstalled a while ago because it wasnt working) and when i tried to install it, it had a database error of duplicate file (Duplicate column name 'showSIG')  anyway i followed instructions from this thread http://www.simplemachines.org/community/index.php?topic=3015.60 and i was able to install the mod.

My problem is the mod still wont work, the box is there to be checked but when left unchecked it is still showing the signature. Can anyone help??

Thanks
Nat
Title: Re: Signature Option
Post by: vbgamer45 on November 14, 2006, 10:11:50 AM
Added option to show Signature in quick reply which allows you to toggle the signature shown or not.
Title: Re: Signature Option
Post by: VicViper on November 16, 2006, 09:47:50 AM
WHERE do I enable the show signature option by default? I can't find it anywhere.
Title: Re: Signature Option
Post by: vbgamer45 on November 16, 2006, 10:36:25 AM
It's under Edit Features and Options -> Layout and Options  I think the last checkbox on that page
Title: Re: Signature Option
Post by: VicViper on November 16, 2006, 03:03:40 PM
Quote from: vbgamer45 on November 16, 2006, 10:36:25 AM
It's under Edit Features and Options -> Layout and Options  I think the last checkbox on that page

There is no such option. And checking the installation instructions for the mod, the required template files for these options are not even being touched. Are you sure this mod is compatible with 1.1 RC3?
Title: Re: Signature Option
Post by: vbgamer45 on November 16, 2006, 03:59:25 PM
Yes I am sure it is compitable since I run it on rc3. It does not need to touch templates files. It touches ModSettings.php in the sources folder.
Title: Re: Signature Option
Post by: Krysia on November 29, 2006, 01:30:03 PM
Just wondering... Any plans for an upgrade package?
Title: Re: Signature Option
Post by: vbgamer45 on November 29, 2006, 01:34:56 PM
Upgrade for what? When SMF 1.1 comes up i will just adjust the install file.
Title: Re: Signature Option
Post by: Krysia on November 29, 2006, 02:19:23 PM
Upgrade from the previous installation...

I have to do it by hand, as the package install thing barked at me when I tried to install the new (1.1) version, and the uninstall barked at me when I tried to uninstall 1.0 so that I could install 1.1.

LOL.
Title: Re: Signature Option
Post by: vbgamer45 on November 29, 2006, 02:27:32 PM
I thought I updated the mod on the modsite so it will not fail if the table has been altered already.
Title: Re: Signature Option
Post by: Krysia on November 29, 2006, 05:25:55 PM
QuoteError in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
When I try to uninstall it, or when I try to install the other.

So I guess it's a manual install for me. Darn.

Oh, well. At least I have the option. I absolutely LOVE this mod --- it's a lifesaver. :)
Title: Re: Signature Option
Post by: Laibeus Lord on December 09, 2006, 07:17:40 AM
If you want to put the "Signature Option" checkbox on the left side of the "Announce Topic" to make it look more organized, just counter-check your current installation with the code below.

Affected file:  Post.template.php (sample below is for Default Theme)

// Display the check boxes for all the standard options - if they are available to the user!
echo '
<tr>
<td></td>
<td>
<div id="postMoreOptions">
<table width="80%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="smalltext">', $context['can_notify'] ? '<input type="hidden" name="notify" value="0" /><label for="check_notify"><input type="checkbox" name="notify" id="check_notify"' . ($context['notify'] || !empty($options['auto_notify']) ? ' checked="checked"' : '') . ' value="1" class="check" /> ' . $txt['smf14'] . '</label>' : '', '</td>
<td class="smalltext">', $context['can_lock'] ? '<input type="hidden" name="lock" value="0" /><label for="check_lock"><input type="checkbox" name="lock" id="check_lock"' . ($context['locked'] ? ' checked="checked"' : '') . ' value="1" class="check" /> ' . $txt['smf15'] . '</label>' : '', '</td>
</tr>
<tr>
<td class="smalltext"><label for="check_back"><input type="checkbox" name="goback" id="check_back"' . ($context['back_to_topic'] || !empty($options['return_to_post']) ? ' checked="checked"' : '') . ' value="1" class="check" /> ' . $txt['back_to_topic'] . '</label></td>
<td class="smalltext">', $context['can_sticky'] ? '<input type="hidden" name="sticky" value="0" /><label for="check_sticky"><input type="checkbox" name="sticky" id="check_sticky"' . ($context['sticky'] ? ' checked="checked"' : '') . ' value="1" class="check" /> ' . $txt['sticky_after2'] . '</label>' : '', '</td>
</tr>
<tr>
<td class="smalltext"><label for="check_smileys"><input type="checkbox" name="ns" id="check_smileys"', $context['use_smileys'] ? '' : ' checked="checked"', ' value="NS" class="check" /> ', $txt[277], '</label></td>', '
<td class="smalltext">', $context['can_move'] ? '<input type="hidden" name="move" value="0" /><label for="check_move"><input type="checkbox" name="move" id="check_move" value="1" class="check" /> ' . $txt['move_after2'] . '</label>' : '', '</td>
</tr>
<tr>
<!--- Signature Option --->
<td class="smalltext"><label for="check_sig"><input type="checkbox" name="showsig" id="check_sig"' . (!empty($modSettings['sig_topic']) ? ' checked="checked"' : '') . ' value="1" class="check" /> ' . $txt['show_sig'] . '</label></td>
<!--- Signature Option --->
', $context['can_announce'] && $context['is_first_post'] ? '
<td class="smalltext"><label for="check_announce"><input type="checkbox" name="announce_topic" id="check_announce" value="1" class="check" /> ' . $txt['announce_topic'] . '</label></td>
' : '', '
</tr>
</table>
</div>
</td>
</tr>';



Title: Re: Signature Option
Post by: Krysia on January 24, 2007, 11:20:40 AM
Have I mentioned lately how much I love this mod?

IMO, it's essential, and should be incorporated into SMF by default.

:)
Title: Re: Signature Option
Post by: Tick on February 03, 2007, 09:39:11 PM
I installed this mod and cannot get it to show up.   Is there something I need to do to make it show up? I am using 1.1.1  with the YaBB SE theme.  Please help
Title: Re: Signature Option
Post by: vbgamer45 on February 03, 2007, 09:42:44 PM
If you are not using the default them then you will need to install the mod manually.
Title: Re: Signature Option
Post by: Tick on February 03, 2007, 09:55:10 PM
Please excuse my ignorance but how do you do that.  all of the mods i have installed I have not had to do that
Title: Re: Signature Option
Post by: vbgamer45 on February 03, 2007, 10:16:24 PM
Read over this
http://docs.simplemachines.org/index.php?topic=402
Title: Re: Signature Option
Post by: Tick on February 03, 2007, 11:18:10 PM
It shows up now but when I uncheck it it still shows my signature? I Have looked over everything  but can not figure this out.  Help
Title: Re: Signature Option
Post by: Tick on February 03, 2007, 11:46:47 PM
any idea why this is?
Title: Re: Signature Option
Post by: vbgamer45 on February 03, 2007, 11:51:21 PM
Make sure you did all the mod changes when it was installed.
Title: Re: Signature Option
Post by: Tick on February 04, 2007, 12:04:47 AM
thanks friend.  It definitely is working now .  thanks again
Title: Re: Signature Option
Post by: kappayaki on February 09, 2007, 11:24:45 AM
Hi, i've got a problem with this mod: i managed to install it correctly, and it works if i make a new post (if i deselect the "Show signature" checkbox, the signature won't show), but if i try to edit a post which already has a signature, deselecting the option and saving, the post keeps the signature no matter what, and if i retry to modify it the checkbox is back ticked...

I'm using the default theme, the mod installation went ok (no errors), and SMF's version is 1.1.1...

Any idea on what i can doto resolve this "bug"?
Title: Re: Signature Option
Post by: Kays on February 20, 2007, 07:08:12 PM
Hi, I like this mod also, but the fact that you can't edit your selection is a major drawback. Since I do wish to use it I decided to look into it getting this to work. In the end there weren't too many changes required to get it fully functional.

The only change to the mod it's self is with the check box. Since I like Laibeus Lord's idea of placing that next to the announcement checkbox.

in Post.template.php find and delete this:


<tr>
<td class="smalltext" colspan="2"><label for="check_sig"><input type="checkbox" name="showsig" id="check_sig"' . (!empty($modSettings['sig_topic']) ? ' checked="checked"' : '') . ' value="1" class="check" /> ' . $txt['show_sig'] . '</label></td>
</tr>


Right under that find:


<tr>
<td class="smalltext"><label for="check_smileys"><input type="checkbox" name="ns" id="check_smileys"', $context['use_smileys'] ? '' : ' checked="checked"', ' value="NS" class="check" /> ', $txt[277], '</label></td>', '
<td class="smalltext">', $context['can_move'] ? '<input type="hidden" name="move" value="0" /><label for="check_move"><input type="checkbox" name="move" id="check_move" value="1" class="check" /> ' . $txt['move_after2'] . '</label>' : '', '</td>
</tr>', $context['can_announce'] && $context['is_first_post'] ? '
<tr>
<td class="smalltext"><label for="check_announce"><input type="checkbox" name="announce_topic" id="check_announce" value="1" class="check" /> ' . $txt['announce_topic'] . '</label></td>
<td class="smalltext"></td>
</tr>' : '', '


And replace with:

<tr>
<td class="smalltext"><label for="check_smileys"><input type="checkbox" name="ns" id="check_smileys"', $context['use_smileys'] ? '' : ' checked="checked"', ' value="NS" class="check" /> ', $txt[277], '</label></td>', '
<td class="smalltext">', $context['can_move'] ? '<input type="hidden" name="move" value="0" /><label for="check_move"><input type="checkbox" name="move" id="check_move" value="1" class="check" /> ' . $txt['move_after2'] . '</label>' : '', '</td>
</tr>
<tr>
<td class="smalltext"><label for="check_sig"><input type="checkbox" name="showsig" id="check_sig"' . (!empty($context['show_sig']) ? ' checked="checked"' : '') . ' value="1" class="check" />' . $txt['show_sig'] . '</label></td>
<td class="smalltext">', $context['can_announce'] && $context['is_first_post'] ? '<label for="check_announce"><input type="checkbox" name="announce_topic" id="check_announce" value="1" class="check" /> ' . $txt['announce_topic'] . '</label>' : '', '</td>
</tr>


The rest is just additions which need to be made

In Sources/Post.php

find:


// Get the existing message.
$request = db_query("
SELECT
m.ID_MEMBER, m.modifiedTime, m.smileysEnabled, m.body,


Replace with:


// Get the existing message.
$request = db_query("
SELECT
m.showSIG, m.ID_MEMBER, m.modifiedTime, m.smileysEnabled, m.body,



Find:


// Check the boxes that should be checked.
$context['use_smileys'] = !empty($row['smileysEnabled']);


After it add:


$context['show_sig'] = !empty($row['showSIG']);


Find:


// By default....
$context['use_smileys'] = true;


After it add:


$context['show_sig'] = $modSettings['sig_topic'];


in Sources/Subs-Post.php

Find:


if (isset($msgOptions['smileys_enabled']))
$messages_columns[] = "smileysEnabled = " . (empty($msgOptions['smileys_enabled']) ? '0' : '1');


After it add:


$messages_columns[] = "showSIG = '$msgOptions[sig_enabled]'";


I hope I didn't miss anything.  :o

Just a couple of notes for people installing this mod.

If you are using the signature options mod, you will get an error in Display.template.php. This is because that mod changes the same line. you will need to edit that manually so you end up with this:

if (!empty($message['member']['signature']) && empty($options['show_no_signatures']) && $message['showSIG'] == 1 && $context['signature_enabled'])


For people using the Arcade with the stats in sig mod. On installing this mod you probably won't get an error for Dispaly.template.php, but the mod won't work. This is because that line is commented out. What you need to do is to open Sources/ArcadeSigStats.php, find and edit that line in two spots. Use the above code if you have the Signature options mod installed or the following if you don't.

if (!empty($message['member']['signature']) && empty($options['show_no_signatures']) && $message['showSIG'] == 1)



I hope that this of some help.
Kays :)
Title: Re: Signature Option
Post by: Kays on February 22, 2007, 08:52:46 PM
It looks like I did miss something.

If you unchecked the Show Sigs check box in quick reply, it didn't carry over if you went to preview your post.

To fix that in Post.php find:

// Set up the checkboxes.
$context['notify'] = !empty($_REQUEST['notify']);


and under it add:

$context['show_sig'] = $_REQUEST['showsig'];
Title: Re: Signature Option
Post by: ragots on April 07, 2007, 10:55:54 AM
Kays,

I followed your instructions, but even when I have the Show Signature box checked, signature is not showing.
I had to revert back to the Signature Option Mod which works fine, except for the fact that one cannot change the signature option by modifying the post.  
Title: Re: Signature Option
Post by: Krysia on October 05, 2007, 11:28:06 PM
vbgamer45,

Would you be willing (and able?) to adapt this mod to also work for avatars, so that a poster may decide to turn their avatar on or off per post?

:)
Krysia
Title: Re: Signature Option
Post by: vbgamer45 on October 05, 2007, 11:41:15 PM
Add it to the mod tracker
http://www.smfhacks.com/index.php?action=modtracker
Title: Re: Signature Option
Post by: Krysia on October 05, 2007, 11:58:21 PM
Quote from: vbgamer45 on October 05, 2007, 11:41:15 PM
Add it to the mod tracker
http://www.smfhacks.com/index.php?action=modtracker
Do you have to be a member to do so?
Title: Re: Signature Option
Post by: Krysia on October 05, 2007, 11:59:26 PM
Der. Nevermind. I just saw the text that said you must be a member.

It's been a long day. LOL...
Title: Re: Signature Option
Post by: Krysia on October 06, 2007, 12:09:32 AM
Posted in the mod tracker request.

Thank you. :)
Title: Re: Signature Option
Post by: Trashcan on February 13, 2008, 08:53:08 AM
ccc
Title: Re: Signature Option
Post by: GhostRose on May 08, 2008, 04:00:16 PM
I see this mod was updated to reflect 1.1.5, however when I try to install it, the Display.template.php fails the test.  It seems it cannot find:

<textarea cols="75" rows="7" style="width: 95%; height: 100px;" name="message" tabindex="1"></textarea>

in the file.  I cannot find it either.  Any thoughts on what the fix might be?

Nice mod, BTW :)

Thanks!
Title: Re: Signature Option
Post by: vbgamer45 on May 09, 2008, 12:09:56 AM
Quote from: GhostRose on May 08, 2008, 04:00:16 PM
I see this mod was updated to reflect 1.1.5, however when I try to install it, the Display.template.php fails the test.  It seems it cannot find:

<textarea cols="75" rows="7" style="width: 95%; height: 100px;" name="message" tabindex="1"></textarea>

in the file.  I cannot find it either.  Any thoughts on what the fix might be?

Nice mod, BTW :)

Thanks!
I checked the latest SMF 1.1.5 Display.template and looks like it would pass all the edits from the mod.

Do you have any others applied to your site that would affect it?
Title: Re: Signature Option
Post by: GhostRose on May 12, 2008, 05:59:44 PM
Quote from: vbgamer45 on May 09, 2008, 12:09:56 AM
Quote from: GhostRose on May 08, 2008, 04:00:16 PM
I see this mod was updated to reflect 1.1.5, however when I try to install it, the Display.template.php fails the test.  It seems it cannot find:

<textarea cols="75" rows="7" style="width: 95%; height: 100px;" name="message" tabindex="1"></textarea>

in the file.  I cannot find it either.  Any thoughts on what the fix might be?

Nice mod, BTW :)

Thanks!
I checked the latest SMF 1.1.5 Display.template and looks like it would pass all the edits from the mod.

Do you have any others applied to your site that would affect it?

Erg, yeah, it seems the Enhanced Quick Reply 2.0 ate the code that Sig Option was looking for in Display.template.  Anyone have any luck getting this mod working with the Quick Reply mod installed?  Any insight would be appreciated. :)

Thanks :)
Title: Re: Signature Option
Post by: vbgamer45 on May 12, 2008, 08:03:00 PM
You would need to install the mod then make the changes manually to that textarea
Title: Re: Signature Option
Post by: Citizen Erased on April 24, 2009, 09:47:34 PM
Quote from: kappayaki on February 09, 2007, 11:24:45 AM
Hi, i've got a problem with this mod: i managed to install it correctly, and it works if i make a new post (if i deselect the "Show signature" checkbox, the signature won't show), but if i try to edit a post which already has a signature, deselecting the option and saving, the post keeps the signature no matter what, and if i retry to modify it the checkbox is back ticked...

I'm using the default theme, the mod installation went ok (no errors), and SMF's version is 1.1.1...

Any idea on what i can doto resolve this "bug"?

Well... Two years and no one knows the answer *sigh*.

I kinda fixed it in my forum.

Find this (in Sources/Subs-Post.php):
// Change the post.
db_query("
UPDATE {$db_prefix}messages
SET " . implode(', ', $messages_columns) . "
WHERE ID_MSG = $msgOptions[id]
LIMIT 1", __FILE__, __LINE__);
if(isset($_POST['changeposterid']) && $context['user']['is_admin'])
{


And add before it:
$messages_columns[] = "showSIG = '$msgOptions[sig_enabled]'";

It's not a perfect fix but allows you to hide or show the signature when you edit the post. The problem is that when you edit a post without signature, the signature will appear again unless you hide it again.

I hope this could help other with the same problem as me and kappayaki.

Bye.
Title: Re: Signature Option
Post by: Eclipse16V on December 24, 2009, 05:01:43 PM
Update for SMF 2.0 RC2 ???
Title: Re: Signature Option
Post by: vbgamer45 on December 24, 2009, 09:22:42 PM
Maybe requires some work will see
Title: Re: Signature Option now Supports SMF 2.0 RC2!
Post by: vbgamer45 on December 25, 2009, 04:12:17 PM
Updated now supports SMF 2.0 RC2!
Title: Re: Signature Option now Supports SMF 2.0 RC2!
Post by: Eclipse16V on December 25, 2009, 04:39:41 PM
Thanks  ;)
Title: Re: Signature Option now Supports SMF 2.0 RC2!
Post by: Nick Whetstone on December 28, 2009, 05:23:08 PM
Great mod.

I found a small bug though. For some reason, when you (or a Mod/Admin) modify the message, they can't switch the option. Would there be any way to change this?

Thanks.
Title: Re: Signature Option now Supports SMF 2.0 RC2!
Post by: Kays on December 28, 2009, 05:51:45 PM
I don't quite understand.

Do you want to hide the option when an admin or mod is editing?
Title: Re: Signature Option now Supports SMF 2.0 RC2!
Post by: Nick Whetstone on December 28, 2009, 05:54:14 PM
Sorry I didn't make it clear enough.

Basically, if you originally set the option to hide, then you want to show, for some reason it stays hidden, regardless of whether you click or not.
Title: Re: Signature Option now Supports SMF 2.0 RC2!
Post by: Kays on December 28, 2009, 06:03:45 PM
Sorry, I was thinking it was another mod.
Title: Re: Signature Option now Supports SMF 2.0 RC2!
Post by: David Starr on January 09, 2010, 10:46:55 AM
I installed this mod with no problems, and it works, but the text explaining the check box doesn't appear:
(http://i231.photobucket.com/albums/ee37/david_starr/hidesig.jpg)

I am running this mod on SMF 1.1.11 and using the default theme.
Help, please? :)
Title: Re: Signature Option now Supports SMF 2.0 RC2!
Post by: vbgamer45 on January 09, 2010, 10:51:20 AM
Check under Server Settings and make sure your language is just set to "English"
Title: Re: Signature Option now Supports SMF 2.0 RC2!
Post by: David Starr on January 09, 2010, 05:51:58 PM
That did it, thanks. :)
For some reason it was set to English -Utf8.
I'm new to SMF and still learning my way around, so appreciate all the help I've gotten here on this forum.
Title: Re: Signature Option now Supports SMF 2.0 RC2!
Post by: vbgamer45 on January 09, 2010, 06:01:57 PM
Glad you got it working!
Title: Re: Signature Option now Supports SMF 2.0 RC3!
Post by: vbgamer45 on March 08, 2010, 07:15:46 PM
Updated the mod to support SMF 2.0 RC3!
Title: Re: Signature Option now Supports SMF 2.0 RC3!
Post by: sbt on March 16, 2010, 09:42:51 AM
2 questions please. Did get this mod installed and after manually editing a file or two it does work. We also used one of the edits posted to get it to work with modifying posts, Thank You for that edit Citizen Erased.

Our forum is set to default sig on, but
The questions are:

1. Is there an edit to add as default on for quick reply please?
We can get the sig to add if the quick reply is previewed first then posted, but can it be added if only posted from quick reply?

2. Can this be modified so that certain sections of the forum the sig is default off? Like in sections where other tags are posted we do not want a sig to be used.

Thank You for any replies.
Title: Re: Signature Option now Supports SMF 2.0 RC3!
Post by: vbgamer45 on March 16, 2010, 10:12:37 AM
1. Not currently
2. Would be possible but would require code to do so.
Title: Re: Signature Option now Supports SMF 2.0 RC3!
Post by: sbt on March 16, 2010, 10:36:47 AM
Is there a code for it or would it have to be written just for that please?
Title: Re: Signature Option now Supports SMF 2.0 RC3!
Post by: vbgamer45 on March 16, 2010, 11:10:49 AM
It would need to be written.
Title: Re: Signature Option now Supports SMF 2.0 RC3!
Post by: sbt on March 16, 2010, 12:52:49 PM
Okay, Thank You. We will just use as is. Great mod.
Title: Re: Signature Option now Supports SMF 2.0 RC3!
Post by: sbt on April 04, 2010, 10:53:11 AM
We have this installed on smf 1.1.11 Simple Portal 2.3.1. We are using the default theme that has been recolored.

All is well except we keep getting pages of this error.

http://forum.tutstop.com/index.php?action=jsmodify;topic=424;sesc;xml                                                                                                                       
8: Undefined index:  sig_enabled
File: /home/XXXX/XXXX/tutstop_forum/Sources/Subs-Post.php
Line: 1914


How can this be repaired please so the error stops?
Have attached the Subs-Post.php
Title: Re: Signature Option now Supports SMF 2.0 RC3!
Post by: vbgamer45 on April 04, 2010, 02:31:16 PM
Quote from: sbt on April 04, 2010, 10:53:11 AM
We have this installed on smf 1.1.11 Simple Portal 2.3.1. We are using the default theme that has been recolored.

All is well except we keep getting pages of this error.

http://forum.tutstop.com/index.php?action=jsmodify;topic=424;sesc;xml                                                                                                                       
8: Undefined index:  sig_enabled
File: /home/XXXX/XXXX/tutstop_forum/Sources/Subs-Post.php
Line: 1914


How can this be repaired please so the error stops?
Have attached the Subs-Post.php

Posted a new update that should fix that error
Title: Re: Signature Option now Supports SMF 2.0 RC3!
Post by: sbt on April 04, 2010, 03:49:27 PM
So we download and install the new package? Thank You.
Title: Re: Signature Option now Supports SMF 2.0 RC3!
Post by: vbgamer45 on April 04, 2010, 03:49:52 PM
Yes that would fix it.
Title: Re: Signature Option now Supports SMF 2.0 RC3!
Post by: sbt on April 04, 2010, 03:55:41 PM
Thank You.
Title: Re: Signature Option now Supports SMF 2.0 RC3!
Post by: sbt on April 04, 2010, 04:15:15 PM
We now have two options of show signature in additional options box, lol.It errored on uninstall and errored on reinstall.So went througfh all the files it modified and removed all the duplicates, but we are getting this same error, only for a different filePost.english.php (main sub template - eval?).

Uninstalled, edited all files to remove it, reinstalled new, edited files it failed and all is correct again with no errors.
Thank You for the replies and for the wonderful mods.
Title: Re: Signature Option now Supports SMF 2.0 RC3!
Post by: vbgamer45 on April 04, 2010, 11:12:24 PM
Glad you got it working
Title: Re: Signature Option now Supports SMF 2.0 RC3!
Post by: sbt on June 24, 2010, 02:53:17 PM
Suddenly we are getting errors, in my name, today we got forum ready to reopen, it is RC3, we have themes we are using, all are copies of default Curve, today all did was edit membergroups and make a new topic and edit an old.The error log has 4 that are exactly this:http://forum.xeracx.net/index.php?action=jsmodify;topic=9094;edf1330b4c9=a817a815fd9f2010d055a919e7ace34f;xml8: Undefined index: sig_enabledFile: /home/content/94/6276194/html/forum/Sources/Subs-Post.phpLine: 2440 The line is:2440:                    $messages_columns[] = "showSIG = '$msgOptions[sig_enabled]'";

If click the first, it is:
<smf>

<message id="msg_156698">

<modified>
« <em>Last Edit: <strong>Today</strong> at 10:45:37 AM by sbt</em> »
</modified>
</message>
</smf>


Ohhh, looking back in this topic we got this error before it seems, it could be cause I did edit the files, to include so it will show sig on modify, it was posted in this topic by Citizen Erased. Could that be it?

Disregard, redited files and all is well. Thank You for the wonderful mod.
Title: Re: Signature Option now Supports SMF 2.0 RC3!
Post by: iPhoneDestek on September 25, 2010, 04:20:25 PM
Translation by MOD Translator SirtLanVadisi in turkish and turkish-utf8 languages




<file name="$themedir/languages/Modifications.turkish.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Signatur MOD Translation by SirtLanVadisi.net
$txt['show_sig'] = 'İmzayı göster';
$txt['sig_topic'] = 'İmza göster kontrol edilsinmi?';
// END Signatur MOD Translation by SirtLanVadisi.NeT
]]></add>
</operation>
</file>
<file name="$themedir/languages/Modifications.turkish-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Signatur MOD Translation by SirtLanVadisi.net
$txt['show_sig'] = 'İmzayı göster';
$txt['sig_topic'] = 'İmza göster kontrol edilsinmi?';
// END Signatur MOD Translation by SirtLanVadisi.NeT
]]></add>
</operation>
</file>




Translation by MOD Translator SirtLanVadisi in german and german-utf8 languages




<file name="$themedir/languages/Modifications.german.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Signatur MOD Translation by SirtLanVadisi.net
$txt['show_sig'] = 'Signatur anzeigen';
$txt['sig_topic'] = 'Signatur anzeigen Checked?';
// END Signatur MOD Translation by SirtLanVadisi.NeT
]]></add>
</operation>
</file>
<file name="$themedir/languages/Modifications.german-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Signatur MOD Translation by SirtLanVadisi.net
$txt['show_sig'] = 'Signatur anzeigen';
$txt['sig_topic'] = 'Signatur anzeigen Checked?';
// END Signatur MOD Translation by SirtLanVadisi.NeT
]]></add>
</operation>
</file>

Title: Re: Signature Option now Supports SMF 2.0 RC3!
Post by: KensonPlays on December 24, 2010, 06:10:58 PM
Will this be updated for RC4 or Gold?
Title: Re: Signature Option now Supports SMF 2.0 RC4!
Post by: vbgamer45 on December 27, 2010, 09:12:11 PM
Updated for SMF 2.0 RC4
Title: Re: Signature Option now Supports SMF 2.0 RC4!
Post by: Sel_888 on March 01, 2011, 12:42:57 PM
when will it be ready for RC5??   8)
What's really funny is that on the mod page, i believe it states that it IS RC5 compatible... but I could be mistaken. but anyways, the mod is NOT COMPATBLE with RC5... I tried.  :(

ty
Title: Re: Signature Option now Supports SMF 2.0 RC4!
Post by: vbgamer45 on March 01, 2011, 12:55:47 PM
What happened in RC5?
Title: Re: Signature Option now Supports SMF 2.0 RC4!
Post by: Sel_888 on March 01, 2011, 01:10:11 PM
Quote from: vbgamer45 on March 01, 2011, 12:55:47 PM
What happened in RC5?

I upload the downloaded package, and it stated that it uploaded sucessfully, but when I try to "install mod" it stated back that either the file was corrupt or that the mod is not compatible with the current version of SMF. I had JUST upgraded 4 days ago to SMF 2.0 RC5... and already installed other mods... so I know everything's stable.

Actually tried to re-download and then proceed to uploading the mod etc etc TWICE more just to make sure that it's not the "corrupt file" issue... but *sigh* alas its not the case.

Thnx for the prompt interest, vbgamer! :)
Title: Re: Signature Option now Supports SMF 2.0 RC4!
Post by: Sel_888 on March 05, 2011, 02:50:15 PM
so.... uhhhhhhh, what about that whole RC5 thing???  ???
Title: Re: Signature Option now Supports SMF 2.0 RC4!
Post by: vbgamer45 on March 05, 2011, 03:02:35 PM
Have to look into hopefully sometime next week or so.
Title: Re: Signature Option now Supports SMF 2.0 RC4!
Post by: Sel_888 on March 05, 2011, 03:28:36 PM
SWEET! that would be nice!
KEEP UP THE GOOD WORK!  8)
Title: Re: Signature Option now Supports SMF 2.0 RC4!
Post by: vbgamer45 on March 05, 2011, 07:40:29 PM
 Fixed for RC5
Title: Re: Signature Option now Supports SMF 2.0 RC4!
Post by: xMichael2008x on March 31, 2011, 03:09:28 PM
Can we get different functionality for this mod? For example, currently the mod is default to "uncheck" Show Signature (http://awesomescreenshot.com/0f0akb13b) Is there anyway we can default that to check so that when users make a long important post they have the option of hiding their signatures? This is how Vbulletin board does there Show Signature and it's easier for me atleast (http://awesomescreenshot.com/06fakb534)
Title: Re: Signature Option now Supports SMF 2.0 RC4!
Post by: vbgamer45 on March 31, 2011, 03:10:11 PM
Maybe in the future but at the moment don't have time to expand it.
Title: Re: Signature Option now Supports SMF 2.0 RC4!
Post by: hercululu on May 01, 2011, 12:12:29 AM
Can you help figure out this error? v2.0 RC5
8: Undefined index: showSIG
8: Undefined index: showSIGFile: /homepages/33/d90695557/htdocs/smf/Sources/Display.php
Line: 1213

=>1213:         'showSIG' => $message['showSIG'],

Title: Re: Signature Option now Supports SMF 2.0 RC4!
Post by: Biology Forums on May 08, 2011, 09:26:04 PM
I find that even guests have this option shown to them on topic display view. Could I set up a condition so that it's only shown to people who have logged in?
Title: Re: Signature Option now Supports SMF 2.0
Post by: GamePersia on April 23, 2014, 12:22:18 AM
no Signature are showing to posts if ticking add Signature box while making fresh post !!
if try to tick Signature box again by editing post,..it unticks automatically !!
help needed..
Title: Re: Signature Option now Supports SMF 2.0
Post by: cojeepers on November 15, 2014, 03:40:06 PM
just a quick note.  found some bugs?

if you create/reply to a post without a signature and go back and modify your post and try to add your signature, it will not

if you create/reply to a post with a signature and go back and modify your post, the "signature" option is already unchecked but you cannot remove your signature.

hope that explains it

running 2.0.9
Title: Re: Signature Option now Supports SMF 2.0
Post by: SMiFFER on October 04, 2016, 04:08:16 AM
Quote from: cojeepers on November 15, 2014, 03:40:06 PM
just a quick note.  found some bugs?

if you create/reply to a post without a signature and go back and modify your post and try to add your signature, it will not

if you create/reply to a post with a signature and go back and modify your post, the "signature" option is already unchecked but you cannot remove your signature.

exactly the same here, running 2.0.12, it appears "ignored" when modifying an existing post. I consider that a bug.

Note: If anybody besides me searches for the default-setting, it is shown in:
> Features and Options > General > Show Signature Checked?

Title: Re: Signature Option
Post by: SMiFFER on June 23, 2017, 11:15:48 AM
Despite the warning that I see that there here has not been one post in this thread for at least 120 days,
please allow me to bump this thread.

Reason#1: I myself had written the last post here, but have never received any response.
Reason#2: Let me underline that already cojeepers filed a bug report on November 15, 2014, 03:40:06 PM, describing the same bug.

Is the author still around? Nobody interested in fixing this?
Title: Re: Signature Option
Post by: vbgamer45 on June 23, 2017, 11:17:16 AM
Don't have a fix/not planned for a long time.
Title: Re: Signature Option
Post by: SMiFFER on June 23, 2017, 11:21:11 AM
How about now ;D
The bug is almost 3 years old already.
Title: Re: Signature Option
Post by: vbgamer45 on June 23, 2017, 11:23:49 AM
No.
Title: Re: Signature Option
Post by: SMiFFER on June 23, 2017, 11:26:58 AM
So I take it that the bugs reported are not going to be fixed?

Why report bugs then?
Title: Re: Signature Option
Post by: vbgamer45 on June 23, 2017, 11:31:11 AM
Even less so now because now I am annoyed so that pushes the the next fix date to 2020
Title: Re: Signature Option
Post by: Arantor on June 23, 2017, 11:43:36 AM
Quote from: vbgamer45 on June 23, 2017, 11:31:11 AM
Even less so now because now I am annoyed so that pushes the the next fix date to 2020

;D
Title: Re: Signature Option
Post by: Shambles on June 23, 2017, 11:59:32 AM
Well it's 1701 here in the UK so 2020 isn't long to wait  :o
Title: Re: Signature Option
Post by: SMiFFER on June 25, 2017, 10:36:09 AM
HAHA! What a kindergarten here :) :) :)
Title: Re: Signature Option
Post by: Steve on June 25, 2017, 10:39:22 AM
Okay ... let's go back on topic. :)
Title: Re: Signature Option
Post by: Steve on May 16, 2022, 03:04:44 PM
Any chance of an update for 2.1.2?
Title: Re: Signature Option
Post by: vbgamer45 on May 16, 2022, 09:18:39 PM
Update
Version 2.0
+Updated for SMF 2.1.x
Title: Re: Signature Option
Post by: Steve on May 17, 2022, 08:02:44 AM
Thanks!  ;D