Skip to content

Commit

Permalink
Add support for IPS 4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
aXenDeveloper committed May 29, 2022
1 parent 142c6f1 commit 3152151
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin name="(aXen) Administrative bar" version_long="20001" version_human="2.1.0" author="aXenDev" website="https://axendev.net/" update_check="http://axendev.net/myapps/plugins/administrativebar/check.php"><hooks><hook type="S" class="\IPS\Theme\class_core_front_global" filename="administrativebar"><![CDATA[//<?php
<plugin name="(aXen) Administrative bar" version_long="20002" version_human="2.1.1" author="aXenDev" website="https://axendev.net/" update_check="http://axendev.net/myapps/plugins/administrativebar/check.php"><hooks><hook type="S" class="\IPS\Theme\class_core_front_global" filename="administrativebar"><![CDATA[//<?php
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
Expand Down Expand Up @@ -114,6 +114,35 @@ class ips_plugins_setup_upg_20001
return TRUE;
}
// You can create as many additional methods (step2, step3, etc.) as is necessary.
// Each step will be executed in a new HTTP request
}]]></version><version long="20002" human="2.1.1"><![CDATA[//<?php
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
}
/**
* 2.1.1 Upgrade Code
*/
class ips_plugins_setup_upg_20002
{
/**
* ...
*
* @return array If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
*/
public function step1()
{
return TRUE;
}
// You can create as many additional methods (step2, step3, etc.) as is necessary.
// Each step will be executed in a new HTTP request
}]]></version></versions></plugin>
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# (aXen) Administrative bar

The plugin adds the administration bar known from previous versions of IP.Board.

## 🏷️ Requirements
- [IPS Community Suite: 4.5, 4.6 version](https://invisioncommunity.com/)

- [IPS Community Suite: 4.5, 4.6, 4.7 version](https://invisioncommunity.com/)

## 🧰 Install

Expand All @@ -21,11 +23,13 @@ The plugin adds the administration bar known from previous versions of IP.Board.
3. Select file .xml from packet and click install button.

## 📷 Screenshots

![1](https://github.com/aXenDeveloper/ips-administrative-bar/blob/master/1.png?raw=true)
![2](https://github.com/aXenDeveloper/ips-administrative-bar/blob/master/2.png?raw=true)

## 🔌 Download from other sources:

- [invisioncommunity.com](https://invisioncommunity.com/files/file/9497-axen-administrative-bar/),
- [invisionize.pl](https://forum.invisionize.pl/files/file/793-axen-administrative-bar/)

*The resources from the links above are updated on an ongoing basis if the administration approves the file.*
_The resources from the links above are updated on an ongoing basis if the administration approves the file._

0 comments on commit 3152151

Please sign in to comment.