Auto ACP redirection

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
User avatar
Asevias Black
Registered User
Posts: 8
Joined: Thu Oct 09, 2008 7:29 am

Re: Auto ACP redirection

Post by Asevias Black »

Hey there,
I would love to use this mod as it seems like a really good one.

I just have one problem when I got into my includes/functions.php I am missing the following code:

Code: Select all

meta_refresh(3, $redirect);
      trigger_error($message . '<br /><br />' . sprintf($l_redirect, '<a href="' . $redirect . '">', '</a>'));
		} 
So I cant add the mod code before it!

I am pretty confused right now if you could help I would greatly appreciate it. Thanks in advanced...

USING

Code: Select all

PHPBB3 V.3.0.2
Prosilver Theme

MODS INSTALLED
no_avatar
Advertisement Management 1.0.6
categorize_announcements_stickies
“All God does is watch us and kill us when we get boring. We must never, ever be boring.” ~Chuck Palahniuk
User avatar
MrMontana
Registered User
Posts: 86
Joined: Wed Sep 03, 2008 7:14 am

Re: Auto ACP redirection

Post by MrMontana »

You cant be missing this code.

I searched for meta_refresh(3, $redirect);
And all i found is :

Code: Select all

$redirect = meta_refresh(3, $redirect);
			trigger_error($message . '<br /><br />' . sprintf($l_redirect, '<a href="' . $redirect . '">', '</a>'));
		}
So i just pasted the needed code above that..
And it worked for me, cheers..
User avatar
austin881
Registered User
Posts: 287
Joined: Wed Jan 30, 2008 9:58 pm
Location: Texas, USA
Name: Austin Maddox
Contact:

Re: Auto ACP redirection

Post by austin881 »

Thanks for the MOD, it works perfectly. I can't understand what is so difficult about adding this code. Why are so many people having issues? Perhaps the instructions for the includes/functions.php should read more like this...

Find:

Code: Select all

			$redirect = meta_refresh(3, $redirect);
Add Before:

Code: Select all

// BOF - Auto ACP Redirect - //
if ($admin)
      {
      redirect($redirect);
      }
// EOF - Auto ACP Redirect - //
Final Result:

Code: Select all

// BOF - Auto ACP Redirect - //
if ($admin)
      {
      redirect($redirect);
      }
// EOF - Auto ACP Redirect - //

			$redirect = meta_refresh(3, $redirect);
			trigger_error($message . '<br /><br />' . sprintf($l_redirect, '<a href="' . $redirect . '">', '</a>'));
		}
This worked flawlessly for me.
Just make your includes/functions.php look like that and you're set.
Available for paid phpBB help! PM me.

My Extensions/MODS: 475 Narius Categorized Smilies for phpBB3, Simplified & Compacted All-Members page, Flash Animated Cumulus Tag Cloud, "Hello" Name Tag of Newest User, AWS S3
phpBB portfolio: chevy truck forum, chevy astro van forum
User avatar
MrMontana
Registered User
Posts: 86
Joined: Wed Sep 03, 2008 7:14 am

Re: Auto ACP redirection

Post by MrMontana »

Its nice man, i am using it at the moment, and have no problem wit it,
Cheers :lol:
Geah :twisted:
Wx4PPT
Registered User
Posts: 6
Joined: Fri Jan 25, 2008 12:55 am

Re: Auto ACP redirection

Post by Wx4PPT »

Thank you
Mr.down
Registered User
Posts: 36
Joined: Fri Sep 12, 2008 2:04 pm

Re: Auto ACP redirection

Post by Mr.down »

thanks for this Mod 8-)
User avatar
Sunka
Registered User
Posts: 566
Joined: Wed Mar 26, 2008 2:48 pm
Location: Croatia, Zvoneca

Re: Auto ACP redirection

Post by Sunka »

Simple and clean...Thanks :mrgreen:
Aleksandar
Registered User
Posts: 144
Joined: Tue Feb 01, 2005 8:23 pm

Re: Auto ACP redirection

Post by Aleksandar »

Works like a charm. Thanks. :)
parkourmumbai
Registered User
Posts: 122
Joined: Mon Oct 20, 2008 5:34 pm

Re: Auto ACP redirection

Post by parkourmumbai »

Great, thanks.
Any chance we could get the same functionality for when we log OUT of the ACP?
evina
Registered User
Posts: 110
Joined: Mon Nov 10, 2008 2:06 am

Re: Auto ACP redirection

Post by evina »

I love the instant redirect mods. Thanks!
Godfather[GFX]
Registered User
Posts: 2
Joined: Thu Dec 04, 2008 5:45 pm

Re: Auto ACP redirection

Post by Godfather[GFX] »

wow very nice mod Thanks :D
User avatar
DragonMaster1
Registered User
Posts: 994
Joined: Tue Aug 17, 2004 11:04 am
Name: Terry
Contact:

Re: Auto ACP redirection

Post by DragonMaster1 »

dotn wrote:it dosnt work on my forum, you have in install.xml a mistake

you must find:
$redirect = meta_refresh(3, $redirect);
trigger_error($message . '<br /><br />' . sprintf($l_redirect, '<a href="' . $redirect . '">', '</a>'));
}
but no only!
meta_refresh(3, $redirect);
trigger_error($message . '<br /><br />' . sprintf($l_redirect, '<a href="' . $redirect . '">', '</a>'));
}
after this lines its all fine
Works fine for me
I just started reinstalling all my mods after the 303 & 304 killed my test board

This was the first one I added and it is perfect

THANX MUCH
is no good
Registered User
Posts: 76
Joined: Sun Nov 25, 2007 3:06 am
Location: United States

Re: Auto ACP redirection

Post by is no good »

i did everything right but no result.
I guess it doesnt work on 3.04
User avatar
DragonMaster1
Registered User
Posts: 994
Joined: Tue Aug 17, 2004 11:04 am
Name: Terry
Contact:

Re: Auto ACP redirection

Post by DragonMaster1 »

is no good wrote:i did everything right but no result.
I guess it doesnt work on 3.04
Mine does
is no good
Registered User
Posts: 76
Joined: Sun Nov 25, 2007 3:06 am
Location: United States

Re: Auto ACP redirection

Post by is no good »

DragonMaster1 wrote:
is no good wrote:i did everything right but no result.
I guess it doesnt work on 3.04
Mine does
Are you using prosilver?
Is there any solution for subsilver2?
Locked

Return to “[3.0.x] MOD Database Releases”