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

Reply
 
Thread Tools
Invitation System v2.0.2 for vB3.6 and 3.5 series Details »»
Invitation System v2.0.2 for vB3.6 and 3.5 series
Version: 2.0.2, by Hasann Hasann is offline
Developer Last Online: Jun 2021 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.6.x Rating:
Released: 03-04-2008 Last Update: 04-05-2008 Installs: 110
DB Changes Uses Plugins Template Edits Auto-Templates
Re-useable Code Translations  
No support by the author.

[phpBB] Invitation System by Hasann

This Product brought to you by
www.vBulletin-TR.Com

DESCRIPTION

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

Note: This Hack Does Work For vBulletin Version 3.5 and 3.6 Series

Go For Invitation Hack vBulletin Version 3.7.series

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['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

HTML Code:
$template_hook[usercp_main_pos1]
Add Below This Code

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

Comments
  #52  
Old 04-06-2008, 05:48 PM
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Aug 2005
Location: Germany
Posts: 897
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

upgraded to Invitation System v2.0.2

- Changes since v1.0.4
  1. no more need to double click on the invitation link
  2. invitationcode cookie gets removed once the user has signed up
  3. account verification after signup isn't blocked by an invalid invitation error code anymore
  4. deletions of invites now delete the correct invite
  5. added permissions check when trying to delete an invitation
  6. if a user deletes an unclaimed invite, he gets one invite back
  7. you cannot sent multiple invites to the same email address
  8. you cannot sent invites to already registered email addresses
  9. added no invites sent message to usercp tepmplate
  10. changed some phrases to proper English (hope so)
  11. added some additional phrases
  12. numerous misspells in the body text of the invitation fixed
  13. the body text hardcoded that users can't change it
  14. also there are phrases for subject and bodytext, so you can use translations.
  15. the users can attach a note message to the invite email
  16. Fixed SQL injection vulnerabilities throughout the code.
  17. Referrer ID ist not overwritten by 1 for every new user.
  18. Removed one query when user is verifying his email address.
  19. Some adjustments for supporting the Inviation System and the normal registration method at the same time.
  20. Added missing closing form tag
  21. The Used Invitation table displays the phrase no_invites_sent when no invitation were sent out
  22. The description box only appears if a description is defined in admincp
  23. Removed the nested div panels to make the look consistent with the rest of usercp
  24. Switched from forumwidth to formwidth_usercp to make the look consistent with the rest of usercp
  25. Removed Login information beside the email address input field to make the look consistent with the rest of usercp
  26. Removed all uneeded tables because the divs are already doing the layout.
  27. Removed all unneeded nested div tags
  28. Added 100% width to table title
  29. Delete invitation column is only visible if you have permission to delete invitations.
  30. when checking for already registered member there is now an additional phrase for distinguishing between registered and invited members (reqested by Alfa1)
  31. added on option to display the invitation code as a link again (requested by Alfa1)
  32. remove the "click two times" message from the invitation email phrase. That's not needed anymore.
  33. changed "mysql_real_escape_string" to "$db->escape_string"
Reply With Quote
  #53  
Old 04-06-2008, 06:29 PM
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Location: Las Vegas, NV.
Posts: 1,433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Hassan I know/notice that you're always busy, but I really like/need this and will install again!
Reply With Quote
  #54  
Old 04-06-2008, 07:38 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and allowed overwrite of product...made template changes as well. Edited the options through vbulletin options to allow specific usergroups to use the invitation system using comma separated values.

The links appear in Quick Links, as well as the User CP, however...I have no access to use the invitation system. I keep getting redirected to the no access error page.

Something's not kosher in Denmark, here.

Any suggestions?
Reply With Quote
  #55  
Old 04-06-2008, 07:39 PM
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Aug 2005
Location: Germany
Posts: 897
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

please uninstall v1.0.4 on your forum and re-install the new version 2.0.2 xml file into via product manager
Reply With Quote
  #56  
Old 04-06-2008, 07:49 PM
Garyk Garyk is offline
 
Join Date: Oct 2006
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get a database error when trying to invite someone
Reply With Quote
  #57  
Old 04-06-2008, 08:06 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hasann View Post
please uninstall v1.0.4 on your forum and re-install the new version 2.0.2 xml file into via product manager

Okay...done.

I now have access to the Invitation system...however, the Invitation system does not show the user the text of the message being sent, so if they add additional text...they will not know what other content is being sent...other than what they, themselves, have typed.

Also...Human verification is not working...

Is this the same as image verification? If it is, I have it enabled, but the message is being sent without verification.

Suggestions?
Reply With Quote
  #58  
Old 04-06-2008, 08:58 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually...the Human Verification Manager is a 3.7 feature...and not for 3.6.8 PL2.

So you may want to update this mod...again...so that we can use Image Verification with this mod. You may also want to update the information in the Admin CP, as well, so that this doesn't confuse everyone.
Reply With Quote
  #59  
Old 04-06-2008, 10:20 PM
mahsazn mahsazn is offline
 
Join Date: Feb 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hasann View Post
please uninstall v1.0.4 on your forum and re-install the new version 2.0.2 xml file into via product manager
it couldn't use it, so i uninstalled the new version and reinstalled the old one... my problem was with temp edition in USERRCP_SHELL ... the phrase didn't appear in user cp!
Reply With Quote
  #60  
Old 04-06-2008, 11:31 PM
DssCrazy DssCrazy is offline
 
Join Date: Nov 2007
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hasann View Post
upgraded to Invitation System v2.0.2

- Changes since v1.0.4
  1. no more need to double click on the invitation link
  2. invitationcode cookie gets removed once the user has signed up
  3. account verification after signup isn't blocked by an invalid invitation error code anymore
  4. deletions of invites now delete the correct invite
  5. added permissions check when trying to delete an invitation
  6. if a user deletes an unclaimed invite, he gets one invite back
  7. you cannot sent multiple invites to the same email address
  8. you cannot sent invites to already registered email addresses
  9. added no invites sent message to usercp tepmplate
  10. changed some phrases to proper English (hope so)
  11. added some additional phrases
  12. numerous misspells in the body text of the invitation fixed
  13. the body text hardcoded that users can't change it
  14. also there are phrases for subject and bodytext, so you can use translations.
  15. the users can attach a note message to the invite email
  16. Fixed SQL injection vulnerabilities throughout the code.
  17. Referrer ID ist not overwritten by 1 for every new user.
  18. Removed one query when user is verifying his email address.
  19. Some adjustments for supporting the Inviation System and the normal registration method at the same time.
  20. Added missing closing form tag
  21. The Used Invitation table displays the phrase no_invites_sent when no invitation were sent out
  22. The description box only appears if a description is defined in admincp
  23. Removed the nested div panels to make the look consistent with the rest of usercp
  24. Switched from forumwidth to formwidth_usercp to make the look consistent with the rest of usercp
  25. Removed Login information beside the email address input field to make the look consistent with the rest of usercp
  26. Removed all uneeded tables because the divs are already doing the layout.
  27. Removed all unneeded nested div tags
  28. Added 100% width to table title
  29. Delete invitation column is only visible if you have permission to delete invitations.
  30. when checking for already registered member there is now an additional phrase for distinguishing between registered and invited members (reqested by Alfa1)
  31. added on option to display the invitation code as a link again (requested by Alfa1)
  32. remove the "click two times" message from the invitation email phrase. That's not needed anymore.
  33. changed "mysql_real_escape_string" to "$db->escape_string"
Nice Work!!!
Reply With Quote
  #61  
Old 04-07-2008, 12:36 AM
DssCrazy DssCrazy is offline
 
Join Date: Nov 2007
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where do you set how many invites members can have it is set to 10 and don't have a clue how to change. also in the user cp in the left colume i don't see the option to click invite user is this normal? i now see it at the top of user cp page.

Thanks
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 08:04 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04492 seconds
  • Memory Usage 2,340KB
  • 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
  • (4)bbcode_html
  • (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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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