Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Restrict access to vB files to users with x referals! Details »
Restrict access to vB files to users with x referals!
Mod Version: 1.00, by Link14716 (Member) Link14716 is offline
Developer Last Online: Jun 2019 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 8
Released: 17 Jan 2003 Last Update: Never Downloads: 2
Supported  

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Function referalcheck hack, by Link14716.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

This is a very simple, but useful little hack. By adding a little line into a file, it will automatically restrict access to that file for anyone who has less than $n referals. $n is a variable that may be set to whatever you want for whatever file you want. I plan on adding admin CP functions to just enter a filename and how many referals you want to require for access to it later, but for now, here it is!

Enjoy. :banana:

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
AminCP: Restrict other administrator's access to certain files rake vBulletin 2.x Full Releases 4 26 Nov 2002 18:33

Comments
  #2  
Old 17 Jan 2003, 16:53
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Real name: Matthew Gordon
Here is a screen when a user does not have enough referals to access a page (for the purpose of this screen, I restricted access to proarcade.php to users with 4 referals or more.)
Attached Images
File Type: gif screen.gif (152.6 KB, 125 views)
__________________
Along with Zachery, I make releases as GeekyDesigns. Please do not PM or IM me for support.
Reply With Quote
  #3  
Old 17 Jan 2003, 16:53
heretic's Avatar
heretic heretic is offline
 
Join Date: Nov 2001
what would be great is having a custom title/avatar based on a numbr of referrals, but great hack nonetheless
Reply With Quote
  #4  
Old 17 Jan 2003, 16:55
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Real name: Matthew Gordon
I think there are hacks that will do that, but this hack is meant for whole files. Useful for hacks such as the arcade and the custom postbit hacks. Thanks for the compliment.
__________________
Along with Zachery, I make releases as GeekyDesigns. Please do not PM or IM me for support.
Reply With Quote
  #5  
Old 17 Jan 2003, 23:03
geniuscrew's Avatar
geniuscrew geniuscrew is offline
 
Join Date: Nov 2001
Perhaps checking if the referred members have more than X posts too? Coz some people refer members just to boost referrals, they don't care whether they post or not [how stupid]

Nice hack though
Reply With Quote
  #6  
Old 17 Jan 2003, 23:17
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Real name: Matthew Gordon
Sure, change:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change Y to the minimum amount of posts the referred member must have. (And maybe note that in the error template so they won't scream "It's broken!" )
__________________
Along with Zachery, I make releases as GeekyDesigns. Please do not PM or IM me for support.
Reply With Quote
  #7  
Old 17 Jan 2003, 23:22
geniuscrew's Avatar
geniuscrew geniuscrew is offline
 
Join Date: Nov 2001
Cool - I'm sure I'll have some use for it =)
Reply With Quote
  #8  
Old 18 Jan 2003, 09:27
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Real name: Dean Clatworthy
Nice hack buddy

- miSt
__________________
Dean Clatworthy - Web Developer/Designer
Reply With Quote
  #9  
Old 18 Jan 2003, 14:27
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Real name: Chris Murphy, BSc
Nice idea

Satan
Reply With Quote
  #10  
Old 19 Jan 2003, 06:10
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Thumbs up

Nice one Link!

I'm suprised that more people aren't using the referral system or referral hacks. I think its a neat way to get more members, and it works! Check the attachment.



Originally posted by heretic
what would be great is having a custom title/avatar based on a numbr of referrals, but great hack nonetheless
You can find the avatar hack in my profile.
Attached Images
File Type: jpg newuserstats.jpg (36.1 KB, 27 views)

Last edited by EvilLS1; 19 Jan 2003 at 06:16.
Reply With Quote
  #11  
Old 07 Feb 2003, 18:38
Revenge Revenge is offline
 
Join Date: Nov 2001
Hm, is it possible to restrict the access via number of posts, so that one with less than 20 posts can download?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 13:46.

Layout Options | Width: Wide Color: