SimplePortal
Customization => Blocks and Modifications => Topic started by: Chen Zhen on March 24, 2014, 11:08:50 PM
-
Simple Portal Plugin ~ jQuery Navgoco Menus
Version 1.3
Copyright 2014 ~ c/o Underdog @ http://webdevelop.comli.com
Distributed under the CC BY 4.0 License (http://creativecommons.org/licenses/by/4.0/)
This modification will function with Simple Portal 2.3.5
It will allow you to use a customized jQuery/javascript Board Menu.
Third party plugins used:
- jQuery v1.10.2 | Copyright 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
- jQuery Cookie Plugin v1.3.1 | Copyright 2013 Klaus Hartl ~ Released under the MIT license
- jQuery Navgoco Menus Plugin v0.2.0 | Copyright 2014 Chris T (@tefra) ~ BSD License (https://github.com/tefra/navgoco/blob/master/LICENSE-BSD)
The third parties listed above are not in any way affiliated with Simple Portal or its staff.
Version History
v 1.3
+ option to anchor categories or enable onclick that toggles jQuery boards view
+ option to anchor boards or link to their page
+ empty boards are anchored by default
! fixed duplicate category id
! empty categories no longer displayed
! fixed accordion display setting (was reversed)
! fixed behavior of custom toggle icons when accordion is disabled
! fixed display of empty boards
v 1.2
+ added option to use default toggle icons
+ added color option for default toggle icons
+ css file updated due to default toggle option
! removed hash symbol where no color code is entered
! fixed removal of db entries during uninstallation process
! selecting no boards defaults to all boards
v 1.1
+ default admin values provided for a newly created Navgoco block
+ file names filtered for safe application
! toggle icons revert to defaults for categories not currently selected
v 1.0
+ custom jQuery files included with installation
+ css link dynamically inserted into head of theme template
+ added various custom styling options
+ options to use custom toggle icons
+ block installs directly into the Simple Portal block list
Disclaimers:
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please read all other 3rd party license agreements contained within this package.
For this feature to function you must have Simple Portal installed onto your SMF 2.0.X forum.
-
Great, good work! :applause:
-
Simple Portal Plugin ~ jQuery Navgoco Menus
This plugin has been updated to version 1.1 which includes changes outlined in this thread's first post.
Tested on the following browsers (version numbers denote desktop/laptop, and/or mobile devices):
Browser | | Version(s) |
Mozilla Firefox | | Desktop~27.0.1, 28.0 | Android~28.0.1 |
Google Chrome | | Desktop~1.3.22.5 | Android~33.0.1 |
Safari | | Desktop~5.1.7 |
Opera | | Desktop~12.16 |
Internet Explorer | | Desktop~11.0.9 |
Regards.
-
Version 1.2 fixes some minor issues and adds the option to use the original Navgoco default toggle icons.
Regards.
-
Version 1.3 fixes some more minor issues and changes the behavior of clicking on a category.
Please read the changelog for details.
Regards.
-
I have been using this menu mod for some time and it is a great mod. I like it very much.
I wonder if you might have an idea on what is causing the following behaviour.
I just purchased Likes Pro mod from SMFPacks http://www.smfpacks.com/likes and when I use this mod everytime I click on a post the full Navgoco menu opens to show all of the boards at once. I appreciate that you are nothing to do with the Likes Pro mod, but wondered if you had an idea about what factors might make the Navgoco menu fully expand.
I have uninstalled the Likes Pro mod at the moment because I want to keep using your Navgoco mod.
Thanks for any ideas.
-
Has anyone got this on a multi category forum that I can see please ?
Installed it on a test board and it looks as if it does what I want but only have one Cat with one board on the test :whistle:
-
Just create more category ;)
-
:) hmmm OK
(wanted to see a "live" one)
Yes, this displays what I want but I need it so the links are not active and so that all registered members can see all the links no matter what thier membergroup.
Any tips on how/where to look for that ?
-
the links are not active and so that all registered members can see all the links no matter what thier membergroup.
Explain :)
-
I want to display all the categories and boards in them to ALL users (so they can see what is available at other access levels).
I don't want this list of boards and categories to just show what the viewing user has access to and I don't want them to use the display as a link to go to the categories or boards
-
I want to display all the categories and boards in them to ALL users (so they can see what is available at other access levels).
STRONGLY discouraged, there is a mod for that but it causes a lot of other issues. What you are trying to achieve goes against the natural SMF workflow that "If you can't see it, you can't use it".
I don't want this list of boards and categories to just show what the viewing user has access to and I don't want them to use the display as a link to go to the categories or boards
What do you mean with display in this case?
-
thanks.
The Business our forum is an Official Support group for is structured as a multi level ladder. Members need to work hard to get themselves in the position where they are able to move up. They all know what levels are available to them. My aim is to show them that the forum covers all the levels and (by showing the boards as well as categories) what specific areas they will get support for as they progress.
By "display" I mean the block
I could just do this manually with a BBC block and update it by editing if we add more boards but would like to keep it "automatic"
-
Like I said... I can't add anything more than that, and I can't remember the mod that does it either, always disliked it for the issues it was causing.
I want to display all the categories and boards in them to ALL users (so they can see what is available at other access levels).
STRONGLY discouraged, there is a mod for that but it causes a lot of other issues. What you are trying to achieve goes against the natural SMF workflow that "If you can't see it, you can't use it".
-
OK. thnaks for that. Advice accepted