Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-15-2005, 05:37 PM
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Location: Mersin
Posts: 907
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Invitation for Registration

Currently I disabled registration in my boards but my members are asking if there can a mod for inviting new members. Also I am thinking this I want my members to be able to invite members my sending e-mail to them. Is there a way to make an invitation mod. I still want to keep registration disabled but if someone is invited by a member then he will be able to register.
Reply With Quote
  #2  
Old 05-16-2005, 07:00 AM
Skyline_GT Skyline_GT is offline
 
Join Date: May 2003
Location: Vancouver, BC
Posts: 482
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yea. I want this add on too.
Reply With Quote
  #3  
Old 05-16-2005, 10:08 AM
artonex artonex is offline
 
Join Date: Mar 2005
Location: UK
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah would be a kool hack, i would love something like this
Reply With Quote
  #4  
Old 05-16-2005, 11:50 AM
Dark s.s. Trunk's Avatar
Dark s.s. Trunk Dark s.s. Trunk is offline
 
Join Date: Apr 2004
Location: Good Guestion its dark
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'll get started on it right away
Reply With Quote
  #5  
Old 05-17-2005, 12:10 AM
Essamz Essamz is offline
 
Join Date: Jan 2002
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this idea remainds me by gmail's Invitations
Reply With Quote
  #6  
Old 05-18-2005, 01:02 PM
Dark s.s. Trunk's Avatar
Dark s.s. Trunk Dark s.s. Trunk is offline
 
Join Date: Apr 2004
Location: Good Guestion its dark
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol
you should see the installer! I am making JAVA version installers....NO MANUAL CODING AT ALL

JUST upload and click....lol
Reply With Quote
  #7  
Old 05-18-2005, 01:22 PM
nexialys
Guest
 
Posts: n/a
Default

same as any Invite System, simple to have. you need a url that activate the permission to register... like register.php?invite=yes?referrerid=XX

so when people visit the register.php, instead of simply hitting the vboptions to activate registration, they activate it by this simple url.

SOOO SIMPLE!

EDIT: here is the code:

in register.php FIND:
PHP Code:
if (empty($_REQUEST['do']) AND empty($_REQUEST['a'])) 
just BEFORE, add:
PHP Code:
if($_REQUEST['invite'] == 'yes'$vboptions['allowregistration'] = 1
now, you simply have to create an invite url like this:
Code:
register.php?invite=yes?referrerid=$bbuserinfo[userid]
that's all...

you can also join with this hack: Refer Friend from Erwin: https://vborg.vbsupport.ru/showthread.php?t=59708 and simply change the URL in the message to the one i just gave here!
Reply With Quote
  #8  
Old 05-23-2005, 10:38 AM
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Location: Mersin
Posts: 907
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks nexialys
Reply With Quote
  #9  
Old 05-24-2005, 04:50 AM
spooler spooler is offline
 
Join Date: Dec 2004
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just my opinion here..

A url like this
Quote:
register.php?invite=yes?referrerid=$bbuserinfo[userid]
can easily be made by any 1...
Quote:
register.php?invite=yes?referrerid=1
The above url will work and will most prob be invited by admin himself (or who so ever has id =1)

So basically any random no. between 1 and total members of board will work.

Just my opinion :

So basically u need to have another table named invitee with fields ( random number(unique), timestamp)

When u generate invite url, add new row in the table and your invite url will be register.php?invite=random number

In register.php make a query to see if tht random number exists. If it does allow else kick him away

Do remeber to clear the row once used.
Also add to cron to clear rows in invite table with timestamp older than 1 day or whtever
Reply With Quote
  #10  
Old 05-24-2005, 04:57 AM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Couldn't this be bypassed/abused pretty easily? They can just enter 1 or look at your site and pick a user out. If you are serious about it you should prevent them from seeing your board.
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 10:02 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.04759 seconds
  • Memory Usage 2,268KB
  • Queries Executed 12 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_onlinestatus
  • (10)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