[mod request] Custom sorting of styles in admin control panel

Requests and support for phpBB3 core and modifications.
Forum rules
NOTE: You may not re-post any of the information found within this forum without the express consent of me. Any websites that are found to have information posted from this forum, without my consent, will be forwarded to the appropriate authorities.

[mod request] Custom sorting of styles in admin control panel

Postby steve© » 05 Feb 2010, 06:16

i would like to arrange my styles templates/themes and imagesets by moving them or or down under in ac panel like you can do with forums,smilies etc. :thumbup:
Image
Image
steve©
 
Posts: 69
Joined: 12 Jul 2009, 15:14
Location: uk
Last Visit: Today, 17:40

Re: [mod request] Custom sorting of styles in admin control panel

Postby RMcGirr83 » 05 Feb 2010, 10:22

That may be doable...I'll take a look at it when I get some free time.
Rich McGirr
Please don't PM me asking for support...use the forums
My Validated and Released Mods
Grateful for the mods/support? Then why not buy me a beer!.
Image
My Gamercard
My Gamercard
RMcGirr83
 
Posts: 1502
Joined: 01 Aug 2008, 15:20
Location: East Lyme, CT, US
Last Visit: Today, 15:08
Name: Rich McGirr

Re: [mod request] Custom sorting of styles in admin control panel

Postby steve© » 05 Feb 2010, 11:21

cool :)
Image
steve©
 
Posts: 69
Joined: 12 Jul 2009, 15:14
Location: uk
Last Visit: Today, 17:40

Re: [mod request] Custom sorting of styles in admin control panel

Postby RMcGirr83 » 05 Feb 2010, 22:10

Steve,

What would be the purpose/what are you trying to accomplish by doing this?
Rich McGirr
Please don't PM me asking for support...use the forums
My Validated and Released Mods
Grateful for the mods/support? Then why not buy me a beer!.
Image
My Gamercard
My Gamercard
RMcGirr83
 
Posts: 1502
Joined: 01 Aug 2008, 15:20
Location: East Lyme, CT, US
Last Visit: Today, 15:08
Name: Rich McGirr

Re: [mod request] Custom sorting of styles in admin control panel

Postby steve© » 06 Feb 2010, 07:22

Ive got 20 styles installed and the latest style im working on happens to be at the bottom of the list. Id like it at the top of the list as not to scroll down and not to refresh the template/theme for eg for a style above or below the one im working on by mistake.
Image
steve©
 
Posts: 69
Joined: 12 Jul 2009, 15:14
Location: uk
Last Visit: Today, 17:40

Re: [mod request] Custom sorting of styles in admin control panel

Postby RMcGirr83 » 06 Feb 2010, 08:00

Thing is there are multiple tables, unlike with custom bbcodes or smilies, within the database that are in play when editing/manipulation a style

STYLES, STYLES_TEMPLATE, STYLES_THEME, STYLES_IMAGESET.

So you would be doing a lot of clicking for, IMHO, very little gain.

So I will have to say "Pass" on this one.

Good luck! :)
Rich McGirr
Please don't PM me asking for support...use the forums
My Validated and Released Mods
Grateful for the mods/support? Then why not buy me a beer!.
Image
My Gamercard
My Gamercard
RMcGirr83
 
Posts: 1502
Joined: 01 Aug 2008, 15:20
Location: East Lyme, CT, US
Last Visit: Today, 15:08
Name: Rich McGirr

Re: [mod request] Custom sorting of styles in admin control panel

Postby steve© » 06 Feb 2010, 12:55

Ok ,cheers anyways m8 :)
Image
steve©
 
Posts: 69
Joined: 12 Jul 2009, 15:14
Location: uk
Last Visit: Today, 17:40

Re: [mod request] Custom sorting of styles in admin control

Postby Me Myself and I » 21 Feb 2010, 01:27

You could change the sort order to descending.

in includes/acp/acp_styles.php

Find, (to get the position for the next find)
'L_CREATE' => $user->lang['CREATE_' . $l_prefix],

Find, (Should be line 596)
FROM $sql_from";

Replace with,
FROM $sql_from
ORDER BY style_id DESC";

This will reverse the display of the styles, so the last ID will be at the top.
User avatar
Me Myself and I
 


Return to phpBB3 Modifications - Requests - Support

Who is online

Users browsing this forum: Facebook External Hit and 2 guests

OSUOSL Friend   W3c Valid   Powered by phpBB