Brivium - PHP/HTML/BB Code Sidebar Blocks

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

No permission to download
📀 Resource submitted by: Admin • 💬 Messages: 15975 • 🏆 Points: 113 • 👍 Likes: 56418 • 📀 Resources: 6006
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: 189
  • 02_create_slidebar.png
    02_create_slidebar.png
    20.9 KB · Views: 187
  • 03_edit_slidebar.png
    03_edit_slidebar.png
    21.2 KB · Views: 193
  • 04_permission.png
    04_permission.png
    2.2 KB · Views: 197
  • 05_custom_slidebar.png
    05_custom_slidebar.png
    7.5 KB · Views: 184
Author
Admin
Size
11.9 KB
Extension
zip
Downloads
11
Views
1,830
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 -  Resources Pagination by Alphabetical AnimeHaxor
Adds a list of alphabetical links to jump to the the page showing resources start with that letter.
Brivium - 404 Essential AnimeHaxor
Perfect solution for 404 Error of webpages by automatically review and fix it next time.
Brivium - Active User Upgrades Browser AnimeHaxor
Provide your list active user upgrades with additional browser functions.
Brivium - Active User Upgrades Exporter AnimeHaxor
Provide your list active user upgrades with additional exporter functions.

741Threads
2,316Messages
68,404Members
mmvLatest member
Back