RegisterRegister    Log inLog in    SearchSearch   

Post new topic   Reply to topic
Goto page Previous  1, 2 
View previous topic :: View next topic  
Author Message
chumly



PostPosted: Fri Dec 01, 2006 9:07 am    Post subject: Reply with quote

Nope, that didn't do it...

I have created several fixed variables, and placed them in the edit.php page, then echoed them out at several steps along the way.

Any variable I set before the function gc_renderpage is empty from within this function.
Back to top
View user's profile Send private message
adbot



PostPosted: Thu Mar 31, 2011 3:57 am 

Andrew
Mammoth


PostPosted: Fri Dec 01, 2006 9:14 am    Post subject: Reply with quote

Quote:
Any variable I set before the function gc_renderpage is empty from within this function.

Yes, because they are out of scope - this is just general PHP programming.

global $userdata;

Would work fine, paste the entire GCPage.php and edit.php file for example.
Back to top
View user's profile Send private message
chumly



PostPosted: Fri Dec 01, 2006 9:35 am    Post subject: Reply with quote

lol...

Ok,
Not sure what its problem is / was because its decided to start working... I think.

It is now passing the user information, ( YAY!!! thanks! ) But I need to verify what happens if the password is incorrect on the domain.

I have set my password to 'password' while testing, and now that it is working, I still have it set to 'password' but it allows me to access the booking page. Is this supposted to happen?

Now, It appears that the gamecreate site is unable to contact my game server, ( which is running ) and if I attempt to create a game, it gives me an error stating that it is unable to find an apprpriate time. This is the same message if I change the password to the correct one.

So, where is the controls to prevent access?

Thanks!
Chumly
Back to top
View user's profile Send private message
chumly



PostPosted: Fri Dec 01, 2006 2:59 pm    Post subject: Reply with quote

OK, so now that the master server is contacting my game server again, I see that a unapproved user can view the bookings, but can't actually start a booking.

ok, that works for me.

Thanks for your help andrew!

Hopefully this thread can help others trying to set up phpbb 2.0+
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic All times are GMT + 10 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum powered by phpBB © 2001, 2005 phpBB Group
GameCreate Service Terms | Privacy Policy | © Copyright Mammoth Media 2001-2007
GameCreate™ is a trademark of Mammoth Media Pty Ltd. GameCreate® is a registered trademark in Australia.