[ABD] ACP April Fools Prank (STG Style)

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
Highway of Life
Former Team Member
Posts: 6048
Joined: Wed Feb 02, 2005 5:41 pm
Location: Seattle, WA
Name: David Lewis
Contact:

[ABD] ACP April Fools Prank (STG Style)

Post by Highway of Life »

Classification: Add-on
phpBB Part: Forum

MOD Author: Highway of Life
MOD Title: ACP April Fools Prank
MOD Description: This is not an actual MOD at this point, but as April 1st is coming up and I’ve been asked to release this hack, here it is.
There will be very LIMITED support. It is not packaged up in Typical MOD fashion.
There is no MODX file. You have to edit the files with very limited instruction, so if this scares you, please do not use this MOD.

NOTES:
Values to change are located in /acp/index.php, change to your liking. Many links may link to STG, I didn’t spend time to go through it, just packaged it up and put it together.
When I created this MOD, I never had the intention of releasing it, so it’s really very hacky.

MOD Version: 0.1.0

Works with:
  • phpBB 3.0.0
Format:
Manual Hack/install

Language: English

Licence: GNU General Public License v2

Installation Instructions:
OPEN: /includes/functions.php
FIND:

Code: Select all

'U_ACP' => ($auth->acl_get('a_') && $user->data['is_registered']) ? append_sid("{$phpbb_root_path}adm/index.$phpEx", false, true, $user->session_id) : '') 
REPLACE, WITH:

Code: Select all

'U_ACP' => ($auth->acl_get('a_') && $user->data['is_registered']) ? append_sid("{$phpbb_root_path}adm/index.$phpEx", false, true, $user->session_id) : append_sid("{$phpbb_root_path}acp/index.$phpEx")) 
COPY: /acp/ to /acp/

Installation Level: Easy
Installation Time: 2 Minutes
Format: Manual (Hack)
Download: ACP April Fools Prank
The phpBB Weekly Podcast - Discussing the developments of phpBB4 and beyond.

New to phpBB3? Want to learn about programing?
Visit phpBB Academy at StarTrekGuide to learn how.
User avatar
MaXpl17
Registered User
Posts: 5
Joined: Sat Jul 21, 2007 1:14 pm

Re: [ALPHA] ACP April Fools Prank (STG Style)

Post by MaXpl17 »

COPY: /acp/ to /acp/
Are you sure? I think, it should be:
COPY: /adm/ to /acp/
;)

Sorry for my bad English :P
User avatar
Brf
Support Team Member
Support Team Member
Posts: 52229
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: [ALPHA] ACP April Fools Prank (STG Style)

Post by Brf »

There is no /adm/ in this mod....
As the instructions say, copy the mod's /acp/ folder to your forum's /acp/ folder.
User avatar
MaXpl17
Registered User
Posts: 5
Joined: Sat Jul 21, 2007 1:14 pm

Re: [ALPHA] ACP April Fools Prank (STG Style)

Post by MaXpl17 »

Hmmm.... Oh. Ok. Sorry for my previous post ;)
I thought wrong.

I thought:
Copy phpBB3/adm to phpBB3/acp
I'm sorry ;)
User avatar
Highway of Life
Former Team Member
Posts: 6048
Joined: Wed Feb 02, 2005 5:41 pm
Location: Seattle, WA
Name: David Lewis
Contact:

Re: [ALPHA] ACP April Fools Prank (STG Style)

Post by Highway of Life »

No, remember its a prank, so we’re creating a "fake" ACP, therefore the directory name is "acp", it makes it even more convincing. :D
The phpBB Weekly Podcast - Discussing the developments of phpBB4 and beyond.

New to phpBB3? Want to learn about programing?
Visit phpBB Academy at StarTrekGuide to learn how.
User avatar
WhiteWolfSix
Registered User
Posts: 258
Joined: Sun May 15, 2005 5:43 am

Re: [ALPHA] ACP April Fools Prank (STG Style)

Post by WhiteWolfSix »

Highway: It's great but I am missing smilies folder in acp/images :mrgreen:
Image
WhiteWolfSix (WW6)
User avatar
bbjimbb
Registered User
Posts: 98
Joined: Sat Jan 12, 2008 10:08 am

Re: [ALPHA] ACP April Fools Prank (STG Style)

Post by bbjimbb »

Nice :D
Only unfortunately you didn't use language varibles.
I hope my users are thinking a ACP is always english. ;)
Excuse me for my bad english. I hope you understand my posts. ;)
xer9281
Registered User
Posts: 72
Joined: Fri Feb 22, 2008 7:02 pm
Location: phppBB

Re: [ALPHA] ACP April Fools Prank (STG Style)

Post by xer9281 »

It's cool but i can guarantee that no one on my board will see the ACP link :| if it's there (where it should be) how can i put it higher? maybe next to the user control panel?
User avatar
Highway of Life
Former Team Member
Posts: 6048
Joined: Wed Feb 02, 2005 5:41 pm
Location: Seattle, WA
Name: David Lewis
Contact:

Re: [ALPHA] ACP April Fools Prank (STG Style)

Post by Highway of Life »

bbjimbb wrote:Nice :D
Only unfortunately you didn't use language varibles.
I hope my users are thinking a ACP is always english. ;)
No indeed, it was a quick one-day hack that I created, I never meant for it to be a MOD or distributed outside of STG, but due to the requests, I decided to... ehm... make it available. :)
If there were more months until April 1st, I would have made it properly, but due to time constraints, I cannot. :(

WhiteWolf... heh, seems I didn't SVN commit them before I did the export... will get those uploaded ASAP
The phpBB Weekly Podcast - Discussing the developments of phpBB4 and beyond.

New to phpBB3? Want to learn about programing?
Visit phpBB Academy at StarTrekGuide to learn how.
User avatar
*Capmaster*
Registered User
Posts: 159
Joined: Tue Mar 20, 2007 5:00 pm
Location: Albuquerque, NM
Contact:

Re: [ALPHA] ACP April Fools Prank (STG Style)

Post by *Capmaster* »

My fault it's "rough". I bribed HOL to write it Image
RedTrinity
Registered User
Posts: 1327
Joined: Sat May 06, 2006 3:32 am

Re: [ALPHA] ACP April Fools Prank (STG Style)

Post by RedTrinity »

Highway of Life wrote: WhiteWolf... heh, seems I didn't SVN commit them before I did the export... will get those uploaded ASAP
Please please please :D I just installed this ready for tomorrow, and its only 10 mins till midnight (April Fools Day) now here ;)
User avatar
*Capmaster*
Registered User
Posts: 159
Joined: Tue Mar 20, 2007 5:00 pm
Location: Albuquerque, NM
Contact:

Re: [ALPHA] ACP April Fools Prank (STG Style)

Post by *Capmaster* »

Works great! I've got the server files all ready and have linked to the bogus ACP so my mods know about it and they can try it out. Just need to upload the edited functions.php before midnight :mrgreen:

I modified it a bit. Hope you don't mind. I replaced your smilies with my own in this section of index.php:

Code: Select all

if ($page && $_SESSION['clicks'] > 1)
{
	echo '<h1>';
	$joke_array = array(
		'Ha! April Fools!! <br /><br /><img src="./images/smilies/nelson.png" />',
		'Okay, yeah, it is an April Fools Prank <img src="./images/smilies/icon_tongue.gif" />',
		'Did you think we would really allow access to our Administrator Control Panel? <img src="./images/smilies/icon_naanaa.gif" />',
		'You liked it, didn’t you? <img src="./images/smilies/icon_mrgreen.gif" />',
etc.........
etc......
);
The first click shows this now:

Image


I also had to ditch the quick style change links at the upper right. If the member had a style other than Prosilver or Subsilver2, it would kaibash the html and display everything on the page as text.
User avatar
Highway of Life
Former Team Member
Posts: 6048
Joined: Wed Feb 02, 2005 5:41 pm
Location: Seattle, WA
Name: David Lewis
Contact:

Re: [ALPHA] ACP April Fools Prank (STG Style)

Post by Highway of Life »

excellent, Capmaster! ... oh yes, feel free to modify, I posted it for you, afterall. It’s not really a MOD (as you can tell by all the breaching of coding guidelines, etc)
The phpBB Weekly Podcast - Discussing the developments of phpBB4 and beyond.

New to phpBB3? Want to learn about programing?
Visit phpBB Academy at StarTrekGuide to learn how.
spiketmr
Registered User
Posts: 3
Joined: Mon May 08, 2006 8:15 pm

Re: [ALPHA] ACP April Fools Prank (STG Style)

Post by spiketmr »

awesome....can't wait to hear the reactions of my members
RedTrinity
Registered User
Posts: 1327
Joined: Sat May 06, 2006 3:32 am

Re: [ALPHA] ACP April Fools Prank (STG Style)

Post by RedTrinity »

Just wanted to drop in and say thanks to those responsible for this MOD, it worked a treat on our forum! Coupled with the fact I changed all regular users to a dud Admin usergroup (colour, rank etc) and staff to a dud "banned" one, they all fell for it pretty fast!

As soon as I changed it over at 12am last night, I had a PM from a relatively new member within 15 mins asking if the system was bugged because of the colours/ranks being wrong :lol:

So a successful April Fools Day prank here :D Thanks again!
Locked

Return to “[3.0.x] Abandoned MODs”