Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames > DarkOrbit
You last visited: Today at 01:05

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



''Web Site Terms and Conditions of Use'' Help!

Discussion on ''Web Site Terms and Conditions of Use'' Help! within the DarkOrbit forum part of the Browsergames category.

Closed Thread
 
Old 11/20/2014, 12:18   #31
 
elite*gold: 0
Join Date: Sep 2014
Posts: 54
Received Thanks: 11
Quote:
Originally Posted by lCulito View Post
oh, i understand...

In your index change:
header("location: /mensajeTyC.php");

for this:
require_once('/mensajeTyC.php');



What Problem ?
LEJYONER(PvP) is offline  
Old 11/20/2014, 14:22   #32
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
Quote:
Originally Posted by LEJYONER(PvP) View Post



What Problem ?
Same error..
Now Term Of Use work but is fused with index.php
steppdroid is offline  
Old 11/20/2014, 14:27   #33
 
bobn171's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 92
Received Thanks: 49
bobn171 is offline  
Old 11/20/2014, 14:30   #34
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
Quote:
Originally Posted by bobn171 View Post
the question is not addressed to you.
steppdroid is offline  
Old 11/20/2014, 14:36   #35
 
elite*gold: 0
Join Date: Apr 2012
Posts: 182
Received Thanks: 128
Quote:
Originally Posted by steppdroid View Post
Same error..
Now Term Of Use work but is fused with index.php
Learn some basics functions of php. (if, else, endif statements)
olitis1 is offline  
Old 11/20/2014, 14:37   #36

 
Luffa's Avatar
 
elite*gold: 61
Join Date: Oct 2010
Posts: 1,188
Received Thanks: 2,403
Quote:
Originally Posted by steppdroid View Post
the question is not addressed to you.
Then dont post on this thread -.-
Luffa is offline  
Old 11/20/2014, 14:37   #37
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
Quote:
Originally Posted by olitis1 View Post
Learn some basics functions of php. (if, else, endif statements)
the base i konow!
steppdroid is offline  
Old 11/20/2014, 14:46   #38

 
Luffa's Avatar
 
elite*gold: 61
Join Date: Oct 2010
Posts: 1,188
Received Thanks: 2,403
Quote:
Originally Posted by steppdroid View Post
the base i konow!
Then fix your CSS.
Luffa is offline  
Old 11/20/2014, 14:47   #39
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
Quote:
Originally Posted by Αnonymous View Post
Then fix your CSS.
no, the css is ok...

IF i use
" header("location: /mensajeTyC.php"); "
the graphics is ok, but the php no work.

If i use
require_once('/mensajeTyC.php');
the php work (term of use) but the graphics no (is fused with index.php).
steppdroid is offline  
Old 11/20/2014, 14:48   #40

 
Luffa's Avatar
 
elite*gold: 61
Join Date: Oct 2010
Posts: 1,188
Received Thanks: 2,403
Quote:
Originally Posted by steppdroid View Post
no, the css is ok...
Okay, also where is your else statement?

Cause that can prevent both things getting loaded at once
Luffa is offline  
Old 11/20/2014, 15:01   #41
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
Quote:
Originally Posted by Αnonymous View Post
Okay, also where is your else statement?

Cause that can prevent both things getting loaded at once
the function in mensajeTyC.php is:
PHP Code:
<?php 
if(isset($_POST['agreement']) && $_POST['agree'] == '1'):

$_SESSION['acceptTyCsx'] = "OK";
header('location: /');
elseif(isset(
$_POST['agreement']) && $_POST['agree'] != '1'):
echo 
"<script>alert('Please accept Terms and Conditions of Use for continue...');</script>";
endif;
?>
the function in index.php is:
PHP Code:
if(!isset($_SESSION['acceptTyCsx'])):
require_once(
'/mensajeTyC.php'); //With require_once work all but the graphics is fuse with index.php
endif; 
IMAGE
steppdroid is offline  
Old 11/20/2014, 15:25   #42

 
Luffa's Avatar
 
elite*gold: 61
Join Date: Oct 2010
Posts: 1,188
Received Thanks: 2,403
Quote:
Originally Posted by steppdroid View Post
the function in mensajeTyC.php is:
PHP Code:
<?php 
if(isset($_POST['agreement']) && $_POST['agree'] == '1'):

$_SESSION['acceptTyCsx'] = "OK";
header('location: /');
elseif(isset(
$_POST['agreement']) && $_POST['agree'] != '1'):
echo 
"<script>alert('Please accept Terms and Conditions of Use for continue...');</script>";
endif;
?>
the function in index.php is:
PHP Code:
if(!isset($_SESSION['acceptTyCsx'])):
require_once(
'/mensajeTyC.php'); //With require_once work all but the graphics is fuse with index.php
endif; 
IMAGE

This is some of the most basic stuff you can learn in php, how to use "if then else".

But you say that you know php then i'm not gonna tell you.

Tip; use else in you index.php
Luffa is offline  
Old 11/20/2014, 15:34   #43
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
Quote:
Originally Posted by Αnonymous View Post
This is some of the most basic stuff you can learn in php, how to use "if then else".

But you say that you know php then i'm not gonna tell you.

Tip; use else in you index.php
With this
PHP Code:
<?php
if (!isset($_SESSION['acceptTyCsx'])) {
    require_once(
'/mensajeTyC.php');

else {}
?>
IS SOME
steppdroid is offline  
Old 11/20/2014, 19:21   #44
 
bobn171's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 92
Received Thanks: 49
Quote:
Originally Posted by steppdroid View Post
the question is not addressed to you.
First of all, I'll answer you everytime I want to, btw you should say thanks to waste my time on you cause you don't deserve a single second of it. You can't even do a ******* simple redirection on php. Your programming skills are even worse than the author of this thread. So pls atleast, I know you won't learn, but if someone waste his time on you (yeah is a waste of time write this to you too) atleast don't be rude
bobn171 is offline  
Thanks
6 Users
Old 11/20/2014, 20:58   #45

 
Arby's Avatar
 
elite*gold: 83
Join Date: May 2011
Posts: 11,029
Received Thanks: 6,037
I'd make a funny joke pretending to use the if command telling him to post in the PServer thread, but I'm dumb and I don't know how to do "le coding".

I've said multiple times, and you should be aware by now. Post in the correct area. This is related to PServers. This should be posted . You can learn how to code with different languages . There's a whole section dedicated for Web Development .

Closed - PServer Support Thread. Getting a tad messy as well.
Apologies for being a bit slow here.
Arby is offline  
Thanks
6 Users
Closed Thread


Similar Threads Similar Threads
[INFO] Terms & Conditions for DarkOrbit - what are your rights?
02/20/2014 - DarkOrbit - 30 Replies
I've decided to make this topic couse I'm pretty sure that most of DarkOrbit players have no idea about their rights in game. BigPoint's Terms & Conditions have been created for them, not for us. It's actually nothing special since BP is a large corporation. It means that their main target is money - not a wish to make something cool (but I'm pretty sure that you already know about that). So let me explain you the most important facts from T&C which are mostly against you BUT some of...



All times are GMT +1. The time now is 01:06.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.