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)

volarium 06-26-2010 03:37 PM

A little confused about the Delete Inactive Accounts feature. Does it happen automatically, or does it just provide you a list of inactive users that you can manually delete? If it happens automatically, how does it work? I don't see a new Scheduled Task, so just wondering what runs the automatic deletion, and when it runs. Thanks for the clarification.

Gun Geek 06-29-2010 05:38 AM

Having same problems as others, Going to the smiley page and logging out user????

Gun Geek 07-01-2010 07:08 PM

Never mind it was a cookie issue. My bad. Installed. Thank you.

BrightStar 07-01-2010 07:48 PM

Quote:

Originally Posted by Gun Geek (Post 2062912)
Never mind it was a cookie issue. My bad. Installed. Thank you.

How did you fix it as mine keeps going to smiley page? :confused:

Dragaon 07-15-2010 03:53 PM

Yep, excellent mod. We have been using it since March with great success.
I have one issue I would like to work out. There are numerous invites that have been sent out and never answered. So we have a large number of "Not Accepted Yet" in the invites list.
Occasionally we are asked to resend as the users spam blocker or whatever blocked it.
So here''s the issue; when we need to resend we have to manually search through 1,400+ invites to find and delete the one sent previously so we can resend.
Can there be a way to search and remove email addresses not yet accepted?
Can there be a way to automatically delete invites not accepted after a predetermined amount of time?

Thanks

promet 07-15-2010 09:14 PM

voted installed excellent mod.

thanks a million.

Valter 07-15-2010 10:30 PM

Quote:

Originally Posted by Dragaon (Post 2069546)
Can there be a way to automatically delete invites not accepted after a predetermined amount of time?

Invitation expiration may be added in next version.

I can't say atm when it will be released.

Gun Geek 07-18-2010 01:49 PM

Quote:

Originally Posted by Mike007 (Post 2062935)
How did you fix it as mine keeps going to smiley page? :confused:

You need to make sure that your forum cookie settings are set up properly. I noticed that when logged in if I went to any other page it logged me out it wasnt just with this mod.

Gun Geek 07-18-2010 01:50 PM

A lot of times the invitations are not sent out. Can you help with this. It mostly looks like Yahoo, gmail and hotmail that they never get the email. I dont get any notices of a failed delivery but they dont get the email.

mradlin 07-18-2010 03:45 PM

Installed!!

ceho 07-18-2010 04:05 PM

The mod is great, but it ignores the additional.css. As this is where I defined parts of my header and footer, is it somehow possible to make the mod use the additional.css?

Thanks!

Edit: got it, {vb:raw headinclude_bottom} is missing. By the way, the Advanced Forum Rules have the same little issue, the PayPal Donate mod doesn't (I found the solution by comparing the templates ;-)).

aimsln 07-19-2010 07:01 PM

Creating mastercode for Invation system:


Replace the plug-in code of "VSa - Advanced Registration - MN"
PHP Code:

if ($vbulletin->options['vsaareg_enable'] AND $vbulletin->options['vsaareg_enable_questions'])
        {
            
$vbulletin->db->hide_errors();
            
$vbulletin->input->clean_array_gpc('p', array(
                
'vsaareg_id' => TYPE_UINT,
                
'vsaareg_answer' => TYPE_STR)
            );
            if (
$vbulletin->GPC['vsaareg_id']>0)
            {
                
$vsaareg_tqinfo $vbulletin->db->query_first("
                    SELECT id, question, answer
                    FROM " 
TABLE_PREFIX "vsa_advreg AS vsa_advreg
                    WHERE id = '"
.$vbulletin->db->escape_string($vbulletin->GPC['vsaareg_id'])."'
                "
);
                if (
strtoupper($vbulletin->GPC['vsaareg_answer']) != strtoupper($vsaareg_tqinfo['answer']))
                {
                    
$userdata->error('vsaareg_wrong_answer'$vbphrase['vsaareg_random_question']);
                }
            }
            
$vbulletin->db->show_errors();
        }
    
        if (
$vbulletin->options['vsaareg_enable'] AND $vbulletin->options['vsaareg_enable_invite'])
        {
            
$vsaareg_invonly "";
            if (
$vbulletin->options['vsaareg_enable_invite_only'])
            {
                
$vsaareg_aregcode $vbulletin->input->clean_gpc('p''vsaareg_code'TYPE_STR);
                
$vsaareg_invonly "AND code = $vsaareg_aregcode";
            }
            if(
$vsaareg_aregcode != 'masterinvitecode'
            {
                
$vbulletin->db->hide_errors();
                
$vsaareg_tiinfo $vbulletin->db->query_first("
                    SELECT id, inviter, invited, code
                    FROM " 
TABLE_PREFIX "vsa_advreg_invite AS vsa_advreg_invite
                    WHERE invited = '"
.$vbulletin->db->escape_string($vbulletin->GPC['email'])."' AND done = '0' $vsaareg_invonly
                "
);
                if (
$vsaareg_tiinfo['id']>0)
                {
                    if (empty(
$userdata->errors))
                    {
                        
$vbulletin->db->query_write(" UPDATE " TABLE_PREFIX "vsa_advreg_invite SET done = '1' WHERE id = '".                        $vbulletin->db->escape_string($vsaareg_tiinfo['id'])."' ");
                        
$vsaareg_refinfo $vbulletin->db->query_first("
                            SELECT username
                            FROM " 
TABLE_PREFIX "user AS user
                            WHERE userid = '"
.$vbulletin->db->escape_string($vsaareg_tiinfo['inviter'])."'
                        "
);
                        
$userdata->set('referrerid'$vsaareg_refinfo['username']);
                    }
                }
                else if (
$vbulletin->options['vsaareg_enable_invite_only'])
                {
                    
$userdata->error('vsaareg_wrong_invcode');
                }
                
$vbulletin->db->show_errors();
            } else {
                
$userdata->set('referrerid'useridnumber);
            }
        } 

Replace masterinvitecode by your string. Sample would be: funnyday
PHP Code:

if($vsaareg_aregcode != 'funnyday'

And change the useridnumber to the user who will be listed as the referer:
PHP Code:

$userdata->set('referrerid'1); 

Not the username but the userid!

In my case this is our admin.

:)

oddmud 07-19-2010 11:42 PM

I may be stupid but, I tried to register an account, and it didn't show me anywhere about sending invitations. I checked the settings, and usergroups 1 and 8 are not allowed to send invitations. So when do they get to send invitations if their still waiting email confirmation, or what not...

I'm not sure that makes a whole bunch of sense, but yeah.. i'm a little confused.

Gun Geek 07-20-2010 02:15 AM

Add aol to the list above.

BrightStar 07-20-2010 09:18 AM

Quote:

Originally Posted by Gun Geek (Post 2071085)
You need to make sure that your forum cookie settings are set up properly. I noticed that when logged in if I went to any other page it logged me out it wasnt just with this mod.

I've installed this mod on another forum and it works perfectly fine. the URL it takes you is exactly the same on both forum when setting up a random question but on my actual forum it takes me to the smilies page.

Could someone help me fix this as developer seems to be ignoring my question.

Thanks a lot.

ProFifaLeagues 07-20-2010 09:27 AM

Quote:

Originally Posted by Mike007 (Post 2071925)
I've installed this mod on another forum and it works perfectly fine. the URL it takes you is exactly the same on both forum when setting up a random question but on my actual forum it takes me to the smilies page.

Could someone help me fix this as developer seems to be ignoring my question.

Thanks a lot.

Maybe worth redownloading the xml and trying to re import it mate

BrightStar 07-20-2010 04:15 PM

Quote:

Originally Posted by rammieone (Post 2071927)
Maybe worth redownloading the xml and trying to re import it mate

Well that didnt help but thanks for the tip. Odd thing is it doesnt even appear in quick links menu either!

KURTZ 07-26-2010 04:39 PM

1 Attachment(s)
fully italian translation ... :D

mailshuxin 07-27-2010 06:16 AM

1 Attachment(s)
Chinese version
Tested on vbulletin suite 4.0.4

mailshuxin 07-27-2010 06:20 AM

Thins mod is very great

Gun Geek 07-29-2010 01:16 AM

Quick question, how do I allow another user group to manage the invites etc. Like the super moderators. I am getting over run trying to do all of it myself.

TheSupportForum 07-30-2010 08:25 AM

Please update this for 4.0.5 or 4.0.6 when it is out

ShawneyJ 08-10-2010 12:04 AM

Quote:

Originally Posted by Mike007 (Post 2071925)
I've installed this mod on another forum and it works perfectly fine. the URL it takes you is exactly the same on both forum when setting up a random question but on my actual forum it takes me to the smilies page.

Could someone help me fix this as developer seems to be ignoring my question.

Thanks a lot.

lol im getting the same thing, i re-uploaded the product but still still sends me to smiles page.

edit: actually uninstalled, its makes the registration page look messy in IE to.

pantani 08-10-2010 07:10 AM

Thank you verry much, installed ;)

GeorgeB85 08-16-2010 02:58 PM

I am having a situation, and still have NOT figured out how to solve it.

In the text that is sent to a user that I send a invite to, it shows up BOLD when I go to send the invite...but when they get the invite, it doesn't show BOLD. It just shows the HTML code instead.

How can i fix that/

ALBCODERS 08-17-2010 03:31 PM

I have Database Error after testing this mod on vbulletin 4.0.3

The database has encountered a problem.

Videx 08-17-2010 03:51 PM

Quote:

Originally Posted by AlbCoder (Post 2085330)
I have Database Error after testing this mod on vbulletin 4.0.3

The database has encountered a problem.

That's not the error, a MySQL error looks like this:
Quote:

Invalid SQL:
INSERT IGNORE INTO blah blah;

MySQL Error : Unknown column 'blinc' in 'field list'
Error Number : 1054
But since this mod requires no manual edits, really the only thing that would cause errors would be conflicts with other mods. Look at what you have installed and try disabling anything similar.

GeorgeB85 08-21-2010 06:35 PM

Valter:

Would it be possibly to have the invite system on autopilot. Meaning, that if a user where to send an email to say "invite@abc.com" then it the invitation system, would automatically send them a invitation to join the forums?

OverhaulNetwork 09-12-2010 08:17 PM

I would love to see the invitation system tie into the referral system. Where the link in the invitation email would be the sending users referral registration link.

eg. http://www.domain.com/register.php?referrerid=1

Valter 09-14-2010 08:50 PM

This has been answered many times - user who invites their friends will be marked as referrers on registration. This is just done in different way.

Neo-Dragon 09-17-2010 06:35 PM

I can't seem to get the Random Question to show when someone clicks on register.
I have it enabled and have a question set as active.
Any ideas how to fix this?

Edit: Re-install fixed it. Nice one!

mondiuk 10-11-2010 02:53 PM

good mode installed and is workin perfect,

bigrover 10-12-2010 08:50 PM

I understand this system tracks the referrer in a different way, matching it up when the new user passes moderation. But how does it handle the possibility the new user may have entered a different referrer during the signup? Which one will take precedence?

Also, how can I customize the email message phrase?

Lastly, have you considered adding the ability for the person sending the invitation to add some personal content to the invite email?

Thank you for this mod. It took me a while to verify the email was going out but now it is working solid.

bigrover 10-12-2010 08:58 PM

It would also be very cool to be able to search the invites in order to delete one we would like to send again.

YankForum 10-18-2010 03:07 PM

installed and nominated

GeorgeB85 10-18-2010 07:38 PM

One option I would like to see, is the option to send out a reminder invite for users you have invited but have not joined yet. Kind of like now, you can click the box next to their email addresses, to delete them, and so you can re invite them. Well the same principle, but after you click the boxes, you have the option to resend an invite to them.

This to me, would be quite useful!

RobbieZ 10-21-2010 11:14 AM

I get this error when I add an email to in the invite area and hit send.

Code:

Error: e-mail address(es) incorrect:  [object Object]; function forEach() { [native code] }; function () { return this.filter($defined); }; function (keys) { var obj = {}, length = Math.min(this.length, keys.length); for (var i = 0; i < length; i++) { obj[keys[i]] = this[i]; } return obj; }; function (object) { var result = {}; for (var i = 0, l = this.length; i < l; i++) { for (var key in object) { if (object[key](this[i])) { result[key] = this[i]; delete object[key]; break; } } } return result; }; function (item, from) { return this.indexOf(item, from) != -1; }; function (array) { for (var i = 0, j = array.length; i < j; i++) { this.push(array[i]); } return this; }; function () { return this.length ? this[this.length - 1] : null; }; function () { return this.length ? this[$random(0, this.length - 1)] : null; }; function (item) { if (!this.contains(item)) { this.push(item); } return this; }; function (array) { for (var i = 0, l = array.length; i < l; i++) { this.include(array[i]); } return this; }; function (item) { for (var i = this.length; i--; i) { if (this[i] === item) { this.splice(i, 1); } } return this; }; function () { this.length = 0; return this; }; function () { var array = []; for (var i = 0, l = this.length; i < l; i++) { var type = $type(this[i]); if (!type) { continue; } array = array.concat(type == "array" || type == "collection" || type == "arguments" ? Array.flatten(this[i]) : this[i]); } return array; }; function (array) { if (this.length != 3) { return null; } var rgb = this.map(function (value) {if (value.length == 1) {value += value;}return value.toInt(16);}); return array ? rgb : "rgb(" + rgb + ")"; }; function (array) { if (this.length < 3) { return null; } if (this.length == 4 && this[3] == 0 && !array) { return "transparent"; } var hex = []; for (var i = 0; i < 3; i++) { var bit = (this[i] - 0).toString(16); hex.push(bit.length == 1 ? "0" + bit : bit); } return array ? hex : "#" + hex.join(""); }; function () { return JSON.encode(this); }
I also notice that anyone can join.. even if the option to allow only invited is switched on.

MonsterDK 10-25-2010 07:32 PM

hey, you know the a answers to the registration questions, they seem to be care sensitive?
so if the answer is 'apple' and you input 'Apple' it fails.. can this be sorted.. is there a way to input more than one answer to over come this?

MichaelDance 10-26-2010 07:11 PM

mate can you make a new upgrade for this with an option to generate random invitation codes via admincp? It would be very helpful.

persianpros 10-27-2010 07:08 AM

Persian Translation :cool:

By Persian Prince


All times are GMT. The time now is 09:15 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.01562 seconds
  • Memory Usage 1,871KB
  • 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
  • (3)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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