vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - New Thread on Registration (https://vborg.vbsupport.ru/showthread.php?t=73093)

The Realist 12-21-2004 05:21 PM

No not upgraded but new install using version 2.

Quote:

Originally Posted by tnguy3n
I'm confused. you upgraded from version 1 or that was fresh installation of version 2?

If you upgrade to version 2, log into your admincp and create a new phrase as following:

Phrase Type: Register
Varname: welcome_message_default
Text: Hello, I'm new here, hope to be y'all's friend!

I made little mistake on dat in the upgrade instruction (which is already fixed now).


Lionel 12-21-2004 05:21 PM

and after registering user gets this when trying to go back on forumhome

Invalid SQL: SELECT userid FROM usersonline WHERE userid=
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 '' at line 1

mysql error number: 1064

Lionel 12-21-2004 05:30 PM

everything is fine when I go back to my old register.php with previous version. I am using 3.01

tnguy3n 12-21-2004 05:48 PM

@Lionel: update function only inserts 2 new phrases + 1 new setting, it doesn't tough user table.

I tested it on 3.0.3 . I'll get back to ya after I fully test this version 2 on earlier version of vb3 (luckily, i still have 3.0.1 on my laptop). :)

Socomjunky.com 12-21-2004 06:54 PM

okay i fixed it. Thanks awesome hack and i just clicked install :)

tnguy3n 12-21-2004 07:39 PM

Quote:

Originally Posted by Lionel
everything is fine when I go back to my old register.php with previous version. I am using 3.01

I got vb 3.0.0 + 3.0.3 on my localhost, they all seemed to work fine, both fresh installation and upgrade. Try to upgrade again (don't forget to run welcomethread_installer.php , then upgrade option) and follow instructions closely.
If you still have problem with it, drop me a PM and i'll help you out when i'm available. ;)

msimonds 12-22-2004 12:03 AM

oustanding and easy hack to install!

I would like to make it a manditory option and if they dont fill out the form, dont make a post!

joeychgo 12-22-2004 01:38 PM

I like the idea of this hack alot - is there a way to make it so it also displays the results of selected provile fields such as 'Location' ?

TTG 12-22-2004 02:00 PM

Had 1st new member since installing this hack .. new member didn't fill in any 1st post so the default message was posted in the correct forum .. when he went to reply to the post :-

Database error in vBulletin 3.0.3:

Invalid SQL:
SELECT
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP

mysql error number: 1054

-------------------------------------------------------------------------

Removed hack and all now works well !?

Re-installed and all works well now .. must have made an error on installation https://vborg.vbsupport.ru/external/2004/12/1.gif

Socomjunky.com 12-22-2004 08:59 PM

okay i have the hack installed but its producing blank topics was it because they didnt fill out anything?


All times are GMT. The time now is 06:55 AM.

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.01485 seconds
  • Memory Usage 1,734KB
  • 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
  • (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