Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
New Users Create their own Welcome thread During Registration Details »»
New Users Create their own Welcome thread During Registration
Version: 1.00, by ap0c ap0c is offline
Developer Last Online: Jul 2010 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 07-14-2003 Last Update: Never Installs: 18
 
No support by the author.

Since I didn't find this exact hack around, here you go.

This hack creates a new welcome thread in the users name after email conformation in the forum of your choice,
and is the new forum user's first post on your board.
Since the new forum user has 1 post, it is easier for admins to check for banned members.
Depending on the admincp settings this is either required to be filled in during the registration process,
or a default reply will be inserted.
You also have the ability to redirect the new user to their post if you want.
The new thread and post will appear on the forums after they reply to the activation email.

Things to do:
-------------------
9 mysql queries to run
1 File ( 6 edits)
1 Template edit
2 new templates to create
Set vboptions


Time to install:
-----------------
a few minutes

pics to follow

edit: updated to include allowing users to create thier own thread title, see instructions for upgrade information

Show Your Support

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

Comments
  #22  
Old 07-21-2003, 11:56 PM
KISS's Avatar
KISS KISS is offline
 
Join Date: Jan 2002
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
07-17-03 at 04:54 PM ap0c said this in Post #18
@KISS - yes, maybe I'll have time tomorrow night to write it. It's not hard, move the welcome thread box to the top of the page under email and change the code to, if nothing is inserted give a standard required field error


@Ian - no not presently, but by changing the redirection link they could be


Any update on this. I really like this option and would love to have it.
Reply With Quote
  #23  
Old 07-22-2003, 12:26 AM
ap0c's Avatar
ap0c ap0c is offline
 
Join Date: Mar 2003
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For requiring this during registration,done update soon.
Reply With Quote
  #24  
Old 07-23-2003, 12:12 AM
ap0c's Avatar
ap0c ap0c is offline
 
Join Date: Mar 2003
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
07-18-03 at 07:47 AM Mist said this in Post #19
ap0c - at KISS's question i suggest a nice admin cp option And the same with Ian's

- miSt

Is there anything else anyone can think of that needs to be added to the admincp? (see pic)
Reply With Quote
  #25  
Old 07-23-2003, 01:14 AM
KISS's Avatar
KISS KISS is offline
 
Join Date: Jan 2002
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope, that looks great. Can't wait to try it out.. Awesome work!
Reply With Quote
  #26  
Old 07-23-2003, 06:13 AM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's looking good ap0c, especially now with admin panel integration

Keep up the good work!
Reply With Quote
  #27  
Old 07-26-2003, 06:45 PM
ap0c's Avatar
ap0c ap0c is offline
 
Join Date: Mar 2003
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update to this hack

updated the first post to include the new instructions.
Every thing should work Make sure you update the admincp options!!!


New options added in the admincp for:
-requiring this to be filled during registration
-admin decides to redirect to the new thread created or not
-default title can be changed through the admincp
-default post can be changed through the admincp

let me know if you find any bugs.
apoc
Reply With Quote
  #28  
Old 07-26-2003, 09:53 PM
KISS's Avatar
KISS KISS is offline
 
Join Date: Jan 2002
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have email verification turned on during regisrtation, when I test this out with it. I get a database error during the email verification part. And I get 5 Welcome posts that are Identical from that which I think is one per time I clicked the verification link.

With it turned off I get no welcome message at all.

Any clues?
Reply With Quote
  #29  
Old 07-26-2003, 11:02 PM
ap0c's Avatar
ap0c ap0c is offline
 
Join Date: Mar 2003
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what are the lines around the db error line?
Did you install the first beta version?
Reply With Quote
  #30  
Old 07-27-2003, 12:21 AM
KISS's Avatar
KISS KISS is offline
 
Join Date: Jan 2002
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Invalid SQL: UPDATE user SET usergroupid=, usertitle='' WHERE userid='684'
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' usertitle='' WHERE userid='684'' at line 1

mysql error number: 1064

And yes I used the first database version.. If I uninstall this version the old one still works.

But thats the exact error I get. When Installed.
Reply With Quote
  #31  
Old 07-27-2003, 01:10 AM
ap0c's Avatar
ap0c ap0c is offline
 
Join Date: Mar 2003
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

KISS, check your pm

PHP Code:
around line 375 find and remove:

  
//registration hack
  
if ($regthread=="") {
    
$regthread="Hi, Im your newest member. I look forward to being part of this community";
$regthread=censortext($regthread);

see if removing this helps
Reply With Quote
Reply

Thread Tools

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:07 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.04502 seconds
  • Memory Usage 2,304KB
  • 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
  • (2)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
  • (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