[2.0.10] DHTML Slide Menu for ACP

The cleanup is complete. This forum is now read only.

Rating:

Excellent!
90
83%
Very Good
12
11%
Good
1
1%
Fair
0
No votes
Poor
5
5%
 
Total votes: 108

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

Post by markus_petrux »

Hey, re-reading your post, I believe I found something that might be the cause:
<!-- BEGIN modulerow -->
<tr>
<td class="row1"><div id="menuCat_{catrow.MENU_CAT_ID}_{catrow.modulerow.ROW_COUNT}" style="display:block;"><a href="{catrow.modulerow.U_ADMIN_MODULE}" target="main" class="genmed">{catrow.modulerow.ADMIN_MODULE}</a></div>
</td>
</tr>
<!-- END modulerow -->

The greater than symbol (>) after style="display:block;" is missing.
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)
Chaos1313
Registered User
Posts: 49
Joined: Thu Jul 08, 2004 6:00 am
Contact:

Post by Chaos1313 »

Oh, that must have been the problem. Gotta love Firefox, it still worked fine even with botched HTML :P
"No one can read our Constitution without concluding that the people
who wrote it wanted their government severely limited; the words "no"
and "not" employed in restraint of government power occur 24 times in
the first seven articles of the Constitution and 22 more times in the
Bill of Rights." - Edmund A. Opitz
Blackman
Registered User
Posts: 137
Joined: Tue Feb 05, 2002 4:32 pm
Location: United Kingdom, Bristol
Contact:

Post by Blackman »

Hi,

Outstanding mod, very useful and very neat, worked a treat.
clempaul
Registered User
Posts: 53
Joined: Wed Jul 28, 2004 3:58 pm
Location: Surrey, UK
Contact:

Post by clempaul »

Can anyone tell me why this mod is only working correctly for Forum Admin and General Admin?

The other categories are always open and if I click on the headings for those categories, they open or close General Admin instead.

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

Post by markus_petrux »

clempaul: That could caused by some wrong step when applying the MOD. Please, recheck the changes made in both admin/index.php and index_navigate.tpl. Maybe something related to $menu_cat_id or $row_count.
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)
clempaul
Registered User
Posts: 53
Joined: Wed Jul 28, 2004 3:58 pm
Location: Surrey, UK
Contact:

Post by clempaul »

Thanks, I installed it again and it seemed to work correctly.
spyroinc
Registered User
Posts: 6
Joined: Thu Oct 14, 2004 3:11 pm

Post by spyroinc »

Got it working too :D
User avatar
IPlasma
Registered User
Posts: 101
Joined: Sun Jul 04, 2004 9:36 pm
Location: Bretagne Sud (France)

Post by IPlasma »

Hi Markus
This mod is not compliant with Junior admin no?
all a part of the original code is deleted by the Jr Admin code.
Is there a way to adapt the code?
Thank you
markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

Post by markus_petrux »

IPlasma: Please, give me a link to the Junior Admin MOD. And I'll make a MOD script for it.


.
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
IPlasma
Registered User
Posts: 101
Joined: Sun Jul 04, 2004 9:36 pm
Location: Bretagne Sud (France)

Post by IPlasma »

markus_petrux wrote: IPlasma: Please, give me a link to the Junior Admin MOD. And I'll make a MOD script for it.


thank you very much markus :D
here is the link

[edit]
i tried to register on your site and i have this message
Register wrote: Sorry, but this e-mail address has been banned


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

Post by markus_petrux »

IPlasma wrote:
markus_petrux wrote:IPlasma: Please, give me a link to the Junior Admin MOD. And I'll make a MOD script for it.


thank you very much markus :D
here is the link

Let's try it. If it works for you, I'll include a MOD script for the jr_admin MOD in a contrib folder included in the ZIP for this MOD (will submit to the MOD-DB too).

ok, once you have installed Junior Admin MOD. Open the the DHTML Slide Menu for ACP MOD script (I mean, the file dhtml_menu_for_acp_mod_v1_0_0.txt) and apply ONLY the modifications to index_navigate.tpl, then do the following:

Code: Select all

#
#-----[ OPEN ]------------------------------------------------
#
admin/index.php
#
#-----[ FIND ]------------------------------------------------
#
# NOTE --- the whole line to look for should be similar to this:
#		"U_ADMIN_INDEX" => append_sid("index.$phpEx?pane=right"),
#
U_ADMIN_INDEX
#
#-----[ AFTER, ADD ]------------------------------------------
#
//+MOD: DHTML Menu for ACP
		'COOKIE_NAME'	=> $board_config['cookie_name'],
		'COOKIE_PATH'	=> $board_config['cookie_path'],
		'COOKIE_DOMAIN'	=> $board_config['cookie_domain'],
		'COOKIE_SECURE'	=> $board_config['cookie_secure'],
//-MOD: DHTML Menu for ACP
#
#-----[ OPEN ]------------------------------------------------
#
includes/functions_jr_admin.php
#
#-----[ FIND ]------------------------------------------------
#
	foreach ($module as $cat => $module_array)
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
//+MOD: DHTML Menu for ACP
	$menu_cat_id = 0;
//-MOD: DHTML Menu for ACP
#
#-----[ FIND ]------------------------------------------------
#
# NOTE --- the whole line to look for should be similar to this:
#		$template->assign_block_vars("catrow", array(
#
"catrow"
#
#-----[ AFTER, ADD ]------------------------------------------
#
//+MOD: DHTML Menu for ACP
			'MENU_CAT_ID' => $menu_cat_id,
			'MENU_CAT_ROWS' => count($action_array),
//-MOD: DHTML Menu for ACP
#
#-----[ FIND ]------------------------------------------------
#
# NOTE --- the whole line to look for should be similar to this:
#			$template->assign_block_vars("catrow.modulerow", array(
#
"catrow.modulerow"
#
#-----[ FIND ]------------------------------------------------
#
# NOTE --- the whole line to look for should be similar to this:
#			'ROW_CLASS' => (++$i % 2) ? 'row1' : 'row2',
#
ROW_CLASS
#
#-----[ AFTER, ADD ]------------------------------------------
#
//+MOD: DHTML Menu for ACP
				'ROW_COUNT' => $i,
//-MOD: DHTML Menu for ACP
#
#-----[ FIND ]------------------------------------------------
#
			'U_ADMIN_MODULE' => $module_url
			));
		}
#
#-----[ AFTER, ADD ]------------------------------------------
#
//+MOD: DHTML Menu for ACP
		$menu_cat_id++;
//-MOD: DHTML Menu for ACP
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
PS: PM me, regarding registration to my site. ;)
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
JRSweets
Registered User
Posts: 2047
Joined: Wed Apr 14, 2004 8:37 pm
Location: Massachusetts

Post by JRSweets »

Do you still plan on implementing the ability to have multiple tabs open at once?
markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

Post by markus_petrux »

Yes, that's on the list (as posted on top of page 2 of this topic).

Plan is:
1) wait to see final version of CH 210 (currently RC, but who knows).
2) re-write Collapsible Forum Index MOD to make it as generic as possible.
3) Share the javascript code between MODs.
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
IPlasma
Registered User
Posts: 101
Joined: Sun Jul 04, 2004 9:36 pm
Location: Bretagne Sud (France)

Post by IPlasma »

Hi Markus
Sorry i have been very busy lately :(
But good news, i tested your mod for Junior Admin and that works GREAT . Thank you so much youre now in my top 3 of Php modders :lol:
Have a nice week-end
Bye
markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

Post by markus_petrux »

ok, thnx 4 the feedback.


.
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] MOD Database Cleanup”