![]() |
Don't forget the SQL query
|
I already did this in v2.41 :)
|
This is a new query for 2.5
|
Okay, I have one modification question...this is the code to keep unregistered (guests) out:
Code:
if ($bbuserinfo[username] == "Unregistered") { |
Quote:
|
hope Im not asking too much here, but could you tell us what has changed in the last two revisions. I have changed a lot of the html code to integrate to my forums and it would be easier to change just the code you have updated. Instead of overwriting the whole teris.php file.
Thanks portion |
And with the new version, all you have to do is replace:
Code:
if (($bbuserinfo[usergroupid] == "1") or ($bbuserinfo[usergroupid] == "3") or ($bbuserinfo[usergroupid] == "4")) { Code:
if (($bbuserinfo[usergroupid] != "11") && ($bbuserinfo[usergroupid] != "6") && ($bbuserinfo[usergroupid] != "5") && ($bbuserinfo[usergroupid] != "7")) { |
Quote:
The only template that's changed is "tetris" There have been two new SQL queries since 2.0 In the tetris template, "&sec_no=$sec_no" was added to the end of the parameter string. It passes a security number over to the Flash file. tetris.swf has had a few improvements, including the level 10 fix. tetris.php has undergone a LOT of changes. 1. New security system. Random variables are generated and passed along the system, should this line be broken or the variable be changed, things won't work. 2. No permission bug fixed, with a date system. It deletes records with a score of 0 that are over 60 minutes old. 3. Loads of tiny security fixes I can't list the code for al of these, because over half of it has changed. When you say you've made changes to the HTML, are you talking about templates? Few changes have been made to the templates, tetris.php is the important file. |
You have a problem with your above code, by doing that you will lock yourself and mods out of the game, unless they are usergroup 11, which we all know they won't be :)
|
Ignore Ziggy's code above, it's wrong - it doesn't pass any variables along to the Flash file.
If you install that it won't work |
All times are GMT. The time now is 01:15 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|