Firefox PHP

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
Forum jumpmenu module (quickly select a forum to jump to)
January 04, 2006 02:50PM
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.
Attachments:
open | download - forum_jumpmenu-1.0.10.tar.gz (5 KB)
open | download - forum_jumpmenu-1.0.10.zip (7.1 KB)
Re: Forum jumpmenu module (quickly select a forum to jump to)
January 15, 2006 01:53PM
Hi Maurice,

Very great mod.
I think it will be perfect if jumpmenu don't show folders & forums that are set to invisible.

Perhaps it should be modified here : phorum_db_get_forums()

Thanks you
Re: Forum jumpmenu module (quickly select a forum to jump to)
January 15, 2006 02:26PM
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
Re: Forum jumpmenu module (quickly select a forum to jump to)
January 16, 2006 03:55AM
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
Re: Forum jumpmenu module (quickly select a forum to jump to)
January 16, 2006 04:01AM
Hi,

Thank you Maurice. It works fine. ;)
Re: Forum jumpmenu module (quickly select a forum to jump to)
February 19, 2006 12:20AM
I have some forums that only show up in the index and are only access based on group membership. When I installed jumpmenu, these forums showed up in the list for all users. Is there a way to make this show the same forums that a person would see in their index?

Thanks
Re: Forum jumpmenu module (quickly select a forum to jump to)
February 19, 2006 07:07AM
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
Re: Forum jumpmenu module (quickly select a forum to jump to)
February 19, 2006 04:13PM
Hi Maurice,

I added your mod to my empty phorum installation. Your mod is already active.

When I start the conversion script (phorum3to5convert.php) I get an error message:

Invalid argument supplied for foreach() in .../mods/forum_jumpmenu/forum_jumpmenu.php on line 58

Oliver
Re: Forum jumpmenu module (quickly select a forum to jump to)
February 19, 2006 05:26PM
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
Re: Forum jumpmenu module (quickly select a forum to jump to)
February 19, 2006 08:08PM
Thanks Maurice. I'll give it a try.
Sorry, only registered users may post in this forum.

Click here to login