UMIL Installer With Out Being Logged In

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

UMIL Installer With Out Being Logged In

Post by Blue Blood »

You can't install a umil installer with out being login.

But here is a simple work around.

Make sure you add the edits back before you go live with your board..
This will create a huge whole in phpbb security!!

OPEN: umil/umil_auto.php

FIND: Delete or Comment Out

Code: Select all

    // Display a login box if they are not logged in
    if (!$user->data['is_registered'])
    {
       login_box();
    }

FIND: Delete or Comment Out

Code: Select all

    // Check after initiating UMIL.
    if ($user->data['user_type'] != USER_FOUNDER)
    {
       trigger_error('FOUNDERS_ONLY');
    }
Now you can install a UMIL installer with out being logged in!!

UMIL Installer With Out Being Logged In

Post by RMcGirr83 »

Why would one want to do this...makes no sense.

UMIL Installer With Out Being Logged In

Post by Blue Blood »

I once installed a mod and after which I could not login....
With out being logged in I was unable to uninstall it.

With this I was able to uninstall the mod..

I know I'm not the only person that has had this problem...

This will help you if you ever come across this issue...

UMIL Installer With Out Being Logged In

Post by Steve »

$cookies ans browser session issues ,delete them or tell the umil file creator to fix it!

UMIL Installer With Out Being Logged In

Post by Blue Blood »

i would guess delete them........ it wont be an issue if you log out first...

Like I said I used this a few times when I installed a mod and it wouldn't let me login
so if your testing this make sure you are logged out....