Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
New Thread on Registration Details »»
New Thread on Registration
Version: 1.00, by tnguy3n tnguy3n is offline
Developer Last Online: Sep 2010 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.0.3 Rating:
Released: 12-18-2004 Last Update: Never Installs: 55
 
No support by the author.

Modded by tnguy3n
Requested here
Live demo: http://www.all4actions.net (also screenshots attached)

Description: This hack automatically creates a "Welcome Thread" in an assigned forum when an user register a new account on your board.
Log into Admin CP, go to vBulletin Options -> User Registration Options, then to change your settings
Administrator of the board can:
- turn on or off this mod in the Admin CP.
- turn on or off an option which allow user to create an introduction thread on registration
- create/modify title + welcome message content easily
- assign a specific forum where Welcome Thread to be created in.
- etc

Version 1
New Queries: 6 (added to vb setting table)
File Mod: 1
Template mod: none
Installation time: 30-45 seconds
This version is to automatically create welcome thread on new registration.

Version 2
Queries: 7 add to setting table
Phrase: 2
File mod: 1
Template mod: 1
New template: 1
Installation time: 2-3 mins
version 2 is either to automatically create welcome message or let users creating their own introduction thread on registration.

Installer included.

Changees In version 2
- 1 query added to setting table
- 2 phrases added
- 1 new template
- 1 template mod (register)
- 1 extra code mod in register.php file.

Note: if you run WelcomeThread Installer. You must log into Admin CP, go to vBulletin Options -> User Registration Options and change those Welcome Thread settings to yours, then Save.

More instruction + trouble shooting, read this thread http://www.all4a-designs.com/forums/...21.msg22#msg22

Show Your Support

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

Comments
  #62  
Old 01-15-2005, 04:51 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

first run welcomethread_installer.php after that edit register.php by the way "print_cp_header();" you can get rid of that by

PHP Code:
require_once('./includes/adminfunctions.php'); 
Reply With Quote
  #63  
Old 01-15-2005, 05:11 PM
DanCan DanCan is offline
 
Join Date: Jul 2004
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, I don't understand? When I run the welcomethread_installer.php, I get the line 13 error, so what do I do to get on? And where should the require_once code be added?
Reply With Quote
  #64  
Old 01-15-2005, 06:20 PM
wirewolf's Avatar
wirewolf wirewolf is offline
 
Join Date: Jun 2004
Location: New York City
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed the mod, and it works fine. Messages are posting in the correct forum and I don't get any errors.
However. I have the option for the user to create an intro on registration. If they choose to create thier own ("Yes"), but don't type in any thing the fields, then the default message ("Hi, I am new!" - "Hello everyone, I'm new here! Just thought to drop a line to say hi.") is printed in the correct forum. If they chooose "No", again with no input to the fields, then my default (Admin) Welcome Message Text is posted. I would like to get rid of the "Yes"/"No" option and make it them "required fields" (like password, name, email, etc). In other words, they HAVE to input to the fields, and if they don't, they will get an error message similar to if they have an incorrect email address, or forget to enter a password field, etc.
The default Welcome Message from "Staff" gets to look ridiculous after awhile. With the same message shown over and over, it lacks the personal touch.
I assume this would require recoding in register.php, but I'm not sure of the correct syntax.
John
Reply With Quote
  #65  
Old 01-16-2005, 04:35 PM
DanCan DanCan is offline
 
Join Date: Jul 2004
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I know what I may have done wrong: I created the user registration options manually by following this guide: http://www.all4a-designs.com/forums/...21.msg22#msg22

Now, I would like to remove the fields I have created since I am not able to run the install scripts as long as they are there.

Anybody knows how to remove the fields? Help would greatly be appreciated.
Reply With Quote
  #66  
Old 01-16-2005, 06:09 PM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DanCan
I think I know what I may have done wrong: I created the user registration options manually by following this guide: http://www.all4a-designs.com/forums/...21.msg22#msg22

Now, I would like to remove the fields I have created since I am not able to run the install scripts as long as they are there.

Anybody knows how to remove the fields? Help would greatly be appreciated.
Since you are unable to run the installer, it'd insert nothing into your database, so you don't have to remove any field. I doubt there must be something wrong with your vb core instead of my installer because there'r several ppl install the script and it seemed to work fine for them.
Reply With Quote
  #67  
Old 01-16-2005, 06:12 PM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wirewolf
I installed the mod, and it works fine. Messages are posting in the correct forum and I don't get any errors.
However. I have the option for the user to create an intro on registration. If they choose to create thier own ("Yes"), but don't type in any thing the fields, then the default message ("Hi, I am new!" - "Hello everyone, I'm new here! Just thought to drop a line to say hi.") is printed in the correct forum. If they chooose "No", again with no input to the fields, then my default (Admin) Welcome Message Text is posted. I would like to get rid of the "Yes"/"No" option and make it them "required fields" (like password, name, email, etc). In other words, they HAVE to input to the fields, and if they don't, they will get an error message similar to if they have an incorrect email address, or forget to enter a password field, etc.
The default Welcome Message from "Staff" gets to look ridiculous after awhile. With the same message shown over and over, it lacks the personal touch.
I assume this would require recoding in register.php, but I'm not sure of the correct syntax.
John
in register.php,

FIND:
Hi, I am new!
and
Hello everyone, I'm new here! Just thought to drop a line to say hi.

REPLACE WITH YOUR OWN welcome title + message.
Reply With Quote
  #68  
Old 01-16-2005, 06:16 PM
DanCan DanCan is offline
 
Join Date: Jul 2004
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am able to run the installer ( I just forget to put the installer.php in the admincp folder). When I run the installer, I get the following error message:

Quote:
Database error in vBulletin 3.0.5:

Invalid SQL: INSERT INTO phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', 'setting_welcome_thread_enable_title', 'Enable Welcome Thread on registration?', '5000')
mysql error: Duplicate entry 'setting_welcome_thread_enable_title-0-5000' for key 2

mysql error number: 1062
I think it is because I have already created the custom fields manually. Now I want to remove them, so I can run the installer properly. How do I do that?
Reply With Quote
  #69  
Old 01-17-2005, 02:01 PM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DanCan
I am able to run the installer ( I just forget to put the installer.php in the admincp folder). When I run the installer, I get the following error message:



I think it is because I have already created the custom fields manually. Now I want to remove them, so I can run the installer properly. How do I do that?
upload the attached file to your /forumroot/admincp/
run http://yoursite/forumroot/admincp/we...p?op=uninstall , and that will to remove all current phrases and settings of this mod.

and to re-install, just run http://yoursite/forumroot/admincp/we...php?op=install
Reply With Quote
  #70  
Old 01-17-2005, 04:17 PM
DanCan DanCan is offline
 
Join Date: Jul 2004
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot. Exactly what I looked for.
Reply With Quote
  #71  
Old 01-17-2005, 08:28 PM
ChrisBaktis ChrisBaktis is offline
 
Join Date: Mar 2004
Location: CT
Posts: 409
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any time frame when the next version will be out that will not post a new thread if the member doesnt do one himself?
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 02:35 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.06280 seconds
  • Memory Usage 2,317KB
  • 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_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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