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
No Avatar
Blue Blood Offline
BBCoder II
BBCoder II
Posts: 20
Joined: 18 Oct 2011, 23:31
Local time: Saturday 20:48
Last active: -

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!!
User avatar
RMcGirr83 Offline
BBCoder III
BBCoder III
Posts: 104
Joined: 08 Mar 2010, 11:17
Local time: Saturday 16:48
Last active: -
Favourite EXT: mChat

UMIL Installer With Out Being Logged In

Post by RMcGirr83 »

Why would one want to do this...makes no sense.
No Avatar
Blue Blood Offline
BBCoder II
BBCoder II
Posts: 20
Joined: 18 Oct 2011, 23:31
Local time: Saturday 20:48
Last active: -

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...
User avatar
Steve Offline
Donator
Donator
Posts: 1,429
Joined: 04 Mar 2010, 23:10
Local time: Saturday 21:48
Last active: -

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!
secret code: 123 might be abc or thank you might work
When I'm writing code, I am building a picture for you to see and use on your screen...
No Avatar
Blue Blood Offline
BBCoder II
BBCoder II
Posts: 20
Joined: 18 Oct 2011, 23:31
Local time: Saturday 20:48
Last active: -

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....