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.
As there is no sidebar nor CMS in 3.x there is no way to port it to 3.x. It would need to be a completely separate mod. I would not be interested in making that mod, sorry.
I found a typo in your instructions. See the bold text below:
Quote:
========= INSTALL or UPGRADE ========
To Install:
In Admin CP go to Plugins & Products -> Manage Products -> Add/Import Product
Click on "Choose File" and browse to the product xml file that was packaged in the .zip file.
Click "Import"
Next you must add the code below to the additional.css template of each style (Admin CP -> Style Manager -> (Choose Style) -> Edit Templates -> CSS Tmplatees -> additional.css
Also, I don't suppose you have a sidebar modification to show normal members?
Hi not working with 4.20 displaying the "Array" text inside the side block
Make sure you have reverted all your templates to the VB 4.2.0 versions. This happens if you still have older 4.x templates being used- there is usually a message in the top of the Admin CP saying X number of templates need to be reverted.
Quote:
Originally Posted by Amaury25
I found a typo in your instructions. See the bold text below:
Also, I don't suppose you have a sidebar modification to show normal members?
EDIT: I found one by Lynne last night.
Good eye.
Quote:
Originally Posted by Andrei29
The side block alignment all went out of order and avatar and names overlap each other
Likely due to custom styles, you will probably need to play with the CSS.