vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   New Users Create their own Welcome thread During Registration (https://vborg.vbsupport.ru/showthread.php?t=55287)

KISS 07-21-2003 11:56 PM

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.

ap0c 07-22-2003 12:26 AM

For requiring this during registration,done update soon.

ap0c 07-23-2003 12:12 AM

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)

KISS 07-23-2003 01:14 AM

Nope, that looks great. Can't wait to try it out.. Awesome work!

Oblivion Knight 07-23-2003 06:13 AM

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

Keep up the good work!

ap0c 07-26-2003 06:45 PM

Update to this hack

updated the first post to include the new instructions.
Every thing should work :cool: 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

KISS 07-26-2003 09:53 PM

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?

ap0c 07-26-2003 11:02 PM

what are the lines around the db error line?
Did you install the first beta version?

KISS 07-27-2003 12:21 AM

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.

ap0c 07-27-2003 01:10 AM

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


All times are GMT. The time now is 05:50 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.01102 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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