vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Profile Enhancements - Invitation System [Beta] (https://vborg.vbsupport.ru/showthread.php?t=137007)

jim6763nva 02-28-2008 08:13 PM

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?

KeyStalker 02-29-2008 11:17 AM

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 :rolleyes:

TTMT 03-02-2008 08:20 PM

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

Mr_Snob 03-03-2008 10:31 AM

updated go to this thread please https://vborg.vbsupport.ru/showthread.php?t=171951


All times are GMT. The time now is 03:46 AM.

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.01084 seconds
  • Memory Usage 1,721KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete