vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Invitation for Registration (https://vborg.vbsupport.ru/showthread.php?t=81527)

spooler 05-24-2005 05:16 AM

Quote:

Originally Posted by TheSpecialist
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.

Even if you prevent them from seeing your board, a userid between 1-20 is bound to exist(99.99% :D)

Lizard King 05-29-2005 12:48 PM

Quote:

Originally Posted by spooler
Just my opinion here..

A url like this

can easily be made by any 1...


The above url will work and will most prob be invited by admin himself:D (or who so ever has id =1)

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

Just my opinion :p:

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

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

How can this be done :) Can you write a tutorial or some examples so i can work it out.

T3MEDIA 05-29-2005 01:48 PM

I was using this hack here... and wanted to use a HTML template. I was asking Erwin but I never got a response so I dropped the idea.

Maybe nexialys or TheSpecialist could help out on that. Its done. I have even uploaded a template. This would boost users going to your forum in seconds.
Who ever wants the HTML for the example I posted is welcome to take the HTML code.

Lizard King 05-30-2005 01:38 PM

This url is not working.
Code:

register.php?invite=yes?referrerid=1
when i invite someone with this link then it still gives me administration disabled registration.

EricaJoy 05-30-2005 10:12 PM

I too would be very interested in a hack for this. Any updates from anybody?

techhouse 05-31-2005 05:56 AM

I want too!

artonex 06-20-2005 07:21 PM

any updates?

techhouse 07-12-2005 08:59 AM

help please with this hack...

akanevsky 07-12-2005 11:29 AM

There is a "Refer your Friends" hack (I am not sure of its exact name). I think it would be a wise idea to make a mod to that hack instead of making a new one.

techhouse 07-12-2005 12:26 PM

The ideal variant would be this https://vborg.vbsupport.ru/showpost....20&postcount=9


All times are GMT. The time now is 05:33 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.01211 seconds
  • Memory Usage 1,729KB
  • 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
  • (2)bbcode_quote_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
  • (10)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