Forum jumpmenu module (quickly select a forum to jump to)
Posted by Maurice Makaay
All files from this thread
File Name | File Size | Posted by | Date | ||
---|---|---|---|---|---|
forum_jumpmenu-1.0.10.tar.gz | 5 KB | open | download | Maurice Makaay | 01/11/2007 | Read message |
forum_jumpmenu-1.0.10.zip | 7.1 KB | open | download | Maurice Makaay | 01/11/2007 | Read message |
January 04, 2006 02:50PM |
Admin Registered: 20 years ago Posts: 8,532 |
Here's a module that I wrote a while back. I fixed some little issues and made it fully compatible with the current 5.1 beta release. The module will add a pull down menu to your Phorum, which can be used to quickly select a forum or forumfolder to jump to.
A demo can be found at [phorum-dev.gitaar.net]
In Firefox the pulldown menu will show nice icons for forums and forumfolders. In MSIE this is not possible unfortunately.
How to install:
Unpack the archive and place the files inside the directory "mods" of your Phorum installation. Go to your admin interface and go to the "Modules" section. There you can enable the module "Display a forum selection menu". Also check out the settings for the module.
Changelog:
2007-01-10 v1.0.10
- Moved the javascript and stylesheet to the {HEAD_TAGS} template
variable, so they are within the page's <head> section.
When following strict HTML guidelines, stylesheets and
javascript are not allowed outside the <head> section.
2006-02-24 v1.0.9
- Added virtual root support (as requested by jaruz).
2006-02-24 v1.0.8
- If no forums or folders are shown at all, the jumpmenu is hidden.
- Bugfix: The read-access check is skipped on folders now.
2006-02-19 v1.0.7
- "Invalid argument supplied for foreach()" when running this mod
with no forums at all probably fixed (bug reported by Oliver Riesen).
2006-02-19 v1.0.6
- Hide forums and folders which the user cannot read, in case the
option "Hide Forums" in the general settings of Phorum is enabled.
(bug reported by Durtdawber).
2006-01-16 v1.0.5
- Hide forums and folders that are set to invisible from the select list.
2006-01-05 v1.0.4
- Hide jumpmenu on the subscribe (follow thread) page.
2006-01-04 v1.0.3
- Fixed indenting problem when using nested folders.
- Made code fully compatible with Phorum 5.1 beta.
2005-11-20 v1.0.2
- Hide jumpmenu on the login, register, post and profile pages.
- Fixed "headers already sent" problem.
- Updated code and CSS to also have a treelike view when using MSIE.
- Added setting for configuring the color that folders must have
in the jumpmenu.
2005-11-19 v1.0.1
- Added setting for disabling automatic displaying of the jumpmenu,
so template writers can use the special tag {MOD_FORUM_JUMPMENU}
to place the jumpmenu anywhere they like.
2005-11-18 v1.0.0
- Initial revision
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Edited 10 time(s). Last edit at 01/11/2007 12:51AM by mmakaay.
A demo can be found at [phorum-dev.gitaar.net]
In Firefox the pulldown menu will show nice icons for forums and forumfolders. In MSIE this is not possible unfortunately.
How to install:
Unpack the archive and place the files inside the directory "mods" of your Phorum installation. Go to your admin interface and go to the "Modules" section. There you can enable the module "Display a forum selection menu". Also check out the settings for the module.
Changelog:
2007-01-10 v1.0.10
- Moved the javascript and stylesheet to the {HEAD_TAGS} template
variable, so they are within the page's <head> section.
When following strict HTML guidelines, stylesheets and
javascript are not allowed outside the <head> section.
2006-02-24 v1.0.9
- Added virtual root support (as requested by jaruz).
2006-02-24 v1.0.8
- If no forums or folders are shown at all, the jumpmenu is hidden.
- Bugfix: The read-access check is skipped on folders now.
2006-02-19 v1.0.7
- "Invalid argument supplied for foreach()" when running this mod
with no forums at all probably fixed (bug reported by Oliver Riesen).
2006-02-19 v1.0.6
- Hide forums and folders which the user cannot read, in case the
option "Hide Forums" in the general settings of Phorum is enabled.
(bug reported by Durtdawber).
2006-01-16 v1.0.5
- Hide forums and folders that are set to invisible from the select list.
2006-01-05 v1.0.4
- Hide jumpmenu on the subscribe (follow thread) page.
2006-01-04 v1.0.3
- Fixed indenting problem when using nested folders.
- Made code fully compatible with Phorum 5.1 beta.
2005-11-20 v1.0.2
- Hide jumpmenu on the login, register, post and profile pages.
- Fixed "headers already sent" problem.
- Updated code and CSS to also have a treelike view when using MSIE.
- Added setting for configuring the color that folders must have
in the jumpmenu.
2005-11-19 v1.0.1
- Added setting for disabling automatic displaying of the jumpmenu,
so template writers can use the special tag {MOD_FORUM_JUMPMENU}
to place the jumpmenu anywhere they like.
2005-11-18 v1.0.0
- Initial revision
Maurice Makaay
Phorum Development Team
![](http://www.phorum.org/phorum5/file.php/0/2237/wordpress.png)
![](http://www.phorum.org/phorum5/file.php/0/2238/linkedin.gif)
![](http://www.phorum.org/phorum5/file.php/0/2239/secret.gif)
Edited 10 time(s). Last edit at 01/11/2007 12:51AM by mmakaay.
Re: Forum jumpmenu module (quickly select a forum to jump to) January 15, 2006 01:53PM |
Registered: 19 years ago Posts: 117 |
January 15, 2006 02:26PM |
Admin Registered: 23 years ago Posts: 4,495 |
Quote
momo
Perhaps it should be modified here : phorum_db_get_forums()
No, that function should return them as the admin uses that function. The code that calls is responsible for showing the correct ones.
Brian - Cowboy Ninja Coder - Personal Blog - Twitter
January 16, 2006 03:55AM |
Admin Registered: 20 years ago Posts: 8,532 |
I fixed the module for this. The first post has been updated with the new module version. Thanks for finding this problem.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team
![](http://www.phorum.org/phorum5/file.php/0/2237/wordpress.png)
![](http://www.phorum.org/phorum5/file.php/0/2238/linkedin.gif)
![](http://www.phorum.org/phorum5/file.php/0/2239/secret.gif)
Re: Forum jumpmenu module (quickly select a forum to jump to) January 16, 2006 04:01AM |
Registered: 19 years ago Posts: 117 |
Re: Forum jumpmenu module (quickly select a forum to jump to) February 19, 2006 12:20AM |
Registered: 18 years ago Posts: 125 |
February 19, 2006 07:07AM |
Admin Registered: 20 years ago Posts: 8,532 |
I added some code to the jumpmenu so the jumpmenu will follow Phorum's "Hide Forums" setting (hide forums if not readable for the user). Download 1.0.6 from the start message of this thread to fix the problem.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team
![](http://www.phorum.org/phorum5/file.php/0/2237/wordpress.png)
![](http://www.phorum.org/phorum5/file.php/0/2238/linkedin.gif)
![](http://www.phorum.org/phorum5/file.php/0/2239/secret.gif)
February 19, 2006 04:13PM |
Admin Registered: 18 years ago Posts: 746 |
February 19, 2006 05:26PM |
Admin Registered: 20 years ago Posts: 8,532 |
I think I fixed that in 1.0.7. You can download it from the first post.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team
![](http://www.phorum.org/phorum5/file.php/0/2237/wordpress.png)
![](http://www.phorum.org/phorum5/file.php/0/2238/linkedin.gif)
![](http://www.phorum.org/phorum5/file.php/0/2239/secret.gif)
Re: Forum jumpmenu module (quickly select a forum to jump to) February 19, 2006 08:08PM |
Registered: 18 years ago Posts: 125 |
Sorry, only registered users may post in this forum.