[3.1][3.2][RC] April Fools (bugs in the machine)

My little contributions to the phpBB 3.1.x and 3.2.x world. Please read the note on Version Numbering to ensure you download the correct Extension version.
Administrator
Site Admin
Posts: 391
Joined: Tue Nov 18, 2014 11:30 am

[3.1][3.2][RC] April Fools (bugs in the machine)

Post by Administrator » Fri Mar 09, 2018 4:38 pm

Extension Name: April Fools
Author: HiFiKabin

Extension Description: Adds flies and/or spiders crawling over the index page of your forum.

Drive your users mad :smt023

Sceeenshot:
April_Fools.jpg
Based On: Bug by Graham McNicoll

Live Demo: Extension Version: 1.0.0-RC2

Supported Styles:
  • prosilver
Installation:
  • Download the latest release and unzip it.
  • Upload the folder hifikabin to root/ext/ and enable it in the ACP


Download:

aprilfools_1_0_0-RC2.zip

Support:

The Contact Us link at the bottom of this Forum or phpBB.com

Previous Versions
You do not have the required permissions to view the files attached to this post.

Administrator
Site Admin
Posts: 391
Joined: Tue Nov 18, 2014 11:30 am

Re: [3.1][3.2][RC] April Fools (bugs in the machine)

Post by Administrator » Fri Apr 12, 2019 10:07 am

Spiders Only:

OPEN

ext/hifikabim/aprilfools/styles/prosilver/template/event/overall_footer_body_after.html

DELETE

Code: Select all

	// default fruit fly bug:
	new BugController({
	});
SAVE UPLOAD PURGE CACHE

Flies Only:

OPEN

ext/hifikabim/aprilfools/styles/prosilver/template/event/overall_footer_body_after.html

DELETE

Code: Select all

	// default spiders:
	new SpiderController({
	});
SAVE UPLOAD PURGE CACHE



Show Everywhere:

OPEN

ext/hifikabim/aprilfools/styles/prosilver/template/event/overall_footer_body_after.html

AND

ext/hifikabim/aprilfools/styles/prosilver/template/event/overall_header_head_append.html

DELETE

Code: Select all

{% if S_INDEX %}
AND

Code: Select all

{% endif %}

SAVE UPLOAD PURGE CACHE

Show on one or more forums ONLY:

OPEN

hifikabin/aprilfools/styles/prosilver/template/event/overall_header_body_before.html

hifikabin/aprilfools/styles/prosilver/template/event/overall_header_head_append.html

FIND

Code: Select all

{% if S_INDEX %}
REPLACE WITH

Code: Select all

{% if FORUM_ID in [x, y] %}
where x and y are your forum id numbers. You can have as many as you like, just separate them with a , followed by a space. Note that the forum id's are in square brackets not the curly ones that contain the whole code.

SAVE, UPLOAD, PURGE CACHE




Also See HERE

Administrator
Site Admin
Posts: 391
Joined: Tue Nov 18, 2014 11:30 am

Re: [3.1][3.2][RC] April Fools (bugs in the machine)

Post by Administrator » Fri Apr 12, 2019 10:09 am

1.0.0-RC2 now available.

Code tidied, Spiders and flies will not work if the user has JS disabled and are disabled.

Update from previous version:
  • Download the latest release and unzip it.
  • Disable April Fools in the ACP
  • Delete aprilfools folder from the server
  • Upload the folder hifikabin to root/ext/
  • Enable it in the ACP