vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - Short and Simple Registration system - Collapsible addition information (https://vborg.vbsupport.ru/showthread.php?t=269610)

Scanu 09-02-2011 10:00 PM

Short and Simple Registration system - Collapsible addition information
 
1 Attachment(s)
Hi guys this is a mod of this modification that add some features and solving bug whit additional information required like birthday gender ecc. This modifications allow your user to choose between a fast registration or a accurate registration, the fast registration is simpler and don't include additional information, by the default fast registration you can access at the accurate registration let me explain with screenshots

NORMAL VB REGISTRATION

http://buypoe.com/images/11.png

FAST REGISTRATION

http://img694.imageshack.us/img694/1495/immaginemtd.png

ACCURATE REGISTRATION

http://img824.imageshack.us/img824/6932/immagine2sq.png


HOW TO
Go in admincp/Style manager/your skin/edit templates/Registration template/ register
Replace all the code with the code in the attached text file

If you have bug with required field please go here to see how to fix

If you want to change or translate the phrase of the button go here


I'm italian so i hope my english is not wrong if you don't understand please feel free to tell me and i will explain you better




Version history
-1.0 first release on Vbulletin.org

Manoel J?nior 09-03-2011 05:32 PM

Please, make plugin!

Thanks

vBulletin 3.8.7

Scanu 09-03-2011 06:02 PM

I wiil do it but for now i can just post the templates :)

kfyonur 09-04-2011 07:05 AM

<a href="https://vborg.vbsupport.ru/showthread.php?t=254438" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=254438</a>

it is same and easy.

Scanu 09-04-2011 08:49 AM

HOW TO CHANGE/TRANSLATE PHRASE
In the template search
Code:

Additional informations for accurate registration
and replace with your phrase

Scanu 09-04-2011 08:49 AM

HOW TO FIX ADDITIONAL INFORMATION REQUIRED BUG
If you have selected custom field as required you have to:

Find this:
Code:

<vb:if condition="$show['customfields_profile']">
                        <h3 class="blocksubhead">{vb:rawphrase additional_required_information_profile}</h3>
                        <div class="section">
                                {vb:raw customfields_profile}
                                <vb:if condition="$show['birthday']">{vb:raw birthdayfields}</vb:if>
                        </div>
                </vb:if>

and replace with
Code:

                <vb:if condition="$show['birthday']">        <h3 class="blocksubhead">{vb:rawphrase additional_required_information_profile}</h3>
                        <div class="section">
                                {vb:raw birthdayfields}
                        </div>
                </vb:if>

Then find
Code:

<p class="description">{vb:rawphrase enter_valid_email_address}</p>
Under this add
Code:

<vb:if condition="$show['customfields_profile']">
                       
                                {vb:raw customfields_profile}
</vb:if>

If you have the birthday as require
Find this:
Code:

<vb:if condition="$show['customfields_profile']">
                        <h3 class="blocksubhead">{vb:rawphrase additional_required_information_profile}</h3>
                        <div class="section">
                                {vb:raw customfields_profile}
                                <vb:if condition="$show['birthday']">{vb:raw birthdayfields}</vb:if>
                        </div>
                </vb:if>

and replace with
Code:

<vb:if condition="$show['customfields_profile']">
                       
                                {vb:raw customfields_profile}
</vb:if>

Then find
Code:

<p class="description">{vb:rawphrase enter_valid_email_address}</p>
Under this add
Code:

<vb:if condition="$show['birthday']">       
                       
                                {vb:raw birthdayfields}
                </vb:if>

If you have another filed required tell me what it is and i tell you how to fix :)
I'm italian so i hope my english is not wrong if you don't understand please feel free to tell me and i will explain you better

Scanu 09-04-2011 09:00 AM

Simplified so it doesn't seem hard

Scanu 09-04-2011 09:19 AM

Quote:

Originally Posted by kfyonur (Post 2241764)

it isn't the same because you can't expand the registration to fill the additional field and there are many bugs with require field

fizzow 09-07-2011 06:40 AM

I test this on my test forum but when I click on 'Additional informations for accurate registration' button, seems it doesn't do anything. Why?

Scanu 09-07-2011 10:29 AM

can you link the forum please i will see what's the problem :)

RichieBoy67 04-26-2012 08:18 AM

Is this is working on the latest versions of VB or is it working at all?

Scanu 04-26-2012 05:52 PM

It should work

dog-tag 01-03-2013 08:34 AM

Works fine, except for the rules box dissapears. I found the other plugin mentioned worked better for me.


All times are GMT. The time now is 05:49 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.01181 seconds
  • Memory Usage 1,747KB
  • 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
  • (9)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)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