[MODSDB] DHTML Slide Menu for ACP (1.0.0)

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Locked
markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

[MODSDB] DHTML Slide Menu for ACP (1.0.0)

Post by markus_petrux »

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Note:
This MOD has been kindly approved by the MOD Team :)

Check out its Release Announcement topic:
http://www.phpbb.com/phpBB/viewtopic.php?t=217347
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

MOD Title: DHTML Slide Menu for ACP

MOD Description: This MOD turns your ACP left pane into a Dynamic HTML Slide Menu (roll-in/roll-out effects), making it easier to navigate. It should work on latests versions of all major browsers, and is supposed to degrade correctly on non-supported browsers (ie: all categories remain open). It also uses cookies to remind previous menu state. Really useful if you have many MODs installed. :-)

MOD Version: 1.0.0

Installation Level: Easy
Installation Time: ~5 minutes
Files To Edit: 2
* admin/index.php
* templates/subSilver/admin/index_navigate.tpl
Included Files: 0


EasyMOD Compliance:
Works with EasyMOD 0.1.13 !!!


Screenshot:
Image

Download:
Removed. Please use the MODs Database (Cosmetic/Styles category).


MOD Notes & History:

Code: Select all

##############################################################
## Author Notes:
##
## phpBB related:
## - Tested with phpBB 2.0.10
## - This MOD is EasyMOD (0.0.11a3) friendly.
##
## DHTML related:
## - It's based on the onclick event for TD tag and style.display attribute.
## - It should work on latests versions of all major browsers.
##
##############################################################
## MOD History:
##
## 2004/08/11 - 1.0.0
## - This is same as 0.0.5 Beta. Just changed the version number to upload
##   to the phpBB MODs database, as well as a couple of MOD header fields.
##
## 2004/08/09 - 0.0.5 Beta
## - Fixed cursor pointer for non-IE browsers (cursor:pointer;cursor:hand;).
##   Now, it should work on: IE4+, IE5Mac, Mozilla, Opera6+ and Safari 1.2+.
##   It doesn't on: NS4, iCab and OmniWeb.
##
## 2004/08/08 - 0.0.4 Beta
## - Fixed a couple of problems with cookie functions.
## - Fixed a javascript error in displayObj() if x.style is undefined (NS4).
## - Added ability to close the opened category.
## - Added ability to use a shorter interval to hide the menus at onload event.
## - Initial display, now works with 0 miliseconds interval, much faster.
##   Note setTimeout is used to allow the browser to show the roll-out effect.
## - So now, initial display closes all categories much faster, and it only leaves
##   one opened, if one was active last time the ACP was used.
##
## 2004/08/07 - 0.0.3 Beta
## - Fixed a small bug: First time the script is executed, no categories are open.
##   Now, it opens first category by default.
## - Also changed initial display behaviour. Now all categories are initially displayed as
##   open. Then, at onload event time, they are closed (applying the roll-out effect).
##   This one solves an issue with legacy versions of Netscape, Opera and OmniWeb browsers
##   which does NOT support changing the display attribute.
##
## 2004/08/06 - 0.0.2 Beta
## - Re-written almost all javascript code to implement the roll-in/roll-out behaviour
##   when opening/closing menu categories (aka. slide menu).
##
## 2004/08/05 - 0.0.1 Beta
## - Initial Beta release
##
##############################################################
Last edited by markus_petrux on Tue Sep 07, 2004 8:46 pm, edited 18 times in total.
EasyMOD Standards | MOD Template Actions | MODs in Development Rules
Useful information for MOD Authors | MOD Queue Stats | Search MODs
Write SQL/DDL portable to all SQL servers supported by phpBB!
Get EasyMOD 0.3.0! | Suport al phpBB en Català!
8)
markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

Post by markus_petrux »

hmmm.... well.... I forgot to ask for some feedback.

It is pretty small and simple, though...

Does it work for you? ...do you like it? ...do you believe it worths submitting it?


:roll:
EasyMOD Standards | MOD Template Actions | MODs in Development Rules
Useful information for MOD Authors | MOD Queue Stats | Search MODs
Write SQL/DDL portable to all SQL servers supported by phpBB!
Get EasyMOD 0.3.0! | Suport al phpBB en Català!
8)
ayusuf
I've Been Banned!
Posts: 917
Joined: Fri Feb 06, 2004 11:00 pm
Location: Orlando,Fl
Contact:

Post by ayusuf »

Oh hell yea i had one from OXPUS his is great but this looks better i might try it out ;)
markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

Post by markus_petrux »

Oh, great! ...please, tell me if it works for you too. :)


As per OXPUS's Reduce Admin Navigation MOD... well, I believe it is based on a very different approach. DHTML does NOT need server intervention, so to speak... ;)

edited: Added the word "NOT" in last sentence. Oooppppsss..
Last edited by markus_petrux on Fri Aug 06, 2004 12:55 pm, edited 1 time in total.
EasyMOD Standards | MOD Template Actions | MODs in Development Rules
Useful information for MOD Authors | MOD Queue Stats | Search MODs
Write SQL/DDL portable to all SQL servers supported by phpBB!
Get EasyMOD 0.3.0! | Suport al phpBB en Català!
8)
User avatar
Kalipo
Registered User
Posts: 551
Joined: Mon Dec 08, 2003 1:47 pm

Post by Kalipo »

I use(d) Reduce Admin Navigation MOD, but I definitely like this better.

Very nice Markus! Works like a charm :D
User avatar
Anon
Former Team Member
Posts: 7019
Joined: Fri Jan 02, 2004 7:33 am
Location: Christchurch, New Zealand

Post by Anon »

me like this MOD :D

works great. it's been a great help navigating the admin panel :D
User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Airdrie, UK (127.0.0.1)
Name: Kenny Cameron
Contact:

Post by stickerboy »

Absolutely fantastic mod. It works great on 2.0.10 aswell.
keep up the good work markus :)
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red
Peter VDD
Registered User
Posts: 140
Joined: Sun Oct 12, 2003 12:18 pm
Contact:

Post by Peter VDD »

Great mod man! Only thing it misses to be perfect is some roll-in and roll-out of the panels.

(like the File menu etc. in your browser)

Add that and it's perfect :P
markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

Post by markus_petrux »

WOW! ...Thanks for your kind feedback. :)
Peter VDD wrote: Only thing it misses to be perfect is some roll-in and roll-out of the panels.

It could be done by clippling the layers, but I don't like this approach since it might increase (a lot) the size of the JS code to make it as cross-browser as possible. Also, there are still buggy browsers out there regarding clip... Nahhh...

However, instead of clipping the layers it could be done by displaying/hidding "item by item", adding a bit more code to control the change of display attribute (none/block) using setTimeout. But not sure, if that really worths. :?
EasyMOD Standards | MOD Template Actions | MODs in Development Rules
Useful information for MOD Authors | MOD Queue Stats | Search MODs
Write SQL/DDL portable to all SQL servers supported by phpBB!
Get EasyMOD 0.3.0! | Suport al phpBB en Català!
8)
Peter VDD
Registered User
Posts: 140
Joined: Sun Oct 12, 2003 12:18 pm
Contact:

Post by Peter VDD »

I understand. :) I'd do it myself but I'm only learning java next year. Gonna have to wait I guess :)
Shof515
Registered User
Posts: 1169
Joined: Wed Mar 19, 2003 4:36 am

Post by Shof515 »

markus_petrux wrote: As per OXPUS's Reduce Admin Navigation MOD

whats the differences between this mod and oxpus mod?
Whos missing up my sig?
markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

Post by markus_petrux »

This MOD uses cookies for menu state persistence, instead of using a DB table (server side). Also, it uses DHTML to open/close the categories, instead of sending a request to the server to re-generate the menu layout everytime a category is clicked.

In short, this MOD does all the job on the client's browser.

BTW, I'm going to update the code very soon to implement roll-in/roll-out effect at item level.
EasyMOD Standards | MOD Template Actions | MODs in Development Rules
Useful information for MOD Authors | MOD Queue Stats | Search MODs
Write SQL/DDL portable to all SQL servers supported by phpBB!
Get EasyMOD 0.3.0! | Suport al phpBB en Català!
8)
ayusuf
I've Been Banned!
Posts: 917
Joined: Fri Feb 06, 2004 11:00 pm
Location: Orlando,Fl
Contact:

Post by ayusuf »

can you make it that you can update from OXPUS's mod.
markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

Post by markus_petrux »

hmmm.... Not sure if I should provide such script...

However, you might want to try to undo all changes related to that MOD manually or... write an uninstall MOD script for it, if you use EM.

Check out this nice KB article: Uninstalling a MOD (by A_Jelly_Doughnut).
EasyMOD Standards | MOD Template Actions | MODs in Development Rules
Useful information for MOD Authors | MOD Queue Stats | Search MODs
Write SQL/DDL portable to all SQL servers supported by phpBB!
Get EasyMOD 0.3.0! | Suport al phpBB en Català!
8)
markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

Post by markus_petrux »

As promised a couple of posts above... ZIP updated to version 0.0.2 Beta :!:

Please, read top post on this topic for further information. :)
Peter VDD wrote: Great mod man! Only thing it misses to be perfect is some roll-in and roll-out of the panels.

(like the File menu etc. in your browser)

Add that and it's perfect :P

Feel free to critique. ;)
EasyMOD Standards | MOD Template Actions | MODs in Development Rules
Useful information for MOD Authors | MOD Queue Stats | Search MODs
Write SQL/DDL portable to all SQL servers supported by phpBB!
Get EasyMOD 0.3.0! | Suport al phpBB en Català!
8)
Locked

Return to “[2.0.x] MODs in Development”