Announcement

Collapse
No announcement yet.

[Release v2] PM Notification of New Replies

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Release v2] PM Notification of New Replies

    This was an idea by GutSpiller. This is a lot more complex than I thought it was going to be when I started out. There are a lot of code changes and they must be made *exactly* or it won't work. So be careful and I suggest you not pick this as your first hack to ever install.

    The basic premise: It sends a PM when someone replies to a thread you are subscribed to. You can choose to receive PM notifications and/or email notifications for replies to threads. You can unsubscribe from a PM notification without unsubscribing from an email notification, and vice-versa. Just as with email notification, you can check a box under Edit Options to always have the box pre-checked on newreply/newthread screens.

    For version: 2.0.3

    Files needed: pmnot_install.php

    Files to edit: newreply.php, newthread.php, editpost.php, member.php, member2.php

    Templates to edit: newreply, newthread, modifyoptions, editpost, subscribe_nothreads, subscribe_threads

    Instructions: Upload and run pmnot_install.php from your /admin directory. Follow the on-screen instructions.

    This hack is © 2001 Kevin Schumacher and may not be redistributed, edited or not, without this copyright notice attached.

    Please DO NOT contact me via PM, IM, email, or otherwise outside this thread about this hack. Thank you.
    Last edited by tubedogg; Tue 11th Sep '01, 5:15am.

  • #2
    I can't find some of the code bits. The last one before I stopped was on member.php.
    (and no, it wasn't because there were no tabs )
    Last edited by Chen; Tue 11th Sep '01, 3:59am.
    Chen Avinadav
    Better to remain silent and be thought a fool than to speak out and remove all doubt.

    גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

    Comment


    • #3
      You're on 2.0.3?

      Comment


      • #4
        Of course.

        Also, the table head says "In-line thread rating".
        Chen Avinadav
        Better to remain silent and be thought a fool than to speak out and remove all doubt.

        גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

        Comment


        • #5
          Hrrmm...Can you give me a specific example? Pleeeeeease?

          Comment


          • #6
            im going to try it out today ... will give status back !

            _v7_

            Comment


            • #7
              I've made a few adjustments. Apparently I had one direction in there twice, two extraneous directions, and two things that were not right under Find. But it's all fixed up.

              Comment


              • #8
                In newreply.php, adding this:
                PHP Code:
                                                     AND subscribethread.emailupdate=
                appears twice.

                In newreply.php and newthread.php this can't be found:
                PHP Code:
                $signature=iif(trim($hidden)=="yes",1,0); 
                this is what in the file:
                PHP Code:
                $signature=iif(trim($signature)=="yes",1,0); 
                In member.php I can't find this:
                PHP Code:
                $signaturechecked=iif($signature,"checked",""); 
                This is where I stopped, I'll complete this in a few minutes.
                Chen Avinadav
                Better to remain silent and be thought a fool than to speak out and remove all doubt.

                גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

                Comment


                • #9
                  Great!
                  Chen Avinadav
                  Better to remain silent and be thought a fool than to speak out and remove all doubt.

                  גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

                  Comment


                  • #10
                    Sorry bout that.

                    Comment


                    • #11
                      Yay I'm done!

                      Awesome work!
                      Chen Avinadav
                      Better to remain silent and be thought a fool than to speak out and remove all doubt.

                      גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

                      Comment


                      • #12
                        I think you forgot the pm_notify and pmsubject_notify templates (the PM had no subject, and thus I couldn't click it, but I'm guessing there was also no body).
                        Chen Avinadav
                        Better to remain silent and be thought a fool than to speak out and remove all doubt.

                        גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

                        Comment


                        • #13


                          Yeah I forgot those sorry.

                          pmsubject_notify:
                          Code:
                          Reply to post '$threadinfo[title]'
                          pm_notify:
                          Code:
                          Hello $touser[username],
                          
                          $bbuserinfo[username] has just replied to a thread you have subscribed to entitled - $threadinfo[title] - in the $foruminfo[title] forum of $bbtitle.
                          
                          This thread is located at:
                          [url]$bburl/showthread.php?threadid=$threadinfo[threadid]&goto=newpost[/url]
                          
                          Yours,
                          $bbtitle team
                          
                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          Unsubscription information:
                          
                          To unsubscribe from receiving notifications of this thread via PM, please visit this page:
                          [url]$bburl/member2.php?action=usub&threadid=$threadinfo[threadid]&format=pm[/url]
                          
                          To unsubscribe from receiving notifications of ALL threads via PM, please visit this page:
                          [url]$bburl/member2.php?action=usub&type=allthread&format=pm[/url]
                          I've updated the installer. Thanks, FireFly.
                          Last edited by tubedogg; Tue 11th Sep '01, 9:47am.

                          Comment


                          • #14
                            No problem

                            That's it.
                            Chen Avinadav
                            Better to remain silent and be thought a fool than to speak out and remove all doubt.

                            גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

                            Comment


                            • #15
                              Hate to bother you again, but you forgot the [url] tags around the address of the thread.
                              Chen Avinadav
                              Better to remain silent and be thought a fool than to speak out and remove all doubt.

                              גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...
                              X