PDA

View Full Version : Starbase49 reloaded ACP Style


Nachtfalke
08-31-2006, 10:00 PM
Hi from germany,
I finaly was able to create a nice looking ACP Style that matches my frontend. I was pretty satisfied with the result, so I decided to share it with the community, just in case someone likes to use it.

Since this is a very dark colorscheme, i was quite unhappy with the way, the php code of the plugins was displayed. After digging into it, i found an easy way to add a css class solely for this box. So if you would like to format the code box like I did (howewer, it really is not necessary), here is what I did:

open the file plugin.php in your acp folder and search for
print_description_row("<div dir=\"ltr\">$code</div>");

and replace it with
print_description_row("<div dir=\"ltr\">$code</div>",false,2,"plugincode");

I added a css class named plugincode to the controlpanel.css to match the rest of the look.

If you like this ACP-style, please click install and enjoy it.

P.S.: This is my very first submission to the community, so please be gentle ;)

Allan
09-01-2006, 03:34 PM
Splendid !

I like it, click install and thank to job ;)

Kirk Y
09-01-2006, 09:21 PM
Very cool. I'll think I'll install this one.

Der Sauger1
09-02-2006, 05:23 PM
Danke Nachtfalke,sieht ja ma heiss aus!!Klick Klick

slayer666vb
09-17-2006, 06:46 PM
Great job ....... installed

Pluriel72
09-23-2006, 05:35 AM
Das Teil wäre auch sehr schick fürs Frontend....

Mr Pink
01-14-2007, 12:53 PM
Beautiful. Thanks!

ScR1Pt
01-27-2007, 03:21 PM
installed Thanks!

Surviver
02-03-2007, 02:51 PM
Since this is a very dark colorscheme, i was quite unhappy with the way, the php code of the plugins was displayed. After digging into it, i found an easy way to add a css class solely for this box. So if you would like to format the code box like I did (howewer, it really is not necessary), here is what I did:


Why you don't use the hook System for this "edit" ?

Plugin on admin_complete:

if ($_REQUEST['do'] == 'edit' OR $_REQUEST['do'] == 'add' AND $vbulletin->GPC['pluginid'])
{
$html = ob_get_contents();

while (@ob_end_clean());

echo(str_replace("<div dir=\"ltr\">", "<div dir=\"ltr\" class=\"plugincode\">", $html));
}


Greetings Surviver