Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 11-25-2011, 08:58 AM
Csar Csar is offline
Member
 
Join Date: Oct 2011
Posts: 7
Gender: Male
Credits: 872
Csar is on a distinguished road
Default

Quote:
Originally Posted by SilverDragonTears View Post
Oh please tell me how!! i'm not sure I'll go that route... but if I have to...
Well, you wouldn't need to "block" the users but simply not count if they're eing referred, If I'm right you could use something like this:

PHP Code:
<?php
    $blacklist 
Aray(/*Terms that identify banned sites for example:*/ 'yarolds''google');
    
$click_allowed true;
    foreach (
$blacklist as $disallowedpage
        if (
strpos($_SERVER['HTTP_REFERRER'], $disallowedpage) !== false$click_allowed=false;
?>
Later you can just check against your prohibited pages, something like this
PHP Code:
<?php
    
if ($click_allowed) echo 'This is a normal user';
    else echo 
'You should not use any click services';
?>
If you would like to limit the number of clicks everyday you would need to add an extra table to your MySQL.

Hope it helped

C#
Reply With Quote
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to increase amount of clicks per day... Mortain Questions and Supports 6 12-02-2015 06:31 AM
Limit clicks/day to 10 sensacion Questions and Supports 1 07-02-2011 06:15 AM
amount of users currently online Tony Suggestions and Feature Requests 1 02-06-2011 11:20 PM
Limit clicks/day to 10, for each pet? Quillink Questions and Supports 9 02-08-2010 03:35 PM
Is there a way to limit the amount of adoptables a person can adopt? crydrk Suggestions and Feature Requests 2 08-01-2009 05:34 PM


All times are GMT -5. The time now is 04:09 AM.

Currently Active Users: 3685 (0 members and 3685 guests)
Threads: 4,082, Posts: 32,047, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636