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
  #72  
Old 01-17-2005, 08:29 PM
DanCan DanCan is offline
 
Join Date: Jul 2004
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ups, I was to quick. Sorry, it doesn't work.

Let me try to be more clear about this.

1. I didn't put the welcome_installer.php in the admincp folder. Therefore I couldn't install the hack.

2. Instead I tried to do the hack manually by following this guide:

Quote:
Okie, here's one other instruction on how to install this Welcome Thread on Registration hack. This take a little more longer or you can say "mod in a hard way".

To to this URL: http://yoursite/forum/admincp/option...group_register
located here: http://www.all4a-designs.com/forums/...21.msg22#msg22

3. So I created the 6 varnames in 'user registration options' manually.

4. Now that I have found out how to install the hack, I don't know how to delete the 6 varnames I have created manually.

5. Since I never installed the hack, it evidently doesn't work to uninstall it.

------
BUT something is going on. Tonight we got a new user at 21:56 CET, and I could see that the Forum Staff as I call the welcome_thread_rep had created a post the very same minute. Since the 'Forum Staff' isn't used anywhere else on the board than for the purpose of generating an automatic welcome greeting, the board must have created a welcome greeting.

I obtained the information about a post made by Forum Staff on my Bindex portal, but it is nowhere to be found on the board. Moreover it doesn't have a title and seemingly no content.

I guess the reason is that I have created the 6 varnames + content in the user registration options, but I haven't added them to the phrase manager. Could that be the reason? And if so, what is the phrase type for each of the 6 varnames? Is it global?
Reply With Quote
  #73  
Old 01-20-2005, 09:00 AM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi,

this hack works fine however i'm facing a problem.I'm looged into administrator account and in the forum i assigned to this hack (the forumid) i can't see the ip address of the posters.I can in *all* other forums .I'm not blaming your hack yet but.... if it is this is a serious bug look at the two images below the one where's no computer icon in the postbit template that is from your hack the second image is from another forum (on the same board)

edit

one more image showing my iplogging setting is correc :S why why why the hell ??
Reply With Quote
  #74  
Old 01-21-2005, 01:07 PM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ DanCan: it will delete all phrases, setting regardless to installer or instruction posted on my dev board that you used.

@Delphiprogrammi: thanks for pointing it out. attached is patch for the mod that you can use.
*first post is now updated*

@ChrisBaktis: will be out this weekend. it got pm new user feature and uShop integrated, and admin can set amount of points for users who make new thread at registration.
Reply With Quote
  #75  
Old 01-21-2005, 02:02 PM
ChrisBaktis ChrisBaktis is offline
 
Join Date: Mar 2004
Location: CT
Posts: 409
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great - looking forward to using this.
Reply With Quote
  #76  
Old 01-21-2005, 02:35 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tnguy3n
@Delphiprogrammi: thanks for pointing it out. attached is patch for the mod that you can use.
*first post is now updated*
thanks for updating that working fine now
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 05:40 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.15413 seconds
  • Memory Usage 2,370KB
  • Queries Executed 30 (?)
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
  • (6)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
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)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