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 01-21-2005, 10:58 PM
teamgofast teamgofast is offline
 
Join Date: Nov 2004
Location: chicago burbs
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default looking for a registration hack

I searched and did not find one. what I am looking for is if someone tries to register they get a message telling them that "Sorry this is an invitational site only" or something to that effect. I run a private vb and would like to have certain sections visable to outsiders ie:articles and others. but all these pages have the login screen which will let you attempt to register. I would like for a person who is invited to be able to register but one who is not invited stopped.
so there would have to be some way for the registration to know its an invite?? anyone???

TIA
Jim
Reply With Quote
  #2  
Old 01-21-2005, 11:09 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, the question is: How do you know who is invited?
What qualifies an "invited" user?

An easy approch would be to have a "send invitation" script accessible for your members, which would take the email-address of a new member, generate a random invitationid and send a link to the reg-from (including this id) to the email-address.
The script register.php must then check if there is an invitationid and if it is valid, otherwise it must reject registration
Reply With Quote
  #3  
Old 01-22-2005, 12:10 AM
teamgofast teamgofast is offline
 
Join Date: Nov 2004
Location: chicago burbs
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
Well, the question is: How do you know who is invited?
What qualifies an "invited" user?

An easy approch would be to have a "send invitation" script accessible for your members, which would take the email-address of a new member, generate a random invitationid and send a link to the reg-from (including this id) to the email-address.
The script register.php must then check if there is an invitationid and if it is valid, otherwise it must reject registration
here is how it works on our site (its small 21 members at this point)
there is a group of 6 of us we pick someone we want to invite on the board and one of us sends the person the link. I then ofcourse allow them in via admincp.

so the invite would be sent via a admin or at the minimun a moderator. so i think the invite should be part of the admin/mod control panel. now there is a validation email that is sent, couldnt a invite email be sent also? now that would be more like what i was think of.
Reply With Quote
  #4  
Old 01-25-2005, 01:18 AM
teamgofast teamgofast is offline
 
Join Date: Nov 2004
Location: chicago burbs
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump anyone??
Reply With Quote
  #5  
Old 01-25-2005, 01:51 AM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont know how to do it but I know how to do it.
You need a refer friends hack. do a search.
now have it that the URL link is a auto signup link and only works once.
And boom refer only. ANd just remove the reg. links from the navbar and in the phrases.
Reply With Quote
  #6  
Old 01-25-2005, 01:53 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, just removing the links might stop the average joe from using the standard registration method.
But for someone with some knowledge this will not be a real problem.
Reply With Quote
  #7  
Old 01-25-2005, 01:56 AM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
Well, just removing the links might stop the average joe from using the standard registration method.
But for someone with some knowledge this will not be a real problem.
yes you would have to mod reg.php to only work if "user signing up has a reffer"

But you know there is a bug or spelling error in vb right to 3.0.6
if you make a spelling mistake in the refferer box it says "User name doesnt exist"

anyone with a brain assumes they are talking about them... ever tried that?
Reply With Quote
  #8  
Old 01-26-2005, 11:26 PM
teamgofast teamgofast is offline
 
Join Date: Nov 2004
Location: chicago burbs
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

your on the right path but i only want admins and mods to be able to send out invitations.
Reply With Quote
  #9  
Old 01-28-2005, 09:17 AM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by teamgofast
your on the right path but i only want admins and mods to be able to send out invitations.
ok that shouldnt be hard. But the downside is I am not a coder. Kirb is the man from what I have seen so far. Only thing is.... does he have the time to do it.
Reply With Quote
  #10  
Old 04-09-2005, 08:27 PM
isman isman is offline
 
Join Date: Nov 2001
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone made any progress on this hack as of yet? I'm looking for exactly the same thing.
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 01:54 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.04726 seconds
  • Memory Usage 2,247KB
  • Queries Executed 11 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete