[2.0.10] DHTML Slide Menu for ACP

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

Rating:

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

User avatar
onigumo
Registered User
Posts: 1755
Joined: Fri Oct 31, 2003 2:32 am
Contact:

Post by onigumo »

I tried five times. FF settings?
I write articles on community building
@ The Infinity Program.
User avatar
drumstix42
Registered User
Posts: 1100
Joined: Tue Sep 24, 2002 11:01 pm
Location: NJ
Contact:

Post by drumstix42 »

FireFox...

and are you using a custom style?
Need a phpBB update or mod installed? PM me for any questions and pricing!
HostMonster.com (Unlimited Space, Unlimited Transfer, Unlimited Domains, $6.95/month )
User avatar
onigumo
Registered User
Posts: 1755
Joined: Fri Oct 31, 2003 2:32 am
Contact:

Post by onigumo »

I'm using Windows Blinds, but not one of those from that feature in FireFox that allows you to choose different themes.
I write articles on community building
@ The Infinity Program.
mariocaz
Registered User
Posts: 87
Joined: Tue Jun 07, 2005 6:49 am
Location: Mexico, D.F.
Contact:

Post by mariocaz »

In the MOD instructions say this:

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
#
#-----[ FIND ]------------------------------------------
#
	ksort($module);
#
#-----[ AFTER, 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" => $row_class, 
#
ROW_CLASS
#
#-----[ AFTER, ADD ]------------------------------------------
#
//+MOD: DHTML Menu for ACP
				'ROW_COUNT' => $row_count,
//-MOD: DHTML Menu for ACP
#
#-----[ FIND ]------------------------------------------
#
# NOTE --- This is the closing statements of the while loop related to $action_array
#
			$row_count++;
		}
#
#-----[ AFTER, ADD ]------------------------------------------
#
//+MOD: DHTML Menu for ACP
		$menu_cat_id++;
//-MOD: DHTML Menu for ACP

Well in this part I think is missing some code ( [AFTER, ADD] ??? ) :?

Code: Select all

#
#-----[ 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" => $row_class, 
#
ROW_CLASS
I hope someone helps me !

And after I will do this MOD on my Forum.

Regards!

Mario from Mexico
User avatar
drumstix42
Registered User
Posts: 1100
Joined: Tue Sep 24, 2002 11:01 pm
Location: NJ
Contact:

Post by drumstix42 »

The instructions are correct, you just do one find after another. The reason behind this is because there are probably multiple areas that have the same lines of code, and this is to avoid adding any additions in the incorrect places.
Need a phpBB update or mod installed? PM me for any questions and pricing!
HostMonster.com (Unlimited Space, Unlimited Transfer, Unlimited Domains, $6.95/month )
User avatar
thecharmed01
Former Team Member
Posts: 2643
Joined: Sun May 16, 2004 10:07 am
Location: Wellington, NZ
Contact:

Post by thecharmed01 »

Thanks for the fantastic mod!!

I was really confused as a whole lot of bits were missing in my file so I was scratching my head about where to add the edits.........
Then I came here and read through and realised that I have the Jr Admin Mod and so I used the code changes suggested in the 2nd page.

I have a forum with over 50 mods and it works perfectly!!
I run three templates and all of them it seems to be fantastic with!!

Congrats on a good mod with good support!!
8)
Please refrain from PM'ing me for support unless I specifically ask you to.......

Helpful Pages: ~ [Styles FAQ] ~ [Styles User Guide] ~ [Styles Submission Policy]
My Site: [C1 Web Design]
| Mum | Web Designer | Airsoft Player| Business Owner|
zebragrrl
Registered User
Posts: 28
Joined: Sat Jun 25, 2005 11:03 am

Post by zebragrrl »

I dunno if we're allowed to swear, so I won't.. but this mod is F***ing awesome!

I had JUST been complaining that the Admin CP was becomming annoyingly tedious to scroll through.
Image
"Pink is a very threatening colour to some people."
Glenn I
Registered User
Posts: 172
Joined: Wed Apr 20, 2005 6:11 am

Post by Glenn I »

How do I install this using easy mod when there is only the .txt file? Can someone please explain?
markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

Post by markus_petrux »

Create a subdirectory for this MOD in the phpbb/admin/mods directory. Then this MOD should appear in the ACP->MOD Center->Install MODs report for you to proceed.


.
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)
Glenn I
Registered User
Posts: 172
Joined: Wed Apr 20, 2005 6:11 am

Post by Glenn I »

Got this message plus a lot of other stuff.
Error Detail

Warning

IN-LINE FIND FAILED: In file [templates/AussieAviator/admin/index_navigate.tpl] could not find:

<span

MOD script line #375 :: FAQ :: Report

Error Detail

Warning

IN-LINE FIND FAILED: In file [templates/subPortal/admin/index_navigate.tpl] could not find:

</span>

MOD script line #383 :: FAQ :: Report


I've got the dhtml menu installed on another template but I want it on the new one. Is there an easy way to do it?
markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

Post by markus_petrux »

You would have to go manually with those index_navigate.tpl files and trying to figure out how to adapt the instructions to fix the differences.

Since the MOD was probably installed ok in the subSilver version of index_navigate.tpl, maybe there's an easier way:

a) backup the index_navigate.tpl files for the styles that failed.
b) replace them with the subSilver one.

Probably that works at first. The only problem I can see is if those styles doesn't define the CSS classes used in subSilver. You could probably replace them with the equivalent CSS classes defined by those styles.
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
RMcGirr83
Former Team Member
Posts: 22011
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Excellent mod...

Post by RMcGirr83 »

I have CH 2.1.1 with extended templates loaded on our forum. However, Pierre has released new template engine and now I get an error and can't select anything in the ACP. The mod compacts the left pane just fine but then the text turns into unclickable.

FWIW, I have started a thread over at Pierre's site and you can find it here:

http://ptifo.clanmckeen.com/viewtopic.php?p=9150#9150

another error I am getting is "oldOnLoadMenuACP" is undefined.

Interestingly enough, when I use the old template engine everything is fine and the mod works as stated. :?

Very confusing any help you are willing to give would be appreciated. TIA.
markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

Post by markus_petrux »

I've been reading that thread now. It's really strange.

Please, PM me a ZIP with your index_navigate.tpl (which I think it is correct, since it works with "old" template class) and a view source of your ACP left pane. I'll take a look, it looks like something strange is being generated, maybe related to template switches.
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
RMcGirr83
Former Team Member
Posts: 22011
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Post by RMcGirr83 »

Thanks Markus...I'll do one better though.;)

This zip file contains all files located in ../admin ../includes and ../templates/xxx/admin.

http://www.betraythis.com/testforum/files/template.zip
Can you further define "View source"? Do you mean like a screen capture??

If so here you go:

http://www.betraythis.com/testforum/files/leftpane.bmp

http://www.betraythis.com/testforum/fil ... rerror.bmp

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

Post by markus_petrux »

At a first sight, your index_navigate.tpl file looks correct.

I probably need the HTML that's being sent to the browser. If you use IE, right click the left pane and select "View Source". If you use Firefox, right click the left pane, then "This Frame" and then "View Frame Source". Select all the HTML, save it into a .txt or .html file and send it to me, please.
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”