Added phrases for "None" and "No staff currently online." text.
Made code more compatible with older VB Versions (should work in 4.1.x now)
This is my first attempt at a Sideblock and Widget. The purpose of this is to list all forum staff members online.
There are settings to choose which usergroups are considered staff groups and for other basic settings.
The product .xml file contains the necessary templates and phrases but you will need to manually install the sideblock code itself and/or manually create the widget.
Specific installation instructions are in the .txt file in the zip file but the overall process is:
Upload the Product XML File
Add code to additional.css template
Edit Settings in Admin CP -> Options to setup your options
Create Sideblock (if using Sideblock)
Create Widget (if using widget)
Add Widget to Layout(s) (if using widget)
Overall this is working well- it is Beta as it's my fist Sideblock and Widget. I know it works on VB 4.2.0 but it should work on earlier versions as well (code was revised in Beta 0.99 for greater compatibility.)
If you get an error at the top of the browser window when you enable the sideblock or widget you know your VB version is too old.
In addition to working with my Font Selection by Username mod it will also work withe my Sidebar Anywhere mod.
Does not work with "Everywhere Sidebar" mod but DOES work with MY "Sidebar Anywhere" mod.
Thanks. I'll try to get Everything Sidebar running on one of my test sites and see if I can get them to work together... hopefully this week, no promises though.
There's no staff currently online so I can't see the issue first hand, I will keep an eye out though today and see if I catch it with someone online.
The most likely reason is that the additiona.css code was wrong, missing, incomplete, or even put in the wrong style.
You currently have CSS stored in the database so I can't confirm it is correct but if you could move CSS to the file system (which i think is better overall anyway) then I can confirm.
Admin CP -> Settings -> Style & Language Setting -> Store CSS Stylesheets in Filesystem -> Yes (in most cases this works fine without any permission edits needed, try it and see.)
OK thanks for the feedback. If I can get someone to confirm I will note it in the first post.
I did what was asked, still not working right. Here is a pic, dunno if this helps click here for pick
Well I could not get this to work with Everywhere Sidebar...
However I WAS able to update my Sidebar for Activity Stream mod to work on all pages, so I now call it Sidebar Anywhere by BOP5 and it's fully compatible with this mod.
Sidebar Anywhere does most of the things Everywhere Sidebar does except for custom blocks per page, custom width, and collapsible by usergroup- but it does most of the same things- and it does it without a copyright notice on every sidebar.
This is the best I can do at the moment- I am not going to peruse trying to make it work with Everywhere Sidebar any longer.
Is there any way to change the title from "Current Staff Online"? I changed the title in my block like normal but it does not change the title when displayed. I am using 4.2.0 Patch Level 2.