PDA

View Full Version : Invites System


Pages : [1] 2 3 4

akanevsky
11-27-2005, 10:00 PM
I no longer support my hacks. Please feel free to update them and release new versions elsewhere as long as I get the credit for the original modification.

/*=========================================*\
|| Invites System
||
|| Author : Anton Kanevsky
|| Works on : vBulletin 3.5.0
|| Released : Dec 19, 2005
||
|| Time required to install: 1 minute
|| Difficulty: easy
\*=========================================*/

DESCRIPTION

A complete invites system for your vBulletin board.

STATISTICS

File Uploads: 3
Template Changes: 4
Products to Install: 1


FEATURES

Configuration Options:
The system can be turned on and off.
Registration can be set to either require invite code to sign up or to continue allowing regular registrations when the system is on.
Invite Expiration Period.
Minimal Posts Required to Receive Changes in Number of Invites.
Minimal Reputation Required to Receive Changes in Number of Invites.
Number of Posts Required to Get One (1) Invite.
Number of Invites Received or Subtracted per Reputation (+ for positive, - for negative).
Initial Number of Invites Given on Registration (Sign Up).
Usergroups that May Not Use Invite Manager.
Usergroups that May Use Invite Manager (Optional Override).
Initial Registration Usergroup (only pertaining to registration by invites).
Do or Do Not make users linked by an invite mutual buddies after the completion of registration of the person invited.
Single / Multiple Address Line Field.
If Multiple, Number of Fields to Show.Miscellaneous Features:
Upon invite-based registration, the person who issued the invite is set up as a referrer of the person invited. Therefore, free specification of a referrer is restricted during such registration.
Image (GD) Verification.
Administrator can manually edit any user's invite count.
If a user is permitted to issue invites (based on both the number of unused invites and the system permissions), that user has a link to invites of usercp home (says "Click here to invite new users!"). When a user has no invites left, the link does not show up. Nevertheless, as long as system permissions allow access to the Invite Manager, the usercp navlink continues to show up, so that the user would have access to his/her invite history, which is available just below the "Issue New Invite" form.
If registration is set to require invite code to sign up, the navbar register link becomes hidden.
If registration is set to continue allowing non-invited sign ups, the number of invites available to any single user is unlimited. Therefore, the number of invites left does not show up.
Invite History in UserCP, on the bottom of the invite manager.
Single-Line AddressField, with Unlimited # Of Simultaneous Recipients, within the bounds of invite tokens.
Multiple-Line AddressField, with Limited Configurable # Of Simultaneous Recipients, within the bounds of invite tokens.
Unregistered Users, Banned Users and Users with No Forumview Permissions cannot use invite manager. Therefore, you do not have to specify those usergroups in the list of usergroups that may not use the invite manager.
Invite counts are automatically updated once a week, based on the admincp-configured settings.
Per-user invite usage restriction.
Inactive users, who do not post anything new, will gradually lose all of their invites.VERSION HISTORY

1.5.0
A new, commercial release.

1.4.0
[+] Image verification to avoid multiple submits.

1.3.0
[+] New Config Option: Single-Field / Multiple-Field Address Line (Default: Multiple-Field)
[+] New Config Option: Number of fields to show if multiple option is chosen.
[+] User Option, which lets an administrator restrict invite system usage for that single user.
[F] Fixed Bug, which prevented a user from registration if COPPA was enabled.
[F] Fixed Bug, which prevented a user from sending out an invite if he had zero invites and dependency on registration was turned off.
[F] Fixed Bug, which continued to show the invite form after it was submitted, even if there were no more invites left.

1.2.0
[+] New Config Option: Usergroups that May Use Invite Manager (Optional Override).
[+] New Config Option: Initial Registration Usergroup (only pertaining to registration by invites).

1.0.2
[+] Ability to send unlimited simultaneous invites, within the bounds of invite count owned.
[+] Improved invite interface (see screenshot).
[F] A couple of hard-coded forgotten phrases have been moved into the phrase system.

1.0.1
[+] Amount of posts required to get one invite is now configurable
[+] When a user can issue invites, he/she has a link on usercp (which says "Click here to Invite a New User!")
[+] When invites are required to register, there is no direct "Register" link in the navbar
[+] When invites are not required to register, there is no limitation on invites, and therefore the number of invites left is not shown
[+] Administrator can now edit invite counts manually using Admin Manager
[+] Administrator can now specify which usergroups cannot use Invite Manager
[+] More descriptive AdminCP Hack Options
[F] Added TABLE_PREFIX to the Install Code
[F] Fixed a Typo in Registration Code
[F] In the Invite History, invites are now lister in a descending order, rather than ascending. In other words, the latest invites are now on the top.

1.0.0
Initial Release

The installation manual is contained within the attached file.

IF YOU LIKE MY HACK, PLEASE CLICK INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=101801)

akanevsky
11-28-2005, 06:27 PM
FAQs

Is this a port of tn3guy's hack and if yes, did you receive a permission to port it?
No, this is not a port, this is my own code. Which you can see if you compare it.

I have your Adv. Editing Options for Mods and Admins Installed. Members with EDITLEVEL_ADMIN or EDITLEVEL_SADMIN end up having either zero referrals or very large numbers of referrals. Wtf?
A version of Adv. Editing Options for Mods and Admins that was released prior to November 28, 2005 had such issue because, as a side effect, it set poster's lastpost dateline same as the post dateline. It has been fixed in the latest version of Adv. Editing Options Hack, please download it and re-install the XML.

What about WOL?
Don't worry. No "Unkown" locations for this hack. It says "Managing Invites" with a link to the actual invites management page.

So how are new invites given, if at all?
When you create a new invite using your new UserCP page, a unique invite key is generated. That key is sent in an e-mail to the address that you have specified. E-mail phrases for this hack are stored in "invites_letter", "invites_letter_note" and "invites_letter_subject" phrases.

What about importing the MSN/AIM/XXX contact list, like in MySpace?
MSN Grabber is featured in version 1.5.0 of this hack. 1.5.0, however, is not free anymore.
AIM and other grabbers are to be added later.

How can I see who invited who?
Install (https://vborg.vbsupport.ru/vborg_miscactions.php?t=102452&do=installhack) Referrer Statistics (https://vborg.vbsupport.ru/showthread.php?t=102452).

How come referrers are not updated when users register by invite?
This can happen if the "User Referrer" setting is off. Turn it on here:
vBulletin Options -> User Registration Options -> User Referrer -> Yes

Synth
11-28-2005, 06:35 PM
1st WOOT!!

Nice little hack here. So this allows someone to invite someone else to thier buddy list?

akanevsky
11-28-2005, 06:37 PM
The purpose of this hack is either to create a board with private registration (only by invites), or to create a board with invites system. Which one it is is your choice (which you can make via vBulletin options). :)

dieselpowered
11-28-2005, 06:45 PM
Looks great....granted my board is open for anyone to join, this does look like a great hack! I will look at it some more when I get home :)

Synth
11-28-2005, 07:02 PM
The purpose of this hack is either to create a board with private registration (only by invites), or to create a board with invites system. Which one it is is your choice (which you can make via vBulletin options). :)

Thats kinda groovy, I dig it.

EricaJoy
11-28-2005, 07:05 PM
FINALLY!!

/me clicks subscribe so it gets added to my list of hacks to install when i upgrade

akanevsky
11-28-2005, 07:07 PM
Wrong click. You should click "Install". As the rest of ya'll should :)

-=Sniper=-
11-28-2005, 07:08 PM
excellent hack/extension.

evenmonkeys
11-28-2005, 07:09 PM
Great hack! You are my hero!

EricaJoy
11-28-2005, 07:10 PM
Wrong click. You should click "Install". As the rest of ya'll should :)i promise i will click install when i do install it. :D

concepts
11-28-2005, 07:11 PM
installs* great hack!

rb290
11-28-2005, 07:14 PM
hm where is the Cron Manager ?

Dan
11-28-2005, 07:52 PM
Nice idea :D i like it.

akanevsky
11-28-2005, 07:59 PM
hm where is the Cron Manager ?
vBulletin AdminCP -> Task Manager -> Add Task

Nice idea i like it.
You know where to click :)

evenmonkeys
11-28-2005, 08:07 PM
So how are new invites given, if at all? I'm just curious how invites are sent around. It doesn't really say anywhere.

akanevsky
11-28-2005, 08:08 PM
Obviously, it sends invites via e-mail, because it cannot send them via PM to not-yet-existant users ;)

The answer to your question has been added to the FAQ post :)

rb290
11-28-2005, 08:12 PM
vBulletin AdminCP -> Task Manager -> Add Task

thanks I asked on vb.com already lol

evenmonkeys
11-28-2005, 08:12 PM
No... I mean like... for users who are already on. They are given ten invites. How do they get more invites?

akanevsky
11-28-2005, 08:13 PM
......

- Weekly Cron adds or subtracts from users' invite counts based on their posting activity during each week

evenmonkeys
11-28-2005, 08:19 PM
I know. Like... how many posts do they make to get one invite? I'm trying to figure this out because I don't want them getting one invite per post.

akanevsky
11-28-2005, 08:31 PM
They get one invite for every 5 posts they made during last week.

evenmonkeys
11-28-2005, 08:36 PM
Okay... In the update_invitecounts.php file... can I change the amount in the following line to a new number?

$invitescount_change += floor($postcount['cnt'] / 5);
Can I change the number five to say... thirty... and it will give one invite for every thirty posts?

akanevsky
11-28-2005, 08:38 PM
Yes, that's right.
Should that be configurable in the next release?

evenmonkeys
11-28-2005, 08:41 PM
I think it should be. Forums with a lot of active posting may not want to be giving out that many invites. For example, a site with 400,000 users who are each making 200+ posts per week would probably either kill the sites bandwidth that next Monday, or never have the time to use all of their invites. Yeah, I believe it should be added in the next update.

I appreciate your help. =D Great hack!

puertoblack2003
11-28-2005, 08:46 PM
well written and like your style and something i was looking for **INSTALLED** :rolleyes:

Okanka
11-28-2005, 08:51 PM
Thanks more good work ;) Clicked install :)

FleaBag
11-28-2005, 08:59 PM
Hey this is a GREAT hack! Thanks a lot. :D

evenmonkeys
11-28-2005, 09:09 PM
I'm back!!! ._.

I have a few users saying that the email is not being sent after they make the invite out and submit it. It's been half an hour and nothing. What could the problem be?

Revpolar
11-28-2005, 09:30 PM
Can I add a usergroup to the list of those who cannot use this?

Daniel
11-28-2005, 09:44 PM
Nice Hack Psonic Vision. :)

akanevsky
11-28-2005, 09:49 PM
I have a few users saying that the email is not being sent after they make the invite out and submit it. It's been half an hour and nothing. What could the problem be?

I'll check whether there is such problem.

Can I add a usergroup to the list of those who cannot use this?

Added into todo list.

Nice Hack Psonic Vision.

Thanks, but you forgot to click one thing. ;)

puertoblack2003
11-28-2005, 09:54 PM
program working well did a test and did recieve email..i guess people have to check the junk or spam folder as i instructed them when registering...probably same concept here....

evenmonkeys
11-28-2005, 09:59 PM
Not for me. My junk mail is empty as well as my inbox. Same for the three people I had test it.

akanevsky
11-28-2005, 10:06 PM
Do other email work on your site?

evenmonkeys
11-28-2005, 10:17 PM
Do other email work on your site?

Yes it is. I sent an email to myself and the three testers through the admincp and we all received it.

Snoop-It
11-28-2005, 10:19 PM
Psionic Vision - is it possible for you to check your PM please and respond back to mine... :nervous: its really important.

akanevsky
11-28-2005, 10:31 PM
I think I know what the problem is.
In invites.php, try replacing:

vbmail($destemail, $subject, $message, false, $vbulletin->GPC['email'], '', $name);

With

vbmail($destemail, $subject, $message, true, $vbulletin->GPC['email'], '', $name);

And tell me if that helps :)

TTG
11-28-2005, 10:47 PM
Test worked for me but the text stays in the invites submission box as though it hasn't been sent .. anyway to have that cleared as soon as it's been clicked "Send Invite!"

akanevsky
11-28-2005, 10:52 PM
anyway to have that cleared as soon as it's been clicked "Send Invite!"

Uh.. I thought it was convenient that it stays in the box. At least until there are submission errors.

jesus likes pie
11-28-2005, 11:40 PM
Nice hack but I have no use for it :)

The Chief
11-28-2005, 11:48 PM
looking great, nice addon :D

*clicks install

The Chief
11-29-2005, 12:31 AM
One question, how do you raise the number of Invitations that you can send for the already registered members, like me for an instance???

akanevsky
11-29-2005, 12:34 AM
Right now you have to wait until the Cron raises it for you.
However, I will add that control in the user admin in the next release.

The Chief
11-29-2005, 12:40 AM
Right now you have to wait until the Cron raises it for you.
However, I will add that control in the user admin in the next release.

well it says for all the New Registrations? so will it do it for the already registered members also?

Reef
11-29-2005, 01:22 AM
New invites are just getting a no permissions page when following the link in mail.. I tested and verified.
vBulletin Message
You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

But when clicking the regular register link they get the must be invited error
vBulletin Message
You must be invited in order to be able to register on our board. Have a nice day.
Using VB 3.5.1

This is a great and useful mod for me if this can be worked out.

Any ideas?

The Chief
11-29-2005, 01:52 AM
New invites are just getting a no permissions page when following the link in mail.. I tested and verified.


But when clicking the regular register link they get the must be invited error

Using VB 3.5.1

This is a great and useful mod for me if this can be worked out.

Any ideas?

You probably didn't adjust your settings in your AdminCP vBulletin Settings --> Invites System.

Try putting the Registration by Invites Only to No. For the Mail error, I have no idea :(

uae
11-29-2005, 02:21 AM
Great hack, thanks :)

The Chief
11-29-2005, 02:25 AM
I would also like to reccommend a new feature also for the next release again Psionic.

The ability to send multiple invites at the same time...when you don't have any invitation limits. As I have recognized that when I have announced this mod on my forums that alot more people were motivated to invite people because it was so easy, but I don't really want to give them a limit...

Reef
11-29-2005, 02:28 AM
Thanks for replying gamebgs but that only opens up registrations again

I did find the cause and have it working now

In usergroup admin I had to give Unregistered / Not Logged In users access to view the forum

It is now working but I would like to fix it to where I can reset these permissions to how they where. There never was problems accessing the register page before for anyone

nabeelaejaz
11-29-2005, 02:44 AM
I tried installing it perfectly ... also everything is set on on the admincp but still i see this error:

---------------------------------

Database error in vBulletin 3.5.0:

Invalid SQL:

SELECT invites.issuer_id, invites.receiver_id, invites.issue_date, invites.receive_date, invites.status, receiver.username as receiver_username
FROM invites
LEFT JOIN user as receiver ON (invites.receiver_id = receiver.userid)
WHERE invites.issuer_id = '61'
ORDER BY invites.issue_date;

MySQL Error : Table 'raw_com_pk_-_forums.user' doesn't exist
Error Number : 1146
Date : Monday, November 28th 2005 @ 08:40:18 PM
Script : http://www.raw.com.pk/forums/invites.php?
Referrer : http://www.raw.com.pk/forums/usercp.php
IP Address : 80.227.79.137
Username : beast
Classname : vb_database

-----------------------------

please help

The Chief
11-29-2005, 02:48 AM
I tried installing it perfectly ... also everything is set on on the admincp but still i see this error:

---------------------------------

Database error in vBulletin 3.5.0:

Invalid SQL:

SELECT invites.issuer_id, invites.receiver_id, invites.issue_date, invites.receive_date, invites.status, receiver.username as receiver_username
FROM invites
LEFT JOIN user as receiver ON (invites.receiver_id = receiver.userid)
WHERE invites.issuer_id = '61'
ORDER BY invites.issue_date;

MySQL Error : Table 'raw_com_pk_-_forums.user' doesn't exist
Error Number : 1146
Date : Monday, November 28th 2005 @ 08:40:18 PM
Script : http://www.raw.com.pk/forums/invites.php?
Referrer : http://www.raw.com.pk/forums/usercp.php
IP Address : 80.227.79.137
Username : beast
Classname : vb_database

-----------------------------

please help

weird... never saw this error before...try reinstalling the product...(uninstall it before)

nabeelaejaz
11-29-2005, 02:51 AM
how do you uninstall .. do i press on delete?

The Chief
11-29-2005, 03:09 AM
how do you uninstall .. do i press on delete?

no, you go to Manage Products in your Admin CP then choose Invites Sytem and click on Uninstall.

nabeelaejaz
11-29-2005, 03:38 AM
nope same problem exists ... do we have to do anythin gin the usergroup settings or something ... ???

vau7
11-29-2005, 05:15 AM
Is it possible that, i can have "normal area" where People can register and use for normal and an additional area which can only be used by invited people?

uae
11-29-2005, 08:30 AM
I tried installing it perfectly ... also everything is set on on the admincp but still i see this error:

---------------------------------

Database error in vBulletin 3.5.0:

Invalid SQL:

SELECT invites.issuer_id, invites.receiver_id, invites.issue_date, invites.receive_date, invites.status, receiver.username as receiver_username
FROM invites
LEFT JOIN user as receiver ON (invites.receiver_id = receiver.userid)
WHERE invites.issuer_id = '61'
ORDER BY invites.issue_date;

MySQL Error : Table 'raw_com_pk_-_forums.user' doesn't exist
Error Number : 1146
Date : Monday, November 28th 2005 @ 08:40:18 PM
Script : http://www.raw.com.pk/forums/invites.php?
Referrer : http://www.raw.com.pk/forums/usercp.php
IP Address : 80.227.79.137
Username : beast
Classname : vb_database

-----------------------------

please help

TABLE_PREFIX is missing from the install code.

nabeelaejaz
11-29-2005, 08:37 AM
TABLE_PREFIX is missing from the install code.

ok how come? ... so how do i go about it?

funinthesun
11-29-2005, 08:44 AM
If someone registers through the invite system does it add to the amount of user a member has referred?

Benj
11-29-2005, 10:36 AM
maybe an option to import your yahoo / hotmail contacts so you can invite them..... that would be cool i think kinda like myspace ;)

optrex
11-29-2005, 10:57 AM
I am getting an error on registration - it still works, but the error is coming up

Parse error: parse error in C:\Inetpub\vhosts\XXXXX\XXX\register.php(328) : eval()'d code on line 21

Also could you look at getting the referrer line filled in with the user who sends the invote?

Snoop-It
11-29-2005, 11:05 AM
maybe an option to import your yahoo / hotmail contacts so you can invite them..... that would be cool i think kinda like myspace ;)

It would be cool wouldn't it?? Import Msn Contacts... (http://www.dholaholic.com/forum/msninvite.php) (must register first to import & member gets referal points to the people they invite - test if you like)

VaaKo
11-29-2005, 11:11 AM
I saw the admincp screenshot, so I understand that I can turn the invite system on and still let non-invited users to register right?

The Chief
11-29-2005, 11:12 AM
I saw the admincp screenshot, so I understand that I can turn the invite system on and still let non-invited users to register right?

yes, this can be set to off...

akanevsky
11-29-2005, 11:33 AM
well it says for all the New Registrations? so will it do it for the already registered members also?
No. The AdminCP only specified the value that is inserted into the database during registration. Of course, already registered members have the same default value.
You can fix that by running the following query:
UPDATE user SET invites = XX
Make sure to change XX to your number.

New invites are just getting a no permissions page when following the link in mail.. I tested and verified.

Quote:
vBulletin Message
You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:


But when clicking the regular register link they get the must be invited error

Quote:
vBulletin Message
You must be invited in order to be able to register on our board. Have a nice day.

Using VB 3.5.1

This is a great and useful mod for me if this can be worked out.

Any ideas?

What is your current hack configuration? E.g. list values of admincp settings, as you have 'em set up.

The ability to send multiple invites at the same time...when you don't have any invitation limits. As I have recognized that when I have announced this mod on my forums that alot more people were motivated to invite people because it was so easy, but I don't really want to give them a limit...

I will make it a no-limits when the "Registration Dependency" is set to off.

I tried installing it perfectly ... also everything is set on on the admincp but still i see this error:

I'll check that out.
"TABLE_PREFIX is missing from the install code." -> yeah, that. Will fix.

ok how come? ... so how do i go about it?
You wait for the next release. That's why the hack is in "Beta" stage.

If someone registers through the invite system does it add to the amount of user a member has referred?

Yes.

Also could you look at getting the referrer line filled in with the user who sends the invote?

Read the hack features before asking questions.

maybe an option to import your yahoo / hotmail contacts so you can invite them..... that would be cool i think kinda like myspace

Not planned.

Snake
11-29-2005, 11:34 AM
Excellent! Truly a great hack.

Revpolar
11-29-2005, 12:09 PM
Quote:
maybe an option to import your yahoo / hotmail contacts so you can invite them..... that would be cool i think kinda like myspace


Not planned.LOL, I just thought that was a tottaklly different hack.

I havnt had any problems whatsoever withtthis. Just would like to see the addittions added to it. Not IM contacts though LOL.

Patria
11-29-2005, 12:14 PM
Great Extension! Thank you for your efforts!

optrex
11-29-2005, 01:15 PM
I am getting an error on registration - it still works, but the error is coming up

Parse error: parse error in C:\Inetpub\vhosts\XXXXX\XXX\register.php(328) : eval()'d code on line 21

Also could you look at getting the referrer line filled in with the user who sends the invote?


Thanks for the response and I love the hack BTW.

Perhaps that is why I am getting the parse error as the referrer field is not being filled in automatically.

I get the parse error on both invited and non invited registrations. Can you help with this please

MThornback
11-29-2005, 01:59 PM
After much editing to correct the table prefix problems :p installed...and it works great :)

Idea for another release: a way for Admins to delete requests...any maybe usergroups too?

akanevsky
11-29-2005, 02:10 PM
I get the parse error on both invited and non invited registrations. Can you help with this please

Which registration step do you get the error on?

a way for Admins to delete requests

That is for "Automatic Expiration" is for. Requests expire automatically after a (configurable) amount of days passes. There is no point in deleting requests manually.

akanevsky
11-29-2005, 02:40 PM
:banana: UPDATE! VERSION 1.0.1 :banana:

CHANGES: Lots. See Post #1.
UPDATED SCREENSHOTS: Three. See Post #1.
FEATURES: Updated. Re-reading suggested.
MISC INFO: Hack is not in beta-stage anymore.

HOW TO UPDATE:
1. Overwrite the product XML with the new one.
2. Re-do template changes. ALL of them.
3. Re-upload the three PHP files to their appropriate places.
4. Enjoy the effects.

MissKalunji
11-29-2005, 02:43 PM
:banana: UPDATE! VERSION 1.0.1 :banana:

CHANGES: Lots. See Post #1.
UPDATED SCREENSHOTS: Three. See Post #1.
FEATURES: Updated. Re-reading suggested.
MISC INFO: Hack is not in beta-stage anymore.

HOW TO UPDATE:
1. Overwrite the product XML with the new one.
2. Re-do template changes. ALL of them.
3. Re-upload the three PHP files to their appropriate places.
4. Enjoy the effects.



out of context but where is the rap battle system? i dont see it in your hack list

optrex
11-29-2005, 02:46 PM
Which registration step do you get the error on?





From register.php

after filling in every field and pressing the "complete reistration" button, you get the next page confirming an email has been sent out to your address. At the top of that, I get the parse error.

I also get the same if it takes you to the "errors occured during registration" screen if the user has not filled in registration properly.

akanevsky
11-29-2005, 02:48 PM
From register.php

after filling in every field and pressing the "complete reistration" button, you get the next page confirming an email has been sent out to your address. At the top of that, I get the parse error.

I also get the same if it takes you to the "errors occured during registration" screen if the user has not filled in registration properly.

The error has been fixed in version 1.0.1. Verified and confirmed.
835616

Revpolar
11-29-2005, 02:50 PM
Hows the to- do list looking now? I would still like to see an option to add usergroups that cant use this. Also I would like to see an option for admin approval of the invites before they are sent.

akanevsky
11-29-2005, 02:53 PM
I would still like to see an option to add usergroups that cant use this.

If you looked at the changelog, the question wouldn't arise.

Also I would like to see an option for admin approval of the invites before they are sent.

Sorry, this is not going to happen.

MThornback
11-29-2005, 03:05 PM
Which registration step do you get the error on?



That is for "Automatic Expiration" is for. Requests expire automatically after a (configurable) amount of days passes. There is no point in deleting requests manually.


Fair point...another idea...turning off the feature per user so you can prevent abuse...?

akanevsky
11-29-2005, 03:13 PM
Fair point...another idea...turning off the feature per user so you can prevent abuse...?

Hmm... Even though this is easy to do.. I don't see the real point having such feature. Why can't you either make a new usergroup that cannot use this hack, or - set a high post limit, so that by the time the user has enough posts, he would be already banned for misbehavement?

The Chief
11-29-2005, 03:15 PM
how do we upgrade the product, just give me some simple steps...

Thanks!

akanevsky
11-29-2005, 03:19 PM
A link to upgrade instructions can be found in the first post right next to "version 1.0.1". It is: [show me the post] (https://vborg.vbsupport.ru/showpost.php?p=835609&postcount=73)

The Chief
11-29-2005, 03:25 PM
A link to upgrade instructions can be found in the first post right next to "version 1.0.1". It is: [show me the post] (https://vborg.vbsupport.ru/showpost.php?p=835609&postcount=73)

Thank you very much Psionic, I am looking forward to all your further products and will see this one grow as well :D

Thanks agaiN!

akanevsky
11-29-2005, 03:35 PM
Aye, the 1-star rater is here again! YAYy! xD And I think I know who it is. :P

I am looking forward to all your further products and will see this one grow as well
Thank you for the kind words :)

The Chief
11-29-2005, 03:43 PM
I have installed and it seems to work fine.

I noticed a typo in the Installing Readme.html.

You forgot to add a " " " after the " ] ".

<if condition="$show['registerbutton']>

Just saying for people that might not find the code might ask you this sometime :D

akanevsky
11-29-2005, 03:48 PM
Thanks for pointing that out! ;)
Instructions updated.

puertoblack2003
11-29-2005, 03:59 PM
Updated And ***INSTALLED*** and tested it no problems to report working well. :rolleyes: :rolleyes: :rolleyes:

VaaKo
11-29-2005, 04:05 PM
I have the reputation system disabled at my board, how can I increase the number of invites per user?

akanevsky
11-29-2005, 04:08 PM
I have the reputation system disabled at my board, how can I increase the number of invites per user?
Simply set the reputation option to -1.

puertoblack2003
11-29-2005, 04:18 PM
Thanks for pointing that out! ;)
Instructions updated.


also one minor problem i found if someone wants to reister when visiting the site this is what it say when you click the register button :You must be invited in order to be able to register on our board. Have a nice day.

akanevsky
11-29-2005, 04:20 PM
also one minor problem i found if someone wants to reister when visiting the site this is what it say when you click the register button :

That is correct. If you want to allow non-invite registrations, simply set the second option to "no".

puertoblack2003
11-29-2005, 04:26 PM
That is correct. If you want to allow non-invite registrations, simply set the second option to "no".

you know what and you're correct no excuse from my end i'm at work rushing so i'll finish the rest when i get home still a good hack...thanks :rolleyes:

puertoblack2003
11-29-2005, 05:16 PM
you know what and you're correct no excuse from my end i'm at work rushing so i'll finish the rest when i get home still a good hack...thanks :rolleyes:

Updated: issue resolved working perfect :rolleyes:

pguy
11-29-2005, 06:11 PM
Getting the following error:

Database error in vBulletin 3.5.1:

Invalid SQL:

SELECT invites.issuer_id, invites.receiver_id, invites.issue_date, invites.receive_date, invites.status, receiver.username as receiver_username
FROM invites
LEFT JOIN user as receiver ON (invites.receiver_id = receiver.userid)
WHERE invites.issuer_id = '1'
ORDER BY invites.issue_date DESC;

MySQL Error : Table 'xxxxxx_vb.invites' doesn't exist
Error Number : 1146
Date : Tuesday, November 29th 2005 @ 08:08:56 PM
Script : http://www.xxxxxx.com/forum/invites.php
Referrer :
IP Address : 203.92.55.100
Username : xxxxxx
Classname : vb_database

I have uninstalled and reinstalled the xml but to no avail. Any leads folks ?
PS : Installed the latest 1.0.1 version :)

MissKalunji
11-29-2005, 06:20 PM
how can i turn off the register only on invite? thanks

akanevsky
11-29-2005, 06:24 PM
Getting the following error:

Database error in vBulletin 3.5.1:

Invalid SQL:

SELECT invites.issuer_id, invites.receiver_id, invites.issue_date, invites.receive_date, invites.status, receiver.username as receiver_username
FROM invites
LEFT JOIN user as receiver ON (invites.receiver_id = receiver.userid)
WHERE invites.issuer_id = '1'
ORDER BY invites.issue_date DESC;

MySQL Error : Table 'xxxxxx_vb.invites' doesn't exist
Error Number : 1146
Date : Tuesday, November 29th 2005 @ 08:08:56 PM
Script : http://www.xxxxxx.com/forum/invites.php
Referrer :
IP Address : 203.92.55.100
Username : xxxxxx
Classname : vb_database

I have uninstalled and reinstalled the xml but to no avail. Any leads folks ?
PS : Installed the latest 1.0.1 version :)

Please make sure that you have re-uploaded invites.php from the latest copy of archive. Oh, and you forgot to click you-know-where.

how can i turn off the register only on invite? thanks

I suggest you look at the screenshots. It's in vB Options.

MissKalunji
11-29-2005, 06:27 PM
Please make sure that you have re-uploaded invites.php from the latest copy of archive. Oh, and you forgot to click you-know-where.



I suggest you look at the screenshots. It's in vB Options.


its okay i took it off from the templates

perfect hack dear flawless

akanevsky
11-29-2005, 06:28 PM
its okay i took it off from the templates

It cannot work flawlessly if you tamper with the system. Just use the "Register only by invites" option in your admincp.

MissKalunji
11-29-2005, 06:32 PM
It cannot work flawlessly if you tamper with the system. Just use the "Register only by invites" option in your admincp.


u'de be surprise but ok :-/ ill take your advice

MissKalunji
11-29-2005, 06:33 PM
can u send invites to more then just one at a time?

pguy
11-29-2005, 06:34 PM
It cannot work flawlessly if you tamper with the system. Just use the "Register only by invites" option in your admincp.


Database error in vBulletin 3.5.1:

Invalid SQL:

SELECT invites.issuer_id, invites.receiver_id, invites.issue_date, invites.receive_date, invites.status, receiver.username as receiver_username
FROM vb3_invites
LEFT JOIN user as receiver ON (invites.receiver_id = receiver.userid)
WHERE invites.issuer_id = '1'
ORDER BY invites.issue_date DESC;

MySQL Error : Table 'xxxxx_vb.user' doesn't exist
Error Number : 1146
Date : Tuesday, November 29th 2005 @ 08:33:31 PM
Script : http://www.xxxxx.com/forum/invites.php
Referrer : http://www.xxxxx.com/forum/usercp.php
IP Address : 203.92.55.100
Username : xxxxx
Classname : xxxxx_database



On uploading the new invites file I get the following error now

MissKalunji
11-29-2005, 06:36 PM
can u send invites to more then just one at a time?


n/m got my answer ;)

akanevsky
11-29-2005, 06:43 PM
Sorry about that.
Please re-download the package, re-upload invites.php, and re-install the XML.
Thanks :)

n/m got my answer
Spammer :) Why would you wanna send mass invites?

MissKalunji
11-29-2005, 07:11 PM
Sorry about that.
Spammer :) Why would you wanna send mass invites?

well lol some ppl on the board got many friends they wanna invite....instead of just sending one u know lol

puertoblack2003
11-29-2005, 07:17 PM
Sorry about that.
Please re-download the package, re-upload invites.php, and re-install the XML.
Thanks :)


Spammer :) Why would you wanna send mass invites?

ok psionic you just made changes again when MissKalunji ask a question about more then 1 invite so, should i reup everything again? :ermm:

akanevsky
11-29-2005, 07:32 PM
Yes, you should if you use table prefix. If you do not use table prefix, you don't have to re-upload. :)

well lol some ppl on the board got many friends they wanna invite....instead of just sending one u know lol
Ok, in the next version I MIGHT add a way of sending invites to multiple recipients.

Revpolar
11-29-2005, 07:44 PM
If you looked at the changelog, the question wouldn't arise.



Sorry, this is not going to happen.

Ooops I did read it but somehow didnt see you added that. Thank you very much.
I can live without the ability to moderate the invites first but I thought it would be a good feature.

MissKalunji
11-29-2005, 07:56 PM
Yes, you should if you use table prefix. If you do not use table prefix, you don't have to re-upload. :)


Ok, in the next version I MIGHT add a way of sending invites to multiple recipients.


u can already......u put n e type name

then type each ee-mail seperate with a coma it works tested it

akanevsky
11-29-2005, 08:00 PM
Yes, of course you can do THAT. But not all of em have the same name though.
So if I do it, I'll make it more sophisticated.

MissKalunji
11-29-2005, 08:27 PM
Yes, of course you can do THAT. But not all of em have the same name though.
So if I do it, I'll make it more sophisticated.


okay good 2 go

bang
11-29-2005, 08:28 PM
nice hack. any plans to add an admin approval of invite option?

evenmonkeys
11-29-2005, 08:29 PM
I think I know what the problem is.
In invites.php, try replacing:

vbmail($destemail, $subject, $message, false, $vbulletin->GPC['email'], '', $name);

With

vbmail($destemail, $subject, $message, true, $vbulletin->GPC['email'], '', $name);

And tell me if that helps :)

Mine says true already. =\

VaaKo
11-29-2005, 08:32 PM
Simply set the reputation option to -1.
and how would the number of invites increase?

Red Blaze
11-29-2005, 08:46 PM
I believe by every 10 posts. If I understood correctly.

akanevsky
11-29-2005, 08:47 PM
Mine says true already. =\
Did you download the latest version?

and how would the number of invites increase?
- By Post Activity
- When new reputation is received
The -1 option is only for the Cron.

okay good 2 go
Would it be cool if I made one single free-type field (instead of two fields), where you would list your addressees in the following format:
name1::email1;name2::email2;name3::email3...etc?

I believe by every 10 posts. If I understood correctly.
10 is by default. You can change that via admincp.

evenmonkeys
11-29-2005, 10:18 PM
Did you download the latest version?

Well... I've upgraded... and it's set to true. Still not working. Probably one of my plugins. ._,

akanevsky
11-29-2005, 10:24 PM
-.-
I tested it many times on two servers, and it works fine.
Do you have any hacks that hook into the mail system? If yes, please give me the link.

MissKalunji
11-30-2005, 12:25 AM
Would it be cool if I made one single free-type field (instead of two fields), where you would list your addressees in the following format:
name1::email1;name2::email2;name3::email3...etc?


yeah that would cool indeed

evenmonkeys
11-30-2005, 01:46 AM
-.-
I tested it many times on two servers, and it works fine.
Do you have any hacks that hook into the mail system? If yes, please give me the link.

I don't know off the top of my head. I'll go through them.

nabeelaejaz
11-30-2005, 02:56 AM
working great fantastic!!!!

pguy
11-30-2005, 04:46 AM
Thanks for the help, the plugin works well. *installed* However I would like to add a feature request.

1) A way to track stats of invites sent/converted
2) A public way of displaying the top 'n' of invite senders and converters because this itself can work out to be a nice competition.

Thanks

Benj
11-30-2005, 08:02 AM
any feed back on the import contact list ?

Watson
11-30-2005, 09:16 AM
Great, I will be using this on 1 of my sites later on at some point

harry1951
11-30-2005, 10:30 AM
*clicks Installed*

akanevsky
11-30-2005, 11:40 AM
yeah that would cool indeed
Great! On it then.

1) A way to track stats of invites sent/converted
Hmm... What's the point?

2) A public way of displaying the top 'n' of invite senders and converters because this itself can work out to be a nice competition.
(hint hint)
Upon invite-based registration, the person who issued the invite is set up as a referrer of the person invited. Therefore, free specification of a referrer is restricted during such registration.
If you still don't get it:
You can use this hack in combination with e-Steki Referrer Statistics (https://vborg.vbsupport.ru/showthread.php?t=101000), and you be fine :)

any feed back on the import contact list ?
The question has already been answered. Sorry, but the answer is no.

harry1951
11-30-2005, 02:20 PM
I'm translating this into dutch, but it seems that some words are not in the phrases.
I can'f find: Invite history, issues, received and accepted by
Are they hard-coded?

Snoop-It
11-30-2005, 02:22 PM
any feed back on the import contact list ?

heres some of my screen shots of how my import system works... looking to get a yahoo import now as well and then try and combine it with Psionic Vision's Invite system... but thats only the bit that shows the end user who with what user name has signed up from your invite etc..

akanevsky
11-30-2005, 02:46 PM
I'm translating this into dutch, but it seems that some words are not in the phrases.
I can'f find: Invite history, issues, received and accepted by
Are they hard-coded?

Did you ask my permission to translate the hack? No.
Therefore, if I may ask, do not proceed.

harry1951
11-30-2005, 02:53 PM
Did you ask my permission to translate the hack? No.
Therefore, if I may ask, do not proceed.

To be clear...I translate it in the language module (phrases) There it is for... I do not modifie anything of the hack itself... Or is this only for english-boards???

akanevsky
11-30-2005, 03:03 PM
It's not just for English boards, but I simply don't want you to translate it. Because you didn't ask permission before you started.

harry1951
11-30-2005, 03:15 PM
It's not just for English boards, but I simply don't want you to translate it. Because you didn't ask permission before you started.
This is the first time I read here at .org that a coder doesn't want that his hack will be translated to an other language. Most of the time they are happy when it's done....

But OK, that's your choice...

So, I kindly ask you by this, my I translate the phrases into dutch. I will not translate it in german, french, spanish, chinees, greek or whatever other language :smoke:

akanevsky
11-30-2005, 04:37 PM
So, I kindly ask you by this, my I translate the phrases into dutch.

Yes please. :) As long as you leave everything else intact.

akanevsky
11-30-2005, 05:05 PM
:banana: UPDATE! VERSION 1.0.2 :banana:

CHANGES: See Post #1.
SCREENSHOTS: Screenshot 01 has been replaced with 01a and 01b

HOW TO UPDATE:
1. Overwrite the product XML with the new one.
2. Re-upload invites.php.
4. Enjoy the effects.

The Chief
11-30-2005, 05:13 PM
looking good, I could be the first person to tell you again that your upgrade works perfectly ;)

Paul M
11-30-2005, 05:25 PM
Did you ask my permission to translate the hack? No.
Therefore, if I may ask, do not proceed.Well that would depend if he's translating it just for his own use. If I download this, or any other hack, from here - then I will do what I please with it as long as it's not distributed to anyone else without permission. :)

akanevsky
11-30-2005, 05:45 PM
Well that would depend if he's translating it just for his own use.
But he didn't state that. :)

Yes please. :) As long as you leave everything else intact.

Update on this: Since you were being rude in the other thread, the final answer is a "NO".
Unless, of course, you keep the translated version to yourself.

puertoblack2003
11-30-2005, 06:05 PM
:banana: UPDATE! VERSION 1.0.2 :banana:

CHANGES: See Post #1.
SCREENSHOTS: Screenshot 01 has been replaced with 01a and 01b

HOW TO UPDATE:
1. Overwrite the product XML with the new one.
2. Re-upload invites.php.
4. Enjoy the effects.

thank you sir *UPDATED* with no promblem, you're amazing like you style :rolleyes: :rolleyes: :rolleyes:

MissKalunji
12-01-2005, 12:38 AM
But he didn't state that. :)



Update on this: Since you were being rude in the other thread, the final answer is a "NO".
Unless, of course, you keep the translated version to yourself.


Thanks :) works perfectly!!!!!!!!!!!!

rb290
12-01-2005, 06:00 AM
this hack gives me an error when I wanna give rep to someone

"Parse error: parse error, unexpected ';' in /home/thug/public_html/reputation.php(170) : eval()'d code on line 13"

but when the hack isnt on the rep works

VaaKo
12-01-2005, 06:29 AM
I have set -1 for the reputation in the admincp but still the invites count isn't increasing

how can I increase the count?

rb290
12-01-2005, 06:35 AM
i disabled [Component] Invites System reputation_add_process and then it didnt give me error when i was giving rep.

do i need this enabled ?

akanevsky
12-01-2005, 11:19 AM
I have set -1 for the reputation in the admincp but still the invites count isn't increasing

how can I increase the count?

Read the hack description.

i disabled [Component] Invites System reputation_add_process and then it didnt give me error when i was giving rep.

do i need this enabled ?

Yes you do. I am going to fix the error in a short while though.

akanevsky
12-01-2005, 12:00 PM
Ok, fixed, and a new archive uploaded. If you don't want to reinstall the whole XML, just replace the contents of that plugin with the following:

/*================================================= =====================*\
|| ################################################## ################## ||
|| Invites System by Psionic Vision - BEGIN
|| ################################################## ################## ||
|| PLUGIN: Update Invites Count on Reputation
|| ################################################## ################## ||
\*================================================ ======================*/

if ($vbulletin->options['invites_on_reputation'] > 0)
{
if ($score > 0)
{
$userdata->set('invites', $userinfo['invites'] + $vbulletin->options['invites_on_reputation']);
}
else
{
$userdata->set('invites', $userinfo['invites'] - $vbulletin->options['invites_on_reputation']);
}
}

/*================================================= =====================*\
|| ################################################## ################## ||
|| Invites System by Psionic Vision - END
|| ################################################## ################## ||
|| PLUGIN: Update Invites Count on Reputation
|| ################################################## ################## ||
\*================================================ ======================*/

Annie^.^
12-01-2005, 04:49 PM
Hi I just installed this addon and it looks neat, bt having some problem

My registration button doesn't want to show up after I added this code

<if condition="$show['registerbutton'] AND !$vboptions['invites_reg_only_by_invite']">

akanevsky
12-01-2005, 04:59 PM
That's by design.

If registration is set to require invite code to sign up, the navbar register link becomes hidden.

Therefore, if you want it to show up, turn off invite requirement for registration.

Annie^.^
12-01-2005, 05:00 PM
Problem solved by turning of Registration by Invites Only

akanevsky
12-01-2005, 05:18 PM
well thats what I said ;)

rb290
12-01-2005, 05:42 PM
thanks for the fix, works now ! ! !

funinthesun
12-01-2005, 06:21 PM
Installed. Thank you :)

akanevsky
12-01-2005, 06:26 PM
thanks for the fix, works now ! ! !
Installed. Thank you
No problem :)

AshokForums.com
12-01-2005, 09:27 PM
I get this error when i send a invite and i click the link in the mail.. :( What might be the problem? I tried reinstalling too.. Settings are default

Database error in vBulletin 3.5.1:

Invalid SQL:

SELECT invites.invitehash, invites.issuer_id, issuer.username as issuer_name, invites.status
FROM afvb_invites
LEFT JOIN afvb_user as issuer ON (issuer.userid = invites.issuer_id)
WHERE invitehash = '8ea33150c00cc5799eb7'
LIMIT 1;

MySQL Error : Unknown table 'invites' in field list
Error Number : 1109

akanevsky
12-01-2005, 09:34 PM
Did you install the latest version?
Also, you forgot to specify which file the error occured in.

akanevsky
12-01-2005, 09:37 PM
Ok, the fix:
In register_start, replace
FROM " . TABLE_PREFIX . "invites
with
FROM " . TABLE_PREFIX . "invites as invites
or download a new XML that I'm about to upload.

akanevsky
12-01-2005, 09:40 PM
Fixed XML Uploaded.

AshokForums.com
12-01-2005, 09:46 PM
Workedddd.. U guys are great.. :) Thanks a lot!!

akanevsky
12-02-2005, 12:12 AM
Guy"S"? :D

theArchitect
12-02-2005, 12:37 AM
Another great add-on. :)

romow
12-02-2005, 03:43 AM
hi, Just installed the mod.

The invite system works fine, but after I installed it, I get the following parse error whenever I try to add a reputation to other members:


Parse error: parse error, unexpected ';' in /home/userid/forums/reputation.php(191) : eval()'d code on line 13


could you please check it?
Thanks,

VaaKo
12-02-2005, 06:25 AM
I really need to know how to increase the number of invites :(

sensimilla
12-02-2005, 10:51 AM
GReat hack , My question is
Is it possible that user that has sent an invite to his pal gets promoted for some time ?
as an award for bringin new member to the community ?

TIA

akanevsky
12-02-2005, 11:18 AM
romow
Make sure that you've downloaded the latest copy of the archive.

I really need to know how to increase the number of invites
They get increased automatically once a week.
Make sure you configure vBulletin Options -> Invite System to customize how exactly they get increased.

Is it possible that user that has sent an invite to his pal gets promoted for some time ?
I haven't looked into that, but I suppose it's possible...
Why would you want to promote users for just inviting others?

sensimilla
12-02-2005, 11:20 AM
I haven't looked into that, but I suppose it's possible...
Why would you want to promote users for just inviting others?


To increase forum popularity for example? They could get temporary access to payed sections of site..

For same reason was released google adsense revenue sharing hack i quess..
To increase traffic.

I think this could work great on commercial sites. TIA

harry1951
12-02-2005, 12:49 PM
Question: Are the sended emails stored into the database? If not can you added it then because due to email-rules in the Netherlands all emails have to be saved by the provider for 90 day's. If it can't I have to uninstall it :disappointed:

akanevsky
12-02-2005, 12:54 PM
Huh? What kind of rules are those?

harry1951
12-02-2005, 01:06 PM
The rule is that every ISP have to back-up every sended mail in case of any illegal activity and the gouvernment needs to track where an email was original send from.
The have to store: date, time, IP-adress of the sender and the body of the mail. This is since last year when a lot of well known people got threatening email from unknown senders whit as result the murder on a well known movie-maker Theo van Gogh.

romow
12-02-2005, 01:40 PM
yes, I downloaded the latest copy.

Make sure that you've downloaded the latest copy of the archive.

Annie^.^
12-02-2005, 07:26 PM
Hi After I installed the hack I get this error or refferers.php

Warning: Invalid argument supplied for foreach() in /referrers.php on line 163

Warning: arsort() expects parameter 1 to be array, null given in /referrers.php on line 173

Warning: Invalid argument supplied for foreach() in /referrers.php on line 174

akanevsky
12-02-2005, 07:50 PM
harry,
ok then you should install this hack by Andreas:
https://vborg.vbsupport.ru/showthread.php?t=101629

Hi After I installed the hack I get this error or refferers.php
That is a problem with referrers.php. Not with my hack.

yes, I downloaded the latest copy.
weird. I thought I fixed that error, but it was still there. Download again now (and overwrite the XML)

Annie^.^
12-02-2005, 09:25 PM
harry,
ok then you should install this hack by Andreas:
https://vborg.vbsupport.ru/showthread.php?t=101629


That is a problem with referrers.php. Not with my hack.


weird. I thought I fixed that error, but it was still there. Download again now (and overwrite the XML)

I had that error fixed with Michelle's new update, but when I added your addon I get this error that shows on the page. So I'm not sure what could be the problem

akanevsky
12-02-2005, 10:37 PM
I am still sure that this is a problem with Michelle's hack, but I'll install her hack and check it out :)

Annie^.^
12-02-2005, 11:20 PM
Hi
Sorry about this and thanks

romow
12-03-2005, 06:14 AM
sweet! now the error with reputation has disappeared.
thanks much for your support. clicked install.


weird. I thought I fixed that error, but it was still there. Download again now (and overwrite the XML)

board.trash
12-04-2005, 09:23 AM
hello, where the admin can see user x invite user y?

akanevsky
12-04-2005, 11:45 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=101000" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=101000</a>

Annie^.^
12-04-2005, 11:52 AM
Is there any solution to my problem?

akanevsky
12-04-2005, 12:14 PM
As I said, after installing both hacks, I don't see any problem.
So I'd say "no". Try reinstalling her hack.

QATAR SPEED
12-05-2005, 09:23 AM
Great Hack .. I've been thinking of a hack like this for awhile .. this hack should be the hack of the YEAR :)

One Question .. can I as an admin see the history of the invite's of any user on the forum?

Thanks again for this wonderful hack you made my day

EDIT: can I translate this hack to Arabic?

bang
12-05-2005, 06:46 PM
does anybody have this hack installed on the forums so I could register and have a look at how this works?

MissKalunji
12-05-2005, 09:41 PM
does anybody have this hack installed on the forums so I could register and have a look at how this works?

i do

www.dancehallareaz.com/forum

account test pswd : testing

akanevsky
12-06-2005, 12:10 AM
this hack should be the hack of the YEAR
Thank you for the kind words, although there is very little chance that it ever happens :)

can I as an admin see the history of the invite's of any user on the forum?
Nope. Not at the moment.

can I translate this hack to Arabic?
Sure, go ahead - as long as you retain everything else intact - esspecially the copyright.

does anybody have this hack installed on the forums so I could register and have a look at how this works?
Last time I checked, there were screenshots in the first post.

Reef
12-06-2005, 12:24 AM
can I as an admin see the history of the invite's of any user on the forum?

That would be a great option to add to this for private boards who want to monitor who is inviting who..


It would also be nice if we could edit individual members invite options



Great start on this mod. I really hope you continue adding features to this Psionic

akanevsky
12-06-2005, 12:40 AM
That would be a great option to add to this for private boards who want to monitor who is inviting who..

Do you need to know accepted invites only? Or every single invite that was sent out?

It would also be nice if we could edit individual members invite options

What kind of options?

Great start on this mod. I really hope you continue adding features to this Psionic

I will, as long as I think they are useful :)

Reef
12-06-2005, 01:13 AM
accepted invites would be good enough for me

As far as individual user options, I think being able to turn on/off for certain members and the ablity to increase/decrease the amount of invites they have would be convienient.

Everyone here I'm sure has some members they trust more than others to invite quality members to thier forums. This would allow us to easily give these trusted members more invites without doing it globally.

Note: this might moreso benifit those like me that have turned off automatic invite increasing.. I only gave each member 5 invites to start and would prefer to hand out increases on an as needed basis instead of having people with 100s of em throwing them all over the place like gmail accounts

HansMuenchen
12-06-2005, 01:40 AM
Hi,

today I install the inviting system. So fine so good :)
I send one test inviting out to see how and if it works. The Emails was send out and allways if I klick on the inviting link the only thing what will be happend is that I can give in the birthdate and after I do that and press continue that error comes up:

You must be invited in order to be able to register on our board. Have a nice day.

Does I forgotten somthing? If I set "Registration by Invites Only" to NO I can register but the name of the person who invited is also empty(?)

Can someone tell me how it must normaly work if it works perfect?

(Sorry for my maybe badly english, but I hop you will understand what I mean!)

Greetings out of Munich
Hans

Developer
12-06-2005, 08:51 AM
wonderful hack
installed

akanevsky
12-06-2005, 09:29 AM
accepted invites would be good enough for me
then be it

As far as individual user options, I think being able to turn on/off for certain members and the ablity to increase/decrease the amount of invites they have would be convienient.
how about "usergroups which are allowed to use the hack", which will override "usergroups which are not allowed to use the hack"?

HansMuenchen
12-06-2005, 12:33 PM
Hi Psionic Vision,

do you have any idea or maybe you can say me why it not work at me?

Because I've 2 questions:

1) Why there comes up the message (when I an inviting and click on the link into the mail):

You must be invited in order to be able to register on our board. Have a nice day.

2) Can I see somewhere, who has invited and whom?

Thnx for answer my questions!

Reef
12-06-2005, 02:24 PM
accepted invites would be good enough for me


then be it

Excellent, Thanks


As far as individual user options, I think being able to turn on/off for certain members and the ablity to increase/decrease the amount of invites they have would be convienient.


how about "usergroups which are allowed to use the hack", which will override "usergroups which are not allowed to use the hack"?

That wouldn't be as helpful as being able to edit an individual user. I was hoping something like this could be added to ACP/User Manager
http://www.cyberlnc.com/invite_idea.gif

Really the on/off option isn't necessary now that I think about it since the total invites could just be set to 0.

Couldn't the Total invites option just be added to read/update the data stored in User/invites DB column for that user?

one9er
12-06-2005, 04:18 PM
Thank's Psionic Vision!

sevster
12-06-2005, 04:50 PM
great work psionic. truly nice my friend. thank you for your hard work.

akanevsky
12-06-2005, 07:25 PM
That wouldn't be as helpful as being able to edit an individual user. I was hoping something like this could be added to ACP/User Manager

Last time I checked, you could edit any person's number of invites.

great work psionic. truly nice my friend. thank you for your hard work.

Then you know where to click.

slvr ralliart
12-07-2005, 11:05 PM
I have a request to add for this...

For the note... can you make it so we can put our invite msg by default, so when a user goes to invite it automatically shows:

Welcome to the test site...

we hope that...blah blah blah

let me know!

akanevsky
12-07-2005, 11:08 PM
It does display that. Send yourself a message and you will see it.
The contents of that message can be edited easily because they are stored in a phrase.

slvr ralliart
12-08-2005, 12:24 AM
It does display that. Send yourself a message and you will see it.
The contents of that message can be edited easily because they are stored in a phrase.

awesome...

So instead of what is automatically there now as a msg, please tell me step by step onto how and where to set my own msg instead of what you put as the default.

Thank You

akanevsky
12-08-2005, 01:02 AM
vBulletin ACP -> Search in Phrases -> invites_letter (type it in) -> ENTER

slvr ralliart
12-08-2005, 03:52 AM
vBulletin ACP -> Search in Phrases -> invites_letter (type it in) -> ENTER

ok i'm in invites_letter so I click edit then where exactly do I put it? I don't see the box to edit.

do i put it in that big box that says english to the left next to that?

HansMuenchen
12-08-2005, 07:39 AM
Hi Psionic,

do you have any idea why it not work at me? Means why it's not possible that users can us the link what is send by email and only become the forbidden message? Must I disable the Birthday option to work? Does I must set something into the usergroups?

Thnx for help me!

Greetings
Hans

lazyseller
12-08-2005, 05:41 PM
Psionic Vision Great hack i installed it and everything running good ....

Thank You so much ... another high quality hack once again..

I do have a question though what happans to invites that are not ? accepted or recieved ? For example if a user sent a invite and it never got accepted will it still be listed in the invites section forever ?

akanevsky
12-08-2005, 05:49 PM
ok i'm in invites_letter so I click edit then where exactly do I put it? I don't see the box to edit.

do i put it in that big box that says english to the left next to that?

Yes, I believe so. ;)

I do have a question though what happans to invites that are not ? accepted or recieved ? For example if a user sent a invite and it never got accepted will it still be listed in the invites section forever ?

Yes, but it expires after a certain amount of days that you may configure using vBulletin Options -> Invites System.

lazyseller
12-08-2005, 06:06 PM
Thanks Psionic Vision

Do you know if there is a simple way of resetting a users referral count ? for some reason members have entered in my name when signing up 6 times

akanevsky
12-08-2005, 06:10 PM
UPDATE PFXuser SET referrerid = 0 WHERE referrerid = YOURID
change PFX to your table prefix (if any), and YOURID to your userid.

AWI
12-08-2005, 10:57 PM
Thank you for this needed hack..installed and it works perfect

dotagious
12-09-2005, 03:46 AM
does this work for 3.5.2?

EDIT: installed on 3.5.2 and seems ok so far.

lazyseller
12-09-2005, 07:34 AM
Loving the mod works great with the referrer stats mod

akanevsky
12-09-2005, 09:33 AM
Most of the 3.5.0 + 3.5.1 mods will work on 3.5.2, unless stated otherwise..

QATAR SPEED
12-09-2005, 09:44 AM
Thanks for your hard work.I'll be waitting for your upgread ..
then I'll click Install ;)

akanevsky
12-09-2005, 10:27 AM
What upgrade?

If you mean me upgrading to 3.5.2, then I can guarantee that this hack works on 3.5.2 - because it does not involve any file edits....

theArchitect
12-09-2005, 10:34 AM
What upgrade?

If you mean me upgrading to 3.5.2, then I can guarantee that this hack works on 3.5.2 - because it does not involve any file edits....

Oh come. You know. "that" upgrade. ;)

akanevsky
12-09-2005, 10:53 AM
No I forgot. Could you please remind me so that I don't have to re-read 5 pages of the topic?>

VB-STYLE
12-09-2005, 11:13 AM
No I forgot. Could you please remind me so that I don't have to re-read 5 pages of the topic?>

can I as an admin see the history of the invite's of any user on the forum?
or in the user View Profile? :squareeyed:

opteek
12-10-2005, 09:41 AM
Excellent hack! Two feature suggestions which should be painless to implement.

First, the Not logged in/Unregistered usergroup needs to have the View Forum permission set to Yes; otherwise, invitees get a permission error when they try to register; can this be fixed?

Second, users who are invited and register are automatically thrown into the Users Awaiting Moderation usergroup. It would be nice if you could set which usergroupid a newly registered invitee is thrown into.

Also, I think it would be more conveniant, at least for me :rolleyes: , if instead of setting which usergroupids ARE NOT allowed to invite people, being able to set which usergroupids ARE allowed to invite people.

akanevsky
12-10-2005, 10:57 AM
can I as an admin see the history of the invite's of any user on the forum?

In view profile yes. Concerning global history - why is Referrer Statistics no good?

First, the Not logged in/Unregistered usergroup needs to have the View Forum permission set to Yes; otherwise, invitees get a permission error when they try to register; can this be fixed?

That sound weird. I'll check whether that is true.

Second, users who are invited and register are automatically thrown into the Users Awaiting Moderation usergroup. It would be nice if you could set which usergroupid a newly registered invitee is thrown into.

Moderation? Do you have COPPA enabled or something?

Also, I think it would be more conveniant, at least for me , if instead of setting which usergroupids ARE NOT allowed to invite people, being able to set which usergroupids ARE allowed to invite people.

Ok.

opteek
12-10-2005, 11:18 AM
Moderation? Do you have COPPA enabled or something?
Ok.

No, I have Moderate New Members enabled. :nervous: I realize I could just shut moderation off, but it would still be nice if you could have invitees set to an arbitrary usergroupid.

harpez
12-10-2005, 11:29 AM
I'm sorry if this has already been posted, but I can't edit my user cp templates! Everything else works but nobody knows about the system due to the user cp templates not being editable. If I try to edit them I just get an error saying the page cannot be found!

dotagious
12-10-2005, 11:40 AM
What would I have to edit so that you only have to enter an email address (or multiple addresses seperated by a coma) to invite people. The current syntax seems to confuse people for some reason... lol

akanevsky
12-10-2005, 12:02 PM
What would I have to edit so that you only have to enter an email address (or multiple addresses seperated by a coma) to invite people. The current syntax seems to confuse people for some reason... lol

People are always being stupid about simple things. Just ignore it and point them at the instructions :)

I realize I could just shut moderation off, but it would still be nice if you could have invitees set to an arbitrary usergroupid.

I'll see if I can do it.

MissKalunji
12-10-2005, 12:17 PM
People are always being stupid about simple things. Just ignore it and point them at the instructions :)



I'll see if I can do it.

lol funny eh? we always figure out the complicated stuff faster then the easiest stuff

HansMuenchen
12-10-2005, 01:04 PM
In view profile yes. Concerning global history - why is Referrer Statistics no good?



That sound weird. I'll check whether that is true.



Moderation? Do you have COPPA enabled or something?



Ok.


Must COPPA set be off? And Moderate also?

Sorry if I ask blond ;)
But in your instruction ist standing nothing about!

Thnx for the answer!

Greetings
Hans

akanevsky
12-10-2005, 01:40 PM
Must COPPA set be off? And Moderate also?
No, it does not have to be that way.

QATAR SPEED
12-10-2005, 02:32 PM
In view profile yes. Concerning global history - why is Referrer Statistics no good?
Ok.

I dont really care were can i see the history of the invite as long as i can keep track of each user and who's he/she is inviting.

HansMuenchen
12-10-2005, 02:33 PM
No, it does not have to be that way.

Because what I see is (see screenshot) nothing happens, means (don't know if I see correctly) if the user recieve the email and klick on the link what is included into the mail I first see the forum rules, after I aggree I see the registration form. But the field : Referrer is empty.

But what also happend is that in the first URL is standing (example):

http://www.domain.ltd/register.php?invite=b1d847b666fef3bd4035

If I click on next after accepting there is standing only:

http://www.domain.ltd/register.php

If I finish the registration and also the Account will be approved by the admin (my users are moderated) nothin happens into the control panel of the user. (see screenshot)

Means I don't see : recieved and also nothin into accepted.

Thnx for help by my "little" problem.

Greetings
Hans

akanevsky
12-10-2005, 02:38 PM
:banana: UPDATE! VERSION 1.2.0 :banana:

CHANGES: See Post #1.
SCREENSHOTS: Screenshot 02 has been updated.

HOW TO UPDATE:
1. Overwrite the product XML with the new one.

STATISTICS:
Install REFERRER STATISTICS (https://vborg.vbsupport.ru/vborg_miscactions.php?t=102452&do=installhack).

HansMuenchen
Your problem does not exist when the hack is installed correctly. Make sure you did all the steps.

P.S.
I think it's time to put a disclaimer in all of my hacks, stating that I do not provide any support unless you are absolutely certain that you have correctly followed all the install steps.

MissKalunji
12-10-2005, 02:50 PM
:banana: UPDATE! VERSION 1.2.0 :banana:

CHANGES: See Post #1.
SCREENSHOTS: Screenshot 02 has been updated.

HOW TO UPDATE:
1. Overwrite the product XML with the new one.

STATISTICS:
Install REFERRER STATISTICS (https://vborg.vbsupport.ru/vborg_miscactions.php?t=102452&do=installhack).

HansMuenchen
Your problem does not exist when the hack is installed correctly. Make sure you did all the steps.

P.S.
I think it's time to put a disclaimer in all of my hacks, stating that I do not provide any support unless you are absolutely certain that you have correctly followed all the install steps.

this keeps getting better!!

HansMuenchen
12-10-2005, 03:04 PM
Hi Psonic!

Well in your instruction ist nothing standing about the referrer Hack.
The other points I did now 4 times with the same result!
And you can be shure normaly I check if I did everything what is standing into install instructions before I ask.

But let's have a look how it looks if I install the other hack also!

Greetings
Hans

harpez
12-10-2005, 05:13 PM
Can anyone think of any reason, that, no matter what style I use, I cannot edit ANY user cp templates?

akanevsky
12-10-2005, 05:18 PM
Can anyone think of any reason, that, no matter what style I use, I cannot edit ANY user cp templates?

Your question pertains to vB in general rather than to this hack. Please ask in the appropriate forum (vbulletin.com).

harpez
12-10-2005, 05:29 PM
Your question pertains to vB in general rather than to this hack. Please ask in the appropriate forum (vbulletin.com).
Ok, fine, its just that I cannot make this hack fully functional without this!

akanevsky
12-10-2005, 05:35 PM
It doesn't matter. In this thread, I only provide support for this particular hack. Not instructing people how to edit templates.

opteek
12-10-2005, 08:45 PM
Wow, I ask for a new feature and it's in in less than 24 hours, what awesomness. I have another feature request, young Jedi.

What if specific usergroupids could create an invite link that can be used multiple times, which is either set to expire automaticically after X days or after the creator of the invite disables it. So, for example, I could post an invite link somewhere and multiple people could follow that link and register. What do you think?

Mr_TriGGeR
12-10-2005, 11:55 PM
Okay I have one problem. I have installed this and have 1 problem and 1 question. The invitation goes out fine but when the user clicks on it, it brings them to the sign in page. Then they click on the register button and a message pops up that says you need to be invited to register here so they cant register. Also if I disable the registration section so that it would be invite only they can even get that far what am I missing.

akanevsky
12-11-2005, 12:01 AM
You seem to have something wrong with forum permissions.
There is nothing in my hack that involves the invokation of sign in page though.

Mr_TriGGeR
12-11-2005, 12:05 AM
OKay thanks will get back too it. The only reason that I thought different was because it said you need a invitation in order to register. And that was right after they click on the email recieved by the invitation.

Bubble #5
12-11-2005, 01:02 AM
Hi Psionic Vision :) I've got a suggestion that could help a lot of people. Could you change this method of entering in the invites:

https://vborg.vbsupport.ru/

to this:

https://vborg.vbsupport.ru/

We're already getting complaints from people new to computers saying they don't understand how to enter in the invites :ermm: If they don't understand it (or if they use it wrong) then they won't want to use it. Having a seperate text box to enter in each invite is more straight forward and easier to understand, as most people have already dealt with these small text boxes before.

Injektilo
12-11-2005, 03:24 AM
Hi Psionic Vision :) I've got a suggestion that could help a lot of people. Could you change this method of entering in the invites:

http://www.maxmacmini.com/img/mod.gif

to this:

http://www.maxmacmini.com/img/mod2.gif

We're already getting complaints from people new to computers saying they don't understand how to enter in the invites :ermm: If they don't understand it (or if they use it wrong) then they won't want to use it. Having a seperate text box to enter in each invite is more straight forward and easier to understand, as most people have already dealt with these small text boxes before.

that would be great!

Mattikana
12-11-2005, 09:11 AM
First, the Not logged in/Unregistered usergroup needs to have the View Forum permission set to Yes; otherwise, invitees get a permission error when they try to register; can this be fixed?
This is true. I have the same problem :ermm:

QATAR SPEED
12-11-2005, 09:36 AM
Install :)

akanevsky
12-11-2005, 11:01 AM
We're already getting complaints from people new to computers saying they don't understand how to enter in the invites If they don't understand it (or if they use it wrong) then they won't want to use it. Having a seperate text box to enter in each invite is more straight forward and easier to understand, as most people have already dealt with these small text boxes before.
I actually made it single-field by a request.

This is true. I have the same problem
This is a vBulletin bug. Checked on a fresh board.
Report posted: [here] (http://www.vbulletin.com/forum/bugs35.php?do=view&bugid=1958).

P.S. Yay 100 installs! :)

Bubble #5
12-11-2005, 10:12 PM
I actually made it single-field by a request.
Seriously? :surprised:

So no chance of an admin option to toggle it on/off or an upgrade file for those admins who prefer the easier seperate box method?

akanevsky
12-11-2005, 10:17 PM
Yes, seriously.
Maybe there will be such option if I have some free time next weekend :)

Lionel
12-11-2005, 11:12 PM
How to upgrade? Just reupload product or do templates changes also?

romow
12-11-2005, 11:15 PM
i just upgraded.
after that, i start to see the same error that i saw before, which you fixed somehow:

basically I get the following parse error whenever I try to add a reputation to other members:


Parse error: parse error, unexpected ';' in /home/userid/forums/reputation.php(191) : eval()'d code on line 13

one9er
12-11-2005, 11:18 PM
How to upgrade? Just reupload product or do templates changes also?

Same here???

MissKalunji
12-11-2005, 11:36 PM
I actually made it single-field by a request.


This is a vBulletin bug. Checked on a fresh board.
Report posted: [here] (http://www.vbulletin.com/forum/bugs35.php?do=view&bugid=1958).

P.S. Yay 100 installs! :)


having one field gives you unlimited.......

having seperate box gives you a limited thats how i see it


i dont see how someoen cant understand :-/

akanevsky
12-11-2005, 11:39 PM
Yes, just overwrite the XML for 1.0.2 => 1.2.0 update.

i just upgraded.
after that, i start to see the same error that i saw before, which you fixed somehow:

basically I get the following parse error whenever I try to add a reputation to other members:

Crap. Somehow I kept forgetting to update my dev forum with the XML saved in my project folder... Cause I made that change manually. So every time I exported, it was overwritten with the same bug. Lol. It'f fixed now..

i dont see how someoen cant understand :-/
They will understand. Just give them time.

romow
12-12-2005, 12:21 AM
sweet.. i see it's fixed now.
this is one of the best supported vb mods. good job.

Crap. Somehow I kept forgetting to update my dev forum with the XML saved in my project folder... Cause I made that change manually. So every time I exported, it was overwritten with the same bug. Lol. It'f fixed now..

Red Blaze
12-12-2005, 12:57 AM
Problem here. It says I don't have any invites, but when I edit my profile, it says I have 30 unused invites.

akanevsky
12-12-2005, 01:07 AM
Show me. After you make sure you installed everything correctly.

Injektilo
12-12-2005, 04:48 AM
Psionic Vision: i've done everything 100% correctly. All the template changes, and file uploads, i've also installed the referrers statistics, but still it counts only old statistics of invitations that i had before your 2 hacks. It doesnt count the new invitations accepted.

btw: i am currently on vb3.5.0

Please help asap
thanks

Red Blaze
12-12-2005, 03:16 PM
I attached images of what I see.

I believe this happend after I did the upgrade. All I did was replace the XML file from 1.0.0 to 1.2.0

The Chief
12-12-2005, 03:53 PM
Are you sure it is not possible to send an invitation to all of our MSN Messenger contacts or AIM? This is surely something asked by alot of vB Admins and I'm sure it would be even more successful ;)

LBSources
12-12-2005, 05:01 PM
Yes, just overwrite the XML for 1.0.2 => 1.2.0 update.
Psionic is this all thats necessary to upgrade?

Thanks..

Lenny :)