Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

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
  #122  
Old 03-09-2008, 07:55 AM
NeuroLancer's Avatar
NeuroLancer NeuroLancer is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I noticed now there is "Override" in users options in admincp. For admin it was No. I set to Yes and then this happened:

Quote:
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;
Reply With Quote
  #123  
Old 03-09-2008, 08:12 AM
shlomot's Avatar
shlomot shlomot is offline
 
Join Date: Apr 2007
Location: Haifa, Israel
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just to make sure, Hasann, that you saw my question:

Quote:
Originally Posted by shlomot View Post
Do we need to go through any template modification when upgrading from v2.0.0?
Reply With Quote
  #124  
Old 03-09-2008, 08:17 AM
C.Birch C.Birch is offline
 
Join Date: Apr 2002
Posts: 459
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #125  
Old 03-09-2008, 08:17 AM
Playa82 Playa82 is offline
 
Join Date: Mar 2006
Location: Germany
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hasann View Post
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
Reply With Quote
  #126  
Old 03-09-2008, 09:22 AM
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Aug 2005
Location: Germany
Posts: 897
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You make me so crazy people sorry

Quote:
Originally Posted by eng. deeb View Post
thanks man I love this kack
thank you please click install
Quote:
Originally Posted by NeuroLancer View Post
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?????
Quote:
Originally Posted by shlomot View Post
Just to make sure, Hasann, that you saw my question:
->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>

Quote:
Originally Posted by C.Birch View Post
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.

Quote:
Originally Posted by Playa82 View Post
yes, i added it manually now, but it still shows no link in userCP
->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>
Reply With Quote
  #127  
Old 03-09-2008, 09:24 AM
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Aug 2005
Location: Germany
Posts: 897
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please Un-install The Old Product And Re-install The New Product Buddies Or I Don't Give Support
Reply With Quote
  #128  
Old 03-09-2008, 11:42 AM
NeuroLancer's Avatar
NeuroLancer NeuroLancer is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hasann View Post
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
Reply With Quote
  #129  
Old 03-09-2008, 10:57 PM
clk320 clk320 is offline
 
Join Date: Jan 2008
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #130  
Old 03-10-2008, 10:03 PM
Stifler Stifler is offline
 
Join Date: Jan 2005
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

would be awesome to have a way to mass-invite users.. any possibility of this?
Reply With Quote
  #131  
Old 03-11-2008, 02:23 PM
shlomot's Avatar
shlomot shlomot is offline
 
Join Date: Apr 2007
Location: Haifa, Israel
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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), 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.
Reply With Quote
Reply

Thread Tools

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 06:21 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.05581 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
  • (10)bbcode_html
  • (9)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