Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Invitation System vB 3.7 Gold Details »»
Invitation System vB 3.7 Gold
Version: 2.0, by Hasann Hasann is offline
Developer Last Online: Jun 2021 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.7.2 Rating:
Released: 03-02-2008 Last Update: 07-31-2008 Installs: 1112
DB Changes Uses Plugins Template Edits Auto-Templates
Translations  
No support by the author.

Invitation System by HASANN

This Product brought to you by
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

DEMO

you can test it at here http://www.vbulletin-tr.com/forum/pr...ation&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

    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

HTML 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

HTML 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.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
SaN-DeeP

Comments
  #202  
Old 04-07-2008, 09:27 PM
Scythe42 Scythe42 is offline
 
Join Date: Feb 2006
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #203  
Old 04-07-2008, 09:43 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #204  
Old 04-07-2008, 10:15 PM
Scythe42 Scythe42 is offline
 
Join Date: Feb 2006
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
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.
Reply With Quote
  #205  
Old 04-07-2008, 10:55 PM
nyqnzguju nyqnzguju is offline
 
Join Date: May 2007
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dont see option In UserCp... Left Side...

Like Ur attachment

https://vborg.vbsupport.ru/attachmen...4&d=1207409366
Reply With Quote
  #206  
Old 04-08-2008, 08:10 AM
theparentpack theparentpack is offline
 
Join Date: Dec 2007
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Love it! Installed, and voted for MOTM!!!
Reply With Quote
  #207  
Old 04-08-2008, 09:24 AM
theparentpack theparentpack is offline
 
Join Date: Dec 2007
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #208  
Old 04-08-2008, 12:42 PM
Lee G Lee G is offline
 
Join Date: Jun 2006
Location: Costa Blanca
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #209  
Old 04-08-2008, 12:49 PM
Alex_Volovenko Alex_Volovenko is offline
 
Join Date: Jul 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Plugin Parse Templates
Add This Code
PHP 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
PHP Code:
<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
Reply With Quote
  #210  
Old 04-08-2008, 02:38 PM
dancue dancue is offline
 
Join Date: Feb 2008
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Scythe42 View Post
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?
Reply With Quote
  #211  
Old 04-08-2008, 10:33 PM
Scythe42 Scythe42 is offline
 
Join Date: Feb 2006
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dancue View Post
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:00 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06071 seconds
  • Memory Usage 2,342KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_html
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete