NineChime forum

Furry stuff, oekaki stuff, and other stuff.

You are not logged in.

Post a reply

Write your message and submit
Options
Humanity test

What is nine + five?

Go back

Topic review (newest first)

Schwepsi
06-20-2005 06:25:34

sorry... that was too much

try this, but I haven't tested it. I haven't a unix server anymore.

Wacintaki 1.2
->Header.php

Search:
    <form name="form1" action="functions.php" method="post" style="margin: 0; text-align: center;">
        <input name="action" type="hidden" value="login" />

        <?=$langop_word_name?>:
        <input name="username" type="text" class="multiline" />

        <?=$langop_install_password?>:
        <input name="pass" type="password" class="multiline" />
        <input name="login" type="submit" value="Login" class="submit" />
    </form>

Replace with:
<form name="form1" action="***PHPBB_LOGIN***?redirect=wacintaki_path_to_index.php" method="post" style="margin: 0; text-align: center;">
        <input name="login" type="submit" value="Login" class="submit" />
    </form>



PHPBB 2.0.15
Login.php

Search:
        $username = isset($HTTP_POST_VARS['username']) ? phpbb_clean_username($HTTP_POST_VARS['username']) : '';
        $password = isset($HTTP_POST_VARS['password']) ? $HTTP_POST_VARS['password'] : '';

ADD after:

    $pass     = $password;
    $usrpass3 = crypt ($pass, ***ENCRYPTION CODE, look into your config ***);

    $result = mysql_query ("SELECT usrname, usrpass, usrflags FROM ***OekakiPoteto_MemberPrefix***oekaki WHERE usrname='$username'");

    if ($result) {
        $row = mysql_fetch_array ($result);

        //check if passwords are correct and that the user is a non-pending member
        if (($usrpass3 == $row['usrpass']) && !strstr($row['usrflags'], 'P')) {
            //create a cookie that contains the username of the person who logged in
            setcookie ('OekakiU', $row['usrname'], time() + 1209600, $cookie_path);
            setcookie ('OekakiPass', $usrpass3, time() + 1209600, $cookie_path);
            all_done();
        } else {
            message_die(GENERAL_ERROR, 'COULD NOT LOGIN');
        }
    }

Schwepsi
06-14-2005 10:15:16

I am back and healthy (i hope ;P). But it will take a day or two more because i now have to catch up the household, my forum, the backups, mails, ....
(I think you know many other things I forgot to mention, like to cut the grass).

After that i will give it a try.
If you want to try yourself:

look what happens after login in wacintaki. convert these lines into phpBB and put them into their login (it should be the encryption of the password and and sql line). Try it.
If all things work allright do change the login in wacintaki to a normal link to phpBB login.php?redirect=path/wacintaki_index_file

ready to log in
a thingie I never solved:
registrations. This should be a lot more work, I never tried this


And btw:
thanks for the getting-well-wishes. Seems like they worked XD

schwpz
06-14-2005 04:08:11

Sorry to hear that you got sick, how unfortunate for you! sad
I hope you'll get well soon, headaches are no fun at all.
Please let me know if you could perhaps help me when you get well again, but until then try to take good care of your self and focus on your health. That's after all the most important thing. smile

*sends lots of virtual chicken soup* ^^

Schwepsi
06-09-2005 17:02:57

schwpz wrote:

Thank you so much for all your help, you're very kind! smile

I'm using phpbb v2.0.15. It's a very heavily modded board so I'm used to make updates by hand, but none of the mods I have installed should affect the login system in any way.
By the way, if you have a website or something please post it here or PM me so I can post it in my updates logg once the Oekaki board is up, in order to give you proper credit for your help. It's the very least I can do for all the work you are doing by helping me out! ^^


Thanks again! smile

And sorry again.
I will not make it within the next days, nor I will be online...
I am lying down with a very bad headache and a little fever
Sorry u_u

After that I can make it.
But I didn't know when I am back.

schwpz
06-07-2005 03:15:50

Thank you so much for all your help, you're very kind! smile

I'm using phpbb v2.0.15. It's a very heavily modded board so I'm used to make updates by hand, but none of the mods I have installed should affect the login system in any way.
By the way, if you have a website or something please post it here or PM me so I can post it in my updates logg once the Oekaki board is up, in order to give you proper credit for your help. It's the very least I can do for all the work you are doing by helping me out! ^^


Thanks again! smile

Schwepsi
06-07-2005 01:30:38

Diskmaster wrote:

It's an md5 hash, actually, not true md5.

the important thing is uses another method of encrypting. I just send after login the PW to the other form, and redirect back. So it is not important which method is used. It get encrypted for each board by itself.

Diskmaster
06-07-2005 00:02:30

It's an md5 hash, actually, not true md5.

Schwepsi
06-06-2005 23:57:47

ok, I looked up and remeber what I've done

give me 2 days and you get all needed code
but a warning before:
updates of phpBB and Wacintaki Poteto must be done by hand from this time on !!
You will get the code for Wacintaki Poteto 1.1.5 & phpBB 2.0.15

...

or are you using phpBB plus or something else? any mods installed?
Please tell first, than i will start

Schwepsi
06-06-2005 15:58:16

schwpz wrote:

Schwepsi wrote:

This is correct, it uses MD5 ... it should be easier to decrypt the PW and send it to phpBB...

Do you know how I can do that?
As I said I'm not much of a coder, so unfortunately I'm not quite sure how to do what you just said. ^^;

By the way, a bit off topic but you're the first user I have ever met who has such a similar nick to my self. smile


I'm looking so forward to open the Oekaki board, I'm positive that it will become so popular among my forum users.
Thanks to the both of you for replying! ^_^

i only know the Mod for the original oekaki, but it was not that difficult (has learned it at that time too.

Look in the login PHP-File, there you look where you got logged in.
directly after that you must save login & PW
and instead of that you send a form filled with this information and the variable redirect=index_file_wacintaki to login.php of phpBB
now you see the form, your PW and Name are filled in and you only have to press submit. (ok, a 2nd time, the other way is a bit more difficult, you have to make lot of codechanges)
After submitting you got back to wacintaki

that should work there as well as in the Mod.

schwpz
06-05-2005 16:28:21

Schwepsi wrote:

This is correct, it uses MD5 ... it should be easier to decrypt the PW and send it to phpBB...

Do you know how I can do that?
As I said I'm not much of a coder, so unfortunately I'm not quite sure how to do what you just said. ^^;

By the way, a bit off topic but you're the first user I have ever met who has such a similar nick to my self. smile


I'm looking so forward to open the Oekaki board, I'm positive that it will become so popular among my forum users.
Thanks to the both of you for replying! ^_^

Board footer

Yep, still running PunBB
© Copyright 2002–2008 PunBB