vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Automatically Start a Welcome Thread in the Forum of Your Choice (https://vborg.vbsupport.ru/showthread.php?t=91887)

Funkie 03-30-2006 04:23 PM

Ok so why do I get the contents of the template posted everytime I get a new user instead of hi fred welcome blah

fly 04-03-2006 12:00 PM

Try changing $username to $userinfo[username]

Electrohead04 04-03-2006 05:09 PM

For all those having problems with HTML code showing, heres the solution.

Go into styles -> edit templates (for the style(s) of your choice)

You need to find the "welcome_thread" template.

Change this to a post as you would normally post one, using bbcode, etc. Then Save, and it works :)

Funkie 04-03-2006 05:57 PM

Quote:

Originally Posted by Electrohead04
For all those having problems with HTML code showing, heres the solution.

Go into styles -> edit templates (for the style(s) of your choice)

You need to find the "welcome_thread" template.

Change this to a post as you would normally post one, using bbcode, etc. Then Save, and it works :)

Ta m8 I think I'll do that but how do you call the username?

fly 04-04-2006 04:59 PM

Quote:

Originally Posted by Funkie
Ta m8 I think I'll do that but how do you call the username?

Looks like you'll have to add a phrase and call the phrase from the template.

Tralala 04-04-2006 05:53 PM

Quote:

Originally Posted by flypaper
bah, i'll try to look at it more this weekend, unless anyone has any better ideas.


This was in regards to sending the message after email verification and user moderation, if it's turned on. Just hoping you'd get a chance to look at it some more, as that's the one missing piece for many folks who'd like to use this hack. Welcoming someone before they are moderated in could lead to some nasty awkwardness on a forum.



Next question: is it possible for the welcome post/thread to include the name of the referrer? (ie: thanking them for referring the new person.)

j1time 04-04-2006 07:47 PM

I'm using it and it works great!! Thanks:)

alshehi 04-04-2006 08:53 PM

Thank You

alshehi

amykhar 04-05-2006 02:18 PM

You're welcome.

Amy

fly 04-05-2006 06:55 PM

Quote:

Originally Posted by Tralala
This was in regards to sending the message after email verification and user moderation, if it's turned on. Just hoping you'd get a chance to look at it some more, as that's the one missing piece for many folks who'd like to use this hack. Welcoming someone before they are moderated in could lead to some nasty awkwardness on a forum.



Next question: is it possible for the welcome post/thread to include the name of the referrer? (ie: thanking them for referring the new person.)

Try this. I checked out how Andreas did his Welcome PM hack and changed this accordingly. All credit goes to Amy and Kirby (LOL). Lemme know if it works.

The referer ID is easy to get, I just can't think of how to change that to a username and I think it would require an extra SQL query anyway.


All times are GMT. The time now is 02:30 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.01506 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_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