vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   New User Welcome PM [v2] (https://vborg.vbsupport.ru/showthread.php?t=63269)

Kwak 07-09-2004 12:33 AM

Oh okay. So I applied the hack on the new register.php file (3.0.3) and then tested it out.

I got a new popup so that is a good start. There was no text on the PM so I went to the admin setting.
Under Options, User Registion Options, on the bottom, I only see
"User Who Sends Automatic PM Upon Registration" (which I set to admin) and
"Title Of the PM That is Automatically Sent to New Users."

But I don't see where I could put the Welcome PM text in. ANy idea?

rob_daemon 07-09-2004 02:17 AM

Hmm... I see the problem. Run this query:

Code:

INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('regpmtext', 'register', 'Hi $username and welcome to $bbtitle!\r\n\r\nWe appreciate you taking the time to register on our site and we hope you enjoy your stay.\r\n\r\nIf you have any questions, you can ask an administrator for assistance.\r\n\r\nWe hope to see you around.\r\n\r\nSincerely,\r\nThe $bbtitle staff', 'Hi $username and welcome to $bbtitle!\r\n\r\nWe appreciate you taking the time to register on our site and we hope you enjoy your stay.\r\n\r\nIf you have any questions, you can ask an administrator for assistance.\r\n\r\nWe hope to see you around.\r\n\r\nSincerely,\r\nThe $bbtitle staff', 'textarea', 150, 0, 0);

Kwak 07-09-2004 02:33 AM

Quote:

Originally Posted by rob_daemon
Hmm... I see the problem. Run this query:

Code:

INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('regpmtext', 'register', 'Hi $username and welcome to $bbtitle!\r\n\r\nWe appreciate you taking the time to register on our site and we hope you enjoy your stay.\r\n\r\nIf you have any questions, you can ask an administrator for assistance.\r\n\r\nWe hope to see you around.\r\n\r\nSincerely,\r\nThe $bbtitle staff', 'Hi $username and welcome to $bbtitle!\r\n\r\nWe appreciate you taking the time to register on our site and we hope you enjoy your stay.\r\n\r\nIf you have any questions, you can ask an administrator for assistance.\r\n\r\nWe hope to see you around.\r\n\r\nSincerely,\r\nThe $bbtitle staff', 'textarea', 150, 0, 0);


Bingo! :cool: Thanks a lot rob_daemon. Have a great weekend!

rob_daemon 07-09-2004 04:21 AM

No problem; and have a great weekend yourself :)

kira 07-15-2004 07:45 PM

One of my favorite hacks, ported over wonderfully to vb3. If I hadn't screwed up a query by repeating it accidentally (my fault entirely), this would've been a perfect install!

Great work. Thanks very much!

Bro_Joey_Gowdy 07-20-2004 03:16 PM

clicks install

paulyy 07-23-2004 06:35 AM

This didn't work properly for me either. I followed the instructions like a religious man and one of the queries wouldn't work, also I couldn't find where to "customise" the welcome PM, nor would the title of the PM show.

rob_daemon 07-23-2004 11:02 PM

Hmm... that's very odd. Which query did not work? What version of vB are you running and what is the last updated date on the hack?

paulyy 07-24-2004 03:27 PM

Quote:

vB Version: 3.0.3
What do you mean by 'Last updated date'?

rob_daemon 07-24-2004 05:35 PM

In the hack file, there's a line that says "Last Updated" and there's a date next to it. What is that date?


All times are GMT. The time now is 04:47 PM.

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.01536 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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