Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Automatically Start a Welcome Thread in the Forum of Your Choice Details »»
Automatically Start a Welcome Thread in the Forum of Your Choice
Version: 1.5, by amykhar amykhar is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 07-08-2005 Last Update: 10-16-2005 Installs: 272
Uses Plugins Template Edits
 
No support by the author.

This little mod will start a new thread in the forum of your choice when somebody registers.

The thread message is contained in a template, and easily customizeable on your part.

This version posts the thread when the user registers - but before he activates his email address.

Thanks to flypaper for providing a bugfix.

Installation Instructions: Import the product. Change the welcome_thread template to suit your needs. Change the setup variables in the welcome thread plugin to suit your needs.

Amy

Show Your Support

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

Comments
  #262  
Old 05-15-2006, 06:33 PM
Dr Steevil's Avatar
Dr Steevil Dr Steevil is offline
 
Join Date: Sep 2004
Location: Houston, TX
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Miss Amy, this is gonna be great for my growing forum! I have installed this, however before I activate it on my site I need to know one thing:

I understand changing the forumid to the forum I want the thread started in. But what about this part?

Code:
$postuserid = 1328; // The Userid of the poster
    $postusername = "Justin"; // The username of the poster
How does this work? Do the variables dynamically change? Or am I completely missing something here?
Reply With Quote
  #263  
Old 05-15-2006, 06:42 PM
Dr Steevil's Avatar
Dr Steevil Dr Steevil is offline
 
Join Date: Sep 2004
Location: Houston, TX
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oops. Guess I should've TESTED it first! I understand! Thanks for a great hack! ***clicks install***

:banana:
Reply With Quote
  #264  
Old 05-15-2006, 07:12 PM
fly fly is offline
 
Join Date: Oct 2003
Posts: 1,215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
The only slight issue I have found is this. When you approve an account, the message that says 'User accounts validated and users notified" is missing the sort of "silver header bar" it normally has. If you comment out:
require_once('./global.php');
then the header bar reappears, but then the post that is created is blank, it does not contain any text.

I am guessing that using global.php twice is causing the header bar to vanish. This itself is not a problem, however I worry about what other side effects this is having.

Perhaps an expert coder could point us in the right direction as we are NEARLY there!
I believe require_once says not to call it again, if it has already been called, so I don't think that's the issue. There weren't any hooks listed in the area that you pasted the code?

Its getting late, I'll try to look at it again tomorrow in my spare time. It shouldn't be that hard to get going. Odd...
Reply With Quote
  #265  
Old 05-16-2006, 06:08 PM
Mark.B Mark.B is offline
Senior Member
 
Join Date: Feb 2004
Posts: 1,354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by flypaper
I believe require_once says not to call it again, if it has already been called, so I don't think that's the issue. There weren't any hooks listed in the area that you pasted the code?

Its getting late, I'll try to look at it again tomorrow in my spare time. It shouldn't be that hard to get going. Odd...
No there's no hooks in that section as far as I can see.

It is very nearly there...I don't much care about the missing header bar in the confirm message as it's purely cosmetic, my worry is what other side effects that is having.
Reply With Quote
  #266  
Old 05-23-2006, 07:00 PM
Mark.B Mark.B is offline
Senior Member
 
Join Date: Feb 2004
Posts: 1,354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm....another problem with my method...if you approve more than one account at once the second thread contains the text for both threads, the third contains all three, etc etc.

It must be loooping wrongly but I can't seem to fix that either.
Reply With Quote
  #267  
Old 05-23-2006, 09:22 PM
GamerJunk.net's Avatar
GamerJunk.net GamerJunk.net is offline
 
Join Date: Jan 2004
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mine keeps reverting back to your welcome thing even tho I changed it in the plugin
Reply With Quote
  #268  
Old 06-12-2006, 09:06 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesn't work for me on 3.6

Locked up my ACP - No error Messages - Had to disable plugins via config.php and remove it.
Reply With Quote
  #269  
Old 06-19-2006, 03:08 PM
Annapurna's Avatar
Annapurna Annapurna is offline
 
Join Date: May 2005
Location: Austria
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm still on 3.5.4

Worked fine!

BUT: stopped working as soon as I changed the forum-id.
Changing back: not working!
uninstall / reinstall: not working!

Any ideas?

Andreas
Reply With Quote
  #270  
Old 07-03-2006, 02:35 AM
ab420 ab420 is offline
 
Join Date: Feb 2006
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you SOOOO much for this!!! I've been killing myself trying to say hello to every new member! LOL!
Reply With Quote
  #271  
Old 07-10-2006, 02:22 AM
Ski-Whiz's Avatar
Ski-Whiz Ski-Whiz is offline
 
Join Date: May 2003
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by peterska2
It doesn't work for me on 3.6

Locked up my ACP - No error Messages - Had to disable plugins via config.php and remove it.

Amy can we get an update for 3.6, AND somehow make this so it can create a thread unpon email verification??

This prevents trolls from creating BS accounts, and spaming our welcome forum..
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 06: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.05099 seconds
  • Memory Usage 2,309KB
  • 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)bbcode_code
  • (3)bbcode_quote
  • (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
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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