Announcement

Collapse
No announcement yet.

[Release v2.0.3] PasswordHack

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Release v2.0.3] PasswordHack

    HackVersion: BETA 2.1

    German:

    Mit diesem Hack könnt ihr ein Board mit einem Passwortschutz versehen.
    Das Passwort wird im Adminbereich unter:

    Forums and Moderators
    --> modify
    ---> das board wählen

    eingegeben.

    Dieser Hack ist erst einmal eine BETA. In der Endversion Soll der Hack sollen die geschützten Beiträge auch nicht von einem unberechtigten über die Suchfunktion
    gefunden werden können und man soll auch den Zugriff auf die geschützten Boards selbst wieder (als normaler member) aufheben können.

    Hack ansehen:
    Geschütztes Board:
    http://www.the-afterburner.com/vbull...?s=&forumid=30
    Ein Topic in diesem Board:
    http://www.the-afterburner.com/vbull...&threadid=1029

    Der Hack im Anhang ist in Deutsch

    English:

    You can make a board password protected with this hack.
    You can insert the password here:

    Forums and Moderators
    --> modify
    ---> choose a board

    Remember this is only a BETA

    suggestion for the final:
    - no matches in the searchengine if a board is protected and the member hasn´t access to this board
    - unsubscribe a access to a password protected board

    Sorry for my english

    see this hack in action:
    protected board:
    http://www.the-afterburner.com/vbull...?s=&forumid=30
    a topic in a protected board:
    http://www.the-afterburner.com/vbull...&threadid=1029

    the hack in the attachment is in german the english version is below in a reply.

    @ VB Support

    If you want to use this Hack in your next version - you can do this


    UPDATED 30.08.2001 to BETA 2.1
    Last edited by Afterburner; Thu 30 Aug '01, 11:22am.

  • #2
    nice
    GameCrash

    Project Tools Importer for forum threads
    Current Version: 1.0.0 Beta 3

    Comment


    • #3
      here is the english version of this hack
      Last edited by Afterburner; Thu 30 Aug '01, 11:24am.

      Comment


      • #4
        What is the password? btw if you try to login to the thread it says no forum is specified...
        GameCrash

        Project Tools Importer for forum threads
        Current Version: 1.0.0 Beta 3

        Comment


        • #5
          I cant post the password of my example link because its my xxx section and if a "no adult" it read this member has access to aduld stuff.

          I will check the bug

          Comment


          • #6
            OK I fixed the bug.
            Now BETA 1.1 is available

            If you installed BETA 1.0

            replace the:
            "fehler_password_showtopic" template
            with:

            English:

            PHP Code:
            <center>A password is required to enter this forumPlease enter it below: <br
            <
            form action="forumdisplay.php" method="POST"
            <
            input type="password" name="password"
            <
            br
            <
            input type="hidden" name="action" value="dopassword"
            <
            input type="hidden" name="forumid" value=$thread[forumid]> 
            <
            input type="submit" value="Abschicken"
            </
            form></center
            German:

            PHP Code:
            <center>Du benötigst ein Passwort um dieses Topic zu lesen.<br>Bitte das Passwort hier eingeben und auf Abschicken klicken: <br
            <
            form action="forumdisplay.php" method="POST"
            <
            input type="password" name="password"
            <
            br
            <
            input type="hidden" name="action" value="dopassword"
            <
            input type="hidden" name="forumid" value=$thread[forumid]> 
            <
            input type="submit" value="Abschicken"
            </
            form></center

            Comment


            • #7
              sweet

              GREAT hack!!

              Comment


              • #8
                BETA 2 is available

                now you can protect each board with a different passwort
                to download click on the attachment in the first postings

                Comment


                • #9
                  nice hack whens beta 3 coming lol

                  Comment


                  • #10
                    Originally posted by Afterburner
                    BETA 2 is available

                    now you can protect each board with a different passwort
                    to download click on the attachment in the first postings
                    after install this hack, there are a databases error while use cp add new member.

                    Comment


                    • #11
                      @ pipi

                      What kind of error ? I need the error message.
                      I dont have this problem on my board

                      Comment


                      • #12
                        Originally posted by Afterburner
                        @ pipi

                        What kind of error ? I need the error message.
                        I dont have this problem on my board
                        error message as below, thanks

                        Database error in vBulletin: Invalid SQL: UPDATE userfield SET userspezial43=1
                        WHERE userid='2'
                        mysql error: Unknown column 'userspezial43' in 'field list'
                        mysql error number: 1054
                        Date: Thursday 30th of August 2001 12:29:46 AM
                        Script: /forums/forumdisplay.php

                        Comment


                        • #13
                          ok, here is the fix:

                          open the user.php from your admin folder, look for this code:

                          PHP Code:
                          $sql "";
                            
                          $profilefields=$DB_site->query("SELECT profilefieldid,title FROM profilefield");
                            while (
                          $profilefield=$DB_site->fetch_array($profilefields)) {
                              
                          $varname="field$profilefield[profilefieldid]";
                              
                          $sql.=",'".addslashes($$varname)."'";
                            }
                            
                          $DB_site->query("INSERT INTO userfield VALUES ($userid$sql)");

                            
                          $action="modify";

                            echo 
                          "<p>Record added</p>";



                          and replace the code with this code:

                          PHP Code:
                          $sql "";
                            
                          $userfieldsnames="(userid";
                            
                          $profilefields=$DB_site->query("SELECT profilefieldid,title FROM profilefield");
                            while (
                          $profilefield=$DB_site->fetch_array($profilefields)) {
                                
                          $userfieldsnames.=",field$profilefield[profilefieldid]";
                              
                          $varname="field$profilefield[profilefieldid]";
                              
                          $sql.=",'".addslashes($$varname)."'";
                            }
                              
                          $userfieldsnames.=')';
                            
                          $DB_site->query("INSERT INTO userfield $userfieldsnames VALUES ($userid$sql)");

                            
                          $action="modify";

                            echo 
                          "<p>Record added</p>";


                          Comment


                          • #14
                            I uploaded the new version, if you have installed BETA 2 you can update with the steps in the post before

                            Comment


                            • #15
                              Hmmm slight prob i've added the hack without any errors, i ran the passwordhack.php first and deleted it after. and it said that it had completed the tables and to carry on with the Hack itself, so now i've finished it the board looks no different at all ????? there's no options in the control panel that i can see where you enter the password ?? Or an i missing something here )))))))

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...
                              X