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

Reply
 
Thread Tools
Invitation System [Beta] Details »»
Invitation System [Beta]
Version: 1.00, by Mr_Snob Mr_Snob is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.6.4 Rating:
Released: 01-19-2007 Last Update: 01-19-2007 Installs: 94
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

->Invitation System > Allow the option of registration by invite only with usergroup permissions.
->Import product_invitation.xml via Product Manager
->Upload bitfield_invitation.xml into your forumfolder/includes/xml folder
->set usergroup permissions : Usergroups Manager > Usergroups > Invitation System Permissions > Can use this Usergroup the Invitation System? Yes/No > Yes and Save
->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
HTML Code:
   <tr>
	<td class="alt2" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=invitation">$vbphrase[invitation]</a></td>
</tr>

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #92  
Old 02-28-2008, 08:13 PM
jim6763nva's Avatar
jim6763nva jim6763nva is offline
 
Join Date: Oct 2005
Location: Virginia
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is not what I'm looking for either. I'd like to be able to send friends an invite while keeping the normal registration option. Why would anyone want an access by invite only?
Reply With Quote
  #93  
Old 02-29-2008, 11:17 AM
KeyStalker KeyStalker is offline
 
Join Date: Jan 2008
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a custom mod for on my site, for exactly what you want. I can sell it to you for about 10 dollars or so
Reply With Quote
  #94  
Old 03-02-2008, 08:20 PM
TTMT TTMT is offline
 
Join Date: Mar 2008
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For people with "Your invite is either not valid or has already been used." error message:

Technical reason: the invitationcode field in the table invites in your database has length at most 20 characters, whereas the one being sent to users has 32 characters. What happens is usually the invitation token (with 32 chars) generated randomly will be sent to users (in the invitation link), although only the first 20 characters of this token is gonna be stored in the database. When users click on their link, the system basically lookup in the invites table to see if there is any match, but it clearly fails.

Solution:
1. If you have already installed the system, simply go to your invites table (using myphpadmin or any similar database management tool), and change the length of the invitationcode field in the invites table to 32. Notice that this invites table might have prefix (chosen by you at installtion), therefore just look for any table that ends with invites.

After that any new invitations should work. You can delete all previous records in the invites table if you wish.

2. If you haven't installed the system (or want to uninstall your system and reinstall it) then:

First, open product-invitation.xml and find

Code:
$db->query_write("CREATE TABLE ". TABLE_PREFIX ."invites (
  invitecode varchar(20) NOT NULL default '',
then change 20 to 32.

Then install the system as normal. It should work (tested on vbb 3.6.8 patch level 2).
Reply With Quote
  #95  
Old 03-03-2008, 10:31 AM
Mr_Snob Mr_Snob is offline
 
Join Date: Jan 2004
Location: T?RKIYE/BOLU
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

updated go to this thread please https://vborg.vbsupport.ru/showthread.php?t=171951
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:26 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.05558 seconds
  • Memory Usage 2,245KB
  • Queries Executed 19 (?)
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
  • (1)bbcode_code
  • (2)bbcode_html
  • (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
  • (2)pagenav_pagelink
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)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