[3.2][3.3][CDB] Fred The Bat (Cursor Follower)

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.2][3.3][CDB] Fred The Bat (Cursor Follower)

Post by Administrator »

Extension Name: Fred The Bat Image Image Image
Author: HiFiKabin

Extension Description: Image follows the cursor around the screen of the index page, just right for Halloween. If the user has JS disabled then Fred will not work and is hidden from view.

Live Demo: HERE

Extension Version: 1.0.2

Supported Styles:
  • Prosilver
Notes:
  • The code is run every 120 microseconds and may cause problems with low CPU and low memory devices.
  • Why Fred? I had him on a phpBB 2 forum many years ago and someone called him Fred. The name has stuck
  • Options see HERE

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

To activate on a specific date ONLY see HERE

Support:

The contact us link at the bottom of this Forum or CDB topic

Previous Versions
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.2][3.3][CDB] Fred The Bat (Cursor Follower)

Post by Administrator »

Alternative Themes:

There are 3 other images in the .zip file below that you can use instead of Fred. To use one of them, unzip the package, then unzip the image you require. You will then have a folder called theme on your desktop. Disable the extension, and replace the hifikabin/fredthebat/styles/all/theme folder with the one you have just unzipped. Enable the extension and refresh your browser.

Image Image Image

alternative_themes.zip

To use your own image:

Save it to root/ext/hifikabin/fredthebat/styles/all/theme/images

OPEN

root/ext/hifikabin/fredthebat/styles/all/theme/fredthebat.css

FIND

Code: Select all

#fredthebat {
	position: fixed;
	background: url("./images/cursor_fred.gif") 0 0 no-repeat;
	margin-left: 20px;
	width: 75px;
	height: 30px;
	display: none;
	z-index: 100;
}
CHANGE

Code: Select all

cursor_fred.gif
To your new images name

CHANGE

Code: Select all

	width: 75px;
	height: 30px;
to those of the new image

SAVE, UPLOAD, PURGE CACHE

To show Fred on all pages:

OPEN

hifikabin/fredthebat/styles/all/template/event/overall_header_body_before.html

hifikabin/fredthebat/styles/all/template/event/overall_header_head_append.html

FIND AND DELETE

Code: Select all

{% if S_INDEX %}

Code: Select all

{% endif %}
SAVE, UPLOAD, PURGE CACHE

To show Fred on one or more forums ONLY:

OPEN

hifikabin/fredthebat/styles/all/template/event/overall_header_body_before.html

hifikabin/fredthebat/styles/all/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

To have Fred fly closer to or further from the cursor:

OPEN

hifikabin/fredthebat/styles/all/theme/fredthebat.css

FIND

Code: Select all

	margin-left: 20px;
CHANGE

20px to the distance required

SAVE, UPLOAD, PURGE CACHE
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.2][3.3][CDB] Fred The Bat (Cursor Follower)

Post by Administrator »

1.0.0_RC4 now available.

If the user has JS disabled then Fred will not work and is hidden from view.

Update from previous version:
  • Download the latest release and unzip it.
  • Disable Fred The Bat in the ACP
  • Delete fredthebat 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.2][3.3][CDB] Fred The Bat (Cursor Follower)

Post by Administrator »

1.0.0_RC5 now available.

Fred now appears on the index page only, and is hidden in small devices.

Update from previous version:
  • Download the latest release and unzip it.
  • Disable Fred The Bat in the ACP
  • Delete fredthebat 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.2][3.3][CDB] Fred The Bat (Cursor Follower)

Post by Administrator »

1.0.0_RC6 Image now available.

W3C errors corrected

Update from previous version:
  • Download the latest release and unzip it.
  • Disable Fred The Bat in the ACP
  • Delete fredthebat 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.2][3.3][CDB] Fred The Bat (Cursor Follower)

Post by Administrator »

1.0.0 CDB topic
Administrator
Site Admin
Posts: 804
Joined: Tue Nov 18, 2014 11:30 am

Re: [3.2][3.3][CDB] Fred The Bat (Cursor Follower)

Post by Administrator »

1.0.1 Image now available.

Errors that prevented Fred from displaying correctly in RTL boards now corrected

Update from previous version:
  • Download the latest release and unzip it.
  • Disable Fred The Bat in the ACP
  • Delete fredthebat 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.2][3.3][CDB] Fred The Bat (Cursor Follower)

Post by Administrator »

1.0.2-RC1 Image now available.

Fred is now positioned better on the screen, Live Demo added HERE

Update from previous version:
  • Download the latest release and unzip it.
  • Disable Fred The Bat in the ACP
  • Delete fredthebat 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.2][3.3][CDB] Fred The Bat (Cursor Follower)

Post by Administrator »

1.0.2-RC2 now available. Image Image Image

Live Demo added HERE

Update from previous version:
  • Download the latest release and unzip it.
  • Disable Fred The Bat in the ACP
  • Delete fredthebat 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.2][3.3][CDB] Fred The Bat (Cursor Follower)

Post by Administrator »

1.0.2 now available. Image Image Image

Approved to the CDB

Live Demo added HERE

Update from previous version:
  • Download the latest release and unzip it.
  • Disable Fred The Bat in the ACP
  • Delete fredthebat folder from the server
  • Upload the folder hifikabin to root/ext/
  • Enable it in the ACP