Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 07-31-2009, 09:02 PM
KarateStory KarateStory is offline
 
Join Date: Apr 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to add questions to registration page, answers generate member's signature?

I want to add questions to the registration page and use the answers to create the member's signature.

I've found lots of info on adding questions to the signup form, such as:
http://www.vbulletin.com/forum/showthread.php?t=108785

How would the answers be inserted into the member's signature?
I only want to insert the answers once at signup
, after that the member is free to edit his sig just like everyone else.

dreary details of the mod follow:

*** Start of signup page mod ***

The following optional questions will help us to link to your dojo.
You may edit this information later in your member's control panel.
Your Dojo's Name: ______
Your Dojo's Website URL: ______
Your Style of Karate: ______
Your Belt Rank: "I am a _______ belt."

*** End of signup page mod ***

All inputs are text.

From these questions, you will populate the sig file field of the member's db. His sig file will look like this:

*** start of sig file ***
--
$UserName, $belt_rank Belt, $style
$dojo_name (linked to $dojo_url) (IF $dojo_name is blank AND $dojo_url is NOT blank, print $dojo_url)
*** end of sig file ***

Thanks
Reply With Quote
  #2  
Old 09-14-2009, 07:23 PM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Zero response to this? WOW

I am i dire need of this as well. I need specific custom profile fields that are entered at registration to auto populate new members signatures.

Anyway to achieve this?
Reply With Quote
  #3  
Old 09-15-2009, 01:30 AM
KarateStory KarateStory is offline
 
Join Date: Apr 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This problem was solved, I really owe the guy a mention in this thread. SirAdrian fixed this for me at a very reasonable price, I think only $20. It's working on http://KarateStory.com now.

There was a bug in it that maybe wasn't addressed, I kinda dropped the ball after my bug report. It didn't handle the case where the surfer fails to fill in all the fields. That should be a simple fix.

--------------- Added [DATE]1252982367[/DATE] at [TIME]1252982367[/TIME] ---------------

Check this thread: https://vborg.vbsupport.ru/showthread.php?t=220327
Reply With Quote
  #4  
Old 09-15-2009, 03:23 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you willing to share this mod I need it badly for my site. Please let me know.
Reply With Quote
  #5  
Old 09-15-2009, 11:09 AM
KarateStory KarateStory is offline
 
Join Date: Apr 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yotsume View Post
Are you willing to share this mod I need it badly for my site. Please let me know.
I don't mind but not sure it's the kind of thing I can just send. It involves code changes to some files, I don't know which files or anything. SirA would know. He's busy with a project now but should be available again in a couple of weeks.
Reply With Quote
Reply

Thread Tools
Display Modes

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 01:30 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.09203 seconds
  • Memory Usage 2,190KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete