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
  #902  
Old 05-11-2009, 11:36 AM
dancue dancue is offline
 
Join Date: Feb 2008
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is one of the most important mods. I wish there were more updates.
Reply With Quote
  #903  
Old 05-23-2009, 12:54 PM
PhenomLeader's Avatar
PhenomLeader PhenomLeader is offline
 
Join Date: Sep 2005
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having a problem with this mod since upgrading.

The url that it sends the invitee simply sends them to the screen that says they need an invite. Even if I edit the url to just show the register.php link, it still says you need an invite to register, even though they're linking to the page FROM an invite.
Reply With Quote
  #904  
Old 05-24-2009, 04:32 PM
jonbeard jonbeard is offline
 
Join Date: May 2009
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know how I can make this code required to register? What I am trying to get is an invitation only forum. Removing register.php does not work, as this system requires it. Is there a way that I can do this? I have also tried to disable registration, but it affects the invitation system as well... PLEASE help, I will love you forever lol

~Jon
Reply With Quote
  #905  
Old 05-25-2009, 09:24 AM
Aadil Aadil is offline
 
Join Date: Sep 2008
Location: Australia
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
# 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
Where can A be done from?

and how to change default 100 invites to everyone?
Reply With Quote
  #906  
Old 05-25-2009, 01:25 PM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jonbeard View Post
Does anyone know how I can make this code required to register? What I am trying to get is an invitation only forum. Removing register.php does not work, as this system requires it. Is there a way that I can do this? I have also tried to disable registration, but it affects the invitation system as well... PLEASE help, I will love you forever lol


~Jon
Click the second option in your adminCP . What happens is when people click register then the system will not allow you too. But if you process the link sent to you in an email this will allow you to join up.

Reply With Quote
  #907  
Old 05-25-2009, 08:42 PM
doa24uk doa24uk is offline
 
Join Date: Feb 2008
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok guys,

Here's how to set custom numbers of invites on a per usergroup basis.

This requires using SQL.....

Take a note of the usergroup number (found in the Usergroup manager in the admincp)

Use phpadmin or your database viewer and do the following:


Go to the user table.
Click on SQL
Use this code -

Code:
UPDATE user set invitation=xxx WHERE usergroupid=yyy

xxx - Number of invitations you'd like the usergroup to have
yyy - Usergroup to apply the above number of invitations to.


Run it multiple times changing whichever variables you choose for different usergroups.

DoA
Reply With Quote
  #908  
Old 05-26-2009, 01:44 AM
PhenomLeader's Avatar
PhenomLeader PhenomLeader is offline
 
Join Date: Sep 2005
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RobbieZ View Post
Click the second option in your adminCP . What happens is when people click register then the system will not allow you too. But if you process the link sent to you in an email this will allow you to join up.

I have this enabled but it just sends registrants on an endless loop, telling them they need an invitation.
Reply With Quote
  #909  
Old 05-26-2009, 06:17 AM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PhenomLeader View Post
I have this enabled but it just sends registrants on an endless loop, telling them they need an invitation.
We may have our wires crossed here. When a guest arrives at your site. They can not log in as they are not registered. So they click the link to register. Which should take them to the 'your invitation is not valid' message.

This is because the normal register link is this. http://www.yoursite/register.php?do=signup

When you send an invitation out via your userCP or the navbar link you should see this in your email.

http://www.yoursite.com/register.php?referrerid=1&invitation=345ebcc828911 3dd2400

This should take you straight to the Forum Rules page and then CAPTCHA and then your details etc.

Try sending yourself an invite. Log out of your site and click the link in your email.

If none of the above is working then you must have installed it wrong.
Reply With Quote
  #910  
Old 05-27-2009, 08:28 AM
doa24uk doa24uk is offline
 
Join Date: Feb 2008
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aadil View Post
Code:
# 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
and how to change default 100 invites to everyone?

This can all be done via mysql....

a --> See my post above

------

b -->

Find the userid (edit user profile & it'll be at the top of the admincp page)
UPDATE user set invitation=0 WHERE userid=yyy

yyy - the userid you found in step 1 of these instructions.

------

c --> I don't understand what you want here.

------

d -->

Find userid as above instructions explain.
UPDATE user set caninvitation=0 WHERE userid=yyy


yyy - the userid you found in step 1 of these instructions.


------

Change all user invites en-masse -->

UPDATE user set invitation=100

Then click on Structure (in phpmyadmin)
Edit the invitation field (pencil icon) and change the Default field to 100 (this will ensure all future registrations will default to 100 invitations.
Reply With Quote
  #911  
Old 05-27-2009, 10:45 AM
PhenomLeader's Avatar
PhenomLeader PhenomLeader is offline
 
Join Date: Sep 2005
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RobbieZ View Post
We may have our wires crossed here. When a guest arrives at your site. They can not log in as they are not registered. So they click the link to register. Which should take them to the 'your invitation is not valid' message.

This is because the normal register link is this. http://www.yoursite/register.php?do=signup

When you send an invitation out via your userCP or the navbar link you should see this in your email.

http://www.yoursite.com/register.php?referrerid=1&invitation=345ebcc828911 3dd2400

This should take you straight to the Forum Rules page and then CAPTCHA and then your details etc.

Try sending yourself an invite. Log out of your site and click the link in your email.

If none of the above is working then you must have installed it wrong.
It doesn't. I've had this installed for awhile and it was working perfectly until I upgraded the forums and this script to the 3.7 version. I don't know what to do to fix it, but http://www.yoursite.com/register.php?referrerid=1&invitation=345ebcc828911 3dd2400 sends registrants back to the page that says they need an invitation.
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 07:37 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.14779 seconds
  • Memory Usage 2,329KB
  • 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
  • (3)bbcode_code
  • (2)bbcode_html
  • (5)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