vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - VSa - Advanced Registration (https://vborg.vbsupport.ru/showthread.php?t=236117)

Valter 05-20-2011 09:42 PM

It works fine on 4.1.3.

Wallace40 05-21-2011 01:09 AM

I'm a total newbie and dont know a thing about anything but I managed to add this plug in and it was so helpful I cant tell you!

Thank you so much!

galerio 05-23-2011 07:08 PM

Why in the emails sent for invitation the link to register is not with the referred id?

A link for example:
site.com/register.php?referrerid=2

Because the invited users must write manually the referrer username.

Please, consider to add this option in future version.

Valter 05-25-2011 07:15 AM

Don't worry, inviter is marked as referrer the other way.

There is NO need to add referrerid=X to address.

stwan 05-31-2011 04:38 PM

HTML Code:

<script language="Javascript" type="text/javascript">
                                function VSaChAregAll(obj) {
                                        arrInput = document.getElementsByTagName("input");
                                        for (i=0; i<arrInput.length; i++) {
                                                if (arrInput[i].type == 'checkbox') {
                                                        arrInput[i].checked = obj.checked;
                                                }
                                        }
                                }
                                function VSa_SwitchAreg(target)
                                {
                                        if (target=="users_mod")
                                        {
                                                document.getElementById("vsaareg_tu_mod").style.display = "block";
                                                document.getElementById("vsaareg_tu_act").style.display = "none";
                                                document.getElementById("vsaareg_tu_inv").style.display = "none";
                                                document.getElementById("vsaareg_tq").style.display = "none";
                                        }
                                        if (target=="users_act")
                                        {
                                                document.getElementById("vsaareg_tu_mod").style.display = "none";
                                                document.getElementById("vsaareg_tu_act").style.display = "block";
                                                document.getElementById("vsaareg_tu_inv").style.display = "none";
                                                document.getElementById("vsaareg_tq").style.display = "none";
                                        }
                                        if (target=="users_inv")
                                        {
                                                document.getElementById("vsaareg_tu_mod").style.display = "none";
                                                document.getElementById("vsaareg_tu_act").style.display = "none";
                                                document.getElementById("vsaareg_tu_inv").style.display = "block";
                                                document.getElementById("vsaareg_tq").style.display = "none";
                                        }
                                        if (target=="questions")
                                        {
                                                document.getElementById("vsaareg_tu_mod").style.display = "none";
                                                document.getElementById("vsaareg_tu_act").style.display = "none";
                                                document.getElementById("vsaareg_tu_inv").style.display = "none";
                                                document.getElementById("vsaareg_tq").style.display = "block";
                                        }
                                }
                        </script>

replace:

HTML Code:

<script type="text/javascript">
<!--
                                function VSaChAregAll(obj) {
                                        arrInput = document.getElementsByTagName("input");
                                        for (i=0; i<arrInput.length; i++) {
                                                if (arrInput[i].type == 'checkbox') {
                                                        arrInput[i].checked = obj.checked;
                                                }
                                        }
                                }
                                function VSa_SwitchAreg(target)
                                {
                                        if (target=="users_mod")
                                        {
                                                document.getElementById("vsaareg_tu_mod").style.display = "block";
                                                document.getElementById("vsaareg_tu_act").style.display = "none";
                                                document.getElementById("vsaareg_tu_inv").style.display = "none";
                                                document.getElementById("vsaareg_tq").style.display = "none";
                                        }
                                        if (target=="users_act")
                                        {
                                                document.getElementById("vsaareg_tu_mod").style.display = "none";
                                                document.getElementById("vsaareg_tu_act").style.display = "block";
                                                document.getElementById("vsaareg_tu_inv").style.display = "none";
                                                document.getElementById("vsaareg_tq").style.display = "none";
                                        }
                                        if (target=="users_inv")
                                        {
                                                document.getElementById("vsaareg_tu_mod").style.display = "none";
                                                document.getElementById("vsaareg_tu_act").style.display = "none";
                                                document.getElementById("vsaareg_tu_inv").style.display = "block";
                                                document.getElementById("vsaareg_tq").style.display = "none";
                                        }
                                        if (target=="questions")
                                        {
                                                document.getElementById("vsaareg_tu_mod").style.display = "none";
                                                document.getElementById("vsaareg_tu_act").style.display = "none";
                                                document.getElementById("vsaareg_tu_inv").style.display = "none";
                                                document.getElementById("vsaareg_tq").style.display = "block";
                                        }
                                }
// -->

                        </script>
{vb:raw headinclude_bottom}

In template vsa_areg_manage.

RobbieZ 05-31-2011 05:21 PM

Anyone explain why this error happens when enter emails?

Error: e-mail address(es) incorrect: function () { for (var i = 1; i < this.length; i++) { if (this[i][0] == this[i-1][0]) { this.splice(i,1); } } }; function () { for (var i = 0; i <= this.length; i++) { this.shift(); } }

Thanks

Videx 05-31-2011 05:47 PM

Quote:

Originally Posted by RobbieZ (Post 2202147)
Anyone explain why this error happens when enter emails?

Error: e-mail address(es) incorrect: ...

No, but I can explain how to find the answer. Go to the upper right and hit "Search this mod". Search on something specific like "Error: e-mail address(es) incorrect". I see one solution at https://vborg.vbsupport.ru/showpost....&postcount=227. Let us know if it works for you.

RobbieZ 06-01-2011 12:58 AM

Thanks Videx, my error message is considerably shorter than that one plus I uninstalled the vbstatus mod.

I'll have another hunt.

Videx 06-01-2011 01:08 AM

The next obvious step would be to try disabling all your mods. But as you see from that experience, sometimes just disabling them doesn't fix it.

crazyboy1661 06-01-2011 02:23 PM

<font size="6">Any hack for 4.1.3 ? Pls reply</font>


All times are GMT. The time now is 11:07 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.01509 seconds
  • Memory Usage 1,771KB
  • 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_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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