vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   I need some help doing this (https://vborg.vbsupport.ru/showthread.php?t=50495)

juaniquillo 03-20-2003 03:19 AM

I need some help doing this
 
I originally posted my issue here but Steve Machol referred me to vB.org. Anyone can help with this? I'm running vb 2.3.0

Dpcows 03-20-2003 07:35 AM

Change your templates or your query.

You mentioned a custom register on your forum, so i don't know wich one, or how it works

juaniquillo 03-20-2003 11:52 AM

1 Attachment(s)
I will post the original thread here for simplicity:

#1 (me) - I would like to setup the red marked options as default for all new members (see image below). As per another posting, I did change the template "modifyoptions" to checked (for the desired radio buttons) but new members still default to the values seen on the image. Any suggestions?

https://vborg.vbsupport.ru/external/...achmentid=5220

#2 (Steve Machol) - You need to make these changes to the registeradult template.

#3 (me) - Yes, I figured that out after posting. But... the problem is that I've setup a non-vB script to sign-up new members (paid membership). This script adds a user / email directly to the vB tables therefore users don't go through the vB registration process. Later on, they can go and change the settings through usercp but I'd like to have those specific options default to those values.

Given that, is there a way I can make vB default this specific options to my desired values? php changes perhaps?

#4 (Steve Machol) - You'll need to ask about this over at the hacking site - vbulletin.org.

juaniquillo 03-20-2003 12:08 PM

Quote:

Change your templates or your query
I am using a signup script that creates a user (username / email /password) directly to the vB tables. It's for paid subscription to vB.

Once a prospect has made a successful payment, the script uses the provided username / password / email to create a new acct. in vbulletin. All registrations will be paid. Therefore, all users will use this script (for registration) instead of vbulletin's.

I guess that... the problem here is that I'm not using the standard vbulletin registration process which defines those user options. My script only specifies the username / password / email and vB defauts this other data (see picture) to "no" or blank? in the tables.

Is there a simple way of telling vB I want those user options default to yes if no data is provided when the user was created?


All times are GMT. The time now is 10:48 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.00913 seconds
  • Memory Usage 1,718KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete