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
  #292  
Old 05-06-2008, 03:40 PM
kollam003 kollam003 is offline
 
Join Date: May 2007
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<font color="Red">Kollam Clicks Install </font>
Reply With Quote
  #293  
Old 05-06-2008, 08:18 PM
tafreeh tafreeh is offline
 
Join Date: May 2008
Location: Canada
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great mod...
but i cant find
Code:
$template_hook[usercp_main_pos1]
i m using custom temp....

here is my usercpshell

Code:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
    <title>$vboptions[bbtitle] - $pagetitle</title>
</head>
<body$onload>
$header
$navbar

<!-- table to support left column nav -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="top">
<td>

<!-- usercp nav -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0">
<tr><td class="tcat" nowrap="nowrap"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_control_panel]</a></td></tr>
<tr><td class="thead"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[your_profile]</a></td></tr>
    <tr><td class="$navclass[profile]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_your_details]</a></td></tr>
    <if condition="$show['customizelink']">
    <tr><td class="$navclass[customize]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=customize">$vbphrase[customize_profile]</a></td></tr>
    </if>
    <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>
<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>

<tr><td class="thead">$vbphrase[networking]</td></tr>
    <tr><td class="$navclass[buddylist]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=buddylist"><if condition="$show['friends_and_contacts']">$vbphrase[contacts_and_friends]<else />$vbphrase[contacts]</if></a></td></tr>
    <if condition="$show['socialgroupslink']">
    <tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="group.php$session[sessionurl_q]">$vbphrase[social_groups]</a></td></tr>
    </if>
    <if condition="$show['publicgroups']">
    <tr><td class="$navclass[usergroups]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editusergroups">$vbphrase[group_memberships]</a></td></tr>
    </if>
    <if condition="$show['albumlink']">
    <tr><td class="$navclass[album]" nowrap="nowrap"><a class="smallfont" href="album.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[pictures_and_albums]</a></td></tr>
    </if>
<tr><td class="thead">$vbphrase[settings_and_options]</td></tr>
    <if condition="$show['avatarlink']">
    <tr><td class="$navclass[avatar]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr>
    </if>
    <if condition="$show['siglink']">
    <tr><td class="$navclass[signature]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr>
    </if>
    <tr><td class="$navclass[password]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editpassword">$vbphrase[edit_email_and_password]</a></td></tr>
    <tr><td class="$navclass[options]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
    <tr><td class="$navclass[ignorelist]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=ignorelist">$vbphrase[edit_ignore_list]</a></td></tr>
<if condition="$show['pmmainlink']">
<tr>
    <td class="thead" nowrap="nowrap">
    <span id="nav_pmfolders">$vbphrase[private_messages] <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("nav_pmfolders"); </script></if></span>
    <if condition="$show['popups']">
        <div class="vbmenu_popup" id="nav_pmfolders_menu" style="display:<if condition="$show['popups']">none<else />block</if>">
            <table cellpadding="4" cellspacing="1" border="0">
            <tr>
                <td class="thead" nowrap="nowrap">$vbphrase[folders]</td>
            </tr>
            $cpnav[pmfolders]
            </table>
        </div>
    </if>
    </td>
</tr>
    <tr><td class="$navclass[pm_messagelist]" nowrap="nowrap"><a class="smallfont" href="private.php$session[sessionurl_q]">$vbphrase[list_messages]</a></td></tr>
    <if condition="$show['pmsendlink']">
    <tr><td class="$navclass[pm_newpm]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=newpm">$vbphrase[send_new_message]</a></td></tr>
    </if>
    <if condition="$show['pmtracklink']">
    <tr><td class="$navclass[pm_trackpm]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=trackpm">$vbphrase[track_messages]</a></td></tr>
    </if>
    <tr><td class="$navclass[pm_editfolders]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></td></tr>
</if>
<tr>
    <td class="thead" nowrap="nowrap">
        <span id="nav_subsfolders">$vbphrase[subscribed_threads] <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("nav_subsfolders"); </script></if></span>
        <if condition="$show['popups']">
            <div class="vbmenu_popup" id="nav_subsfolders_menu" style="display:<if condition="$show['popups']">none<else />block</if>">
                <table cellpadding="4" cellspacing="1" border="0">
                <tr>
                    <td class="thead" nowrap="nowrap">$vbphrase[folders]</td>
                </tr>
                $cpnav[subsfolders]
                </table>
            </div>
        </if>
    </td>
</tr>
    <tr><td class="$navclass[substhreads_listthreads]" nowrap="nowrap"><a class="smallfont" href="subscription.php?$session[sessionurl]do=viewsubscription">$vbphrase[list_subscriptions]</a></td></tr>
    <tr><td class="$navclass[substhreads_editfolders]" nowrap="nowrap"><a class="smallfont" href="subscription.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></td></tr>
<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
    <tr><td class="$navclass[event_reminders]" nowrap="nowrap"><a class="smallfont" href="calendar.php?$session[sessionurl]do=viewreminder">$vbphrase[event_reminders]</a></td></tr>
    <if condition="$show['paidsubscriptions']">
    <tr><td class="$navclass[paid_subscriptions]" nowrap="nowrap"><a class="smallfont" href="payments.php$session[sessionurl_q]">$vbphrase[paid_subscriptions]</a></td></tr>
    </if>
    <if condition="$show['attachments']">
    <tr><td class="$navclass[attachments]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editattachments">$vbphrase[attachments]</a></td></tr>
    </if>
<if condition="$show['moderation']">

    <if condition="$show['deleteditems']">
        <tr><td class="thead">$vbphrase[deleted_items]</td></tr>
        <tr><td class="$navclass[deletedthreads]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewthreads&amp;type=deleted">$vbphrase[threads]</a></td></tr>
        <tr><td class="$navclass[deletedposts]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewposts&amp;type=deleted">$vbphrase[posts]</a></td></tr>
        <if condition="$show['deletedvms']"><tr><td class="$navclass[deletedvms]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewvms&amp;type=deleted">$vbphrase[visitor_messages]</a></td></tr></if>
        <if condition="$show['deletedgms']"><tr><td class="$navclass[deletedgms]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewgms&amp;type=deleted">$vbphrase[social_group_messages]</a></td></tr></if>
        <if condition="$show['deletedpcs']"><tr><td class="$navclass[deletedpcs]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewpcs&amp;type=deleted">$vbphrase[picture_comments]</a></td></tr></if>
    </if>

    <if condition="$show['moderateditems']">
        <tr><td class="thead">$vbphrase[moderated_items]</td></tr>
        <tr><td class="$navclass[moderatedthreads]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewthreads&amp;type=moderated">$vbphrase[threads]</a></td></tr>
        <tr><td class="$navclass[moderatedposts]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewposts&amp;type=moderated">$vbphrase[posts]</a></td></tr>
        <if condition="$show['moderatedvms']">
            <tr><td class="$navclass[moderatedvms]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewvms&amp;type=moderated">$vbphrase[visitor_messages]</a></td></tr>
        </if>
        <if condition="$show['moderatedgms']">
            <tr><td class="$navclass[moderatedgms]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewgms&amp;type=moderated">$vbphrase[social_group_messages]</a></td></tr>
        </if>
        <if condition="$show['moderatedpcs']">
            <tr><td class="$navclass[moderatedpcs]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewpcs&amp;type=moderated">$vbphrase[picture_comments]</a></td></tr>
        </if>
        <if condition="$show['moderatedpics']">
            <tr><td class="$navclass[moderatedpics]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewpics">$vbphrase[album_pictures]</a></td></tr>
        </if>    
    </if>

</if>
$template_hook[usercp_navbar_bottom]



</table>
<!-- / usercp nav -->

</td>
<td>&nbsp;&nbsp;</td>
<td width="100%">

<!-- main page contents -->
$HTML
<!-- / main page contents -->

</td>
</tr>
</table>
<!-- / table to support left column nav -->
$footer
</body>
</html>
can some1 please tell me where should i put the second code?
Reply With Quote
  #294  
Old 05-06-2008, 09:13 PM
swalker2 swalker2 is offline
 
Join Date: Sep 2006
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed with simple template modifications and query bug fixes, working great now

nice mod!
Reply With Quote
  #295  
Old 05-06-2008, 10:53 PM
dancue dancue is offline
 
Join Date: Feb 2008
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by swalker2 View Post
installed with simple template modifications and query bug fixes, working great now

nice mod!
What modifications did you do?

sharing is caring...lol
Reply With Quote
  #296  
Old 05-08-2008, 07:19 AM
00christian00 00christian00 is offline
 
Join Date: Feb 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi guys,the modification it's really simple to make it working.
Just add the following to the form in the usercp_invitation template :
Code:
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
After this :
Code:
<if condition="$show['invitation_form']">
	<form action="profile.php" method="post" name="vbform">
		<input type="hidden" name="s" value="$session[sessionhash]" />
		<input type="hidden" name="do" value="invitation" />
Everything is explained here :

https://vborg.vbsupport.ru/showthread.php?t=177013
I tried to make an updated xml,let me know if it works,i never did it before but since it's some simple text edit it should be a problem.
Reply With Quote
  #297  
Old 05-08-2008, 07:52 AM
psybernaut psybernaut is offline
 
Join Date: Sep 2005
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks 00christian00, that did the trick
Reply With Quote
  #298  
Old 05-08-2008, 09:08 AM
tako tako is offline
 
Join Date: Sep 2002
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wonder if your mod is not working if I have prefix for VB database table name?? I installed it but it shows error that table user not found. FYI
Reply With Quote
  #299  
Old 05-08-2008, 09:55 AM
Lee G Lee G is offline
 
Join Date: Jun 2006
Location: Costa Blanca
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for that update. I could not find the code to alter, so tried using the new file and that did the trick :up:
Reply With Quote
  #300  
Old 05-08-2008, 12:31 PM
chintu chintu is offline
 
Join Date: Apr 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi 00christian00,

I downloaded your attached file. I hope that is the newest version of the invitation system mod?

Thanks.

Arindam
Reply With Quote
  #301  
Old 05-08-2008, 01:40 PM
00christian00 00christian00 is offline
 
Join Date: Feb 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Chintu,it's always the same version but without the security token problem.
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 08:32 AM.


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.06913 seconds
  • Memory Usage 2,344KB
  • 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_code
  • (2)bbcode_html
  • (1)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