Home TheRandomizer Forum Index Log in Register FAQ Search
TheRandomizer Forum Index » General Support » Why does it pay you?
Post new topic  Reply to topic View previous topic :: View next topic 
Why does it pay you?
PostPosted: Fri Oct 24, 2003 12:44 pm Reply with quote
g0ldy
Guest




Hi i am just testing my site. I set everything correctly in admin. But when i try to join i have to pay you ITWEBTEAM?

How can this be when you are not admin nor member?
PostPosted: Fri Oct 24, 2003 2:31 pm Reply with quote
Guest




check the account details for your admin account. They fill in all of the payment processors with their email addresses.
PostPosted: Sat Oct 25, 2003 1:41 am Reply with quote
g0ldy2
Guest




I change all of them.

It still pays them as the "random member" Evil or Very Mad .

I cant start it now because of this.
PostPosted: Sat Oct 25, 2003 11:52 am Reply with quote
shadow
Addict
Joined: 16 Oct 2003
Posts: 171
Location: Virgin Islands




Hi goldy,

I have found that it is good for you to set up the first member besides admin with the same information as admin except a different ID. What is happening is that the script has no members to choose from randomly only the default information that came in the script. It will only happen with the first member that the payment goes to ItWeb. But like I said above if you set up the first member the it will go to you.

Shadow
PostPosted: Sat Oct 25, 2003 5:46 pm Reply with quote
shadow
Addict
Joined: 16 Oct 2003
Posts: 171
Location: Virgin Islands




I never noticed that before but I have a solution for those of you on unix servers. (I don't know if it works on windows) I created a .htaccess file that you can load into your users directory that will only allow access from the payment processors sites and your own. For some reason when you login instead of giving the index page to the members area it gives the navigation for the members area but leaves the login up. Hopefully Daniel can fix this. I will tell you what I did to fix this later. Here is the .htaccess file

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://YOUR SITE.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.YOUR SITE.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.YOUR SITE.com/rand/ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.YOUR SITE.com/rand/users/ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.paypal.com/ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.paypal.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://paypal.com/ [NC]
RewriteCond %{HTTP_REFERER} !^https://paypal.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.stormpay.com/ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.stormpay.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://stormpay.com/ [NC]
RewriteCond %{HTTP_REFERER} !^https://stormpay.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.assuredpay.com/ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.assuredpay.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://assuredpay.com/ [NC]
RewriteCond %{HTTP_REFERER} !^https://assuredpay.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.egold.com/ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.egold.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://egold.com/ [NC]
RewriteCond %{HTTP_REFERER} !^https://egold.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.intgold.com/ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.intgold.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://intgold.com/ [NC]
RewriteCond %{HTTP_REFERER} !^https://intgold.com/ [NC]
RewriteRule /* http://www.YOUR SITE.com/rand/login.php [R,L]

You need to copy and paste this into its own file, change the YOUR SITE to your site name and upload to your directory. IMPORTANT you must make sure that the file name is only .htaccess there can be no .txt after it. I find it easiest to change this in my FTP program.

Please notice that I have included all the lower level folders that I have it listed on my site and there is a version with the www and without the www for all the payment processors there is also a http and a https this should cover all the bases.

The last line is the page you want to send unauthorized people to as you see I send them to the login page.

OKAY not it is time for the work around I came up with for the login page re-appearing. It's not fancy but it works.

In the template/main.navigation.php file at line 22 you will see
<a href=<?=$CONFIG->siteurl?>/users/details.php>Account Details</a>

Above this line add another line that says
<a href=<?=$CONFIG->siteurl?>/users/index.php>Members Home</a>

This will add a Members Home link to the top of your members navigation bar.

Now to tell the people that they are actually logged in I edited the login.php

I changed line 22 from

<td colspan=\"2\" align=center class=text><strong>Members Login<br>!</strong></td>

To
<td colspan=\"2\" align=center class=text><strong>Members Login<br> If you already logged in and are seeing this again, look at the navigation bar to your left if you see the Members Home link click
on it. If not please log in!</strong></td>

Now it works and is secure. It will only let links that come from the payment processors or your site in. You can try it on my site if you like

*********

Shadow
PostPosted: Sat Oct 25, 2003 6:14 pm Reply with quote
Guest
Guest




nice fix, but for some reason it takes FOREVER for my pages to load when they are trying to login. other links load instantly, any ideas?
PostPosted: Sat Oct 25, 2003 6:23 pm Reply with quote
shadow
Addict
Joined: 16 Oct 2003
Posts: 171
Location: Virgin Islands




Actually I have no ideas on that one at all. Maybe Daniel will.

Shadow
PostPosted: Sat Oct 25, 2003 6:29 pm Reply with quote
Guest




ok thanks anyways, ill put it on hold as i need to get the newest script anyways.

thanks for the fast reply Very Happy
 Why does it pay you? 
 TheRandomizer Forum Index » General Support
All times are GMT  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  


Powered by phpBB© 2001-2006 phpBB Group |Randomizer Script | Web Hosting | phpBB Skin by Vjacheslav Trushkin