Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
vB Tetris v2.5 | Leaderboard, Comments and High Score System v2.5 :) Details »»
vB Tetris v2.5 | Leaderboard, Comments and High Score System v2.5 :)
Version: 1.00, by John John is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 08-13-2002 Last Update: Never Installs: 93
 
No support by the author.

hack removed, someone please delete this thread.

Apparently the 6 days solid I spend supporting this wasn't good enough (not to mention the 65 page total).

Thanks

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #382  
Old 08-17-2002, 01:23 AM
Castel Castel is offline
 
Join Date: Oct 2001
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Jashugan
Castel

Umm, list of 50 members sounds good but where will we put these codes that you post above? If add then after or before which code, if replace then which?
Check edited post above
  #383  
Old 08-17-2002, 01:28 AM
Castel Castel is offline
 
Join Date: Oct 2001
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by NexDog
Could you post what needs to be added to the templates and where? I'm dealing with a HD failure right now.
My last row of tetris_leader_main looks liek this:

PHP Code:
<tr
          <
td bgcolor="{tableheadbgcolor}" colspan="4" align="center"><smallfont color="{tableheadtextcolor}">&nbsp; <b>$thefooter</b> &nbsp;</smallfont></td>
        </
tr
  #384  
Old 08-17-2002, 01:29 AM
Jashugan Jashugan is offline
 
Join Date: Aug 2002
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Castel

TY
  #385  
Old 08-17-2002, 04:52 AM
NexDog's Avatar
NexDog NexDog is offline
 
Join Date: Mar 2002
Location: Lost in the Nexus
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All well and good, but none of this changes the link colour for the word, "here".
  #386  
Old 08-17-2002, 09:40 AM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Stuwee
I actually can't think of a 100% reliable way around this right now - the referrer is the best way I can think of, but as we all know, it can be easily poisoned.
From the manual:

Quote:
PHP Manual:
The address of the page (if any) which referred the user agent to the current page. This is set by the user agent. Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature. In short, it cannot really be trusted.
http://www.php.net/manual/en/reserve...riables.server

Basically, do not use it for any form of validation. (as the manual says) trust it.

I will secure my tetris and i will let you know when i'm done with it, then you can check if it's 100% secure if you want.
  #387  
Old 08-17-2002, 09:48 AM
Souly Souly is offline
 
Join Date: Jul 2002
Location: Germany
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have found one Problem in the Game.swf:

Is it not good, that you can stop (Pause) the Game and see the next item and all other from the game .. In the original tetris a very big Pausescreen will show and you can?t see anything. Is it possible to make the Pausescreen bigger?
  #388  
Old 08-17-2002, 10:51 AM
Schumi Schumi is offline
 
Join Date: Jan 2002
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello.

I want play Tetris on my forum. I opened the play, but I got the notice that I have no permisson. Many user got this notice.

What can I do?
  #389  
Old 08-17-2002, 12:43 PM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've just discovered another bug, it's not anything that would bother me personally because of the way I've got my forum set-up, but for anyone with a forum that requires either moderation of new members, or forums that require email checks on new members, this hack totally by-passes it, alloing someone to sign-up with a fake email, or ignore the sign-up email, and go stright to the tetris game.

I'm guessing that this can be fixed by changing the
PHP Code:
error_reporting(7); 
code, but I don't know what to.

ps. Castel nice add-on
  #390  
Old 08-17-2002, 12:44 PM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, i've just realised that it's not the error_reporting thing that needs changing, but the:
PHP Code:
if ($bbuserinfo[username] == "Unregistered") {
  
show_nopermission();

but yet again, I don't know what it needs to be changed to.
  #391  
Old 08-17-2002, 01:03 PM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Right, I can NOT gurantee that this will fix the problem I suggested above, but here is what I think you need to do:

Find:
PHP Code:
if ($bbuserinfo[username] == "Unregistered") {
  
show_nopermission();

Replacewith
PHP Code:
if (($bbuserinfo[usergroupid] == "1") or ($bbuserinfo[usergroupid] == "3") or ($bbuserinfo[usergroupid] == "4")) {
  
show_nopermission();

this will have to be done 4 times (I think).

I've not tested this yet, i'm just about to, if you do try it, MAKE A BACK UP of tetris.php first.

PS, 1 is Unregistered / Not Logged In
3 is Users Awaiting Email Confirmation
and 4 is (COPPA) Users Awaiting Moderation.

if you have any other usergroups that you don't want to give access to, you need to add them as well (like i've got 8 which is BANNED!! )

edit - fixed code
Closed Thread


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


All times are GMT. The time now is 04:42 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05002 seconds
  • Memory Usage 2,323KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete