PDA

View Full Version : Profile Enhancements - Invitation System vB 3.7 Gold


Pages : [1] 2 3 4 5

Hasann
03 Mar 2008, 05:12
Invitation System by HASANN

This Product brought to you by
www.vBulletin-TR.Com (http://www.vbulletin-tr.com/)

Comments, suggestions, translations, bugs, etc... are very welcome! Support is only given to people who have clicked INSTALL.

DESCRIPTION

->What does it? > Allow users send invites to everybody.

Go For Invitation Hack vBulletin Version 3.5 and 3.6.series (http://www.vbulletin.org/forum/showthread.php?t=172157)

DEMO

you can test it at here www.vbulletin-tr.com/forum/profile.php?do=invitation&langid=1

FEATURES


complete code rewrited ;)
Included a user referrer code to invite code, so when they sign up, it shows up who referred them. ;)
Now users can delete their invites ;)
Invitation Image Verification Added ;)
The system can be turned on and off.
Usergroups Permissions Added; Allowed Usergroups to View and to Use This Hack
Invitation User Control Panel Link; Show Invitation Link in "User Control Panel" Left Menu
Invitation Automatic Link Creation; This will create a link on your forum navbar to the invitation page
Usergroups Permissions Added ;)
fully phrased ;)
added an admin option disable registration via normal methods
added an admin option which usergroups can to delete their invites
added an admin option enable disable invitation image verification
added an admin option Edit the Email Text Title
added an admin option Edit the Invite Description
added Invitation Sender Username to Email
integrated the totally vBulletin default Human Verification System into Invitation System :eek:

You decide it if you wich human verification system will be used in the invitation system go to Admincp > Human Verification Manager > and select one human verification if you want.

these are;
Image Verification
An image consisting of letters in varying fonts/shapes/sizes will be shown to the user. The appearance of this image is dicated by several options that you may control.

Question and Answer Verification
Questions provided by you that must be answered appropriately for verification.

reCAPTCHA Verification
An image containing two words will be shown to the user. This verification supports audio, allowing blind users to register.

Added Invitation User Options
a> Ability to limit number of invites by user. (user: Admin an have 10 invites, user: Testuser can have 20, etc, admin controlled)
b> Ability to reset invites to 0 on a per user basis (override), admin controlled
c> Ability to reset to max being unused, admin controlled
d> Abilitiy turn to on or off Invitation System per user basis, admin controlled

INSTRUCTIONS
Install: ->Just Import product_invitation.xml via Product Manager

->Do template edits:
In USERCP_SHELL Template Find this Code


<if condition="$show['profilepiclink']">
<tr><td class="$navclass[profilepic]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofilepic">$vbphrase[edit_profile_picture]</a></td></tr>
</if>


Add Below This Code


<if condition="$vbulletin->options['invitation_usercp_link']">
<tr>
<td class="$navclass[invitation]" nowrap="nowrap">
<a class="smallfont" href="profile.php?$session[sessionurl]do=invitation">$vbphrase[invitation]</a>
</td>
</tr>
</if>


Comments, suggestions, translations, bugs, etc... are very welcome! Support is only given to people who have clicked INSTALL.

Hasann
03 Mar 2008, 05:18
Date: 03 Mar 2008 : Updated to v1.0.2
added an admin option disable registration via normal methods
added an admin option which usergroups can to delete their invites

Date: 05 Mar 2008 : Updated to v1.0.3

Added Version Check URL Requested Here (http://www.vbulletin.org/forum/showpost.php?p=1457118&postcount=40)
Added Invite Description Requested Here (http://www.vbulletin.org/forum/showpost.php?p=1456307&postcount=32)
Added an Option To Admincp Invitation Human Image Verification.
Some Minor Bugs Cleared
Invitation Templates Cleared

Date: 05 Mar 2008 : updated to v1.0.4

added an admin option enable disable invitation image verification
added an admin option Edit the Email Text Title
added an admin option Edit the Invite Description
added Invitation Sender Username to Email

Date: 07 Mar 2008 : updated to v1.0.5

Minor Template Bugs Fixed!!!
added error messages when email does not works or human verification system

The following errors occurred with your submission:

You entered an invalid email address.
The string you entered for the image verification did not match what was displayed.



Date: 08 Mar 2008 : updated to v2.0.0

integrated the totally vBulletin default Human Verification System into Invitation System :eek:

You decide it if you wich human verification system will be used in the invitation system go to Admincp > Human Verification Manager > and select one human verification if you want.

these are;
Image Verification
An image consisting of letters in varying fonts/shapes/sizes will be shown to the user. The appearance of this image is dicated by several options that you may control.

Question and Answer Verification
Questions provided by you that must be answered appropriately for verification.

reCAPTCHA Verification
An image containing two words will be shown to the user. This verification supports audio, allowing blind users to register.

Added Invitation User Options
a> Ability to limit number of invites by user. (user: Admin an have 10 invites, user: Testuser can have 20, etc, admin controlled)
b> Ability to reset invites to 0 on a per user basis (override), admin controlled
c> Ability to reset to max being unused, admin controlled
d> Abilitiy turn to on or off Invitation System per user basis, admin controlled



Date: 05 April 2008 : updated to v2.0.2

- Scythe42 has made the following changes:

no more need to double click on the invitation link
invitationcode cookie gets removed once the user has signed up
account verification after signup isn't blocked by an invalid invitation error code anymore
deletions of invites now delete the correct invite
added permissions check when trying to delete an invitation
if a user deletes an unclaimed invite, he gets one invite back
you cannot sent multiple invites to the same email address
you cannot sent invites to already registered email addresses
added no invites sent message to usercp tepmplate
changed some phrases to proper English (hope so)
added some additional phrases


- I have made the fallowing changes

numerous misspells in the body text of the invitation fixed
the body text hardcoded that users can't change it
also there are phrases for subject and bodytext, so you can use translations.
the users can attach a note message to the invite email
some phrases errors fixed
some template bugs fixed

shlomot
03 Mar 2008, 06:25
Thank you for this important, professionally made, and painless to embed MOD.

Please add an admin option to modify the message text.

Installed!

Hasann
03 Mar 2008, 06:35
Thank you for this important, professionally made, and painless to embed MOD.

Please add an admin option to modify the message text.

Installed!

Okei I will add an admin option to modify the message text and an admin option which usergroups can to delete their invites. and at least an option how amount of invite can users to send.. =)

dirtycrow
03 Mar 2008, 06:38
DB error

Database error in vBulletin 3.7.0 Beta 5:

Invalid SQL:
SELECT * FROM invites WHERE user = 10 ORDER BY sent DESC;

MySQL Error : Unknown column 'user' in 'where clause'
Error Number : 1054
Date : Monday, March 3rd 2008 @ 02:37:02 AM
Script : http://forums.xxx.com/profile.php?do=invitation
Referrer : http://forums.xxx.com/usercp.php
IP Address :
Username :
Classname : vb_database
MySQL Version : 4.1.22-standard

Hasann
03 Mar 2008, 06:43
DB error

when and where is it coming up this database error? buddy
get anyone this error too?

shlomot
03 Mar 2008, 06:49
No. Installation was as smooth as a baby's *** :)

Also, thanks for your to-do list.

get anyone this error too?

katilkuzu
03 Mar 2008, 09:33
very usefull. i will try it. thank you

bestword
03 Mar 2008, 10:31
It's Very good, But i hope it will have an option to control how long time the Invitation will expired

Hasann
03 Mar 2008, 10:32
Updated to v1.0.2
added an admin option disable registration via normal methods
added an admin option which usergroups can to delete their invites

who this hack have been installed please re-import the product-invitation.xml

vBH-Team
03 Mar 2008, 10:50
I will use that, you are too quickly :) very good hack Hasann. I love your Hacks :D

Hasann koptun gidiyorsun walla ya helal olsun.

Lionel
03 Mar 2008, 10:52
So with that new option that will make it a board by invitation only? That's a cool idea.

Hasann
03 Mar 2008, 10:54
So with that new option that will make it a board by invitation only? That's a cool idea.

it is on your decision :) if you would like disable registration via normal methods in invitation settings or you should use both invite registration and normal registration

Taragon
03 Mar 2008, 11:26
thanks!

Ohiosweetheart
03 Mar 2008, 11:46
Excellent! Installing today :)

Feckie (Roger)
03 Mar 2008, 11:59
Xcellent work, (clicks installed)

NeuroLancer
03 Mar 2008, 12:02
Looks good :)

... what does it mean by "if error click the link twice"? Any chance of that being fixed so it always works first time? I dont want any invitations sent out saying that my site sends stuff with errors before the user has even seen my site...

DJ_nus
03 Mar 2008, 12:35
thank yu adamım :D

M_Portiss
03 Mar 2008, 12:43
Simply awesome.

Hasann
03 Mar 2008, 12:51
Looks good :)

... what does it mean by "if error click the link twice"? Any chance of that being fixed so it always works first time? I dont want any invitations sent out saying that my site sends stuff with errors before the user has even seen my site...
it is fixed version
so the error that invite receivers get, this is a cookie based error.. I can't fix theirs explorer cookie error :)
thank yu adamım :D
sag ol kanka :D
Simply awesome.
if you find awesome than nominate for Modification of the Month :D:up:

projectego
03 Mar 2008, 13:51
/me clicks install

Thank you very much! :D

KURTZ
03 Mar 2008, 14:53
another good one!

Elmer
03 Mar 2008, 15:58
Installed..

Also, why when I have more then one invitation y the list, then I click to delete one invitation it doesn't only erase that invitation but delete them all? is a bug or it is suppose to work like that?

dirtycrow
03 Mar 2008, 16:40
works, seems i had an older invites system still installed but disabled that was not playing nicely. thank you!

ChurchMedia
03 Mar 2008, 16:54
when and where is it coming up this database error? buddy
get anyone this error too?
Same error. You are missing the table prefix in the code.

M_Portiss
03 Mar 2008, 17:07
if you find awesome than nominate for Modification of the Month :D:up:


Done.

SEOvB
03 Mar 2008, 20:06
when i put the code from the instructions in my userCP_SHELL template, it doesn't show up, any ideas


edit: it has to do with another modification, the userCP icons one incase anyone else has the issue

SuperDave71
03 Mar 2008, 21:22
Great MOD!!


Is there a way we can edit the invite message? I would like to correct the "Not:" to Note


Edit: Whoops, I answered my own question! Sorry!! Excellent Mod! -Dave :)





Nominated!!


-Dave

Hasann
03 Mar 2008, 21:36
works, seems i had an older invites system still installed but disabled that was not playing nicely. thank you!
I don't understand you man. if you have invitation system beta still installed.... INSTALL new version overwrite ;)
Same error. You are missing the table prefix in the code.
I am nothing missing with the table structure
Done.
thank you
when i put the code from the instructions in my userCP_SHELL template, it doesn't show up, any ideas


edit: it has to do with another modification, the userCP icons one incase anyone else has the issue
find correct place in USERCP SHELL for the invitation link
Great MOD!!


Is there a way we can edit the invite message? I would like to correct the "Not:" to Note


Nominated!!


-Dave

yes you can edit the invite message
edit invite_email template :)

bigcurt
03 Mar 2008, 23:14
This new version work with 3.6? :-D

Hasann
03 Mar 2008, 23:19
This new version work with 3.6? :-D

yes it is with vB 3.6.series Compatible!

basilrath
03 Mar 2008, 23:28
The system is great with a spelling error or two but hey it's a nice addition.........

A little description goes down quite well in the invite_usercp template giving the user some advice as to what to do etc............as you can see here (http://www.tabletennistalk.co.uk/forum/table/dump.gif)

Great work

Hasann
03 Mar 2008, 23:33
The system is great with a spelling error or two but hey it's a nice addition.........

A little description goes down quite well in the invite_usercp template giving the user some advice as to what to do etc............as you can see here (http://www.tabletennistalk.co.uk/forum/table/dump.gif)

Great work

nice :) I have before said it is on your decision anyone can change the invite message text
in invite_email template

coming up tomorrow a new update =)

D.Ilyin
04 Mar 2008, 06:02
Very nice hack! Nominated.

PS but "Not supported" - :(

OnyxChase
04 Mar 2008, 09:21
Great hack .... but I can see someone spamming people using this. I mean, they can enter their own message and all. Also the script doesn't limit the amount of invitations someone can make.

Unfortunately I will have to uninstall this mod until it is more secure.

anestetic
04 Mar 2008, 12:13
You have be invited to join.‏ giden mailin konusu bu bunu nasıl degıscem ne cumlede buldu ne xml dosyasında :D

ve bunda daveti kim yollarsa yollasın hep aynı adresten gıdıyor yollayanın mail adresınden gıtse daha guzel olur

cassis2k
04 Mar 2008, 13:50
Greet, Thanks

rainyleaves
04 Mar 2008, 14:00
AWESOME!!!!!!
Thanks!!! Installed.

marcossalazar
04 Mar 2008, 21:51
Great hack .... but I can see someone spamming people using this. I mean, they can enter their own message and all. Also the script doesn't limit the amount of invitations someone can make.

Unfortunately I will have to uninstall this mod until it is more secure.

Yes, there should be an option to limit the number of emails that can be sent. But great hack! Hope it becomes supported!

dancue
04 Mar 2008, 23:30
Can you allow this to work with the "version check" mod?

http://www.vbulletin.org/forum/showthread.php?t=133366

I'd love to know when it is updated.

Other than that it seems to be a good mod. Thanks!

mizamlar
05 Mar 2008, 05:29
selamunaleykum hassann maşallah tebrik ederim...
Yalnız bir proplem var bu davetiyeliği aktif ettiimizde
üye olan ve onaylandıktan sonra ilk uyarı yine çıkıyor...

Hasann
05 Mar 2008, 05:43
Great hack .... but I can see someone spamming people using this. I mean, they can enter their own message and all. Also the script doesn't limit the amount of invitations someone can make.

Unfortunately I will have to uninstall this mod until it is more secure.

okei I will try add Image Verification Feature into this hack

You have be invited to join.‏ giden mailin konusu bu bunu nasıl degıscem ne cumlede buldu ne xml dosyasında :D

ve bunda daveti kim yollarsa yollasın hep aynı adresten gıdıyor yollayanın mail adresınden gıtse daha guzel olur
tamam kardesim yapicaz bir güzellik :D
"You have be invited to join" bu cümleyide pluginin icinden degistirebilirsin ben onun icin bir ayar eklicem tamammi kardes.

Yes, there should be an option to limit the number of emails that can be sent. But great hack! Hope it becomes supported!
it is not supported but as you see I give support ;)
Can you allow this to work with the "version check" mod?

http://www.vbulletin.org/forum/showthread.php?t=133366

I'd love to know when it is updated.

Other than that it seems to be a good mod. Thanks!
Okei bro I will add this version check too
selamunaleykum hassann maşallah tebrik ederim...
Yalnız bir proplem var bu davetiyeliği aktif ettiimizde
üye olan ve onaylandıktan sonra ilk uyarı yine çıkıyor...

sorunu tam anlamadim ama anladigima göre davetiyesiz üye olanlardada o hata cikiyor diyorsun degilmi? :) o sorunuda ben bugün kesfettim giderdim sorunu birdahaki güncellemede olmucak böyle bi sorun

Hasann
05 Mar 2008, 09:05
Updated to v1.0.3

Added Version Check URL Requested Here (http://www.vbulletin.org/forum/showpost.php?p=1457118&postcount=40)
Added Invite Description Requested Here (http://www.vbulletin.org/forum/showpost.php?p=1456307&postcount=32)
Added an Option To Admincp Invitation Human Image Verification.
Some Minor Bugs Cleared
Invitation Templates Cleared

Droptop
05 Mar 2008, 09:18
Just tried to import the new XML update and received this error message:

XML Error: not well-formed (invalid token) at Line 8

Hasann
05 Mar 2008, 09:25
Just tried to upload the new XML update and received this error message:

XML Error: not well-formed (invalid token) at Line 8

sorry bro my mistake :( updated now correct xml :)
download it and re-import new xml okei

Droptop
05 Mar 2008, 09:30
That did it!! :D Works great...Thanks bro. :up:

TasariMerkezi
05 Mar 2008, 09:39
thanks man installed

Droptop
05 Mar 2008, 09:53
I am getting this error now when I click the invite your friends:

Warning: Unknown(/home/phili18/public_html/forum/includes/class_humanverify.php): failed to open stream: No such file or directory in /profile.php(155) : eval()'d code on line 193

Fatal error: (null)() [function.require]: Failed opening required '/home/phili18/public_html/forum/includes/class_humanverify.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/phili18/public_html/forum/profile.php(155) : eval()'d code on line 193

Hasann
05 Mar 2008, 09:56
what version of vBulletin do you use?
this new version does not work with vB version 3.5 or 3.6.series
does work only vB version 3.7.0 beta series

Droptop
05 Mar 2008, 10:04
I'm using 3.6.8 PL 2 , the previous version you had worked great on my system....Is there any way I could get that XML again? Thanks bro, my members love this feature.

basilrath
05 Mar 2008, 10:08
Top man

I like the red wording !

Hasann
05 Mar 2008, 10:11
Top man

I like the red wording !

please click install buddy ;)

I'm using 3.6.8 PL 2 , the previous version you had worked great on my system....Is there any way I could get that XML again? Thanks bro, my members love this feature.

Bro! I make a new version now and that will work for vB3.5 and vB3.6 series

just wait okei ;)

Droptop
05 Mar 2008, 10:14
Bro! I make a new version now and that will work for vB3.5 and vB3.6 series

just wait okei ;)

You're the man bro, thanks very much. :D

mizamlar
05 Mar 2008, 10:22
hassan bu keşfettiğini hallettiniz ve yeniden yuklememiz gerekiyormu şimdi
indirip yeniden mi halledelim

Feckie (Roger)
05 Mar 2008, 10:22
Xcellent update

NeuroLancer
05 Mar 2008, 10:28
Awesome work Hasaan, i will be installing this soon.

Thanks again for another great mod.

katilkuzu
05 Mar 2008, 10:28
i think you need to keep old version

mizamlar
05 Mar 2008, 10:49
Herşey çok guzel tek bir proplem var hasan kardeşim...
Üye olmayanlar kayıta basınca davetiye sistemli diye bir uyarı ile karşılaşıyor...
Ama mailden linke tıklayan yine aynı uyarı ile değilde Davetiyeniz onaylandı şimdi kayıt olabilirsiniz şeklinde bir karşılama olsa...

demek istediğim anlaşıldımı

Hasann
05 Mar 2008, 10:58
updated to v1.0.4

added an admin option enable disable invitation image verification
added an admin option Edit the Email Text Title
added an admin option Edit the Invite Description
added Invitation Sender Username to Email

NeuroLancer
05 Mar 2008, 10:59
man I just got 1.0.3 on, lol, will start again...

Works great. * Installed & Nominated

Hasann
05 Mar 2008, 11:20
man I just got 1.0.3 on, lol, will start again...

Works great. * Installed & Nominated

Thank you very much buddy ;) New features coming up tomorrow :D:up:
and one version of invitation for vBulletin versions 3.5 and 3.6.series :)

mizamlar
05 Mar 2008, 11:21
benim demek istediğim anlaşıldımı...
ya bu adamların belirttiği sorunlar hep boş gerçekten..
Güvenlik koduna orda ne gerek var daveti uye gonderiyor zaten spam uye olmayacağı için davetiyeyi nasıl gondersin...

:) hasann kardeşim kusuruma bakma seni yıruyorlar ama cidden bu bölümde bir turkun çalışmasının sayfalarca akması beni onure etti...

Hasann
05 Mar 2008, 11:23
benim demek istediğim anlaşıldımı...
ya bu adamların belirttiği sorunlar hep boş gerçekten..
Güvenlik koduna orda ne gerek var daveti uye gonderiyor zaten spam uye lmayacağı için davetiyeyi nsıl gondersin...

:) hasann kardeşim kusuruma bakma seni yıruyorlar ama cşdden bu bölğmde bir turkun çalışmasının sayfalarca akması beni onure etti...

abi yada kardesim bak o dedigini anladim ben o sorunu yeni versiyonda düzelttim sende
dedigim gibi hata veriyorsa hala benden kaynaklanmayan nedenden verir cünkü kullanicilarin tarayicilarindaki cerez özelligi bozukdur ne bileyim yada arizalidir yani anlicagin o bahsettigin sorun cookieler den kaynaklaniyor eger o hatayi alirlarsa iki kere tiklasinlar okei onurlandirdigim icin mutluyum :)

mizamlar
05 Mar 2008, 11:26
Dunyanın en fazla uyesi olan islami sitesi sahibiyim bak :)
dua ederim senin için...

Hasann
05 Mar 2008, 11:36
Dunyanın en fazla uyesi olan islami sitesi sahibiyim bak :)
dua ederim senin için...

Özel Mesaj Yolladim Sana Bi Ara Bak Tamam

I Have Been Sent To You Private.Message. Check Your Inbox Buddy

KeyStalker
05 Mar 2008, 11:37
I think your missing a few files in the .zip file. I had an invite system and uninistalled it to tries yours and it's not working properly.

Suggestions:


Certain UserGroups have have X number of invites (every week earns x more)
Certain Usergroups = unlimted invites.:)

Hasann
05 Mar 2008, 11:40
I think your missing a few files in the .zip file. I had an invite system and uninistalled it to tries yours and it's not working properly.

Suggestions:


Certain UserGroups have have X number of invites (every week earns x more)
Certain Usergroups = unlimted invites.:)

I have nothing forgot buddy check your database in phpMyAdmin and find invites table if exist delete it and delete in product manager invitation system and install the hack new

and small notice: this new version does not work with under vBulletin versions 3.7.0 beta series

shlomot
05 Mar 2008, 11:51
Thanks a lot for such rapid response to our requests and provide an even better product.

I hope that you haven't forgot my request to allow admin to edit the message body text while preventing user from tempering with it.

Hasann
05 Mar 2008, 12:23
Thanks a lot for such rapid response to our requests and provide an even better product.

I hope that you haven't forgot my request to allow admin to edit the message body text while preventing user from tempering with it.
No no I haven't forgot your request. I will add tomorrow this feature too ;)

And for @Droptop Go For Invitation Hack vBulletin Version 3.5 and 3.6.series (http://www.vbulletin.org/forum/showthread.php?t=172157)

mizamlar
05 Mar 2008, 12:33
Tamam yazdım ve gönderdim

silvermerc
05 Mar 2008, 12:58
Can you make it so that you can send emails through your sever, Like you can with hotmail and bebo, So say if you have a @hotmail or a @domain you can send it to all your friends through that?

Hasann
05 Mar 2008, 13:30
Can you make it so that you can send emails through your sever, Like you can with hotmail and bebo, So say if you have a @hotmail or a @domain you can send it to all your friends through that?
Mariah Carey Says: It's Like That!!!!!!!!!!!!!!! :D:D:D

silvermerc
05 Mar 2008, 15:29
Like you can with hotmail and bebo, So say if you have a @hotmail or a @domain you can send it to all your friends through that?
Nope its not?
It just allows me to send 1 email i think o.O

Hasann
05 Mar 2008, 15:48
Nope its not?
It just allows me to send 1 email i think o.O

Hmm.. one moment I see Do You Mean Contact Grabber sorry :(
yes its allows only one email to send

madotds
05 Mar 2008, 16:21
Hi great mod thank you but i do have one problem. When I click on the delete invite link it it take me to the "invite has been deleted succesfully" screen and then redirects back to the invite screen
This is all good but when I get the there the Link I just deleted is still there :( Any Idea?

Regards Madotds

7lanet
05 Mar 2008, 19:32
Thank you very dear brother

All product developed by you beautiful and very useful

We always perversely you everything that is new

We awaited new product which will provide us

Forum Lover
05 Mar 2008, 20:04
Hmm.. one moment I see Do You Mean Contact Grabber sorry :(
yes its allows only one email to send
Most promising hack. can u please make it allow sending more then one email? Contact grabber gonna be a huge plus. I used a hack for PHPizabi that do the thing through plaxo. As I am not a coder, not sure if we can use the plaxo platform.

BuRaCh
05 Mar 2008, 20:22
i am very like you have this hack hasann.
thank you for we release;)

youradhere4222
05 Mar 2008, 20:33
Thank you very much! :)

Edit: One thing I think would be nice is if users were given an error message if they chose an email that was already registered with our site.

It'd also be nice if there was a notice at the end of the email (one that could not be edited) saying that (forum name) is not responsible for the contents of this message if the message had been edited, that way people wouldn't be misleaded into thinking that a nasty message was being sent by my site instead of the user.

Also, two questions:

Above the invitation page, it says "Description", and inside of it there's a decription which can be edited via the ACP. I want to replace "Description" with "Invitation System", how would I go about doing this.

Second, there's an unnecessary box below the invite text editor. Is there anyway you can get rid of it?

https://www.vbulletin.org/forum/external/2008/03/55.jpg

Thanks for any consideration!

Playa82
05 Mar 2008, 21:01
UserCP link and navbar link doesnt work for me...

u use vbulletin 3.7.0 beta 5 and yes, i did everything u wrote for installation...

ShawneyJ
06 Mar 2008, 02:47
just uploaded the new xml and Invitation System stopped working, uploaded the old xml now working again.

NeuroLancer
06 Mar 2008, 04:04
new xml working good for me

Playa82
06 Mar 2008, 06:34
UserCP link and navbar link doesnt work for me...

u use vbulletin 3.7.0 beta 5 and yes, i did everything u wrote for installation...


any suggestions ?

Hornstar
06 Mar 2008, 06:48
I used to have one from invision scripts before that closed down, and it has a msn, gmail, hotmail invites part where you could log in and send invites to everyone on your contacts list. Have you thought about adding this?

vBVision
06 Mar 2008, 09:04
Guest invitation doesn't work, even if usergroup is added;)

brfrankl
07 Mar 2008, 07:26
Great Mod. Installed.

couple requests for improvements:

1> Ability to limit number of invites by usergroup. (usergroup 1 an have 10 invites, usergroup 2 can have 20, etc, admin controlled)
-If #1 is implemented, would need the following:
a> Ability to reset invites to 0 on a per user basis (override)
b> Ability to reset to max being unused


2> Report ability to see how many invites have been sent and accepted, top inviter, etc

anestetic
07 Mar 2008, 08:31
Hasann dostum bunu kurdum 2 gun hıc uye gelmedi bi kayıt ola bakayım dedım ıngılızce bı uyarı cıktı invitations falan :D eklentiyi iptal ettiğimde duzeldi?
sadece mail alan kişilermi kayıt olabilecek?

oysa gnc forumda oyle degıl hem normal uyelık acık hemde arkadasına yolla (:

birde o gelişmiş uye istatistiklerini paylasacakmısın cok hosuma gıttı de

Triky
07 Mar 2008, 10:25
Nice mod. :)

NeuroLancer
07 Mar 2008, 13:21
1.05 zip has product-guestbook.xml inside.

Hasann
07 Mar 2008, 13:27
Nice mod. :)
Thank you please click install :D:up:
1.05 zip has product-guestbook.xml inside.

Thank You Bro ! fixed and updated the zip file ;)

NeuroLancer
07 Mar 2008, 13:37
Works great.

The error message when user does incorrect string verification or email is a great touch. It is something that I had wanted when I installed this mod. Now it is in there, thank you! :)

UltraFanatics
08 Mar 2008, 12:18
Awesome mod!

Very good work

Hasann
08 Mar 2008, 13:10
Most promising hack. can u please make it allow sending more then one email? Contact grabber gonna be a huge plus. I used a hack for PHPizabi that do the thing through plaxo. As I am not a coder, not sure if we can use the plaxo platform.

UserCP link and navbar link doesnt work for me...

u use vbulletin 3.7.0 beta 5 and yes, i did everything u wrote for installation...

any suggestions ?

I used to have one from invision scripts before that closed down, and it has a msn, gmail, hotmail invites part where you could log in and send invites to everyone on your contacts list. Have you thought about adding this?

Hasann dostum bunu kurdum 2 gun hıc uye gelmedi bi kayıt ola bakayım dedım ıngılızce bı uyarı cıktı invitations falan :D eklentiyi iptal ettiğimde duzeldi?
sadece mail alan kişilermi kayıt olabilecek?

oysa gnc forumda oyle degıl hem normal uyelık acık hemde arkadasına yolla (:

birde o gelişmiş uye istatistiklerini paylasacakmısın cok hosuma gıttı de

Comments, suggestions, translations, bugs, etc... are very welcome! Support is only given to people who have clicked INSTALL.

Playa82
08 Mar 2008, 13:37
^^^^ i clicked install

Hasann
08 Mar 2008, 13:41
^^^^ i clicked install

UserCP link and navbar link doesnt work for me...

u use vbulletin 3.7.0 beta 5 and yes, i did everything u wrote for installation...

OKei
Have you been edited the original navbar template? if you have been edited revert back the edited navbar template..
Have you been checked vBulletin Options > Invitation System > Invitation Automatic Link Creation Option?

anestetic
08 Mar 2008, 15:25
Hasann kardes benımde alıntı yapmıssın ama ben bısey anlamadım yanı sorun duzeldımı davet gonderılmemıs uyelerde kayıt olabılecekler mı ? (:

birde gelısmıs uye ıstatıslıklerı varmı bu eklentılerın ıcınde?

Cornie
08 Mar 2008, 15:47
The language in this forum is English. I can not turkishly

Hasann
08 Mar 2008, 16:54
The language in this forum is English. I can not turkishly

wieso das denn wir sind doch freie Menschen oder sind wir nicht? jeder kann sich entscheiden welche sprache er sprechen will..und der hat zu mir türkisch gesprochen.. jeder musst nicht verstehen was er sagt bruder..


Why? but we are free people, or are we not? Everyone can decide which language he will speak .. And he has Turkish talked to me .. everybody must not understand what he says brother..

Cornie
08 Mar 2008, 17:23
wieso das denn wir sind doch freie Menschen oder sind wir nicht? jeder kann sich entscheiden welche sprache er sprechen will..und der hat zu mir türkisch gesprochen.. jeder musst nicht verstehen was er sagt bruder..


Why? but we are free people, or are we not? Everyone can decide which language he will speak .. And he has Turkish talked to me .. everybody must not understand what he says brother..

:D my brother, we are free people!

I send the German language files tomorrow to you.

say me please which into German or English is called "Lütfen Eksik Alanlari Doldurunuz"

Hasann
08 Mar 2008, 18:18
:D my brother, we are free people!

I send the German language files tomorrow to you.

say me please which into German or English is called "Lütfen Eksik Alanlari Doldurunuz"

in english Please Enter Required Fields

ins deutsch Erforderlicher Felder müssen ausgefüllt werden

just notice: coming tonight the new version of Invitation System 2.0.0 :eek:

Cornie
08 Mar 2008, 18:25
[B]just notice: coming tonight the new version of Invitation System 2.0.0 :eek:

no problem. then I wait and compare the phrases. Is then the final version

Alfa1
08 Mar 2008, 18:30
I am considering to install this. The screen shots show Turkish text in the admin. Since my Turkish is really bad, I would like to know if this hack is also available in full English and without Turkish?

Hasann
08 Mar 2008, 18:33
no problem. then I wait and compare the phrases. Is then the final version
No, it isn't final version..
I am considering to install this. The screen shots show Turkish text in the admin. Since my Turkish is really bad, I would like to know if this hack is also available in full English and without Turkish?

this hack is written totally in english buddy ;) you can install it...

Alfa1
08 Mar 2008, 18:49
These attachments shows both English as Turkish:
http://www.vbulletin.org/forum/attachment.php?attachmentid=76748&d=1204717914
http://www.vbulletin.org/forum/attachment.php?attachmentid=76750&d=1204717914

has this been changed?

Hasann
08 Mar 2008, 19:01
These attachments shows both English as Turkish:
http://www.vbulletin.org/forum/attachment.php?attachmentid=76748&d=1204717914
http://www.vbulletin.org/forum/attachment.php?attachmentid=76750&d=1204717914

has this been changed?
heyyy you make me sooo crazy man :D
those are developer things and showing only for me because I have set as default language turkish on my localhost :confused::confused::confused::confused:

Cornie
08 Mar 2008, 19:22
Ik heb het in het Duits vertalen en gezien geen Turkse phrases

(Ich habe es ins deutsche übersetz und keine türkischen phrasen gesehen)

:D I hope is correct language

Hasann
08 Mar 2008, 20:10
Date: 08 Mar 2008 : updated to v2.0.0

integrated the totally vBulletin default Human Verification System into Invitation System :eek:

You decide it if you wich human verification system will be used in the invitation system go to Admincp > Human Verification Manager > and select one human verification if you want.

these are;
Image Verification
An image consisting of letters in varying fonts/shapes/sizes will be shown to the user. The appearance of this image is dicated by several options that you may control.

Question and Answer Verification
Questions provided by you that must be answered appropriately for verification.

reCAPTCHA Verification
An image containing two words will be shown to the user. This verification supports audio, allowing blind users to register.

Added Invitation User Options
a> Ability to limit number of invites by user. (user: Admin an have 10 invites, user: Testuser can have 20, etc, admin controlled)
b> Ability to reset invites to 0 on a per user basis (override), admin controlled
c> Ability to reset to max being unused, admin controlled
d> Abilitiy turn to on or off Invitation System per user basis, admin controlled


->do template edits
In USERCP Template Find this Code


$template_hook[usercp_main_pos1]


Add Below This Code


<if condition="$show['invitation_link']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>

<td class="tcat">$vbphrase[invitation_system] <if condition="$show['invitation_left']"><phrase 1="$bbuserinfo[invitation]">($vbphrase[invitation_x_left])</phrase></if></td>
</tr>
<tr>
<td class="alt1"><span class="smallfont"><a href="profile.php?$session[sessionurl]do=invitation">$vbphrase[invitation_click_here_to_invitation_new_users]</a></span></td>
</tr>
</table>
<br />
</if>


who this hack have been installed please un-install the old product-invitation.xml than install the new product-invitation.xml from new

Cornie
08 Mar 2008, 20:31
ERROR:eek:

I have no rights to the side as Admin

Hasann
08 Mar 2008, 20:39
ERROR:eek:

I have no rights to the side as Admin

was? wie kann es passieren :confused: hast du vorheriges produkt deinstalliert? und dann hast du von anfang die neues produkt wieder installiert :confused:

Cornie
08 Mar 2008, 20:43
hatte nur überschrieben. jetzt funktioniert es :D

Cornie
08 Mar 2008, 21:00
Wenn ich das Invitation System ausschalte, habe ich keinen Zugriff mehr auf das Benutzerkontrollzentrum.

Hasann
08 Mar 2008, 21:11
hatte nur überschrieben. jetzt funktioniert es :D

Wenn ich das Invitation System ausschalte, habe ich keinen Zugriff mehr auf das Benutzerkontrollzentrum.

problems are now fixed and updated zip file :D:up: thanks for bug reports my buddy ;)
please download new product and re-install it

Cornie
08 Mar 2008, 21:15
ok and good night

SuperDave71
08 Mar 2008, 21:26
Thanks for the upgrade!

How do you edit the email message? Has it changed? The english text is a tad incorrect and needs to be updated.



Thanks for this great mod!


-Dave

Hasann
08 Mar 2008, 21:28
Thanks for the upgrade!

How do you edit the email message? Has it changed? The english text is a tad incorrect and needs to be updated.



Thanks for this great mod!


-Dave

upps sorry :( please edit your invitation_email template thanks for this bug reporting my buddy...

SuperDave71
08 Mar 2008, 21:31
Hasann,


No worries man!! You keep up the GREAT work and thank you so much!

Really appreciate this!


**Edit**

The invitation email edit worked perfectly!


-Dave

Alfa1
08 Mar 2008, 21:42
those are developer things and showing only for me because I have set as default language turkish on my localhost
Thanks for the explanation and the update!

NeuroLancer
09 Mar 2008, 01:09
ive just installed 2.01 - I have no rights to use the system as admin. allowed usergroups does contain '6' . help ...

edit: Even the regular users cant get permission. No ones permission works. No one has access.

shlomot
09 Mar 2008, 05:13
Thank you, Hasann, so very much for your rapid upgrade and for being tuned to our requests.

Do we need to go through any template modification when upgrading from v2.0.0?

eng. deeb
09 Mar 2008, 08:40
thanks man I love this kack

NeuroLancer
09 Mar 2008, 08:55
I noticed now there is "Override" in users options in admincp. For admin it was No. I set to Yes and then this happened:

Database error in vBulletin 3.7.0 Beta 6:

Invalid SQL:
UPDATE user SET
### Bitfield: user.adminoptions ###
adminoptions = IF(adminoptions & 1, adminoptions - 1, adminoptions),
adminoptions = IF(adminoptions & 2, adminoptions - 2, adminoptions),
usertitle = 'Administrator',
customtitle = 0,
birthday_search = '1981-10-22',
birthday = '10-22-1981',
referrerid = 0,
caninvitation = 1,
joindate = 1199938200,
lastactivity = 1205052780,
lastpost = 1204954320,
membergroupids = ''
WHERE userid = 1;

shlomot
09 Mar 2008, 09:12
Just to make sure, Hasann, that you saw my question:

Do we need to go through any template modification when upgrading from v2.0.0?

C.Birch
09 Mar 2008, 09:17
Hi, I'm running 3.7 beta6 and i dont see any of the usergroup settings at all, i have run /index.php?do=buildbitfields just incase also and still see no settings.

Playa82
09 Mar 2008, 09:17
OKei
Have you been edited the original navbar template? if you have been edited revert back the edited navbar template..
Have you been checked vBulletin Options > Invitation System > Invitation Automatic Link Creation Option?

yes, i added it manually now, but it still shows no link in userCP

Hasann
09 Mar 2008, 10:22
You make me so crazy people :confused::D:confused::D sorry :p

thanks man I love this kack
thank you please click install
I noticed now there is "Override" in users options in admincp. For admin it was No. I set to Yes and then this happened:
have you old product deleted an re-installed the new product?????
Just to make sure, Hasann, that you saw my question:

->Do template edits:
In USERCP_SHELL Template Find this Code


<if condition="$show['profilepiclink']">
<tr><td class="$navclass[profilepic]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofilepic">$vbphrase[edit_profile_picture]</a></td></tr>
</if>


Add Below This Code


<if condition="$vbulletin->options['invite_usercp_link']">
<tr><td class="$navclass[invitation]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=invitation">$vbphrase[invitation]</a></td></tr>
</if>


In USERCP Template Find this Code


$template_hook[usercp_main_pos1]


Add Below This Code


<if condition="$show['invitation_link']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>

<td class="tcat">$vbphrase[invitation_system] <if condition="$show['invitation_left']"><phrase 1="$bbuserinfo[invitation]">($vbphrase[invitation_x_left])</phrase></if></td>
</tr>
<tr>
<td class="alt1"><span class="smallfont"><a href="profile.php?$session[sessionurl]do=invitation">$vbphrase[invitation_click_here_to_invitation_new_users]</a></span></td>
</tr>
</table>
<br />
</if>



Hi, I'm running 3.7 beta6 and i dont see any of the usergroup settings at all, i have run /index.php?do=buildbitfields just incase also and still see no settings.

there is "Override" in users options in admincp.

yes, i added it manually now, but it still shows no link in userCP

->Do template edits:
In USERCP_SHELL Template Find this Code


<if condition="$show['profilepiclink']">
<tr><td class="$navclass[profilepic]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofilepic">$vbphrase[edit_profile_picture]</a></td></tr>
</if>


Add Below This Code


<if condition="$vbulletin->options['invite_usercp_link']">
<tr><td class="$navclass[invitation]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=invitation">$vbphrase[invitation]</a></td></tr>
</if>


In USERCP Template Find this Code


$template_hook[usercp_main_pos1]


Add Below This Code


<if condition="$show['invitation_link']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>

<td class="tcat">$vbphrase[invitation_system] <if condition="$show['invitation_left']"><phrase 1="$bbuserinfo[invitation]">($vbphrase[invitation_x_left])</phrase></if></td>
</tr>
<tr>
<td class="alt1"><span class="smallfont"><a href="profile.php?$session[sessionurl]do=invitation">$vbphrase[invitation_click_here_to_invitation_new_users]</a></span></td>
</tr>
</table>
<br />
</if>

Hasann
09 Mar 2008, 10:24
Please Un-install The Old Product And Re-install The New Product Buddies Or I Don't Give Support

NeuroLancer
09 Mar 2008, 12:42
Please Un-install The Old Product And Re-install The New Product Buddies Or I Don't Give Support

Ok I did this and it works now.
Sorry I didnt do this earlier.
Thank you Hasann ;)

clk320
09 Mar 2008, 23:57
Would it be possible to specify to which groups the invited users should be added once he/she registers? Default and per invite setting would be great.

Stifler
10 Mar 2008, 23:03
would be awesome to have a way to mass-invite users.. any possibility of this?

shlomot
11 Mar 2008, 15:23
Dear Hasann,

Migration from 1.0.4 to 2.0.1 was smooth as a baby's b**t. A few comments though:

1. There are numerous misspells in the body text of the invitation. In general, I suggest to let us edit the body text, while keeping the <validation code parameter> in the text at our own risk. Maybe you can even provide a "reset" function for the admin to restore the original text.

Besides, since the invitation is being issued by the system and it isn't a personal invitation from the member (like I have here (http://www.tell-a-friend-wizard.com/cgi-bin/tell_opt_new2.cgi?uid=shlomot&url=)), I don't see why the users should even have the access to modify the body text.

2. It seems that users are limited to 10 invites. Why is that? Can you give us the control of how many invites a user can send PER DAY?

I believe that while we want to stop spamming, we still want our members to send as many invitations as they can, so the PER DAY control is in order.

3. Can we control the navbar title "Invite your friends" without touching the template? I would like to have it as "Invite a Friend" instead. Shorter and more familiar term.

4. Just noticed that the phrase in user profile "Click here to invitation new users to our forum" is erroneous as well. It should read "Click here to invite your friends to join us".

Thanks for yet another great product from the Hasann Home of Excellence.

Alfa1
11 Mar 2008, 17:30
I am very interested in this addon, but i am cautious because I do not want my members to start spamming with this function. Does anyone have tips on how to use this hack in a way that avoids spamming or abuse?

Here is a very interesting article on the troubles that facebook has with their invites:
http://www.applicationdevelopmentnews.com/applicationdevelopmentnews-83-20080311BlockingFaceBookApplications.html

Would it be a good idea to add a function that makes sure the same email address does not get more than one invite?

nerofix
12 Mar 2008, 13:01
I like this add-on too, a lot spelling errors thats true but forgivable.

1. I can't delete sent invitations, it says deleted but it isn't.

2. Can you make the body text hardcoded that users can't change it? (It's very easy to delele the body text and writing "you f*cking a*shole" into the body text). That should not be possible for users. :)

3. Also there should be phrases for subject and bodytext, so we can use translations.

chatzworld
12 Mar 2008, 15:09
how can we edit the default text to to into the email as need to fix spelling errors in it ;) and word it all better

ThePulse
12 Mar 2008, 16:03
go into edit templates and edit the invitation_email one :D

anestetic
12 Mar 2008, 17:21
bundaki yerleri turkceye cevırcem bır turlu bulunamadı hasann kardes turkcesınıde paylasırmısın

Dilldogs
13 Mar 2008, 15:11
Looks Very interesting. I will install and give it a try. Thanks

rainyleaves
14 Mar 2008, 16:23
I can't get 'Amount of Unused Invition' option in usergroup Permission.
How do I edit 'Amount of Unused Invitatiion' for all about user's amount at once?

Thanks.

rainyleaves
14 Mar 2008, 16:26
yes, i added it manually now, but it still shows no link in userCP

You need edit this code.
From :
<if condition="$vbulletin->options['invite_usercp_link']">
<tr><td class="$navclass[invitation]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=invitation">$vbphrase[invitation]</a></td></tr>
</if>

To:
<if condition="$vbulletin->options['invitation_usercp_link']">
<tr><td class="$navclass[invitation]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=invitation">$vbphrase[invitation]</a></td></tr>
</if>

Mesohu
15 Mar 2008, 10:06
I can't get 'Amount of Unused Invition' option in usergroup Permission.
How do I edit 'Amount of Unused Invitatiion' for all about user's amount at once?

Thanks.

i have this same question / issue .

Hasann
15 Mar 2008, 14:24
I can't get 'Amount of Unused Invition' option in usergroup Permission.
How do I edit 'Amount of Unused Invitatiion' for all about user's amount at once?

Thanks.

i have this same question / issue .

this 'Amount of Unused Invitatiion' option is in the user edit section..
also this option is per user basis and not per usergroup

rainyleaves
15 Mar 2008, 14:37
Then, How do I edit default value of 'Amount of Unused Invitatiion' at once?
I mean, Can I edit the default value in product-invitation.xml? Where is the default value code?

Thanks :)

Hasann
15 Mar 2008, 14:41
Then, How do I edit default value of 'Amount of Unused Invitatiion' at once?
I mean, Can I edit the default value in product-invitation.xml? Where is the default value code?

Thanks :)

yes buddy you can edit the default value in product-invitation.xml

that is in install code in product.xml file
$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "user` ADD `invitation` INT( 10 ) UNSIGNED DEFAULT '10' NOT NULL");

enter here the value instead of 10 DEFAULT '10' how you want

rainyleaves
15 Mar 2008, 14:46
Wow, Thanks for your reply !!!

Mesohu
15 Mar 2008, 15:10
a suggestion by me :
can you add. a Default text ( and members canot change this text) for preventing possible spammers .

Hasann
15 Mar 2008, 15:34
a suggestion by me :
can you add. a Default text ( and members canot change this text) for preventing possible spammers .
Okei buddy
this has been suggested by someone coming soon in next version
please clicks install button when next version will be released you get from me one update email

Epic-Phail
15 Mar 2008, 17:19
Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE forum_usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Moderators',
`description` = '',
`usertitle` = 'Moderator',
`opentag` = '<font color=\"blue\">',
`closetag` = '</font>',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '782847',
`genericpermissions` = '518790799',
`attachlimit` = '0',
`pmquota` = '150',
`pmpermissions` = '7',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '15',
`adminpermissions` = '1',
`genericoptions` = '63',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '130',
`avatarmaxheight` = '115',
`avatarmaxsize` = '1000000',
`signaturepermissions` = '138495',
`sigpicmaxwidth` = '500',
`sigpicmaxheight` = '100',
`sigpicmaxsize` = '10000',
`sigmaxrawchars` = '0',
`sigmaxchars` = '0',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '0',
`creditpermissions` = '0',
`credit_induction` = '100',
`credit_referral` = '100',
`credit_refbonus` = '0.05',
`credit_paycheck` = '0',
`credit_active` = '20',
`credit_birthday` = '100',
`credit_repgive` = '0.1',
`credit_reputation` = '2',
`credit_infraction` = '-10',
`credit_thread` = '10',
`credit_threadrate` = '1',
`credit_post` = '5',
`credit_ownthreadpost` = '3',
`credit_postsize` = '0.05',
`credit_ownthreadview` = '0.05',
`credit_ownthreadrate` = '1',
`credit_ownthreadreply` = '2',
`credit_ownprofileview` = '0.05',
`credit_pollmake` = '5',
`credit_pollvote` = '1',
`credit_attachment` = '3',
`credit_sendpm` = '-2',
`credit_addevent` = '3',
`credit_addprofpic` = '3',
`credit_profile` = '0',
`credit_donmaxuser` = '-1',
`credit_pastotpost` = '0',
`credit_pastotuser` = '0',
`credit_pasawuser` = '0',
`credit_pasawthread` = '0',
`credit_saveint` = '0.035',
`credit_maxsave` = '10000',
`credit_loanint` = '0.195',
`credit_maxloan` = '1000',
`credit_totloan` = '5',
`credit_goodgroup` = '0',
`credit_midgroup` = '0',
`credit_badgroup` = '0',
`credit_maxtickets` = '10',
`credit_lotdiscount` = '0',
`vbr_per` = '3',
`invitationpermissions` = '1',
`ecdownloadpermissions` = '16383',
`ecexcludecatlist` = '',
`ecdownloadsmaxuploadtotal` = '-1',
`ecdownloadsmaxdailydl` = '-1',
`ecdownloadsmaxdailyfiles` = '-1',
`ecdownloaddelaygrp` = '-1'
WHERE usergroupid=7;

MySQL Error : Unknown column 'invitationpermissions' in 'field list'
Error Number : 1054
Date : Saturday, March 15th 2008 @ 12:18:35 PM
Script : http://epic-phail.com/forum/admincp/usergroup.php?do=update
Referrer : http://epic-phail.com/forum/admincp/usergroup.php?do=edit&usergroupid=7
IP Address : 75.84.154.251
Username : Riot
Classname : vB_Database

What is the matter?

I can't edit my usergroups anymore.

Hasann
15 Mar 2008, 17:25
What is the matter?

I can't edit my usergroups anymore.

this version is not for vBulletin version 3.6.8

Go For Invitation Hack vBulletin Version 3.5 and 3.6.series (http://www.vbulletin.org/forum/showthread.php?t=172157)

christian8a
16 Mar 2008, 06:15
Good one!
Installed!

But a small requirement, is it possible to put all the invite templates together so is not confusing when we edit templates.

Invitation System>>
- Invitation_email
- Invitation_previous
- Invitation_usercp


Thanx for this mod man :up:

seangworld
16 Mar 2008, 06:43
um...yeah.

very nice hack and i've been wanting this for a while now...thanks a lot.

although, i had to edit the xml to fix all the f'ed up grammar errors. hehe...

Alfa1
16 Mar 2008, 13:22
Please post the xml with corrected grammar errors.

bigsbydapicka
16 Mar 2008, 17:06
Is it possible to have the invitation message fixed so that the member cannot edit it?

abrecher
17 Mar 2008, 16:38
What do I edit in the XML file in order to change the max amount of invitations users can send please ?

Forum Lover
17 Mar 2008, 16:58
He..he.. ok... clicked that.
Comments, suggestions, translations, bugs, etc... are very welcome! Support is only given to people who have clicked INSTALL.

Mesohu
17 Mar 2008, 18:03
What do I edit in the XML file in order to change the max amount of invitations users can send please ?
Please read this : http://www.vbulletin.org/forum/showpost.php?p=1465372&postcount=142


Hassan i've a question : can i invite one more buddies in one time ? ( ex. with commas : email1@domain.com , email2@domain.com , email3@domain.com , etc ? )

fluentdesigns
17 Mar 2008, 18:34
You know what would make this mod even better? Be able to track all the participating members that are getting sign ups from there invitation link. that way you can see what members are making an effort to bring more people to the site and that way they can be rewarded. To bring it even a step further you could have it track how many of the new invited members are actually participated by putting them into tiers, tiers meaning x amount of posts and user activity. This will keep members from trying to cheat the invitation system.

Hasann
17 Mar 2008, 20:07
please wait be patience :)
Now, I am working in progress Hack Publishing System :cool:
I have saved your suggestions I will make all yours suggestions.. ;)

Tom Kraus
22 Mar 2008, 23:26
How do you change the standard language in the message that is sent with the invitation?

christian8a
25 Mar 2008, 23:48
Hey man, are the invitations supposed to say Accepted only if they put who reffered them?

I used it to test, the person registered but then I can still see, Not Accepted Yet

How does that work:confused:

Edit:
Nevermind I figured it out now

christian8a
26 Mar 2008, 20:55
Anybody knows why all these emails are being sent to junk mail, and on High risk?

The registration emails work fine, so is something with this product

logicuk
27 Mar 2008, 19:23
Is it possible to have the invitation message fixed so that the member cannot edit it?

any updates on this mate?

Strik3
28 Mar 2008, 07:05
What does "Accepted By" -> Not Accepted Yet" mean? How can i acceppt invites as admin? Is there any moderation?

christian8a
28 Mar 2008, 09:30
Is this product going to be supported still let us know bud, that way we can figure out ourselves

Scythe42
29 Mar 2008, 01:46
I tried this mod on RC1 and ran into the following issues:

Users always get the error message that the invitation code is invalid. They always have the reload the page a second time to register. Doesn't matter if the user has any cookies set or not. Tried in various browsers.

E-Mail Verification does not work when normal registration method is disabled using this plugin. Users always get the invalid invitation code error message until I turned the disabling of the normal registration off in this plugin. Then they are abe to verify their email address.

Defining the user groups who can delete invites has no effect. The delete invite link never shows up.

Edit:
Fixed the missing delete links by changing the code so that a check is done against all groups the user is a member of and not only his primary group. But all delete links link to the last sent invitationcode now because the array from the config is exploded to itself in the while loop causing that the delete link is always the first value.

Fixed the need for re-loading the invite page twice on the first time by changing the code to form setting the cookie and checking for the cookie right away cookie to setting the cookie or checking for the cookie. Setting a cookie and checking for it right away without a page re-load is not possible on all browers.

Fixed the not-supported email verification when the normal registration is disabled by this mod, by adding a check if on user account accitivation an if accepted invitation cookie is present for the user in question. I also removed the cookie at that time since registration should be complete.

Looks like it runs now. Man this thing is buggy, but better than writing one from scratch...

I still need to add some features like reclaiming of deleted invites and automatic invite deletion after some time. It also needs verification that you cannot send invites to already registered emails as well as not allowing to have duplicate invites waiting to be claimed for an email.

christian8a
29 Mar 2008, 11:09
Yea I have somebody already working on one specially for our site, this one didnt cut it. But at least the base is made and thanx to the author for sharing :up:

but ill have to try a different one
Chris___

theparentpack
31 Mar 2008, 10:16
Love it! Installed! Nominated!

I am having trouble finding the phrase to alter the message that is sent in invite. What is the name of the phrase so I can alter it a bit?

00christian00
31 Mar 2008, 16:55
Hi,great mod man.
I found how to edit the initial number of invites,but how can i reset invites?
I mean once some user finish them i should go to each user setting and modify the value?
It would be better to have at least some way to reset invites to its default value.

invitezone
03 Apr 2008, 02:10
All new user to my site get that error saying invalid invite code and have to click it several times before it works. I did see your fix by setting something from 20 to 32, I can't remember exactly but when i checked out the setting for the new version which i have it is set to 100 so I assume this isn't the problem.

Please can you recommend a fix.

christian8a
03 Apr 2008, 11:42
This hack does not work with RC1
do not install it untill the author support it a bit.

Members and administrators cant delete the invitations, it deletes some and it leaves others.
Just tought Id let you guys know

Scythe42
04 Apr 2008, 19:18
I tried to bugfix this one because I need a simple invitation system and didn't want to write one from scratch. If you try this one one, please let me know if it fixes your issues. The attached product is a simple export from my forum.

I made the following changes:

no more need to double click on the invitation link
invitationcode cookie gets removed once the user has signed up
account verification after signup isn't blocked by an invalid invitation error code anymore
deletions of invites now delete the correct invite
added permissions check when trying to delete an invitation
if a user deletes an unclaimed invite, he gets one invite back
you cannot sent multiple invites to the same email address
you cannot sent invites to already registered email addresses
added no invites sent message to usercp tepmplate
changed some phrases to proper English (hope so)
added some additional phrases


Let me know if this one works for you and I'll do some more updates and optimizations and release this one as an supported fork once 3.7 hits gold because the original author seems to have lost interest in his mod.

Use at your own risk!

invitezone
05 Apr 2008, 03:35
Just installed it and been through the new user signup process.

Fantastic. Works like an absolute charm. I didn't get 1 single problem with it. Thankyou so much for this, I didn't think there would ever be a soultion. Please do continue your fabulous work and i will be keeping a keen eye out for any further work you do on this.

I can't express my gratitude enouugh

Thanks again.

BuRaCh
05 Apr 2008, 07:36
very good mod hasann.i very like yo have hack:)
installed...

Hasann
05 Apr 2008, 15:42
http://img120.imageshack.us/img120/8507/invitationemailbodyii0.jpg

updated to v2.0.2

- Scythe42 has made the following changes:

no more need to double click on the invitation link
invitationcode cookie gets removed once the user has signed up
account verification after signup isn't blocked by an invalid invitation error code anymore
deletions of invites now delete the correct invite
added permissions check when trying to delete an invitation
if a user deletes an unclaimed invite, he gets one invite back
you cannot sent multiple invites to the same email address
you cannot sent invites to already registered email addresses
added no invites sent message to usercp tepmplate
changed some phrases to proper English (hope so)
added some additional phrases


- I have made the fallowing changes

numerous misspells in the body text of the invitation fixed
the body text hardcoded that users can't change it
also there are phrases for subject and bodytext, so you can use translations.
the users can attach a note message to the invite email
some phrases errors fixed
some template bugs fixed

J98680Bxxxxx
05 Apr 2008, 15:49
Thanks for the update Hasann, the small spelling lapsus have been corrected as far as I can see, this is an excellent Mods. :)

Installed successfully! :)

Feedback: On the Navigation bar, the previous text "Invite Your Friends", or some thing like "Invite Friends", seems better than the actual text: "Send Invites". See PM for the remaining text.

Dilldogs
05 Apr 2008, 16:39
I like the update, Excellent job. Keep up the good work.

logicuk
05 Apr 2008, 16:40
amazing work you did Scythe42 thank you so much :D

Hasann
05 Apr 2008, 21:31
english phrases fixed
.added new languages :)
-Dutch
-French

Spybot S&D
05 Apr 2008, 22:13
Is there any way you can set the default value of invites each user gets?

Also, can you make it so that you can get X more invites every X posts?

Thanks!

Scythe42
05 Apr 2008, 23:00
Thanks Hassan for including my modification. I downloaded and installed this version with the new phrases.

I'll found some issues mainly with the templates for continuity and a possible security vulnerability.

CODE CHANGES:

Fixed SQL injection vulnerabilities throughout the code.
Referrer ID ist not overwritten by 1 for every new user.
Removed one query when user is verifying his email address.
Some adjustments for supporting the Inviation System and the normal registration method at the same time.


TEMPLATE CHANGES:

Added missing closing form tag
The Used Invitation table displays the phrase no_invites_sent when no invitation were sent out
The description box only appears if a description is defined in admincp
Removed the nested div panels to make the look consistent with the rest of usercp
Switched from forumwidth to formwidth_usercp to make the look consistent with the rest of usercp
Removed Login information beside the email address input field to make the look consistent with the rest of usercp
Removed all uneeded tables because the divs are already doing the layout.
Removed all unneeded nested div tags
Added 100% width to table title
Delete invitation column is only visible if you have permission to delete invitations.


PHRASES:

Same as in the last update from Hassan (English).


Again just an export form my forum with the default setting. Needs some additional testing that I didn't screw up when making the code modifications before included in your release.

logicuk
05 Apr 2008, 23:06
Hasann you made this change:

the users can attach a note message to the invite email

cant this be used for spam that way?

Hasann
05 Apr 2008, 23:15
Is there any way you can set the default value of invites each user gets?

Also, can you make it so that you can get X more invites every X posts?

Thanks!
yes I can make this feature will be added in next version
Hasann you made this change:

the users can attach a note message to the invite email

cant this be used for spam that way?
No I don't think there is a Human verification system for this and the users can't send to same email twice invites at once :)

NeuroLancer
06 Apr 2008, 01:36
:eek: Wow! I love this new version!

:up: Working flawlessly~

:D Thanks so much Hasann & Scythe42

Alfa1
06 Apr 2008, 02:39
When inviting a someone that is already a member, then you get the following message:
The user has already been invited.
While the user has not been invited before. It should be:
The user already is a member.

Below the invitation email it says:
EZ Bounce Management:

If this email has bounced, visit the following URL for bounce
management:
http://www.yoursite.com/forum/admincp/ezbounce.php?u=
If a invited person is not a member yet, ezbounce does not work. So if I am not mistaken there is no use for this text.

Does this modification list the invitation link somewhere?

And last but not least: Many thanks for this excellent mod!

Scythe42
06 Apr 2008, 03:35
While the user has not been invited before. It should be:The phrase is returned when the entered email is found in the user table. There is currently no check if a the userid is also found in the invitation table. I'll modify the query and add another phrase to distinguish between mebers and invited members.

If a invited person is not a member yet, ezbounce does not work. So if I am not mistaken there is no use for this text.ezbounce adds the link even if the email is not registered. Can be easily fixed.

You need change the "EZ Bounce Management - construct code" plugin, so that it does only attach the link when the email is also registered on your forum:

The following code should do the trick. If the email is not found in the user table, the outgoing message is not touched. Give it a try. I haven't ezbounce installed therefore this is not tested. I added a simple IF-Statement around the code right after the query.

global $vbphrase, $db;

$buser = $vbulletin->db->query_first("
SELECT * FROM " . TABLE_PREFIX . "user
WHERE email LIKE '%" . $vbulletin->db->escape_string_like($toemail) . "%'
");

if ( $buser['userid'] ) {
$bounceurl = $vbulletin->options['ezb_admincpurl'] . "/ezbounce.php?u=" . $buser['userid'];
$bouncestring = "<a href=\"$bounceurl\" target=\"_blank\">$bounceurl </a>";

if (!$vbulletin->options['ezb_showezbouncelink'])
{
// if turned off, put bounce url into header (default option)
$headers .= 'X-EZbouncer: ' . $bounceurl . $delimiter;
/* replace above line with following line if the url in bouncing email header is not displaying as a link
$headers .= 'X-EZbouncer: ' . $bouncestring . $delimiter;
*/
}
else
{
// if turned on, construct bounce code & place in email message body
$bouncecode = construct_phrase($vbphrase['anti_bounce_message'], $bounceurl);
/* replace above line with following line if the url in bouncing email body is not displaying as a link
$bouncecode = construct_phrase($vbphrase['anti_bounce_message'], $bouncestring);
*/
$message .= $bouncecode;
}
}


Does this modification list the invitation link somewhere?Was previously removed. I'll add an option to make the invitation code a link. I previously removed it because it didn't display the invitation code correct.

I'll post an update later that takes care of your requests.

Scythe42
06 Apr 2008, 07:04
Here the update I promised in the last post.

Changes:

when checking for already registered member there is now an additional phrase for distinguishing between registered and invited members (reqested by Alfa1)
added on option to display the invitation code as a link again (requested by Alfa1)
remove the "click two times" message from the invitation email phrase. That's not needed anymore.
changed "mysql_real_escape_string" to "$db->escape_string"


Please test before including in the next official version of this mod

What's missing is a cron job that deletes pending invites after x number of days automatically and gives the intivations back to the users. This should help users who cannot delete sent invitations that were never claimed or sent them to a wrong emal address. This should be combined with optional features like "give additional invites ever xxx posts" or so.

hrk
06 Apr 2008, 10:58
Solid hack . thanks hassan

dancue
06 Apr 2008, 13:13
Has anyone added the ability to grab from multiple e-mail accounts yet?

I've got the invitation system by visionscripts, which will do it, but it is not supported and will not work with 3.7.

This mod seems to still get support, so I've marked as installed and nominated it instead, even though I disabled it.

Thanks to scythe for working on it as well. It is a very important, useful mod, and I hope to see it grow in the next couple of months to become the best one available. Until then, sorry, but I've got the visionscripts one installed.

dancue
06 Apr 2008, 13:50
To elaborate a bit more, here are a some features I'd like added to this invites system:

The ability for the user to attach a note to the invitation. This will allow them to write whatever they want, and will NOT affect what the admin has used for the main e-mail body.
The ability to add multiple invites at once. How many should be determined by the admin.
As mentioned before...E-MAIL GRABBERS. Great addition to an invites system.
If a user sends an invite and the person accepts, those two should automatically become buddies. (Feature should be able to turn on/off by admin)
Admin selected expiration for invites.
Automatic invite reminders sent to those who have not signed up yet. (How long before they are sent should be controlled by Admin.)
The ability to add reputation points automatically to those who successfully get someone to sign on.


I apologize if these are already added. There has been already many good changes done to this invites system.

Alfa1
06 Apr 2008, 14:59
Those are very nice feature requests. I'd like to add two:

Spam control: send a link in the invitation email to allow the recipient to report spam to the forum admin. The recipient can click the link and the forum admin will get a notification about this. This will prevent members spamming.
A simple feature that is very necessary is to have the message content comply to anti-spam rules of major email providers. This can be done by adding a short message on the bottom of the message which explains: (1)to which email address the message is sent (2)why the recipient has received the message and (3)how the recipient can report abuse(see my other feature request). By complying to the anti spam rules of large email providers like hotmail, yahoo, gmail and AOL, you prevent getting blacklisted as a spammer.

Namaless
06 Apr 2008, 16:33
Suggestion for auto-template invitation block in home usercp:

Create new template called "usercp_invitation_block"
Use this code inside:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>

<td class="tcat">$vbphrase[invitation_system] <if condition="$show['invitation_left']"><phrase 1="$bbuserinfo[invitation]">($vbphrase[invitation_x_left])</phrase></if></td>
</tr>
<tr>
<td class="alt1"><span class="smallfont"><a href="profile.php?$session[sessionurl]do=invitation">$vbphrase[invitation_click_here_to_invitation_new_users]</a></span></td>
</tr>
</table>
<br />


Create new Plugin called "Invitation Auto Template" with hook "parse_templates"
Use this code inside:

if ($vbulletin->options['invitation_active'])
{
eval('$template_hook[usercp_main_pos1] .= "' . fetch_template('usercp_invitation_block') . '";');
}


Create new Plugin called "Invitation Cache Templates" with hook "cache_templates"
Use this code inside:

$globaltemplates = array_merge( $globaltemplates, array('usercp_invitation_block') );


Use this hack for added link into menu. For now not have time to create this.. ;)

Thanks for hack.. this very good project =)

Hasann
06 Apr 2008, 17:56
there was a spam issue
sorry guys for the issue I have fixed and upgraded

Namaless
06 Apr 2008, 18:36
What changes applyed?

Need upgrade? (I have added more features for hack.. if not necessary waiting to upgrade...)

Thanks for project :)

Vtec44
06 Apr 2008, 18:48
I got a database error with the latest 2.0.2 fixed.


Database error in vBulletin 3.7.0 Release Candidate 1:

Invalid SQL:
SELECT user.userid AS user_id, user.email AS user_email, invitation.email AS inv_email, invitation.acceptedby as inv_id
FROM 600rrforumuser
LEFT JOIN 600rrforuminvitation
ON user.userid = invitation.acceptedby OR user.userid = invitation.email
WHERE user.email = 'test@test.com'
OR invitation.email = 'test@test.com';

MySQL Error : Unknown column 'user.userid' in 'field list'
Error Number : 1054
Date : Sunday, April 6th 2008 @ 02:46:15 PM
Script : http://www.600rrforum.com/forum/profile.php
Referrer : http://www.600rrforum.com/forum/profile.php?do=invitation
IP Address : 69.110.135.166
Username : Vtec44
Classname : vB_Database
MySQL Version : 5.0.45-log

macc
06 Apr 2008, 18:58
hello!

can somebody tell us what should we install and which changes to do ... ?


regards

macc

Hasann
06 Apr 2008, 19:07
What changes applyed?

Need upgrade? (I have added more features for hack.. if not necessary waiting to upgrade...)

Thanks for project :)

I got a database error with the latest 2.0.2 fixed.


Database error in vBulletin 3.7.0 Release Candidate 1:

Invalid SQL:
SELECT user.userid AS user_id, user.email AS user_email, invitation.email AS inv_email, invitation.acceptedby as inv_id
FROM 600rrforumuser
LEFT JOIN 600rrforuminvitation
ON user.userid = invitation.acceptedby OR user.userid = invitation.email
WHERE user.email = 'test@test.com'
OR invitation.email = 'test@test.com';

MySQL Error : Unknown column 'user.userid' in 'field list'
Error Number : 1054
Date : Sunday, April 6th 2008 @ 02:46:15 PM
Script : http://www.600rrforum.com/forum/profile.php
Referrer : http://www.600rrforum.com/forum/profile.php?do=invitation
IP Address : 69.110.135.166
Username : Vtec44
Classname : vB_Database
MySQL Version : 5.0.45-log

it seems to be you haven't in your database userid field in user table
hello!

can somebody tell us what should we install and which changes to do ... ?


regards

macc

Invitation_System_Fixed_v2.0.2.zip install this overwrite to old product
there is one change only and it is a sql injection issue it is fixed now

Namaless
06 Apr 2008, 19:15
Thanks.. fixed now ^^

Regards.

Atilla_UYGUN
06 Apr 2008, 19:19
wooww wanderful mod :)

thanks..


installed.. ;)

Vtec44
06 Apr 2008, 21:12
it seems to be you haven't in your database userid field in user table

I'm not sure what you mean, but I reverted back to 2.0.2 and it works. When I upgrade to 2.0.2b then I get that error. It doesn't matter if I uninstall the product first or install on top of the 2.0.2 and let it overwrite, I still get that error.

Scythe42
06 Apr 2008, 21:28
I got a database error with the latest 2.0.2 fixed.I see you are using a tableprefix.

There is an "AS userid" and "AS invitation" missing in the FROM and JOIN clauses to make it work with tableprefixes.

To fix this, open the prodcut-invitation.xml before importing and apply the following changes:

Change line 304 and 305 from:

FROM " . TABLE_PREFIX . "user
LEFT JOIN " . TABLE_PREFIX . "invitation


to

FROM " . TABLE_PREFIX . "user AS user
LEFT JOIN " . TABLE_PREFIX . "invitation AS invitation



Change line 320 from:

$invitationcheck = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "invitation


to

$invitationcheck = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "invitation AS invitation


That should do the trick for your guys using table prefixes. Let me know if this works for you.

Vtec44
07 Apr 2008, 01:37
Yep, that did it. Thanks guys!

NeuroLancer
07 Apr 2008, 04:03
Hi, sorry if this has been posted already but can there be a change from:

(you can add your real name after your username if you wish, but leave the rest unchanged)

because that is no longer valid in the newest version.

Thanks again for this great mod :)

Scythe42
07 Apr 2008, 22:27
Just an development update:

DONE:

fixed table prefix issues
if an invited user is deleted the row gets removed from the invitation table
if an invited user is deleted the inviting user gets an invitation back
removed not existing template fetch from the code
properly cached the templates
users are automatically made buddies (admincp option)
updated default invitation description option
moved permissions from global_start hook to the actual invitation manager where it belongs
added an option for displaying an invitation block template in usercp
full auto template (supports 'Icons for UserCP' mod as well)
not accepted invitations expire after X days and inviting user is credited back (admincp option)
possibility to invite multiple friends


OPEN:

additional invitations will be given or removed based on posts
additional invitations will be given or removed based on reputation
different user groups can have different default invitations (can be unlimited)
changes to the number of default invitations for groups will be applied to the user as well
X number of invitations are lost if a user in inactive for Y number of days.


FUTURE UPDATE:

invitation reminders
invitation tree
contact grabber
Looking into the mentioned anti-spam system compliance. If someone has link for me where it is described I'll check it out.


Any other wishes?

I'll post an update here once I completed all the open items... Guess it will be by the end of next week. My time's limited this week.

Alfa1
07 Apr 2008, 22:43
I have version 2.0.2b installed on vb 3.7B3. (My test forum)
I have sent out several invitations to try this out. So far one worked as designed and one did not. One person got the invitation, followed the link and signed up. But the invitation is still listed as 'Not Confirmed Yet'.
The forum account of the person lists me as the referrer though.

Does anyone have an idea where the problem lies?

Scythe42
07 Apr 2008, 23:15
Does anyone have an idea where the problem lies?What settings do you use on your forum? Invite only? Invite and normal registration? Email Verfication needed? Any errors in your php.log? Any special cookie related settings on your end or the users' browser? How does the entry in the invitation table for that invitation code looks like? Where any signups successful or do they all fail in regards to the invitation code?

If you provide me with some more details I can try to reproduce it and find a solution for the scenario.

The code that updates the table is pretty simple. It's called on "register_addmember_complete". It checks for the invitationcode cookie that was set when the signup process started. If present it continues and updates the table for that code. If it is not present an error message is shown when normal registration is disabled. If normal registration is still enabled, the user is passed through like a normal registration.

nyqnzguju
07 Apr 2008, 23:55
Dont see option In UserCp... Left Side...

Like Ur attachment

http://www.vbulletin.org/forum/attachment.php?attachmentid=78284&d=1207409366

theparentpack
08 Apr 2008, 09:10
Love it! Installed, and voted for MOTM!!!

theparentpack
08 Apr 2008, 10:24
I installed this on two of my forums. Now one of them is lacking the link in admincp/vb options/invitation system to change the outgoing message. One of my forums has a link for me to edit the ougoing message, and the other one does not. Any ideas?

Lee G
08 Apr 2008, 13:42
Where do I find the words "Invite Friends" used in the nav bar, so I can change them from white to black in my nav bar

Thanks for any help
Lee G

Alex_Volovenko
08 Apr 2008, 13:49
Plugin Parse Templates
Add This Code
if ($vbulletin->options['invite_automatic_link_creation'] == 0)
{
$template_hook['usercp_navbar_bottom'] .= '<!-- invite_usercp_link -->
<tr><td class="alt2" nowrap="nowrap">
<a class="smallfont" href="profile.php?'.$session['sessionurl'].'do=invitation">'.$vbphrase['invitation'].'</a></td></tr>
<!-- END invite_usercp_link -->';
}
Change This Code setting
<setting varname="invite_automatic_link_creation" displayorder="50">
<datatype>number</datatype>
<optioncode>radio:piped
0|Create Link in User CP
1|Create Link in Navbar
2|Create Link in Quick Links</optioncode>
<defaultvalue>1</defaultvalue>
</setting>

dancue
08 Apr 2008, 15:38
Just an development update:

DONE:

fixed table prefix issues
if an invited user is deleted the row gets removed from the invitation table
if an invited user is deleted the inviting user gets an invitation back
removed not existing template fetch from the code
properly cached the templates
users are automatically made buddies (admincp option)
updated default invitation description option
moved permissions from global_start hook to the actual invitation manager where it belongs
added an option for displaying an invitation block template in usercp
full auto template (supports 'Icons for UserCP' mod as well)
not accepted invitations expire after X days and inviting user is credited back (admincp option)
possibility to invite multiple friends


OPEN:

additional invitations will be given or removed based on posts
additional invitations will be given or removed based on reputation
different user groups can have different default invitations (can be unlimited)
changes to the number of default invitations for groups will be applied to the user as well
X number of invitations are lost if a user in inactive for Y number of days.


FUTURE UPDATE:

invitation reminders
invitation tree
contact grabber
Looking into the mentioned anti-spam system compliance. If someone has link for me where it is described I'll check it out.


Any other wishes?

I'll post an update here once I completed all the open items... Guess it will be by the end of next week. My time's limited this week.

You guys are great! Thanks for listening!

Can't wait for the future updates!

Any thought on whether or not you are going to add the ability for the user to attach a note to the e-mail? Also the increase in x reputation points per successful registration?

Scythe42
08 Apr 2008, 23:33
Any thought on whether or not you are going to add the ability for the user to attach a note to the e-mail? Also the increase in x reputation points per successful registration?The note is already included. You don't see the actual message anymore. It was moved to the phrases for allowing easy localization. Instead there is a textarea for adding custom notes now.

The add X reputation for inviting a new user is no problem. Ist a simple query. But I think if you rebuild your reputation it will be lost because it's not associated with a post. Need to check if there is a hook I could use.

PS: first test of contact grabbing with gmail works. But I'm not sure how to display them without making everything look ugly with a ton of checkboxes. I'm open for layout suggestions.

whitlecj
08 Apr 2008, 23:40
I installed the mod but the email was not sent to the person I invited. I actually sent it to another one of my email accounts and the email never came. Any ideas of what could cause this?

Scythe42
08 Apr 2008, 23:43
I installed this on two of my forums. Now one of them is lacking the link in admincp/vb options/invitation system to change the outgoing message. One of my forums has a link for me to edit the ougoing message, and the other one does not. Any ideas?Seems to be an issue with the phrases for admincp. Did you do some customization? If so, you might still have a customized version displayed in admincp. Uninstalling and reinstalling the plugin might help. But export the invitation table because on deinstallation it gets removed.

Anyway, the phrases in question are for the email are "invitation_email_body" and "invitation_email_note". You can modify them with the phrase editor. The links in admincp are just there for convenience.

whitlecj
09 Apr 2008, 01:00
I am using vbulletin 3.7 RC1 and after uninstalling and reinstalling the mod, it still does not send out the emails. I have tested that email functionality is working and that it was not sent to spam. Any idea as to what could be causing the problem?

whitlecj
09 Apr 2008, 01:08
I think I got it. I have 2 email address that I use personally. 1 is assigned to my vbulletin account and the other must be used somewhere within vbulletin or something, not sure. I basically signed up for anther gmail account and tested to that account and it worked perfectly. Not sure where the problem was with my 2nd email address but it worked like a charm to my newly created account. Sorry for the confusion and thanks for a great mod.

Theoldwiz
09 Apr 2008, 03:13
I installed but am getting a no permission message. I am sure my usergroup is listed in the settings.

lachofrias
09 Apr 2008, 13:16
Great plug in!

Is there a way to send more than 10 invitations?
I am starting the forum and i have a long list of invitations

thnx in advance!

lachof

Namaless
09 Apr 2008, 16:11
Hi, I found this fetch_template('usercp_invitation_email') in "Invitation User CP" but not found into hack..

Please fix this.

Regards.

Scythe42
09 Apr 2008, 16:12
Already fixed in the current development version.

Rideharder
09 Apr 2008, 18:49
> Ability to limit number of invites by user. (user: Admin an have 10 invites, user: Testuser can have 20, etc, admin controlled)
b> Ability to reset invites to 0 on a per user basis (override), admin controlled
c> Ability to reset to max being unused, admin controlled
d> Abilitiy turn to on or off Invitation System per user basis, admin controlled


How would I know when a user hit 0 invites ?

Can I give all users like 50 invites with out going to each users cp?

And one more thing please what is.
Display the invitation code as a link to the registration option in usercp?

logicuk
09 Apr 2008, 18:50
what about the ability to run monthly invite contests? would be a great addition!

Rideharder
09 Apr 2008, 18:57
I installed but am getting a no permission message. I am sure my usergroup is listed in the settings.

You need to go to Manage Products click Invitation System 2.0.2b Allow users send invitation to everybody and unstall ..Then restall the product-invitation_3.6 in the Manage Products ..

Rideharder
09 Apr 2008, 18:59
what about the ability to run monthly invite contests? would be a great addition!

That is what I was looking for!!!
http://www.speedaholic.net/

whitlecj
09 Apr 2008, 19:56
I agree. The ability run a monthly invite contest would be great. Of course, I am assuming once they make so you can give unlimited invites to your users, you would be able to set the contest up on your own and just verify who got the most people to sign up on the backend. Right?

Alfa1
10 Apr 2008, 01:52
what about the ability to run monthly invite contests? would be a great addition!
Please be careful with that idea. Invite contests can cause a lot of trouble with unwanted spam and angry admins from other sites.

dancue
10 Apr 2008, 22:44
Please be careful with that idea. Invite contests can cause a lot of trouble with unwanted spam and angry admins from other sites.

I agree, but the option should be available. It's a great way to add registrations.

Alfa1
11 Apr 2008, 01:04
What settings do you use on your forum? Invite only? Invite and normal registration? Email Verfication needed? Any errors in your php.log? Any special cookie related settings on your end or the users' browser? How does the entry in the invitation table for that invitation code looks like? Where any signups successful or do they all fail in regards to the invitation code?

If you provide me with some more details I can try to reproduce it and find a solution for the scenario.

The code that updates the table is pretty simple. It's called on "register_addmember_complete". It checks for the invitationcode cookie that was set when the signup process started. If present it continues and updates the table for that code. If it is not present an error message is shown when normal registration is disabled. If normal registration is still enabled, the user is passed through like a normal registration.

My settings:
Invite and normal registration
I cant look back more than a day in my apache error log
No special cookie settings on the site. I am awaiting more info about the members cookie settings.
The invitation table looks like this:
b0a3283e9ebd7a14732fbfdc44036731 example@example.com 04-06-2008 Not Confirmed Yet Delete

Other signups where successful.

Edit: the invited user found a cookie named "bb1referrerid."

EDIT2: I just received this database error:
Database error in vBulletin 3.7.0 Beta 3:

Invalid SQL:
SELECT user.userid AS user_id, user.email AS user_email, invitation.email AS inv_email, invitation.acceptedby as inv_id
FROM vbprefix_user
LEFT JOIN vbprefix_invitation
ON user.userid = invitation.acceptedby OR user.userid = invitation.email
WHERE user.email = 'example@example.com'
OR invitation.email = 'example@example.com';

MySQL Error : Unknown column 'user.userid' in 'field list'
Error Number : 1054
Date : Friday, April 11th 2008 @ 04:00:44 AM
Script : http://www.mysite.com/forum/profile.php
Referrer : http://www.mysite.com/forum/profile.php?do=invitation
IP Address : xxxxx
Username : xxxx
Classname : vB_Database
MySQL Version : 5.0.45

ram94401
11 Apr 2008, 05:30
Good stuff. Some of users faced the strange problem. They send the invitation referral link from FAQ section. This link has their userid. But, when their friends signup, they remove the username in the referrer field of the registration form!

Strange, isn't it?! I don't know what kind of friends are they! Anyway, our users want the referrer field to be read-only if the referrer name is passed in the URL. Till now, I haven't used this hack. Users copy the invite link from FAQ area and send it thru emails. If your hack has some kind of configuration by which you make the referrer field read-only, that would be nice.

Losttrucker
12 Apr 2008, 17:02
strange...its tells me the invitation has been sent, but it never gets received. I love the idea of this mod, but cant get it to work right

Scythe42
12 Apr 2008, 23:13
Other signups where successful.
Must be something on the users end with the Cookie handling if it only affects on user. I couldn't reproduce yet. Anyway, I'll try to switch to the session tables for linking a user during the registration process to the invitation code.

EDIT2: I just received this database error:
The fix for using table prefixes was posted here (http://www.vbulletin.org/forum/showpost.php?p=1484663&postcount=198).

Scythe42
12 Apr 2008, 23:14
strange...its tells me the invitation has been sent, but it never gets received. I love the idea of this mod, but cant get it to work rightMust be something with your mail settings. This mod uses a simple call to vbmail. Read through this thread, another user hat a similar issue and fixed it by correcting his settings.

Scythe42
12 Apr 2008, 23:34
If your hack has some kind of configuration by which you make the referrer field read-only, that would be nice.This can be acomplished by a simple template change by adding readonly to the input type or for XHTML compliance readonly="readonly"

Just look for the input tag in your register template (search for id="referrerfield")

On my site I have completly removed the referrid input field and instead using an hidden input tag to pass on the referrer. I'll look into including this as an auto template change for one of the next versions.

Dilldogs
13 Apr 2008, 00:00
I like this invite system, Works great. few miss spelled words, but it is an easy fix for that. All in All it is working fine and I hope you continue putting out great product.

Suggestion:

1. Maybe adding MSN, yahoo and aol Contact Grabber.

2. Maybe you should take over visionscripts. they had great product but he had to let it all go and now he is not planning to upgrade his product.

Scythe42
13 Apr 2008, 01:03
Maybe adding MSN, yahoo and aol Contact Grabber.Already on the to-do list and will be included in one of the next versions.

But before that I need to code some stuff so that new entries vom vbBlog show up under New Posts. That's currently more important for my site.

Hasann
13 Apr 2008, 04:26
https://www.vbulletin.org/forum/

just a screen it shows to you how it goes :S

Deepdog009
13 Apr 2008, 15:28
Beauts Hasann

This one is steam rolling down the lanes...

I took a peek at your code and it's interesting... Im taking notes...

Keep the ball rolling...;)

dancue
13 Apr 2008, 16:24
http://img338.imageshack.us/img338/3170/finalsa8.jpg

just a screen it shows to you how it goes :S

Nice, I see you've added multiple invitees, and the ability to attach a note.

It's looking beautiful so far. You guys really do listen to our suggestions. Thank you!

dancue
13 Apr 2008, 16:29
When should we expect the next update?

No rush, just curious. And will the next one have the contact grabbers?

whitlecj
13 Apr 2008, 22:32
With this mod currently, can you tell who the referrer was when a new member signs up from an invitation? Thanks.

AngelBlue
13 Apr 2008, 22:49
A tip for your mod...

If you replace :

if ($vbulletin->options['invitation_automatic_link_creation'] == 1) {
$template_hook['navbar_buttons_left'] .= '<td class="vbmenu_control"><a href="profile.php?'.$session['sessionurl'].'do=invitation">'.$vbphrase['invitation'].'</a></td>';
}

if ($vbulletin->options['invitation_automatic_link_creation'] == 2) {
$template_hook['navbar_quick_links_menu_pos1'] .= '<tr><td class="vbmenu_option"><a href="profile.php?'.$session['sessionurl'].'do=invitation">'.$vbphrase['invitation'].'</a></td></tr>';

}


with :


if ($vbulletin->options['invitation_automatic_link_creation'] == 1) {
if ($canuseinvitation) {
$template_hook['navbar_buttons_left'] .= '<td class="vbmenu_control"><a href="profile.php?'.$session['sessionurl'].'do=invitation">'.$vbphrase['invitation'].'</a></td>';
}
}

if ($vbulletin->options['invitation_automatic_link_creation'] == 2) {
if ($canuseinvitation) {
$template_hook['navbar_quick_links_menu_pos1'] .= '<tr><td class="vbmenu_option"><a href="profile.php?'.$session['sessionurl'].'do=invitation">'.$vbphrase['invitation'].'</a></td></tr>';
}
}


In the mod file, then the invitation link in the navbar will only show up to people who can actually use it. This avoids frustrating users with links they can't use.

Boofo
14 Apr 2008, 00:31
Actually this will work better, I think:

if ($vbulletin->options['invitation_automatic_link_creation'] == 1 AND $canuseinvitation) {
$template_hook['navbar_buttons_left'] .= '<td class="vbmenu_control"><a href="profile.php?'.$session['sessionurl'].'do=invitation">'.$vbphrase['invitation'].'</a></td>';
}

if ($vbulletin->options['invitation_automatic_link_creation'] == 2 AND $canuseinvitation) {
$template_hook['navbar_quick_links_menu_pos1'] .= '<tr><td class="vbmenu_option"><a href="profile.php?'.$session['sessionurl'].'do=invitation">'.$vbphrase['invitation'].'</a></td></tr>';
}

CanCanCase
15 Apr 2008, 00:48
Installed with no errors, but I got DB errors when trying to send the invitation eMail...
The fix for table prefixes posted here (http://www.vbulletin.org/forum/showpost.php?p=1484663&postcount=198) took care of the problem quickly and easily.
Great hack... thanks so much!

-Case

Deepdog009
15 Apr 2008, 05:38
Forgot 2 hit install...>>> Done Deal <<<

Thanks 4 This

logicuk
16 Apr 2008, 18:41
hows the updates coming along

and any news on the invite contest feature

thanks

Scythe42
16 Apr 2008, 21:16
I'm working on the contact grabber, since it was often requested (have so far gmail and yahoo included). Should be ready soon...

Contest won't happen. More a thing for extending vbExperience or some award Mod. Would be a simple SQL Query to the updated invitations table or the user table with the updated referrer information.

Alfa1
17 Apr 2008, 01:18
You two are really amazing. When coding the contact grabber; please consider if you can find a way to have the grabber work without opening allow_url_fopen or other security risks.

Scythe42
17 Apr 2008, 02:57
Because allow_url_fopen is usually disabled for security reasons I rely on libcurl which is the next choice.

Contact Grabber status:

Gmail - done
Yahoo - done, but there are some minor issues that need further investigation.
MSN/Hotmal - done in part
AOL - open


That should do it for a while. The contact grabbing needs some more public testing once ready. I'm sure there are some combinations I haven't thought of. It will need another two weeks or so before I can make it available to the public for testing because my time is limited at moment.

Maybe I add mySpace and Facebook later depending on the demand.

When publicly tested we have a supported 3.7 replacement for the VisionScripts Invitation System, on which the first version of this mod was based.

Maybe I do an AJAX update sometime in the future. But before that I need to work on my New Posts Mod, that includes new blog entries in the new post search. A thing I urgently need before I go live with 3.7 and Blogs on my site.

So be patient, large update will be ready soon.

logicuk
17 Apr 2008, 08:58
damit i was so looking forward to the content feature and i think so were many other people

will you not reconsider?

logic

Alfa1
17 Apr 2008, 20:45
Maybe I add mySpace and Facebook later depending on the demand.
Please consider including Outlook.

Maybe I do an AJAX update sometime in the future.
Would be awesome.

So be patient, large update will be ready soon.
Thanks in advance!

dancue
17 Apr 2008, 22:15
Very good suggestion Alfa1. Outlook would be nice to have.

I agree with you also, AJAX is always good.

This mod is turning out very well. Thanks to both authors for their hard work and effort.

dancue
18 Apr 2008, 04:36
damit i was so looking forward to the content feature and i think so were many other people

will you not reconsider?

logic

There is a coder on this forum who has a donation system which will soon allow you to set up contests for many different mods. It's called the Donation System and the coder is planning on adding this feature to the list of features his hacks includes.

When it does it would be perfect for this invitation system!