I've attached the a new version of the Forum List Pal to this post. The change is that it's possible to select how many columns the forum list should be. It seems to work on my test board.
Just unzip the file and save it over one of your customboxXpal.php files in your pals/ directory. If you set it as any other pal box than 1, you will have to change which one in the variable at the top of the script.
Also note that if you are caching the information in this pal box you must set force public to 1, otherwise users will see forums they are not supposed to.
I set this up yesterday, played with it, and then took it back down. A couple of suggestions:
Start a new thread for this mod. It's gonna get lost here in the land of IIP
Take out the code that forces the list to start a new row at the half way point (I've already done it on my copy). The column is too large and it causes all of the IIP Pals to take on the same dimentions.
There doesn't seem to be any access level checking. It did not display hidden forums, even when I was logged in as admin on my board.
Work out the "kinks" and it would make an EXCELLENT forum menu!
I split this off from the main IIP post... it was on Page 32 for me... I wanted to be sure that anyone who might want your addon could find it easily. They might not in that thread. That thread is waaaaaaaay long.
It depends on how long your forum names are if it will be too wide, looked perfect for me. =] Always has too on the static list I've had for my site for ages so I didn't think there would be a problem. =] I'll add a config option for how many columns there should be.
It does check for access level, or rather, it uses the checking that IIP does, so if it's after some pal that screws it up it won't work. Also, if you have force public it will be forced to a public listing, of course. The information that is cached shouldn't be specific to one user. There is no other way I can do this that I can think of, other than removing the caching option completely, but I felt that it would be better to set that up in the config instead.
OK, I've now released version 1.1 which includes the possibility to change how many columns the list should be. Haven't changed how it defines which boards to display, need more input before I know if there is something I can do with that bit.
This is written for 5.3, but seems to work even for 5.1 if the variables $tbopen and $tbclose are set to an open and closing table tag.
Small bug found. I had missed one $CustomBox1Data variable which can cause the cache update to be a bit off. I've updated the zip in the first post of this thread with the latest version.
For those who have it installed (is anyone using it?), you need to change the following row:
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.