Brivium - PHP/HTML/BB Code Sidebar Blocks

xF1 Add-on Brivium - PHP/HTML/BB Code Sidebar Blocks 1.1.1

No permission to download
Compatible XF Versions
  1. 1.2
  2. 1.3
  3. 1.4
This mod will allow you to add/create unlimited custom sidebar blocks at your forum.

Installation: First unzip the mod package and ftp the library folder inside to the root of your forum folder. Then go to your Acp->Add-ons->Install New Add-on->Install from uploaded file:
Click the Browse button, locate the addon.xml file inside the mod package and hit the Install Add On button.

Then to add unlimited sidebar blocks and manage them go to: Admin Panel->Home->Custom Sidebar Blocks.

To add sidebar blocks click the Create Sidebar Blocks button. There you can choose the type of block that you want to add, html, php or Smiley&BB Code, enter the title and the content of the block and choose the display order.

For each block you can set the following options:

1) Make it active/disable it

2) Choose the type of the block (HTML, PHP, BBCode)

3) Add the Title

4) Add the Content

5) Choose the display order.

To manage the sidebars that you added click the List Sidebar Blocks button.

To use php in your content, use the $output variable to out put the code. For ex:

Code:
$output = 'Hello World!';
return $output;

Or to display the user 's name:

Code:
$visitor = XenForo_Visitor::getInstance();
$output = "Hello ". $visitor['username']. ".";
return $output;

Permissions:
To allow a group(s) to view the custom sidebar blocks, go to the User Group Permissions->General->Can view custom sidebar blocks:: Set this to allow and save the changes.

To have a more detailed idea of how it looks like when being used, please check out the attached screenshots.
  • 01_list_custom_slidebar.png
    01_list_custom_slidebar.png
    49.3 KB · Views: 146
  • 02_create_slidebar.png
    02_create_slidebar.png
    20.9 KB · Views: 146
  • 03_edit_slidebar.png
    03_edit_slidebar.png
    21.2 KB · Views: 150
  • 04_permission.png
    04_permission.png
    2.2 KB · Views: 147
  • 05_custom_slidebar.png
    05_custom_slidebar.png
    7.5 KB · Views: 143
Author
Admin
Size
11.9 KB
Extension
zip
Downloads
11
Views
1,770
First release
Last update

More resources from Admin

Similar resources

Brivium - PHP/HTML/BB Code Homepage Admin
This add-on allows you to add more content block to the homepage.
Brivium - 404 Essential AnimeHaxor
Perfect solution for 404 Error of webpages by automatically review and fix it next time.
Brivium - Account Security Essential AnimeHaxor
This add-on is the safety solution of security in your forum/site with effective methods.
Brivium - Advanced Contact Us AnimeHaxor
This add-on provides additional features to the core contact to keep track of contact history.
Brivium - Advanced Forum Rules AnimeHaxor
Nobody can read the forum content without their confirmations to read the forum rules.
731Threads
2,287Messages
63,787Members
MoonshotLatest member
Back