Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Send default PM to all new users - templated Details »»
Send default PM to all new users - templated
Version: 1.00, by Overgrow Overgrow is offline
Developer Last Online: Jun 2004 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-02-2002 Last Update: Never Installs: 72
 
No support by the author.

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'

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-04-2002, 01:47 AM
Stylez's Avatar
Stylez Stylez is offline
 
Join Date: Mar 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ooh cool, it worked.
Reply With Quote
  #13  
Old 03-04-2002, 03:12 PM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Neat hack, well done.
Reply With Quote
  #14  
Old 03-04-2002, 06:03 PM
aldamon aldamon is offline
 
Join Date: Oct 2001
Location: Durham, NC
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Overgrow, though I can't thank you enough for implementing the pmpopup function, it MUST happen after activation. When you register, there is a link to return to the Main BB view. This is the first thing newbs see, NOT the activation E-mail. When the newbs click this link, the pmpopup occurs, even if they are not activated. On my board, this pm hack is an incentive to actually read the PM box. What good is the popup if they can't actually get to the message? It's just confusing for them and I'd appreciate it if you could force the pmpopup after activation. That way they can actually click the link in the popup.

Thanks!
Reply With Quote
  #15  
Old 03-05-2002, 12:58 PM
aldamon aldamon is offline
 
Join Date: Oct 2001
Location: Durham, NC
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, I figured out what was going on. In my board, Users Awaiting E-Mail Confirmation cannot use the PM system. So when they get the popup, things go wrong because they cannot read the PM until they are activated.

I'd really like to see an alternate version of this updated hack where the PM is sent after activation, just like the original hack. I'd use the old hack, but there is no pmpopup functionality.

So either I use the old hack and get no pmpopup or I use the new hack and the PM is sent immediately instead of after activation. Hmmmm, what a pickel.
Reply With Quote
  #16  
Old 03-05-2002, 07:58 PM
Supernature Supernature is offline
 
Join Date: Dec 2001
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much for this great Hack.
Just a simple Thing: The Image for "new Posts" doesn't show up, the Message seems to be "old" - is there a way to fix this?
Reply With Quote
  #17  
Old 03-05-2002, 10:08 PM
NYI Fan's Avatar
NYI Fan NYI Fan is offline
 
Join Date: Oct 2001
Location: Long Island, NY
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

aldamon
i use Firefly's "flash the pm bar on new message" hack
that works wonders!
Reply With Quote
  #18  
Old 03-06-2002, 10:47 AM
aldamon aldamon is offline
 
Join Date: Oct 2001
Location: Durham, NC
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I noticed that too. Without pmpopup on the message is not "new", it's old.
Reply With Quote
  #19  
Old 03-25-2002, 02:54 AM
Vivi Ornitier's Avatar
Vivi Ornitier Vivi Ornitier is offline
 
Join Date: Nov 2001
Location: Black Mage Village
Posts: 442
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very Nice hack

it works perfectly once again thank you
Reply With Quote
  #20  
Old 05-15-2002, 08:39 AM
Dontom Dontom is offline
 
Join Date: Oct 2001
Location: Germany
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

easy to install, workin perfect!
Thank you very much!! i had 2 moderators do this manually every day - they are even more thankfull
Tom
Reply With Quote
  #21  
Old 05-15-2002, 03:20 PM
trainer trainer is offline
 
Join Date: Nov 2001
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not sure what the problem is but i am getting this as the PM title

<!-- BEGIN TEMPLATE: newpm_title --> Welcome to ********! <!-- END TEMPLATE: newpm_title -->

instead of the "Welcome to ********!"

the rest is working fine. any ideas?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:43 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05243 seconds
  • Memory Usage 2,298KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete