PDA

View Full Version : Advance skin small modification help


LFFPicard
04-07-2006, 01:10 PM
I like the default skin as it matches my VB perfect.. the only issue i have is the "abstract.jpg" sitting in the top right where the pligins start sitting..

Is there anyway to remove this as i wish to have the Breadcrumb there on every page, as it will make the site look SO much better.

Regards

Robert_J_Ellis
04-07-2006, 09:48 PM
This is possible, but do you think having a breadcrumb in that small space is wise ? I'll do up a mod for this when I have some extra time.

If however, you'd like the breadcrumb somewhere else, perhaps even in a custom spot, I can do that too. No biggy :).

LFFPicard
04-08-2006, 10:22 AM
<div class='quotetop'>QUOTE(Robert_J_Ellis @ Apr 7 2006, 10:48 PM) 5027</div>
This is possible, but do you think having a breadcrumb in that small space is wise ? I'll do up a mod for this when I have some extra time.

If however, you'd like the breadcrumb somewhere else, perhaps even in a custom spot, I can do that too. No biggy :).
[/b]

Well it sounds silly but my site is going to be based on a free pc/console/software support community site so there will be alot of un-experianced people visiting my site, so i felt a breadcrumb where abstract si would be a good idea so they can remember where they actually are on the site :)

Thanks for taking the time to reply.

Robert_J_Ellis
04-08-2006, 11:40 AM
No, i mean there will not be enough room to support a breadcrumb there. Think; if your users start navigating into deeper sections the list will start spanning many different lines.

Perhaps a new plugin space custom made would be better.

LFFPicard
04-08-2006, 12:10 PM
<div class='quotetop'>QUOTE(Robert_J_Ellis @ Apr 8 2006, 12:40 PM) 5037</div>
No, i mean there will not be enough room to support a breadcrumb there. Think; if your users start navigating into deeper sections the list will start spanning many different lines.

Perhaps a new plugin space custom made would be better.
[/b]

i see what you mean, i suggested breadcrumb as i just wanted something to replace the abstract, i dont really liek it there but i have no idea hwo to change the skin to allow plugins to sit that far up, apart form removing the abstract.jpg code from advanced1.php i dont know how to raise the plugin boxes.. if that makes sense.

I tried the modded advanced skin but even though it has 16designs it still has the abstract there..

Justa mod with that removed allowing me to put plugins upto the bottom of the header woudl be great.

Robert_J_Ellis
04-08-2006, 12:18 PM
Not a problem, I'll look into it soon. You should be pleased with the result. Keep in mind I juggle many responsibilities, but it'll get done.

LFFPicard
04-08-2006, 01:17 PM
<div class='quotetop'>QUOTE(Robert_J_Ellis @ Apr 8 2006, 01:18 PM) 5040</div>
Not a problem, I'll look into it soon. You should be pleased with the result. Keep in mind I juggle many responsibilities, but it'll get done.
[/b]

Thanks!
the skin as it is now will do for now but looking forward to the mod :)

Robert_J_Ellis
04-20-2006, 01:36 AM
I'm doing it tonight, thanks for your patience.

Robert_J_Ellis
04-20-2006, 11:42 AM
well, things ran a bit late; I'll muster this when I wake up; my test site is down temporarily.

Robert_J_Ellis
04-21-2006, 04:24 AM
k, done the coding bit, updating new design images; and then I'll add instructions.

Here's an example of what I did; as you requested I removed the abstract image; and I added some of my own touches.

think you'll love it :).

[attachmentid=324]

Robert_J_Ellis
04-21-2006, 04:57 AM
Ok, here's the zip file you'll need:
http://www.sddepot.com/site_downloads/sd_o...anced_bcmod.zip (http://www.sddepot.com/site_downloads/sd_org/advanced_bcmod.zip)

it should be self explanatory, upload the contents to the skins/ directory.

I took steps so that this'll be pretty easy.

Uninstall advanced in the subdreamer control panel.

open skins/advanced/advanced1.php

find ( at around line 57 )


********<?php
********$inputsize = 35;
********for($i = 0; $i < 3; $i++)


and paste this above that:


****** <?php
****** for($i = 9; $i < 10; $i++)
****** {
****** if($pluginpath[$i] != 'plugins/p1_empty/empty.php')
****** {
****** echo '<table cellpadding="0" cellspacing="0" style="width:100%;height:0%">';**********
****** }
****** }
****** ?>
** ****** <?php
****** $inputsize = 35;
****** for($i = 9; $i < 10; $i++)
****** if($pluginpath[$i] != 'plugins/p1_empty/empty.php')
****** {
****** if(strlen($pluginname[$i]) > 0)
********{
********echo '**<tr>
********** <td style="padding: 0px 0px 3px 0px"><div class="pluginname1" style="text-align:left">'.$pluginname[$i].'</div></td>
**********</tr>';
********}
********echo '**<tr>
************<td style="width: 100%; background: url('.$sdurl.'skins/advanced/images/bread.gif) no-repeat; padding: 0px 0px 10px 20px">';
************
************include($pluginpath[$i]);
************
********echo '****</td>
**********</tr>';
********}
********?>
********<?php
********for($i = 9; $i < 10; $i++)
********{
********if($pluginpath[$i] != 'plugins/p1_empty/empty.php')
********{
********echo '</table>';
********}
********}
********?>


save the file.

open skins/advanced/advanced2.php

find ( at around line 54 )


******<?php

******$inputsize = 35;

******for($i = 0; $i < 3; $i++)


and paste this above that:


****** <?php
****** for($i = 3; $i < 4; $i++)
****** {
****** if($pluginpath[$i] != 'plugins/p1_empty/empty.php')
****** {
****** echo '<table cellpadding="0" cellspacing="0" style="width:100%;height:0%">';**********
****** }
****** }
****** ?>
** ****** <?php
****** $inputsize = 35;
****** for($i = 3; $i < 4; $i++)
****** if($pluginpath[$i] != 'plugins/p1_empty/empty.php')
****** {
****** if(strlen($pluginname[$i]) > 0)
********{
********echo '**<tr>
********** <td style="padding: 0px 0px 3px 0px"><div class="pluginname1" style="text-align:left">'.$pluginname[$i].'</div></td>
**********</tr>';
********}
********echo '**<tr>
************<td style="width: 100%; background: url('.$sdurl.'skins/advanced/images/bread.gif) no-repeat; padding: 0px 0px 10px 20px">';
************
************include($pluginpath[$i]);
************
********echo '****</td>
**********</tr>';
********}
********?>
********<?php
********for($i = 3; $i < 4; $i++)
********{
********if($pluginpath[$i] != 'plugins/p1_empty/empty.php')
********{
********echo '</table>';
********}
********}
********?>


save the file.

open skins/advanced/install.php

find: ( at around line 18 )


$designpath[] = 'advanced/advanced1.php';
$maxplugins[] = 9;
$imagepath[]**= 'advanced/images/design1.gif';

$designpath[] = 'advanced/advanced2.php';
$maxplugins[] = 3;
$imagepath[]**= 'advanced/images/design2.gif';


replace with

$designpath[] = 'advanced/advanced1.php';
$maxplugins[] = 10;
$imagepath[]**= 'advanced/images/design1.gif';

$designpath[] = 'advanced/advanced2.php';
$maxplugins[] = 4;
$imagepath[]**= 'advanced/images/design2.gif';


re-install the skin, and you're done.

Enjoy :)

abcohen
04-21-2006, 03:47 PM
niceeee mod...

Robert_J_Ellis
04-21-2006, 08:10 PM
<div class='quotetop'>QUOTE(abcohen @ Apr 21 2006, 11:47 AM) 5254</div>
niceeee mod...
[/b]

Thanks Adam :)