vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [Release v2] PM Notification of New Replies (https://vborg.vbsupport.ru/showthread.php?t=27888)

tubedogg 09-10-2001 10:00 PM

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. :)

Admin 09-11-2001 10:55 AM

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 :))

tubedogg 09-11-2001 11:01 AM

You're on 2.0.3?

Admin 09-11-2001 11:01 AM

Of course. :)

Also, the table head says "In-line thread rating".

tubedogg 09-11-2001 11:06 AM

Hrrmm...Can you give me a specific example? Pleeeeeease? :D

_v7_ 09-11-2001 11:10 AM

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

_v7_

tubedogg 09-11-2001 11:26 AM

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. :)

Admin 09-11-2001 11:29 AM

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.

Admin 09-11-2001 11:30 AM

Great! :)

tubedogg 09-11-2001 11:32 AM

Sorry bout that. :(


All times are GMT. The time now is 01:36 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
  • Page Generation 0.00983 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete