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)

fly 02-10-2007 12:35 PM

Quote:

Originally Posted by dknelson (Post 1179084)
Here is what I tried:

$title = "Welcome: " . $userinfo[username]; "From:" $post[field2]; // The thread title

When I added the $post[field2], it stops working completely. Please tell me what I' doing wrong.

Then I'm sorry, its beyond my weak coding skills. I would hazard a guess that it requires a SQL query, but that is just a guess.

dknelson 02-10-2007 07:45 PM

No problem...thanks for your efforts.

Mr. Christopher 02-11-2007 11:18 AM

Is it possible to make the welcome thread's creation add to the postuserid's post count?

fly 02-11-2007 01:43 PM

Quote:

Originally Posted by Mr. Christopher (Post 1179816)
Is it possible to make the welcome thread's creation add to the postuserid's post count?

Post it under their name.

Mr. Christopher 02-11-2007 03:20 PM

Quote:

Originally Posted by flypaper (Post 1179888)
Post it under their name.

I think that's what I'm doing now, but April Fool's postcount doesn't increase even when the mod successfully creates new welcome threads via her account. Am I doing this wrong?

Code:

$postuserid = 3; // The Userid of the poster
$postusername = "April Fool"; // The username of the poster


acquiesce 02-19-2007 07:28 PM

Is there any way to add a link to the new members profile?

Tom_S 02-23-2007 01:27 PM

Okay...little help here please. I have been going through the thread and I am not sure so can anyone direct me to the working version of this for when a user has activated his/her account only. There has been so many modifications to this to suit one person or another that I am not sure which one to use in the many threads. I love the mod!

Very much appreciated :)

Thanks

Tom_S 02-24-2007 04:44 PM

I have it installed but I do not like the fact that it posts this for users who are not even activated. I tried the setup to fix that and then it dosen't include the username when it makes the post for the activated user. Ideas?

Tom_S 02-24-2007 04:51 PM

Oops...I didn't see this thread:

Quote:

Originally Posted by dknelson (Post 1170466)
For those of you who want this heck to create the welcome thread AFTER a new member responds to the confirmation email. I finally figured out how to do that. Very simple.



Go to your CP and then "Plugin Manager".



Beside the "Start Welcome Thread...." plugin click on "Edit".



In the second field from the top "Hook Location"...click the arrow and choose:

register_activate_process



That's all there is to it.



Now if somebody could help me figure out how to add the users "Location" to the title, that would be nice. Something like Welcome: Name from Location



I've tried but no luck yet.



Don



Thanks :)

Tom_S 02-24-2007 05:14 PM

Nope..that didn't work...It makes it do what I said and show no username at all and it still makes the post even though it isn't activated.


All times are GMT. The time now is 07:43 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.01327 seconds
  • Memory Usage 1,740KB
  • 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)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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