[3.3][CDB] April Fool (Text Terror)

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

[3.3][CDB] April Fool (Text Terror)

Post by Administrator »

Extension Name: April Fool (Text Terror) Image
Author: HiFiKabin

Extension Description: When hovering over the text in View Topic and when viewing PM's the text is inverted and gradually fades out over 2 seconds. Normality is resumed when the cursor is moved off of the text area.

Extension Version: 3.2.0-

Language: NA

Supported Styles:
  • prosilver and most prosilver based styles.
Demo: HERE

Installation:
  • Download the latest release and unzip it.
  • Upload the folder hifikabin to root/ext/ and enable it in the ACP
To activate on a specific date ONLY see HERE

Support:

The contact us link at the bottom of this Board or CDB Topic


April_Fool_(Text Terror)_3_2_0.zip
You do not have the required permissions to view the files attached to this post.
Administrator
Site Admin
Posts: 804
Joined: Tue Nov 18, 2014 11:30 am

Re: [3.3][CDB] April Fool (Text Terror)

Post by Administrator »

3.2.0 now available Released to the CDB


Update from previous version:
  • Download the latest release and unzip it.
  • Disable April Fool (Text Terror) in the ACP
  • Delete textterror folder from the server
  • Upload the folder hifikabin to root/ext/
  • Enable it in the ACP
Administrator
Site Admin
Posts: 804
Joined: Tue Nov 18, 2014 11:30 am

Re: [3.3][CDB] April Fool (Text Terror)

Post by Administrator »

Activate on specific date only:

By using the following code you can have the extension activate itself on a specific date.

OPEN

ext/hifikabim/textterror/styles/all/template/event/overall_footer_body_after.html


FIND

Code: Select all

{% INCLUDECSS '@hifikabin_textterror/textterror.css' %}
REPLACE WITH

Code: Select all

{% set today = 'now'|date('m/d') %}
{% set aprilfools = '04/01' %}
{% if today == aprilfools %]
{% INCLUDECSS '@hifikabin_textterror/textterror.css' %}
{% endif %}
SAVE UPLOAD PURGE BOARD CACHE

Now you can activate the extension in the ACP but it will not become active until the specified date (April 1st if the default setting, to choose a different date edit

Code: Select all

{% set aprilfools = '04/01' %}
to the MM/DD you require