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)
-   -   Profile Enhancements - Invitation System vB 3.7 Gold (https://vborg.vbsupport.ru/showthread.php?t=171951)

shadyninja 11-14-2008 02:17 AM

it works great on my forum index, but on my vbcmps it doesn't, but I may have other issues going on.

Dragonsys 11-14-2008 01:07 PM

Quote:

Originally Posted by dtommy79 (Post 1657366)
Hi,

Is it possible to check how many invitation a user has sent?

Thanks

pull the user up in the ACP Edit User. The number of Invitations they have remianing is listed there. Then it's just a little simple math.

I would love to see this mod get updated, with several of the suggestions that have been made. But the author doesn't even seem to get in here and answer any questions... even though this mod is listed as supported...

shadyninja 11-14-2008 11:43 PM

Quote:

Originally Posted by shadyninja (Post 1665297)
it works great on my forum index, but on my vbcmps it doesn't, but I may have other issues going on.

I haven't figured it out,
I even posted on vbadvanced.com

shadyninja 11-15-2008 04:56 PM

I did read this
Portal Output Global Variables
If you have other hacks installed (especially to hacks located within the vBulletin navbar), it may be necessary to globalize some of the variables used in those hacks for the CMPS. You may enter a list of variables to globalize here. It is NOT necessary to add the $ mark before the variable name. Separate each variable with a carriage return (new line).



this sounds like my issue, but I have no idea what I am suppose to put in the box that is provided to get the feature to work on the homepage.

HO3R 11-16-2008 01:31 PM

Quote:

Originally Posted by ShMilO (Post 1654385)
what do i need to write in the query to change to X invites


and how do i change the default invite number
what do i edit ?

Step 1: Just go to your database
Step 2: Go to table user
Step 3: Edit field: invitation
Step 4: Change the default 100 into your number!

All new registrations will get the default number of invites

Greetz

onlinejalsa 11-18-2008 02:56 PM

actually i have one problem. i have closed registrations in the site . and enabled invitations system. but when users are sending invities to there friends its still showing message

Sorry, registration has been disabled by the administrator.

what should i do in order to solve it

Talk-Pets 11-19-2008 07:23 AM

Is there somewhere to show who have send out invitations and how many? Perhaps even to what mail addys they?ve send out to? I?m thinking perhaps through the admin cp even though I?m unable to find.... But I could have missed looking at the right place of course :)

HO3R 11-19-2008 11:40 AM

Quote:

Originally Posted by onlinejalsa (Post 1668113)
actually i have one problem. i have closed registrations in the site . and enabled invitations system. but when users are sending invities to there friends its still showing message

Sorry, registration has been disabled by the administrator.


what should i do in order to solve it

You must enable back the registration option and enable this in the menu of the invite system:
Disable Normal Registration Methods

Greetz

GlamRockTalk 11-20-2008 03:09 AM

This mod ROCKS! :D

Thanks Hasann

christian8a 11-20-2008 10:04 AM

does this hack has the feature for contacts import yet?

joh 11-20-2008 11:58 AM

I have two off the wall questions.
1: can this be made to invite more than one person at a time? lets say 10.
2: like facebook and gmail, can this be made to check your email list to see if anyone on the site match up with your emails, and or give you the option to invite people from your personal email?

onlinejalsa 11-20-2008 06:46 PM

Quote:

Originally Posted by HO3R (Post 1668603)
You must enable back the registration option and enable this in the menu of the invite system:
Disable Normal Registration Methods

Greetz

how can i disable normal registration ?

itsatonline 11-20-2008 07:05 PM

hi
how can i craet limitation for usergorup?
example:usergroup:admin can send 100 invite
moderator can send 10 invite

Talk-Pets 11-21-2008 10:59 AM

Quote:

Originally Posted by Talk-Pets (Post 1668516)
Is there somewhere to show who have send out invitations and how many? Perhaps even to what mail addys they?ve send out to? I?m thinking perhaps through the admin cp even though I?m unable to find.... But I could have missed looking at the right place of course :)

*Bump*

Seiryuu 11-22-2008 03:31 AM

This should do wonders for my site.

Cheers mate!

HO3R 11-22-2008 08:18 AM

Quote:

Originally Posted by onlinejalsa (Post 1669535)
how can i disable normal registration ?

AdminCP - vBulletin Options - Invitation System Options


Greetz

ShMilO 11-23-2008 01:57 PM

Quote:

Originally Posted by HO3R (Post 1666787)
Step 1: Just go to your database
Step 2: Go to table user
Step 3: Edit field: invitation
Step 4: Change the default 100 into your number!

All new registrations will get the default number of invites

Greetz

ok
but when i got to the tableuser i only saw the invitation field for every user
i didn't see a general field or something like that

and as i understood this will affect the new registrations
what about the active members ?

Dragonsys 11-23-2008 02:51 PM

Quote:

Originally Posted by ShMilO (Post 1671317)
ok
but when i got to the tableuser i only saw the invitation field for every user
i didn't see a general field or something like that

and as i understood this will affect the new registrations
what about the active members ?

you have to edit the table structure.
It will not affect anyone already registered, for that you will need to run a SQL query, such as UPDATE `user_table_name` SET `invitation` = value_you_want WHERE `invitation` = 100;

Bill Thebert 11-23-2008 03:54 PM

Quote:

Originally Posted by Talk-Pets (Post 1668516)
Is there somewhere to show who have send out invitations and how many? Perhaps even to what mail addys they?ve send out to? I?m thinking perhaps through the admin cp even though I?m unable to find.... But I could have missed looking at the right place of course :)

I, too, would like to be able to see and manage invitations created by others.

There have been times, for example, when "User A" invites "User B", but for some reason the email was never received, etc.

No one ELSE may invite "User B" unless and until the first invitation is withdrawn or deleted. and as an Admin I would like to be able to do that.

Please tell us if/how Admin users can monitor and manage the invitations sent by other users, or if this is not currently possible, whether it is being considered?

Bill Thebert 11-23-2008 04:21 PM

Another function that I would love to see incorporated into this product, if you're open to such suggestion, is under AdminCP --> Users --> Search for Users

I'd like to be able to search on the Referrer field, to see who all was invited/referred by "User X".

I guess that's not entirely unlike my request above.

Talk-Pets 11-24-2008 08:47 AM

Quote:

Originally Posted by Talk-Pets (Post 1668516)
Is there somewhere to show who have send out invitations and how many? Perhaps even to what mail addys they?ve send out to? I?m thinking perhaps through the admin cp even though I?m unable to find.... But I could have missed looking at the right place of course :)

Quote:

Originally Posted by Talk-Pets (Post 1669957)
*Bump*

I?ll try asking again................ Anyone?

TaMpE 11-25-2008 07:29 PM

Can you please add how much invites each person/user can have?

I see 100 and that's too much for a user.

Thanks for the mod

rossh 11-27-2008 01:52 AM

My board is set up to "Moderate New Members". i.e. all new users need to be approved. When I send an invitation, they still run into this procedure.

How can I have an invited address that responds with a new user application, bypass the "Moderate New Members" approval process, and have them instead auto approved?

Thank Rossh

Phaedrus 11-27-2008 04:25 PM

Be careful there are several misspellings in the phrases and some of them are grammatically worded oddly. I am also wondering what happens if the users run out of invites?

I see nowhere I can set different levels for the usergroups for invite numbers, or even to set no limit for groups like Administrators or reset the number of invites for all groups... How do they "earn" invites?

I'd also like to see an option to create just a link to refer people to the site that automatically sets the referral name.

Talk-Pets 11-30-2008 11:48 AM

I would just like for the creator of this to actually respond to this thread. Guess thats too much to ask :mad:

CPOWA 11-30-2008 05:12 PM

Installed on 3.7.4 PL1

Seems to be working just great :)

Thank you!

rafa3l 11-30-2008 06:47 PM

Sorry if this is a duplicated question, but I would like to know if is possible get a list of users with the number of how many invitations was send each one? just like the referres stats but with the number of invitations.

Thanks in advance

crackers 12-03-2008 12:58 AM

DANGER!

I found big mistake in this mod but fortunately I found solution! :)

When you trying to send an invitation - script checks if email exists in database or not. When it checks, mysql load grows to 30-40% on E5200 processor! Horrible!

You have to edit an Invitation User CP plugin and replace that:

Code:

        $invitationcheck = $db->query_read("SELECT user.userid AS user_id, user.email AS user_email, invitation.email AS inv_email, invitation.acceptedby as inv_id
FROM " . TABLE_PREFIX . "user AS user
LEFT JOIN " . TABLE_PREFIX . "invitation AS invitation
ON user.userid = invitation.acceptedby OR user.userid = invitation.email
WHERE user.email = '" . $db->escape_string($vbulletin->GPC['email']) . "'
OR invitation.email = '" . $db->escape_string($vbulletin->GPC['email']) . "'
");
       
        while ($invitation = $db->fetch_array($invitationcheck))        {
        if ( $invitation['user_id'] == $invitation['inv_id'] ) {
                        $errors[] = fetch_error('invitation_user_already_invited');
        } elseif ( $invitation['user_email'] == $vbulletin->GPC['email']) {
                        $errors[] = fetch_error('invitation_email_already_registered');
                }
        }


for that:

Code:

    $invitationcheck = $db->query_read("SELECT email
    FROM " . TABLE_PREFIX . "user
    WHERE email = '" . $db->escape_string($vbulletin->GPC['email']) . "'
    ");
   
    while ($invitation = $db->fetch_array($invitationcheck))    {
    if ( $vbulletin->GPC['email'] ) {
    $errors[] = fetch_error('invitation_email_already_registered');
        }
    }


That solution incredibly reduce load and doesn't destroy proper mod funcionality.

Dragonsys 12-03-2008 05:12 PM

Quote:

Originally Posted by Talk-Pets (Post 1671850)
I?ll try asking again................ Anyone?

if you look back, you can see that this has been asked many times, and the answer is always no

Dragonsys 12-03-2008 05:13 PM

Quote:

Originally Posted by Talk-Pets (Post 1675709)
I would just like for the creator of this to actually respond to this thread. Guess thats too much to ask :mad:

I agree, especially since this is one of (if not the) most popular MODs

Computer_Angel 12-03-2008 11:57 PM

How could I set invitation number for group ? Seem this mod still need more developing.

crackers 12-05-2008 09:44 PM

Computer_Angel:

Quote:

UPDATE `prefix_user` SET `invitation`=x1 WHERE `usergroupid`=x2;
Where x1: here you'are setting invitations amount (number)
Where x2: here you're setting usergroupid (number)

Moreover you can change default amount of invitation which get all new registered users by editing invitation pole and changing the default amount of invitations to eg. 0.

Also you can make a cron file with mysql commands and add this file to vbulletin's planned jobs.

GSeybold 12-06-2008 06:47 PM

Easy installation.. Works great. Thank you!

TheFocusElf 12-10-2008 01:06 AM

Fabulous mod!

GSeybold 12-10-2008 05:08 AM

works great. very easy install

DieselMinded 12-10-2008 07:31 AM

Quote:

Originally Posted by crackers (Post 1677444)
DANGER!

I found big mistake in this mod but fortunately I found solution! :)

When you trying to send an invitation - script checks if email exists in database or not. When it checks, mysql load grows to 30-40% on E5200 processor! Horrible!

You have to edit an Invitation User CP plugin and replace that:

Code:

        $invitationcheck = $db->query_read("SELECT user.userid AS user_id, user.email AS user_email, invitation.email AS inv_email, invitation.acceptedby as inv_id
FROM " . TABLE_PREFIX . "user AS user
LEFT JOIN " . TABLE_PREFIX . "invitation AS invitation
ON user.userid = invitation.acceptedby OR user.userid = invitation.email
WHERE user.email = '" . $db->escape_string($vbulletin->GPC['email']) . "'
OR invitation.email = '" . $db->escape_string($vbulletin->GPC['email']) . "'
");
       
        while ($invitation = $db->fetch_array($invitationcheck))        {
        if ( $invitation['user_id'] == $invitation['inv_id'] ) {
                        $errors[] = fetch_error('invitation_user_already_invited');
        } elseif ( $invitation['user_email'] == $vbulletin->GPC['email']) {
                        $errors[] = fetch_error('invitation_email_already_registered');
                }
        }


for that:

Code:

    $invitationcheck = $db->query_read("SELECT email
    FROM " . TABLE_PREFIX . "user
    WHERE email = '" . $db->escape_string($vbulletin->GPC['email']) . "'
    ");
   
    while ($invitation = $db->fetch_array($invitationcheck))    {
    if ( $vbulletin->GPC['email'] ) {
    $errors[] = fetch_error('invitation_email_already_registered');
        }
    }


That solution incredibly reduce load and doesn't destroy proper mod funcionality.

Any one confirm this?

Sunka 12-14-2008 04:33 AM

Installed.
Thank you!

TriMe 12-14-2008 11:25 PM

I had a webmail/facebook contact grabber installed on my site. This addon was supposed to get one a looong time ago... but I got tierd of waiting.

uninstalled

DebtFree 12-16-2008 01:42 PM

I can't actually get any emails to be sent. It says it has sent it, it records it as being sent (so I can delete it later), but no email ever arrives :(

Any suggestions?

ArnyVee 12-17-2008 11:17 PM

Is there anyway that someone can resend an old invite? Or, do they have to send a new invite altogether?


All times are GMT. The time now is 08:15 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.02474 seconds
  • Memory Usage 1,840KB
  • 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
  • (4)bbcode_code_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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