Adding the signature automatically

Page 2 of 2 Previous  1, 2

Go down

Is this a good idea?

84% 84% 
[ 26 ]
16% 16% 
[ 5 ]
Total Votes : 31

Adding the signature automatically

Post by becca on April 11th 2007, 9:04 pm

First topic message reminder :

We should make it so the members dont have to manually click "Always attach my signature" under preferences. Like if the member adds a signature, and doesnt click that under preferences, it wont show up. But is there a way that if the member adds a signature, it automatically shows up without them clicking that button? because most people dont do that and they make posts asking. is there anything we can do to make it automatic?

Last edited by on April 12th 2007, 1:43 am; edited 1 time in total

New Member

Female Posts : 12
Reputation : 0
Language : English

Back to top Go down

Re: Adding the signature automatically

Post by Ange Tuteur on May 20th 2017, 7:00 am

I see. I don't have any issues with people asking for help, especially when it involes something I wrote. You could've left the code up, I have no problem with you sharing it either. It had just appeared to me that you were taking credit for my work since the credit line was in your name.

If that wasn't your intention then I apologize, I should've asked for clarification first.
Ange Tuteur

Male Posts : 13202
Reputation : 2918
Language : EN, JA, FR
Location : Macungie, PA

Back to top Go down

Re: Adding the signature automatically

Post by SWS on May 20th 2017, 9:59 am

Alrighty... So, if you say it will work when you had a chance to have a quick glance at it when it was still up, I've got no problem sharing it again. Tested it on my phpBB3 and works fine. Made 'By Ange Tuteur', modified by 'SWS (Samantha Melissa S.)', but I won't be mentioning that last part as it's obvious who did the work on combining some brain cells here (yeah, blondes DO got em). You mentioned all the credits and support go to you (Idc), so here it is:

$(function() {
    if (_userdata.session_logged_in && !my_getcookie('fa_attachsig_checked')) {
        $.get('/profile?mode=editprofile&page_profil=preferences', function(d) {
            var form = $('#ucp', d);

            if (form[0] && !form[0].attachsig[0].checked) {
                $.post('/profile', form.serialize().replace(/attachsig=0/, 'attachsig=1') + '&submit=1', function() {
                    my_setcookie('fa_attachsig_checked', '1');
            } else {
                my_setcookie('fa_attachsig_checked', '1');
    'By Ange Tuteur';

Good luck with it.

Female Posts : 80
Reputation : 7
Language : US English / Dutch
Location : 35 miles NWW of Los Angeles Airport (LAX) when able, currently living 1 mile SWW of Amsterdam Airport (AMS).

Back to top Go down

Page 2 of 2 Previous  1, 2

Back to top

Permissions in this forum:
You cannot reply to topics in this forum