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)
-   -   Send default PM to all new users - templated (https://vborg.vbsupport.ru/showthread.php?t=35647)

Overgrow 03-02-2002 10:00 PM

Send default PM to all new users - templated
 
Disclaimer:

-No support is offered for this hack. If you PM or email for support, it will be joyfully ignored. When I have time, I will answer questions in this thread.

Default PM to New Users - Templated

This is largely the work of Sparkz, in this thread:

https://vborg.vbsupport.ru/showthrea...threadid=34498

I wanted to use this hack but felt it was a bit cumbersome since it used text files instead of the vB templates. This is a re-write and should be quicker and easier to install.

It also sends the PM after writing the user, not after activiation-- so it won't matter if you have email activation turned on or not. Also there is optional code to make the pmpopup work if you like.


Steps for installation:

-add two templates 'newpm_message' and 'newpm_title'
-edit one file 'register.php'

Overgrow 03-03-2002 06:55 AM

<font size="1">Note: If you already have Sparkz version installed, you'll need to replace the code in register.php and add the new templates.</font>

Jadelit 03-03-2002 07:31 AM

Thanks!

ForKmaN 03-03-2002 07:47 AM

Very nice work!
thanks!

Floris 03-03-2002 08:14 AM

Cool! Thank you :) Looks like you are a good hacker, nice to have you onboard. Your style and mine are alike.

nafae 03-03-2002 01:59 PM

THANK YOU this is exactly what I was waiting on!!! I shall install asap

nafae 03-03-2002 02:17 PM

Ok i installed it, tested it, and it works great. Now, when someone registers on my site, they get a pm from "The Welcome Wagon" :)

neal 03-03-2002 07:25 PM

thank you VERY much!

NYI Fan 03-03-2002 08:38 PM

easy, simple, not hard, and did i mention EASY? Thanks! This is a great addition!

Goldfinger 03-03-2002 09:48 PM

great hack.. veryyy nice.


All times are GMT. The time now is 05:57 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.01005 seconds
  • Memory Usage 1,727KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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