vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Cyb - Advanced Registration (https://vborg.vbsupport.ru/showthread.php?t=198359)

shervin_dvb 03-14-2009 12:45 PM

do work this mode on the 3.8.1 ?

GeorgeB85 03-14-2009 02:08 PM

I am using this on 3.8.1 and I have had two different members email me telling me they could not join because the invitation code was invalid. Why is this happening? No one else has had this issue.

mr.reza 06-01-2009 06:00 PM

when i want to change Random Questions and click the [Setup] nothin happen .
what can i do ?

vitrag24 07-08-2009 06:51 PM

i want to install it.
but can u add one more feature?
pay to register along with registration by invite?
I want pay to register/registration by invite and while registration user can choose any subscription..

jskoh 07-23-2009 11:48 AM

hi.. isit the max to send invitation per time is 3? seem like more email cant be sent.

Valter 07-23-2009 01:18 PM

Check product options.

jskoh 07-23-2009 01:33 PM

ok.. i got it. thank.. very nice mod.

Gaskell 08-04-2009 03:32 PM

Hi Cybernetec,

I've installed this modification but my Global Moderators (all of whom can moderate users) don't have access to the user moderation page. Instead they get sent to misc.php's smiley list. It works fine for normal Administrators though.

Any ideas on the problem?

vitrag24 08-05-2009 08:39 AM

Hello Cybernetec,
Can u add this in next update plz?
https://vborg.vbsupport.ru/showpost....9&postcount=84

Gaskell 08-06-2009 10:39 AM

Quote:

Originally Posted by Gaskell (Post 1861266)
Hi Cybernetec,

I've installed this modification but my Global Moderators (all of whom can moderate users) don't have access to the user moderation page. Instead they get sent to misc.php's smiley list. It works fine for normal Administrators though.

Any ideas on the problem?

Sorted this myself by finding is_member_of($vbulletin->userinfo,6) in the "Cyb - Advanced Registration - ED" plugin and replacing it with is_member_of($vbulletin->userinfo,5,6) (where 5 is my Global Moderator group).

Gaskell 08-08-2009 10:31 AM

Is there any way to highlight COPPA users on the moderated user listing?

GeorgeB85 09-17-2009 01:09 PM

I temporarily disabled this hack, but I am decided to re enable it. However, I think I accidently did something wrong because where it says "Invitation code: 312312312" instead of giving numbers, it gives the referrals name.

My question is, in the phrase manager, what is the number that goes in between {} so the invite code shows up instead of the referrals name.

MrRem 12-15-2009 01:22 PM

Erm... Why does this show the Smiley list if you dont have access to send invites?

BadgerDog 01-31-2010 06:20 PM

Installed .... :up:

Thanks ...

Is there a reason the "Random Question" doesn't appear on the registration page when that option is turned ON?

Any help would be appreciated...

Thanks

Regards,
Badger

BadgerDog 02-03-2010 10:24 PM

Anyone else having the problem mentioned in previous post?

Thanks .. :)

Regards.
Badger

Firestorm17 07-18-2010 03:38 PM

Excuse me , this add on work's with vb 4.0.x???

ryancooper 09-16-2010 04:57 PM

to allow admins only to use this replace the template cyb_areg_invite with

Code:

        $stylevar[htmldoctype]
        <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
            <head>
            $headinclude
            <title>$vboptions[bbtitle] - $vbphrase[cybareg_invitations]</title>
            <script language="Javascript" type="text/javascript">
                function CybAReg_CheckMail(email_field,error_field,target){
                    emailRegExp = /^[_A-Za-z0-9-]+(\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(\.([A-Za-z]){2,4})$/;
                    var error_address = '$vbphrase[cybareg_invitation_mailerror]: ';
                    var error_blank = '$vbphrase[cybareg_invitation_missingmail]';
                    var error_number = '$vbphrase[cybareg_invitation_limit]: $vboptions[cybareg_invite_oncelimit]';
                    var wait_message = '$vbphrase[cybareg_wait]';
                    var email = target.split(",");
                    var errmail = "";

                    if (target=='')
                    {
                        document.getElementById(error_field).innerHTML=error_blank;
                        document.cybareg_invite.cybareg_invite_email.focus();
                        return false;
                    }
                    else if (email.length>$vboptions[cybareg_invite_oncelimit])
                    {
                        document.getElementById(error_field).innerHTML=error_number;
                        document.cybareg_invite.cybareg_invite_email.focus();
                        return false;
                    }
                    else
                    {
                        for (var i in email)
                        {
                            if (!emailRegExp.test(email[i]))
                            {
                                errmail += "; " + email[i];
                            }
                        }
                        if (errmail)
                        {   
                            document.cybareg_invite.cybareg_invite_email.focus();
                            document.getElementById(error_field).innerHTML=error_address + "<span class=\"smallfont\">" + errmail.substr(1) + "</span>";
                            return false;
                        } else {
                            document.getElementById(error_field).innerHTML=wait_message;
                            return true;
                        }
                    }
                }
                function CybAReg_UpdName(name){
                    if (name=='')
                    {
                        cybareg_name = "";
                    }
                    else
                    {
                        cybareg_name = " (" + name + ")";
                    }
                    document.getElementById('cybareg_nameupd').innerHTML=cybareg_name;
                }
            </script>
            </head>
            <body onload="document.cybareg_invite.cybareg_invite_email.focus();">
            $header
            $navbar
            <if condition="(($vboptions[cybareg_invite_amount]>0) AND ($cyb_areg_total_inv_user >= $vboptions[cybareg_invite_amount]))">
                <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                    <tr valign="top">
                        <td class="tcat" align="$stylevar[left]">$vbphrase[cybareg_invitations]</td>
                    </tr>
                    <tr>
                        <td class="alt1" align="center"><phrase 1="$vboptions[cybareg_invite_amount]">$vbphrase[cybareg_invitation_nomore]</phrase></td>
                    </tr>
                </table>
            <else />
               
    <if condition="$bbuserinfo['usergroupid'] == 6">



<form name="cybareg_invite" id="cybareg_invite" action="misc.php?do=cybareginvdo" method="post" onsubmit="return CybAReg_CheckMail('cybareg_invite_email','cybareg_wrongmail', document.cybareg_invite.cybareg_invite_email.value);">
                    <input type="hidden" name="securitytoken" value="$cybareg_sectok" />
                    <input type="hidden" name="cybareg_inviter_id" value="$bbuserinfo[userid]" />
                    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                        <tr>
                            <td class="tcat" align="$stylevar[left]" colspan="2">$vbphrase[cybareg_invitations] $cyb_areg_inv_myinfo</td>
                        </tr>
                        <tr>
                            <td class="thead" align="$stylevar[left]">$vbphrase[email]</td>
                            <td class="thead" align="$stylevar[left]" width="50%">$vbphrase[cybareg_invitation_message_info]</td>
                        </tr>
                        <tr>
                            <td class="alt1" align="center"><span class="smallfont">$vbphrase[cybareg_invitation_notes]</span><br /><br /><span id="cybareg_wrongmail" style="color:red;">$vbphrase[cybareg_invitation_recipients]:</span><br /><br /><input type="text" class="smallfont" id="cybareg_invite_email" name="cybareg_invite_email" value="" size="50" dir="ltr" /></td>
                            <td class="alt2" align="$stylevar[left]" rowspan="2"><pre style="font-family:Verdana;font-size:11px">$cybareg_invmess_preview</pre></td>
                        </tr>
                        <tr>
                            <td class="alt1" align="center"><span class="smallfont">$vbphrase[cybareg_invitation_realname]</span><br /><br /><span>$vbphrase[cybareg_invitation_yourname]:</span><br /><br /><input type="text" class="smallfont" id="cybareg_inviter_name" name="cybareg_inviter_name" value="" size="50" dir="ltr" onkeyup="CybAReg_UpdName(this.value);" /></td>
                        </tr>
<tr>
                            <td class="tfoot" align="center" colspan="2">                      <input class="buton" type="submit" value="&nbsp;$vbphrase[send]&nbsp;" /><br>At this time invites are limited to admins only.</td>
                        </tr>
                    </table>
                </form>
            </if></if>
            <br />
At this time invites are limited to admins only.
            $footer
            </body>
        </html>

it doesn't actually NOT allow users to use the invites BUT it hides the invite forum to all but admins... Hope this helps soneone!

Ryan

X-or 12-28-2010 11:29 AM

works in 3.6.12?

AuroraStorm 03-31-2011 10:17 PM

Works just fine...thanks!

AuroraStorm 03-31-2011 10:36 PM

How can I assign this to the Super Moderator?


All times are GMT. The time now is 11:04 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.02179 seconds
  • Memory Usage 1,814KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)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