[RC] DHTML Toggle ACP Menu MOD

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.
markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

[RC] DHTML Toggle ACP Menu MOD

Post by markus_petrux » Wed Sep 07, 2005 4:45 pm

MOD Title: DHTML Toggle ACP Menu MOD

MOD Description: This MOD allows you to easilly toogle the ACP Menu on and off. To hide the ACP Menu, just click the logo on top of the left pane. To show it back again, just move your mouse over the left side of the screen.

MOD Version: 1.0.0

Note: I would like to get some feedback before submiting to the MODs Database. Please, check out Author Notes in the MOD Header for browser compatibility issues. Thanks


MOD Download:
http://www.phpmix.org/projects/phpbb/2_ ... e_acp_menu


Demo Board:
http://demos.phpmix.org/dhtml_toggle_ac ... index.html
This is a static version of the phpBB ACP. No options are available!
It is only aimed to show you how this MOD works. ie. click the logo to hide the ACP menu and then mouse over the left side of the screen to get it back. If it doesn't work for you, please post your browser name and version, OS, etc. Thanks


MOD Header:

Code: Select all

##############################################################
## MOD Title: DHTML Toggle ACP Menu
## MOD Author: markus_petrux < nospam@phpmix.com > (Markus) http://www.phpmix.com
## MOD Description: This MOD allows you to easilly toogle the ACP Menu on and off.
##                  To hide the ACP Menu, just click the logo on top of the left pane.
##                  To show it back again, just move your mouse over the left side of the screen.
## MOD Version: 1.0.0
##
## Installation Level: (Easy)
## Installation Time: 3 Minutes
## Files To Edit: 1
##		templates/subSilver/admin/index_navigate.tpl
## Included Files: none
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## About the DHTML technique used here:
## - It is based on the ability to dynamically alter the cols attribute of a frameset.
## - It's known to work on: MSIE, Firefox, Netscape 7.x, Mozilla 1.7.x, Opera 7.x
## - Unfortunatelly, it seems Opera doesn't trigger the document onmouseover event when
##   moving the mouse over the scrollbars, hence a trick is applied to show a couple of
##   pixels of the document itself.
##
## About the MOD itself:
## - Tested with phpBB 2.0.17, at the time of writing,
##   but it probably works on all 2.0.x versions.
## - This MOD is EasyMOD friendly.
##
##############################################################
## MOD History:
##
## 2005/09/07 - 1.0.0
##	- Initial release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
Last edited by markus_petrux on Sun Jul 16, 2006 2:15 pm, edited 2 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)

User avatar
ewelin
Registered User
Posts: 262
Joined: Fri May 21, 2004 2:13 pm
Location: MA, USA
Contact:

Post by ewelin » Wed Sep 07, 2005 5:07 pm

pretty useful. I'm curious though... how well will this interact with your other DHTML sliding ACP menu mod? will they work together?

markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

Post by markus_petrux » Wed Sep 07, 2005 5:16 pm

ewelin wrote: Q1: how well will this interact with your other DHTML sliding ACP menu mod? Q2: will they work together?

AFAIK, A1) perfect! A2) yes! :) ...and it doesn't even matter the order of installation.
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
ewelin
Registered User
Posts: 262
Joined: Fri May 21, 2004 2:13 pm
Location: MA, USA
Contact:

Post by ewelin » Wed Sep 07, 2005 5:18 pm

excelent!!! i'll be installing this later on today then... thanks for another great 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 » Thu Sep 08, 2005 9:07 am

Your welcome.

Anyone browsing from a Mac? At this point I would appreciate if anyone using Safari or any other browser not listed in the Author Notes section of the MOD Header could confirm whether the Demo works. Thank you for your collaboration. :)
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)

afterlife_69
I've Been Banned!
Posts: 630
Joined: Tue Nov 30, 2004 10:35 am

Post by afterlife_69 » Thu Sep 08, 2005 11:32 am

How about an autohide option? in general config?

markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

Post by markus_petrux » Thu Sep 08, 2005 11:53 am

Yeah, I thought about adding some kind of options in the board configuration panel.

In fact, I tried this autohide feature before packing the MOD. It worked by capturing the onmousemove event over the left pane, and hiding the menu after some seconds on inactivity. I discarded the option 'cause I found it really annoying to see the menu going off when I didn't want that to happen. I ended up coded the hide action by replacing the default behaviour of the logo onclick event, which looks like easy enough for the user and makes MOD'ing the index_navigate.tpl quite simple too.

I could implement this autohide feature as an option if someone else asks for it. Not trying to ignore you, afterlife_69, just looking for more feedback. Thanks for your suggestion, very much appreciated. ;)
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)

afterlife_69
I've Been Banned!
Posts: 630
Joined: Tue Nov 30, 2004 10:35 am

Post by afterlife_69 » Mon Sep 19, 2005 7:34 pm

Well you could simply add a config field for 'Autohide' or 'Manual Hide' :D

markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

Post by markus_petrux » Tue Sep 20, 2005 12:40 am

ok, ok


Anyone using Safari, Konqueror or any other non-common browser? Any compatibility issue? Could it be considered stable enough?
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)

net83it
Registered User
Posts: 500
Joined: Sun Jan 15, 2006 2:42 pm
Location: Sicily
Contact:

Post by net83it » Fri Jul 14, 2006 8:32 pm

great 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 » Sun Jul 16, 2006 2:17 pm

Thanks :)


I forgot I had this little thread here. Let me use this as a reminder that if more feedback is posted, I'll then submit the MOD to the MODSDB. I'm mostly interested in possible incompatibilities with browsers.
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
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Post by igorw » Sun Jul 16, 2006 2:58 pm

markus_petrux wrote: Thanks :)


I forgot I had this little thread here. Let me use this as a reminder that if more feedback is posted, I'll then submit the MOD to the MODSDB. I'm mostly interested in possible incompatibilities with browsers.


I'm using this MOD on 3 forums, and i've tested it with Opera, IE and firefox. It has a scrollbar in opera, but it's working great in all browsers. You should submit this the the MODDB!
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three

User avatar
Ptirhiik
Registered User
Posts: 7411
Joined: Mon Jan 06, 2003 10:36 pm
Contact:

Post by Ptirhiik » Sun Jul 16, 2006 5:13 pm

I experience some troubles to make the left panel re-appear with firefox 1.5.0.4. Sometime works, sometimes no. The same with Opera 9. I use a 1280 width resolution. IMHO, you should let a 10 px width left to allow an easy open-per-click : maybe a thin second column in the menu to open/close per click (rather than the phpBB icon that is supposed to bring you back to the main index).

Peter77sx
Registered User
Posts: 3257
Joined: Wed Nov 09, 2005 2:51 pm

Post by Peter77sx » Sun Jul 16, 2006 5:35 pm

I did not know there was a BETA thread on this MOD. great little 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 » Sun Jul 16, 2006 7:55 pm

Ptirhiik wrote: I experience some troubles to make the left panel re-appear with firefox 1.5.0.4. Sometime works, sometimes no. The same with Opera 9. I use a 1280 width resolution. IMHO, you should let a 10 px width left to allow an easy open-per-click : maybe a thin second column in the menu to open/close per click (rather than the phpBB icon that is supposed to bring you back to the main index).

Yeah, I don't like using the phpBB icon either. :)

If I was good with graphics I would have used a small image, just next to the top left corner of the main panel. That image would have 2 states (open and close). More or less like the schema below:

Code: Select all

+-----+-----------------------------------+
|     |<|                                 +
|_____|/                                  +
|     |                                   +
|_____|                                   +
|     |                                   +
|_____|                                   +
|     |                                   +
|_____|                                   +
|     |                                   +
+-----+-----------------------------------+

Code: Select all

++----------------------------------------+
||>|                                      +
||/                                       +
||                                        +
||                                        +
||                                        +
||                                        +
||                                        +
||                                        +
||                                        +
++----------------------------------------+
These images need to be little enough to not overlap anything important of the main panel, but big enough to not need a screen magnifier :P

Ideally, there would be a need for 2 sets, one for light backgrounds and another one for darks.

Wouldn't that be easier to use? Anyone can help with the images?
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)

Post Reply

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